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_NOINCLUDE
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
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
385 #define SWIGTYPE_p_wxRealPoint swig_types[1]
386 #define SWIGTYPE_p_wxSizerItem swig_types[2]
387 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
388 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
389 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
390 #define SWIGTYPE_p_wxSizer swig_types[6]
391 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
392 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
393 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
394 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
395 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
396 #define SWIGTYPE_p_wxMenu swig_types[12]
397 #define SWIGTYPE_p_wxEvent swig_types[13]
398 #define SWIGTYPE_p_wxGridSizer swig_types[14]
399 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
400 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
401 #define SWIGTYPE_p_wxItemContainer swig_types[17]
402 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
403 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
404 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
405 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
406 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
407 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
408 #define SWIGTYPE_p_wxControl swig_types[24]
409 #define SWIGTYPE_p_wxFont swig_types[25]
410 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
411 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
412 #define SWIGTYPE_p_wxFSFile swig_types[28]
413 #define SWIGTYPE_p_wxCaret swig_types[29]
414 #define SWIGTYPE_p_wxRegion swig_types[30]
415 #define SWIGTYPE_p_wxPoint2D swig_types[31]
416 #define SWIGTYPE_p_int swig_types[32]
417 #define SWIGTYPE_p_wxSize swig_types[33]
418 #define SWIGTYPE_p_wxDC swig_types[34]
419 #define SWIGTYPE_p_wxPySizer swig_types[35]
420 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
421 #define SWIGTYPE_p_wxPyEvent swig_types[37]
422 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
423 #define SWIGTYPE_p_wxAppTraits swig_types[39]
424 #define SWIGTYPE_p_wxArrayString swig_types[40]
425 #define SWIGTYPE_p_wxShowEvent swig_types[41]
426 #define SWIGTYPE_p_wxToolTip swig_types[42]
427 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
428 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
429 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
430 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
431 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
432 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
433 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
434 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
435 #define SWIGTYPE_p_wxMenuItem swig_types[51]
436 #define SWIGTYPE_p_wxStaticBox swig_types[52]
437 #define SWIGTYPE_p_long swig_types[53]
438 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
439 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
440 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
441 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
442 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
443 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
444 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
445 #define SWIGTYPE_p_wxANIHandler swig_types[61]
446 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
447 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
448 #define SWIGTYPE_p_wxCURHandler swig_types[64]
449 #define SWIGTYPE_p_wxICOHandler swig_types[65]
450 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
451 #define SWIGTYPE_p_wxImageHandler swig_types[67]
452 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
453 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
454 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
455 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
456 #define SWIGTYPE_p_wxRect swig_types[72]
457 #define SWIGTYPE_p_wxGBSpan swig_types[73]
458 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
459 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
460 #define SWIGTYPE_p_wxGBPosition swig_types[76]
461 #define SWIGTYPE_p_wxImage swig_types[77]
462 #define SWIGTYPE_p_wxFrame swig_types[78]
463 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
464 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
465 #define SWIGTYPE_p_byte swig_types[81]
466 #define SWIGTYPE_p_wxPoint swig_types[82]
467 #define SWIGTYPE_p_wxCursor swig_types[83]
468 #define SWIGTYPE_p_wxObject swig_types[84]
469 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
470 #define SWIGTYPE_p_wxOutputStream swig_types[86]
471 #define SWIGTYPE_p_wxInputStream swig_types[87]
472 #define SWIGTYPE_p_wxDateTime swig_types[88]
473 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
474 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
475 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
476 #define SWIGTYPE_p_wxWindow swig_types[92]
477 #define SWIGTYPE_p_wxMenuBar swig_types[93]
478 #define SWIGTYPE_p_wxString swig_types[94]
479 #define SWIGTYPE_p_wxFileSystem swig_types[95]
480 #define SWIGTYPE_p_wxBitmap swig_types[96]
481 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
482 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
483 #define SWIGTYPE_p_unsigned_char swig_types[99]
484 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
485 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
486 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
487 #define SWIGTYPE_p_wxPyApp swig_types[103]
488 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
489 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
490 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
491 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
492 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
494 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
495 #define SWIGTYPE_p_wxColour swig_types[111]
496 #define SWIGTYPE_p_wxValidator swig_types[112]
497 #define SWIGTYPE_p_wxPyValidator swig_types[113]
498 static swig_type_info
*swig_types
[115];
500 /* -------- TYPES TABLE (END) -------- */
503 /*-----------------------------------------------
505 ------------------------------------------------*/
506 #define SWIG_init init_core
508 #define SWIG_name "_core"
510 #include "wx/wxPython/wxPython_int.h"
511 #include "wx/wxPython/pyclasses.h"
514 #ifndef wxPyUSE_EXPORT
515 // Helper functions for dealing with SWIG objects and such. These are
516 // located here so they know about the SWIG types and functions declared
517 // in the wrapper code.
519 #include <wx/hashmap.h>
520 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
523 // Maintains a hashmap of className to swig_type_info pointers. Given the
524 // name of a class either looks up the type info in the cache, or scans the
525 // SWIG tables for it.
526 extern PyObject
* wxPyPtrTypeMap
;
528 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
530 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
532 if (typeInfoCache
== NULL
)
533 typeInfoCache
= new wxPyTypeInfoHashMap
;
535 wxString
name(className
);
536 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
539 // it wasn't in the cache, so look it up from SWIG
540 name
.Append(wxT(" *"));
541 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
543 // if it still wasn't found, try looking for a mapped name
548 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
549 (char*)(const char*)name
.mbc_str())) != NULL
) {
550 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
551 name
.Append(wxT(" *"));
552 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
556 // and add it to the map if found
557 (*typeInfoCache
)[className
] = swigType
;
564 // Check if a class name is a type known to SWIG
565 bool wxPyCheckSwigType(const wxChar
* className
) {
567 swig_type_info
* swigType
= wxPyFindSwigType(className
);
568 return swigType
!= NULL
;
572 // Given a pointer to a C++ object and a class name, construct a Python proxy
574 PyObject
* wxPyConstructObject(void* ptr
,
575 const wxChar
* className
,
578 swig_type_info
* swigType
= wxPyFindSwigType(className
);
579 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
581 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
585 // Extract a pointer to the wrapped C++ object from a Python proxy object.
586 // Ensures that the proxy object is of the specified (or derived) type. If
587 // not able to perform the conversion then a Python exception is set and the
588 // error should be handled properly in the caller. Returns True on success.
589 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
590 const wxChar
* className
) {
592 swig_type_info
* swigType
= wxPyFindSwigType(className
);
593 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
595 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
599 // Make a SWIGified pointer object suitable for a .this attribute
600 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
602 PyObject
* robj
= NULL
;
604 swig_type_info
* swigType
= wxPyFindSwigType(className
);
605 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
607 #ifdef SWIG_COBJECT_TYPES
608 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
614 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
615 strcpy(r
, swigType
->name
);
616 robj
= PyString_FromString(result
);
626 // Export a C API in a struct. Other modules will be able to load this from
627 // the wx.core module and will then have safe access to these functions, even if
628 // they are located in another shared library.
629 static wxPyCoreAPI API
= {
631 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
632 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
633 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
634 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
635 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
636 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
637 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
638 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
639 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
640 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
641 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
642 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
643 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
644 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
645 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
646 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
647 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
654 wxPyBeginAllowThreads
,
656 wxPyBeginBlockThreads
,
670 wxBitmap_LIST_helper
,
671 wxString_LIST_helper
,
672 wxAcceleratorEntry_LIST_helper
,
681 wxPySimple_typecheck
,
684 wxPyCBH_setCallbackInfo
,
685 wxPyCBH_findCallback
,
686 wxPyCBH_callCallback
,
687 wxPyCBH_callCallbackObj
,
695 wxArrayString2PyList_helper
,
696 wxArrayInt2PyList_helper
,
700 wxPyOORClientData_dtor
,
702 wxPyCBInputStream_create
,
705 wxPySwigInstance_Check
713 enum wxHotkeyModifier
721 #define wxEVT_HOTKEY 9999
724 static const wxString
wxPyEmptyString(wxEmptyString
);
725 wxString
wxObject_GetClassName(wxObject
*self
){
726 return self
->GetClassInfo()->GetClassName();
728 void wxObject_Destroy(wxObject
*self
){
733 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
736 PyObject
*wxSize_Get(wxSize
*self
){
737 wxPyBeginBlockThreads();
738 PyObject
* tup
= PyTuple_New(2);
739 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
740 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
741 wxPyEndBlockThreads();
744 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
748 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
749 wxPyBeginBlockThreads();
750 PyObject
* tup
= PyTuple_New(2);
751 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
752 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
753 wxPyEndBlockThreads();
756 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
760 PyObject
*wxPoint_Get(wxPoint
*self
){
761 wxPyBeginBlockThreads();
762 PyObject
* tup
= PyTuple_New(2);
763 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
764 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
765 wxPyEndBlockThreads();
768 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
772 self
->height
= height
;
774 PyObject
*wxRect_Get(wxRect
*self
){
775 wxPyBeginBlockThreads();
776 PyObject
* tup
= PyTuple_New(4);
777 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
778 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
779 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
780 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
781 wxPyEndBlockThreads();
785 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
788 wxRect
dest(0,0,0,0);
791 reg1
.Intersect(reg2
);
792 dest
= reg1
.GetBox();
794 if (dest
!= wxRect(0,0,0,0)) {
795 wxPyBeginBlockThreads();
796 wxRect
* newRect
= new wxRect(dest
);
797 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
798 wxPyEndBlockThreads();
806 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
812 } else if (target
== Py_None
) {
816 if (!PyTuple_Check(target
)) {
818 target
= PyTuple_New(1);
819 PyTuple_SetItem(target
, 0, o2
);
822 PyTuple_SetItem(o3
, 0, o
);
825 target
= PySequence_Concat(o2
, o3
);
832 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
836 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
837 wxPyBeginBlockThreads();
838 PyObject
* tup
= PyTuple_New(2);
839 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
840 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
841 wxPyEndBlockThreads();
845 #include "wx/wxPython/pyistream.h"
847 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
848 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
850 return new wxPyInputStream(wxis
);
854 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
855 // We use only strings for the streams, not unicode
856 PyObject
* str
= PyObject_Str(obj
);
858 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
861 self
->Write(PyString_AS_STRING(str
),
862 PyString_GET_SIZE(str
));
866 #include "wx/wxPython/pyistream.h"
869 class wxPyFileSystemHandler
: public wxFileSystemHandler
872 wxPyFileSystemHandler() : wxFileSystemHandler() {}
874 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
875 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
876 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
877 DEC_PYCALLBACK_STRING__pure(FindNext
);
879 wxString
GetProtocol(const wxString
& location
) {
880 return wxFileSystemHandler::GetProtocol(location
);
883 wxString
GetLeftLocation(const wxString
& location
) {
884 return wxFileSystemHandler::GetLeftLocation(location
);
887 wxString
GetAnchor(const wxString
& location
) {
888 return wxFileSystemHandler::GetAnchor(location
);
891 wxString
GetRightLocation(const wxString
& location
) {
892 return wxFileSystemHandler::GetRightLocation(location
);
895 wxString
GetMimeTypeFromExt(const wxString
& location
) {
896 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
903 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
904 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
905 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
906 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
909 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
910 wxFileName fname
= wxFileSystem::URLToFileName(url
);
911 return fname
.GetFullPath();
915 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
918 wxMemoryFSHandler::AddFile(filename
, image
, type
);
921 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
922 const wxBitmap
& bitmap
,
924 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
927 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
929 wxMemoryFSHandler::AddFile(filename
,
930 // TODO: Verify data type
931 (void*)PyString_AsString(data
),
932 (size_t)PyString_Size(data
));
936 #include "wx/wxPython/pyistream.h"
938 wxImage
*new_wxImage(int width
,int height
,bool clear
){
939 if (width
> 0 && height
> 0)
940 return new wxImage(width
, height
, clear
);
944 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
945 return new wxImage(bitmap
.ConvertToImage());
947 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
948 // Copy the source data so the wxImage can clean it up later
949 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
954 memcpy(copy
, data
, width
*height
*3);
955 return new wxImage(width
, height
, copy
, False
);
957 PyObject
*wxImage_GetData(wxImage
*self
){
958 unsigned char* data
= self
->GetData();
959 int len
= self
->GetWidth() * self
->GetHeight() * 3;
961 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
964 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
965 unsigned char* dataPtr
;
967 if (! PyString_Check(data
)) {
968 PyErr_SetString(PyExc_TypeError
, "Expected string object");
972 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
973 dataPtr
= (unsigned char*) malloc(len
);
974 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
975 self
->SetData(dataPtr
);
976 // wxImage takes ownership of dataPtr...
978 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
979 unsigned char* data
= self
->GetData();
980 int len
= self
->GetWidth() * self
->GetHeight() * 3;
982 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
985 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
986 unsigned char* buffer
;
989 wxPyBeginBlockThreads();
990 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
993 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
994 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
997 self
->SetData(buffer
);
999 wxPyEndBlockThreads();
1001 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1002 unsigned char* data
= self
->GetAlpha();
1006 int len
= self
->GetWidth() * self
->GetHeight();
1008 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1012 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1013 unsigned char* dataPtr
;
1015 if (! PyString_Check(data
)) {
1016 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1020 size_t len
= self
->GetWidth() * self
->GetHeight();
1021 dataPtr
= (unsigned char*) malloc(len
);
1022 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1023 self
->SetAlpha(dataPtr
);
1024 // wxImage takes ownership of dataPtr...
1026 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1027 unsigned char* data
= self
->GetAlpha();
1028 int len
= self
->GetWidth() * self
->GetHeight();
1030 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1033 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1034 unsigned char* buffer
;
1037 wxPyBeginBlockThreads();
1038 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1041 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1042 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1045 self
->SetAlpha(buffer
);
1047 wxPyEndBlockThreads();
1049 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1050 wxBitmap
bitmap(*self
);
1053 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1054 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1055 wxBitmap
bitmap( mono
, 1 );
1058 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1059 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1060 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1061 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1062 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1063 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1064 if (PyCallable_Check(func
)) {
1065 self
->Connect(id
, lastId
, eventType
,
1066 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1067 new wxPyCallback(func
));
1069 else if (func
== Py_None
) {
1070 self
->Disconnect(id
, lastId
, eventType
,
1071 (wxObjectEventFunction
)
1072 &wxPyCallback::EventThunker
);
1075 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1078 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1079 return self
->Disconnect(id
, lastId
, eventType
,
1080 (wxObjectEventFunction
)
1081 &wxPyCallback::EventThunker
);
1083 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1084 if (_self
&& _self
!= Py_None
) {
1085 self
->SetClientObject(new wxPyOORClientData(_self
));
1088 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1090 self
->SetClientObject(NULL
); // This will delete it too
1094 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1096 return self
->m_uniChar
;
1101 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1102 self
->m_size
= size
;
1104 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1107 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1108 int count
= self
->GetNumberOfFiles();
1109 wxString
* files
= self
->GetFiles();
1110 PyObject
* list
= PyList_New(count
);
1113 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1117 for (int i
=0; i
<count
; i
++) {
1118 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1124 wxPyApp
*new_wxPyApp(){
1125 wxPythonApp
= new wxPyApp();
1128 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1130 void wxApp_CleanUp() {
1135 wxPyApp
* wxGetApp() {
1136 return (wxPyApp
*)wxTheApp
;
1141 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1142 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1143 wxWindowList
& list
= self
->GetChildren();
1144 return wxPy_ConvertList(&list
);
1146 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1153 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1160 long wxWindow_GetHandle(wxWindow
*self
){
1161 return wxPyGetWinHandle(self
);
1164 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1165 return wxWindow::FindWindowById(id
, parent
);
1168 wxWindow
* wxFindWindowByName( const wxString
& name
,
1169 const wxWindow
*parent
= NULL
) {
1170 return wxWindow::FindWindowByName(name
, parent
);
1173 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1174 const wxWindow
*parent
= NULL
) {
1175 return wxWindow::FindWindowByLabel(label
, parent
);
1179 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1181 wxWindow
* win
= new wxWindow
;
1183 win
->SubclassWin(hWnd
);
1186 wxPyRaiseNotImplemented();
1192 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1193 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1194 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1196 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1198 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1199 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1200 wxMenuItemList
& list
= self
->GetMenuItems();
1201 return wxPy_ConvertList(&list
);
1203 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1204 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1205 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1207 wxPyClientData
* data
= new wxPyClientData(clientData
);
1208 return self
->Append(item
, data
);
1210 return self
->Append(item
);
1212 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1214 wxPyClientData
* data
= new wxPyClientData(clientData
);
1215 return self
->Insert(item
, pos
, data
);
1217 return self
->Insert(item
, pos
);
1219 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1220 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1222 Py_INCREF(data
->m_obj
);
1229 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1230 wxPyClientData
* data
= new wxPyClientData(clientData
);
1231 self
->SetClientObject(n
, data
);
1235 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1236 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1238 Py_INCREF(data
->m_obj
);
1246 // Figure out the type of the sizer item
1248 struct wxPySizerItemInfo
{
1250 : window(NULL
), sizer(NULL
), gotSize(False
),
1251 size(wxDefaultSize
), gotPos(False
), pos(-1)
1262 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1264 wxPySizerItemInfo info
;
1266 wxSize
* sizePtr
= &size
;
1268 // Find out what the type of the item is
1270 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1275 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1279 // try wxSize or (w,h)
1280 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1281 info
.size
= *sizePtr
;
1282 info
.gotSize
= True
;
1286 if (checkIdx
&& PyInt_Check(item
)) {
1287 info
.pos
= PyInt_AsLong(item
);
1293 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1294 // no expected type, figure out what kind of error message to generate
1295 if ( !checkSize
&& !checkIdx
)
1296 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1297 else if ( checkSize
&& !checkIdx
)
1298 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1299 else if ( !checkSize
&& checkIdx
)
1300 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1302 // can this one happen?
1303 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1309 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1310 self
->SetClientObject(new wxPyOORClientData(_self
));
1312 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1314 wxPyUserData
* data
= NULL
;
1315 wxPyBeginBlockThreads();
1316 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1317 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1318 data
= new wxPyUserData(userData
);
1319 wxPyEndBlockThreads();
1321 // Now call the real Add method if a valid item type was found
1323 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1324 else if ( info
.sizer
)
1325 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1326 else if (info
.gotSize
)
1327 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1328 proportion
, flag
, border
, data
);
1330 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1332 wxPyUserData
* data
= NULL
;
1333 wxPyBeginBlockThreads();
1334 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1335 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1336 data
= new wxPyUserData(userData
);
1337 wxPyEndBlockThreads();
1339 // Now call the real Insert method if a valid item type was found
1341 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1342 else if ( info
.sizer
)
1343 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1344 else if (info
.gotSize
)
1345 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1346 proportion
, flag
, border
, data
);
1348 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1350 wxPyUserData
* data
= NULL
;
1351 wxPyBeginBlockThreads();
1352 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1353 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1354 data
= new wxPyUserData(userData
);
1355 wxPyEndBlockThreads();
1357 // Now call the real Prepend method if a valid item type was found
1359 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1360 else if ( info
.sizer
)
1361 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1362 else if (info
.gotSize
)
1363 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1364 proportion
, flag
, border
, data
);
1366 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1367 wxPyBeginBlockThreads();
1368 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1369 wxPyEndBlockThreads();
1371 return self
->Remove(info
.window
);
1372 else if ( info
.sizer
)
1373 return self
->Remove(info
.sizer
);
1374 else if ( info
.gotPos
)
1375 return self
->Remove(info
.pos
);
1379 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1380 wxPyBeginBlockThreads();
1381 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1382 wxPyEndBlockThreads();
1384 self
->SetItemMinSize(info
.window
, size
);
1385 else if ( info
.sizer
)
1386 self
->SetItemMinSize(info
.sizer
, size
);
1387 else if ( info
.gotPos
)
1388 self
->SetItemMinSize(info
.pos
, size
);
1390 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1391 wxSizerItemList
& list
= self
->GetChildren();
1392 return wxPy_ConvertList(&list
);
1394 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1395 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1397 self
->Show(info
.window
, show
);
1398 else if ( info
.sizer
)
1399 self
->Show(info
.sizer
, show
);
1401 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1402 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1404 self
->Hide(info
.window
);
1405 else if ( info
.sizer
)
1406 self
->Hide(info
.sizer
);
1408 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1409 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1411 return self
->IsShown(info
.window
);
1412 else if ( info
.sizer
)
1413 return self
->IsShown(info
.sizer
);
1419 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1420 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1421 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1426 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1428 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1431 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1433 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1437 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1441 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1442 wxPyBeginBlockThreads();
1443 PyObject
* tup
= PyTuple_New(2);
1444 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1445 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1446 wxPyEndBlockThreads();
1449 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1450 self
->SetRowspan(rowspan
);
1451 self
->SetColspan(colspan
);
1453 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1454 wxPyBeginBlockThreads();
1455 PyObject
* tup
= PyTuple_New(2);
1456 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1457 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1458 wxPyEndBlockThreads();
1461 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1463 wxPyUserData
* data
= NULL
;
1464 wxPyBeginBlockThreads();
1465 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1466 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1467 data
= new wxPyUserData(userData
);
1468 wxPyEndBlockThreads();
1470 // Now call the real Add method if a valid item type was found
1472 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1473 else if ( info
.sizer
)
1474 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1475 else if (info
.gotSize
)
1476 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1477 pos
, span
, flag
, border
, data
);
1485 static int _wrap_EmptyString_set(PyObject
*_val
) {
1486 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1491 static PyObject
*_wrap_EmptyString_get() {
1496 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1498 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1505 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
*resultobj
;
1507 wxObject
*arg1
= (wxObject
*) 0 ;
1509 PyObject
* obj0
= 0 ;
1511 (char *) "self", NULL
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 result
= wxObject_GetClassName(arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1536 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
*resultobj
;
1538 wxObject
*arg1
= (wxObject
*) 0 ;
1539 PyObject
* obj0
= 0 ;
1541 (char *) "self", NULL
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 wxObject_Destroy(arg1
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 Py_INCREF(Py_None
); resultobj
= Py_None
;
1560 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1563 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1565 return Py_BuildValue((char *)"");
1567 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxSize
*arg1
= (wxSize
*) 0 ;
1571 PyObject
* obj0
= 0 ;
1573 (char *) "self",(char *) "x", NULL
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1578 if (arg1
) (arg1
)->x
= arg2
;
1580 Py_INCREF(Py_None
); resultobj
= Py_None
;
1587 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxSize
*arg1
= (wxSize
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1598 result
= (int) ((arg1
)->x
);
1600 resultobj
= PyInt_FromLong((long)result
);
1607 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1609 wxSize
*arg1
= (wxSize
*) 0 ;
1611 PyObject
* obj0
= 0 ;
1613 (char *) "self",(char *) "y", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1618 if (arg1
) (arg1
)->y
= arg2
;
1620 Py_INCREF(Py_None
); resultobj
= Py_None
;
1627 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
*resultobj
;
1629 wxSize
*arg1
= (wxSize
*) 0 ;
1631 PyObject
* obj0
= 0 ;
1633 (char *) "self", NULL
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1638 result
= (int) ((arg1
)->y
);
1640 resultobj
= PyInt_FromLong((long)result
);
1647 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 int arg1
= (int) 0 ;
1650 int arg2
= (int) 0 ;
1653 (char *) "w",(char *) "h", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1664 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1671 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1673 wxSize
*arg1
= (wxSize
*) 0 ;
1674 PyObject
* obj0
= 0 ;
1676 (char *) "self", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1688 Py_INCREF(Py_None
); resultobj
= Py_None
;
1695 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxSize
*arg1
= (wxSize
*) 0 ;
1701 PyObject
* obj0
= 0 ;
1702 PyObject
* obj1
= 0 ;
1704 (char *) "self",(char *) "sz", NULL
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1711 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 resultobj
= PyInt_FromLong((long)result
);
1727 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
*resultobj
;
1729 wxSize
*arg1
= (wxSize
*) 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1736 (char *) "self",(char *) "sz", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1743 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 resultobj
= PyInt_FromLong((long)result
);
1759 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxSize
*arg1
= (wxSize
*) 0 ;
1765 PyObject
* obj0
= 0 ;
1766 PyObject
* obj1
= 0 ;
1768 (char *) "self",(char *) "sz", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1786 resultptr
= new wxSize((wxSize
&) result
);
1787 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1795 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
*resultobj
;
1797 wxSize
*arg1
= (wxSize
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1804 (char *) "self",(char *) "sz", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1811 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1822 resultptr
= new wxSize((wxSize
&) result
);
1823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1831 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxSize
*arg1
= (wxSize
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1839 (char *) "self",(char *) "sz", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1846 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 (arg1
)->IncTo((wxSize
const &)*arg2
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 Py_INCREF(Py_None
); resultobj
= Py_None
;
1862 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxSize
*arg1
= (wxSize
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1868 PyObject
* obj1
= 0 ;
1870 (char *) "self",(char *) "sz", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1877 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 (arg1
)->DecTo((wxSize
const &)*arg2
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 Py_INCREF(Py_None
); resultobj
= Py_None
;
1893 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxSize
*arg1
= (wxSize
*) 0 ;
1898 PyObject
* obj0
= 0 ;
1900 (char *) "self",(char *) "w",(char *) "h", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 (arg1
)->Set(arg2
,arg3
);
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1912 Py_INCREF(Py_None
); resultobj
= Py_None
;
1919 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxSize
*arg1
= (wxSize
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1925 (char *) "self",(char *) "w", NULL
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 (arg1
)->SetWidth(arg2
);
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) SWIG_fail
;
1937 Py_INCREF(Py_None
); resultobj
= Py_None
;
1944 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1946 wxSize
*arg1
= (wxSize
*) 0 ;
1948 PyObject
* obj0
= 0 ;
1950 (char *) "self",(char *) "h", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 (arg1
)->SetHeight(arg2
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 Py_INCREF(Py_None
); resultobj
= Py_None
;
1969 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1971 wxSize
*arg1
= (wxSize
*) 0 ;
1973 PyObject
* obj0
= 0 ;
1975 (char *) "self", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 resultobj
= PyInt_FromLong((long)result
);
1994 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxSize
*arg1
= (wxSize
*) 0 ;
1998 PyObject
* obj0
= 0 ;
2000 (char *) "self", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2012 resultobj
= PyInt_FromLong((long)result
);
2019 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
*resultobj
;
2021 wxSize
*arg1
= (wxSize
*) 0 ;
2023 PyObject
* obj0
= 0 ;
2025 (char *) "self", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2032 result
= (PyObject
*)wxSize_Get(arg1
);
2034 wxPyEndAllowThreads(__tstate
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2044 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2047 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2049 return Py_BuildValue((char *)"");
2051 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2055 PyObject
* obj0
= 0 ;
2057 (char *) "self",(char *) "x", NULL
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2062 if (arg1
) (arg1
)->x
= arg2
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2075 PyObject
* obj0
= 0 ;
2077 (char *) "self", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2082 result
= (double) ((arg1
)->x
);
2084 resultobj
= PyFloat_FromDouble(result
);
2091 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
*resultobj
;
2093 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2095 PyObject
* obj0
= 0 ;
2097 (char *) "self",(char *) "y", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2102 if (arg1
) (arg1
)->y
= arg2
;
2104 Py_INCREF(Py_None
); resultobj
= Py_None
;
2111 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2115 PyObject
* obj0
= 0 ;
2117 (char *) "self", NULL
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2122 result
= (double) ((arg1
)->y
);
2124 resultobj
= PyFloat_FromDouble(result
);
2131 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 double arg1
= (double) 0.0 ;
2134 double arg2
= (double) 0.0 ;
2135 wxRealPoint
*result
;
2137 (char *) "x",(char *) "y", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2155 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2158 PyObject
* obj0
= 0 ;
2160 (char *) "self", NULL
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2172 Py_INCREF(Py_None
); resultobj
= Py_None
;
2179 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2182 wxRealPoint
*arg2
= 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 (char *) "self",(char *) "pt", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2195 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 resultobj
= PyInt_FromLong((long)result
);
2211 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2214 wxRealPoint
*arg2
= 0 ;
2217 PyObject
* obj0
= 0 ;
2218 PyObject
* obj1
= 0 ;
2220 (char *) "self",(char *) "pt", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2227 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= PyInt_FromLong((long)result
);
2243 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2246 wxRealPoint
*arg2
= 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "pt", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2259 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2269 wxRealPoint
* resultptr
;
2270 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2271 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2279 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2282 wxRealPoint
*arg2
= 0 ;
2285 PyObject
* obj0
= 0 ;
2286 PyObject
* obj1
= 0 ;
2288 (char *) "self",(char *) "pt", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2295 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2305 wxRealPoint
* resultptr
;
2306 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2307 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2315 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2322 (char *) "self",(char *) "x",(char *) "y", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxRealPoint_Set(arg1
,arg2
,arg3
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2347 (char *) "self", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2366 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2369 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2371 return Py_BuildValue((char *)"");
2373 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxPoint
*arg1
= (wxPoint
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2379 (char *) "self",(char *) "x", NULL
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2384 if (arg1
) (arg1
)->x
= arg2
;
2386 Py_INCREF(Py_None
); resultobj
= Py_None
;
2393 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxPoint
*arg1
= (wxPoint
*) 0 ;
2397 PyObject
* obj0
= 0 ;
2399 (char *) "self", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2404 result
= (int) ((arg1
)->x
);
2406 resultobj
= PyInt_FromLong((long)result
);
2413 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2415 wxPoint
*arg1
= (wxPoint
*) 0 ;
2417 PyObject
* obj0
= 0 ;
2419 (char *) "self",(char *) "y", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2424 if (arg1
) (arg1
)->y
= arg2
;
2426 Py_INCREF(Py_None
); resultobj
= Py_None
;
2433 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxPoint
*arg1
= (wxPoint
*) 0 ;
2437 PyObject
* obj0
= 0 ;
2439 (char *) "self", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2444 result
= (int) ((arg1
)->y
);
2446 resultobj
= PyInt_FromLong((long)result
);
2453 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 int arg1
= (int) 0 ;
2456 int arg2
= (int) 0 ;
2459 (char *) "x",(char *) "y", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2477 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2479 wxPoint
*arg1
= (wxPoint
*) 0 ;
2480 PyObject
* obj0
= 0 ;
2482 (char *) "self", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxPoint
*arg1
= (wxPoint
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "pt", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2526 resultobj
= PyInt_FromLong((long)result
);
2533 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
*resultobj
;
2535 wxPoint
*arg1
= (wxPoint
*) 0 ;
2539 PyObject
* obj0
= 0 ;
2540 PyObject
* obj1
= 0 ;
2542 (char *) "self",(char *) "pt", NULL
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= PyInt_FromLong((long)result
);
2565 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
*resultobj
;
2567 wxPoint
*arg1
= (wxPoint
*) 0 ;
2571 PyObject
* obj0
= 0 ;
2572 PyObject
* obj1
= 0 ;
2574 (char *) "self",(char *) "pt", NULL
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2591 wxPoint
* resultptr
;
2592 resultptr
= new wxPoint((wxPoint
&) result
);
2593 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2601 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
*resultobj
;
2603 wxPoint
*arg1
= (wxPoint
*) 0 ;
2607 PyObject
* obj0
= 0 ;
2608 PyObject
* obj1
= 0 ;
2610 (char *) "self",(char *) "pt", NULL
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) SWIG_fail
;
2627 wxPoint
* resultptr
;
2628 resultptr
= new wxPoint((wxPoint
&) result
);
2629 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2637 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxPoint
*arg1
= (wxPoint
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2644 PyObject
* obj1
= 0 ;
2646 (char *) "self",(char *) "pt", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2659 result
= (wxPoint
*) &_result_ref
;
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2672 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxPoint
*arg1
= (wxPoint
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2679 PyObject
* obj1
= 0 ;
2681 (char *) "self",(char *) "pt", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2694 result
= (wxPoint
*) &_result_ref
;
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2707 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxPoint
*arg1
= (wxPoint
*) 0 ;
2712 PyObject
* obj0
= 0 ;
2714 (char *) "self",(char *) "x",(char *) "y", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 wxPoint_Set(arg1
,arg2
,arg3
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 Py_INCREF(Py_None
); resultobj
= Py_None
;
2733 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxPoint
*arg1
= (wxPoint
*) 0 ;
2737 PyObject
* obj0
= 0 ;
2739 (char *) "self", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 result
= (PyObject
*)wxPoint_Get(arg1
);
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2758 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2761 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2763 return Py_BuildValue((char *)"");
2765 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
*resultobj
;
2767 int arg1
= (int) 0 ;
2768 int arg2
= (int) 0 ;
2769 int arg3
= (int) 0 ;
2770 int arg4
= (int) 0 ;
2773 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2791 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2798 PyObject
* obj0
= 0 ;
2799 PyObject
* obj1
= 0 ;
2801 (char *) "topLeft",(char *) "bottomRight", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2807 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2811 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2827 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
*resultobj
;
2834 PyObject
* obj0
= 0 ;
2835 PyObject
* obj1
= 0 ;
2837 (char *) "pos",(char *) "size", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2843 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2847 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2863 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxRect
*arg1
= (wxRect
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2880 Py_INCREF(Py_None
); resultobj
= Py_None
;
2887 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
*resultobj
;
2889 wxRect
*arg1
= (wxRect
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2893 (char *) "self", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 result
= (int)((wxRect
const *)arg1
)->GetX();
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= PyInt_FromLong((long)result
);
2912 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxRect
*arg1
= (wxRect
*) 0 ;
2916 PyObject
* obj0
= 0 ;
2918 (char *) "self",(char *) "x", NULL
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 Py_INCREF(Py_None
); resultobj
= Py_None
;
2937 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 wxRect
*arg1
= (wxRect
*) 0 ;
2941 PyObject
* obj0
= 0 ;
2943 (char *) "self", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (int)(arg1
)->GetY();
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 resultobj
= PyInt_FromLong((long)result
);
2962 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 wxRect
*arg1
= (wxRect
*) 0 ;
2966 PyObject
* obj0
= 0 ;
2968 (char *) "self",(char *) "y", NULL
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 Py_INCREF(Py_None
); resultobj
= Py_None
;
2987 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxRect
*arg1
= (wxRect
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2993 (char *) "self", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= PyInt_FromLong((long)result
);
3012 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxRect
*arg1
= (wxRect
*) 0 ;
3016 PyObject
* obj0
= 0 ;
3018 (char *) "self",(char *) "w", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 (arg1
)->SetWidth(arg2
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 Py_INCREF(Py_None
); resultobj
= Py_None
;
3037 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3039 wxRect
*arg1
= (wxRect
*) 0 ;
3041 PyObject
* obj0
= 0 ;
3043 (char *) "self", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= PyInt_FromLong((long)result
);
3062 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxRect
*arg1
= (wxRect
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3068 (char *) "self",(char *) "h", NULL
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
3072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 (arg1
)->SetHeight(arg2
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) SWIG_fail
;
3080 Py_INCREF(Py_None
); resultobj
= Py_None
;
3087 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxRect
*arg1
= (wxRect
*) 0 ;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "self", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 result
= ((wxRect
const *)arg1
)->GetPosition();
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) SWIG_fail
;
3106 wxPoint
* resultptr
;
3107 resultptr
= new wxPoint((wxPoint
&) result
);
3108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3116 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3117 PyObject
*resultobj
;
3118 wxRect
*arg1
= (wxRect
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3122 PyObject
* obj1
= 0 ;
3124 (char *) "self",(char *) "p", NULL
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3131 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3140 Py_INCREF(Py_None
); resultobj
= Py_None
;
3147 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
*resultobj
;
3149 wxRect
*arg1
= (wxRect
*) 0 ;
3151 PyObject
* obj0
= 0 ;
3153 (char *) "self", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 result
= ((wxRect
const *)arg1
)->GetSize();
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3167 resultptr
= new wxSize((wxSize
&) result
);
3168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3176 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxRect
*arg1
= (wxRect
*) 0 ;
3181 PyObject
* obj0
= 0 ;
3182 PyObject
* obj1
= 0 ;
3184 (char *) "self",(char *) "s", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 (arg1
)->SetSize((wxSize
const &)*arg2
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 Py_INCREF(Py_None
); resultobj
= Py_None
;
3207 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3209 wxRect
*arg1
= (wxRect
*) 0 ;
3211 PyObject
* obj0
= 0 ;
3213 (char *) "self", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3226 wxPoint
* resultptr
;
3227 resultptr
= new wxPoint((wxPoint
&) result
);
3228 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3236 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxRect
*arg1
= (wxRect
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3244 (char *) "self",(char *) "p", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 Py_INCREF(Py_None
); resultobj
= Py_None
;
3267 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
*resultobj
;
3269 wxRect
*arg1
= (wxRect
*) 0 ;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "self", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) SWIG_fail
;
3286 wxPoint
* resultptr
;
3287 resultptr
= new wxPoint((wxPoint
&) result
);
3288 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3296 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxRect
*arg1
= (wxRect
*) 0 ;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3304 (char *) "self",(char *) "p", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3311 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxRect
*arg1
= (wxRect
*) 0 ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "self", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 resultobj
= PyInt_FromLong((long)result
);
3352 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxRect
*arg1
= (wxRect
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 result
= (int)((wxRect
const *)arg1
)->GetTop();
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 resultobj
= PyInt_FromLong((long)result
);
3377 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxRect
*arg1
= (wxRect
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= PyInt_FromLong((long)result
);
3402 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxRect
*arg1
= (wxRect
*) 0 ;
3406 PyObject
* obj0
= 0 ;
3408 (char *) "self", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (int)((wxRect
const *)arg1
)->GetRight();
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= PyInt_FromLong((long)result
);
3427 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxRect
*arg1
= (wxRect
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3433 (char *) "self",(char *) "left", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 (arg1
)->SetLeft(arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxRect
*arg1
= (wxRect
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3458 (char *) "self",(char *) "right", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 (arg1
)->SetRight(arg2
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxRect
*arg1
= (wxRect
*) 0 ;
3481 PyObject
* obj0
= 0 ;
3483 (char *) "self",(char *) "top", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 (arg1
)->SetTop(arg2
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxRect
*arg1
= (wxRect
*) 0 ;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "self",(char *) "bottom", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 (arg1
)->SetBottom(arg2
);
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 Py_INCREF(Py_None
); resultobj
= Py_None
;
3527 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxRect
*arg1
= (wxRect
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "self",(char *) "dx",(char *) "dy", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3544 result
= (wxRect
*) &_result_ref
;
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3557 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxRect
*arg1
= (wxRect
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3565 (char *) "self",(char *) "dx",(char *) "dy", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3574 result
= (wxRect
*) &_result_ref
;
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3587 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxRect
*arg1
= (wxRect
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "self",(char *) "dx",(char *) "dy", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 (arg1
)->Offset(arg2
,arg3
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 Py_INCREF(Py_None
); resultobj
= Py_None
;
3613 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxRect
*arg1
= (wxRect
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3621 (char *) "self",(char *) "pt", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->Offset((wxPoint
const &)*arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxRect
*arg1
= (wxRect
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3651 PyObject
* obj1
= 0 ;
3653 (char *) "self",(char *) "rect", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3660 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3666 result
= (wxRect
*) &_result_ref
;
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3679 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxRect
*arg1
= (wxRect
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "rect", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3695 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3706 resultptr
= new wxRect((wxRect
&) result
);
3707 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3715 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxRect
*arg1
= (wxRect
*) 0 ;
3721 PyObject
* obj0
= 0 ;
3722 PyObject
* obj1
= 0 ;
3724 (char *) "self",(char *) "rect", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3731 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3737 result
= (wxRect
*) &_result_ref
;
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3750 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxRect
*arg1
= (wxRect
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3757 PyObject
* obj1
= 0 ;
3759 (char *) "self",(char *) "rect", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3766 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= PyInt_FromLong((long)result
);
3782 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxRect
*arg1
= (wxRect
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3791 (char *) "self",(char *) "rect", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= PyInt_FromLong((long)result
);
3814 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxRect
*arg1
= (wxRect
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self",(char *) "x",(char *) "y", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= PyInt_FromLong((long)result
);
3841 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxRect
*arg1
= (wxRect
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3848 PyObject
* obj1
= 0 ;
3850 (char *) "self",(char *) "pt", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= PyInt_FromLong((long)result
);
3873 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxRect
*arg1
= (wxRect
*) 0 ;
3879 PyObject
* obj0
= 0 ;
3880 PyObject
* obj1
= 0 ;
3882 (char *) "self",(char *) "rect", NULL
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3889 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= PyInt_FromLong((long)result
);
3905 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
;
3907 wxRect
*arg1
= (wxRect
*) 0 ;
3909 PyObject
* obj0
= 0 ;
3911 (char *) "self",(char *) "x", NULL
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3916 if (arg1
) (arg1
)->x
= arg2
;
3918 Py_INCREF(Py_None
); resultobj
= Py_None
;
3925 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxRect
*arg1
= (wxRect
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3936 result
= (int) ((arg1
)->x
);
3938 resultobj
= PyInt_FromLong((long)result
);
3945 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxRect
*arg1
= (wxRect
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "self",(char *) "y", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3956 if (arg1
) (arg1
)->y
= arg2
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3976 result
= (int) ((arg1
)->y
);
3978 resultobj
= PyInt_FromLong((long)result
);
3985 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxRect
*arg1
= (wxRect
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3991 (char *) "self",(char *) "width", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3996 if (arg1
) (arg1
)->width
= arg2
;
3998 Py_INCREF(Py_None
); resultobj
= Py_None
;
4005 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxRect
*arg1
= (wxRect
*) 0 ;
4009 PyObject
* obj0
= 0 ;
4011 (char *) "self", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4016 result
= (int) ((arg1
)->width
);
4018 resultobj
= PyInt_FromLong((long)result
);
4025 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxRect
*arg1
= (wxRect
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4031 (char *) "self",(char *) "height", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4036 if (arg1
) (arg1
)->height
= arg2
;
4038 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxRect
*arg1
= (wxRect
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4056 result
= (int) ((arg1
)->height
);
4058 resultobj
= PyInt_FromLong((long)result
);
4065 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxRect
*arg1
= (wxRect
*) 0 ;
4068 int arg2
= (int) 0 ;
4069 int arg3
= (int) 0 ;
4070 int arg4
= (int) 0 ;
4071 int arg5
= (int) 0 ;
4072 PyObject
* obj0
= 0 ;
4074 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxRect
*arg1
= (wxRect
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4099 (char *) "self", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (PyObject
*)wxRect_Get(arg1
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4118 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4121 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4123 return Py_BuildValue((char *)"");
4125 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxRect
*arg1
= (wxRect
*) 0 ;
4128 wxRect
*arg2
= (wxRect
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4131 PyObject
* obj1
= 0 ;
4133 (char *) "r1",(char *) "r2", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4153 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 double arg1
= (double) 0.0 ;
4156 double arg2
= (double) 0.0 ;
4159 (char *) "x",(char *) "y", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4177 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxPoint2D
*arg1
= 0 ;
4182 PyObject
* obj0
= 0 ;
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4190 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4206 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4211 PyObject
* obj0
= 0 ;
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4219 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4235 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4238 int *arg2
= (int *) 0 ;
4239 int *arg3
= (int *) 0 ;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "self", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 Py_INCREF(Py_None
); resultobj
= Py_None
;
4260 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4261 resultobj
= t_output_helper(resultobj
,o
);
4264 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4265 resultobj
= t_output_helper(resultobj
,o
);
4273 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4276 int *arg2
= (int *) 0 ;
4277 int *arg3
= (int *) 0 ;
4280 PyObject
* obj0
= 0 ;
4282 (char *) "self", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 Py_INCREF(Py_None
); resultobj
= Py_None
;
4298 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4299 resultobj
= t_output_helper(resultobj
,o
);
4302 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4303 resultobj
= t_output_helper(resultobj
,o
);
4311 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4317 (char *) "self", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= PyFloat_FromDouble(result
);
4336 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= PyFloat_FromDouble(result
);
4361 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4367 (char *) "self",(char *) "length", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 (arg1
)->SetVectorLength(arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 Py_INCREF(Py_None
); resultobj
= Py_None
;
4386 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "self",(char *) "degrees", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 (arg1
)->SetVectorAngle(arg2
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 Py_INCREF(Py_None
); resultobj
= Py_None
;
4411 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4414 wxPoint2D
*arg2
= 0 ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4420 (char *) "self",(char *) "pt", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4427 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= PyFloat_FromDouble(result
);
4443 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4446 wxPoint2D
*arg2
= 0 ;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4452 (char *) "self",(char *) "pt", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4459 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= PyFloat_FromDouble(result
);
4475 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4478 wxPoint2D
*arg2
= 0 ;
4481 PyObject
* obj0
= 0 ;
4482 PyObject
* obj1
= 0 ;
4484 (char *) "self",(char *) "vec", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4491 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= PyFloat_FromDouble(result
);
4507 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4510 wxPoint2D
*arg2
= 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "self",(char *) "vec", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4523 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= PyFloat_FromDouble(result
);
4539 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4545 (char *) "self", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= (arg1
)->operator -();
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4558 wxPoint2D
* resultptr
;
4559 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4560 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4568 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
;
4570 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4571 wxPoint2D
*arg2
= 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4577 (char *) "self",(char *) "pt", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4584 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4590 result
= (wxPoint2D
*) &_result_ref
;
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4603 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4606 wxPoint2D
*arg2
= 0 ;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4612 (char *) "self",(char *) "pt", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4619 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4625 result
= (wxPoint2D
*) &_result_ref
;
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4638 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4641 wxPoint2D
*arg2
= 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "pt", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4654 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4660 result
= (wxPoint2D
*) &_result_ref
;
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4673 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4676 wxPoint2D
*arg2
= 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4682 (char *) "self",(char *) "pt", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4689 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4695 result
= (wxPoint2D
*) &_result_ref
;
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4708 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4711 wxPoint2D
*arg2
= 0 ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4717 (char *) "self",(char *) "pt", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4724 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= PyInt_FromLong((long)result
);
4740 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4743 wxPoint2D
*arg2
= 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4749 (char *) "self",(char *) "pt", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4756 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= PyInt_FromLong((long)result
);
4772 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self",(char *) "m_x", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4783 if (arg1
) (arg1
)->m_x
= arg2
;
4785 Py_INCREF(Py_None
); resultobj
= Py_None
;
4792 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
;
4794 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4796 PyObject
* obj0
= 0 ;
4798 (char *) "self", NULL
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4803 result
= (double) ((arg1
)->m_x
);
4805 resultobj
= PyFloat_FromDouble(result
);
4812 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4814 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4816 PyObject
* obj0
= 0 ;
4818 (char *) "self",(char *) "m_y", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4823 if (arg1
) (arg1
)->m_y
= arg2
;
4825 Py_INCREF(Py_None
); resultobj
= Py_None
;
4832 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4838 (char *) "self", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4843 result
= (double) ((arg1
)->m_y
);
4845 resultobj
= PyFloat_FromDouble(result
);
4852 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4855 double arg2
= (double) 0 ;
4856 double arg3
= (double) 0 ;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "self",(char *) "x",(char *) "y", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 wxPoint2D_Set(arg1
,arg2
,arg3
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 Py_INCREF(Py_None
); resultobj
= Py_None
;
4878 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4882 PyObject
* obj0
= 0 ;
4884 (char *) "self", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4903 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4906 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4908 return Py_BuildValue((char *)"");
4910 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4911 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4916 static PyObject
*_wrap_DefaultPosition_get() {
4919 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4924 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4925 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4930 static PyObject
*_wrap_DefaultSize_get() {
4933 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4938 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 PyObject
*arg1
= (PyObject
*) 0 ;
4941 wxPyInputStream
*result
;
4942 PyObject
* obj0
= 0 ;
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4963 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4968 (char *) "self", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 Py_INCREF(Py_None
); resultobj
= Py_None
;
4987 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "self", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 Py_INCREF(Py_None
); resultobj
= Py_None
;
5011 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
;
5013 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5015 PyObject
* obj0
= 0 ;
5017 (char *) "self", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (bool)(arg1
)->eof();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= PyInt_FromLong((long)result
);
5036 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5039 int arg2
= (int) -1 ;
5041 PyObject
* obj0
= 0 ;
5043 (char *) "self",(char *) "size", NULL
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
5047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (PyObject
*)(arg1
)->read(arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5062 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
;
5064 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5065 int arg2
= (int) -1 ;
5067 PyObject
* obj0
= 0 ;
5069 (char *) "self",(char *) "size", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (PyObject
*)(arg1
)->readline(arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5088 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5091 int arg2
= (int) -1 ;
5093 PyObject
* obj0
= 0 ;
5095 (char *) "self",(char *) "sizehint", NULL
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
5099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5114 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5118 int arg3
= (int) 0 ;
5119 PyObject
* obj0
= 0 ;
5121 (char *) "self",(char *) "offset",(char *) "whence", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 (arg1
)->seek(arg2
,arg3
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 Py_INCREF(Py_None
); resultobj
= Py_None
;
5140 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
;
5142 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5144 PyObject
* obj0
= 0 ;
5146 (char *) "self", NULL
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (int)(arg1
)->tell();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= PyInt_FromLong((long)result
);
5165 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
;
5167 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5169 PyObject
* obj0
= 0 ;
5171 (char *) "self", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (char)(arg1
)->Peek();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SPyObj_FromChar(result
);
5190 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5196 (char *) "self", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (char)(arg1
)->GetC();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SPyObj_FromChar(result
);
5215 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5219 PyObject
* obj0
= 0 ;
5221 (char *) "self", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 result
= (size_t)(arg1
)->LastRead();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
5240 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
;
5242 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5246 (char *) "self", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->CanRead();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= PyInt_FromLong((long)result
);
5265 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5271 (char *) "self", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= (bool)(arg1
)->Eof();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= PyInt_FromLong((long)result
);
5290 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5297 (char *) "self",(char *) "c", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)(arg1
)->Ungetch(arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= PyInt_FromLong((long)result
);
5316 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5320 int arg3
= (int) wxFromStart
;
5322 PyObject
* obj0
= 0 ;
5324 (char *) "self",(char *) "pos",(char *) "mode", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= PyInt_FromLong((long)result
);
5343 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5349 (char *) "self", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (long)(arg1
)->TellI();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= PyInt_FromLong((long)result
);
5368 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5371 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5373 return Py_BuildValue((char *)"");
5375 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5378 PyObject
*arg2
= (PyObject
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "obj", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 wxOutputStream_write(arg1
,arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 Py_INCREF(Py_None
); resultobj
= Py_None
;
5402 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5405 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5407 return Py_BuildValue((char *)"");
5409 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5412 wxString
*arg2
= 0 ;
5413 wxString
*arg3
= 0 ;
5414 wxString
*arg4
= 0 ;
5417 wxPyInputStream
*temp1
;
5419 bool temp2
= False
;
5420 bool temp3
= False
;
5421 bool temp4
= False
;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 PyObject
* obj3
= 0 ;
5427 PyObject
* obj4
= 0 ;
5429 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5434 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5435 arg1
= temp1
->m_wxis
;
5438 PyErr_Clear(); // clear the failure of the wxPyConvert above
5439 arg1
= wxPyCBInputStream_create(obj0
, False
);
5441 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5448 arg2
= wxString_in_helper(obj1
);
5449 if (arg2
== NULL
) SWIG_fail
;
5453 arg3
= wxString_in_helper(obj2
);
5454 if (arg3
== NULL
) SWIG_fail
;
5458 arg4
= wxString_in_helper(obj3
);
5459 if (arg4
== NULL
) SWIG_fail
;
5462 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= wxPyMake_wxObject(result
);
5512 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
;
5514 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5517 (char *) "self", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 Py_INCREF(Py_None
); resultobj
= Py_None
;
5536 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5539 wxInputStream
*result
;
5540 PyObject
* obj0
= 0 ;
5542 (char *) "self", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (wxInputStream
*)(arg1
)->GetStream();
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5555 wxPyInputStream
* _ptr
= NULL
;
5558 _ptr
= new wxPyInputStream(result
);
5560 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5568 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5574 (char *) "self", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5583 result
= (wxString
*) &_result_ref
;
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5602 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5608 (char *) "self", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 wxString
const &_result_ref
= (arg1
)->GetLocation();
5617 result
= (wxString
*) &_result_ref
;
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5625 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5627 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5636 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5640 PyObject
* obj0
= 0 ;
5642 (char *) "self", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5651 result
= (wxString
*) &_result_ref
;
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5661 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5670 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5676 (char *) "self", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (arg1
)->GetModificationTime();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5689 wxDateTime
* resultptr
;
5690 resultptr
= new wxDateTime((wxDateTime
&) result
);
5691 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5699 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5702 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5704 return Py_BuildValue((char *)"");
5706 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5709 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5711 return Py_BuildValue((char *)"");
5713 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxPyFileSystemHandler
*result
;
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5735 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5738 PyObject
*arg2
= (PyObject
*) 0 ;
5739 PyObject
*arg3
= (PyObject
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5744 (char *) "self",(char *) "self",(char *) "_class", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 Py_INCREF(Py_None
); resultobj
= Py_None
;
5765 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5768 wxString
*arg2
= 0 ;
5770 bool temp2
= False
;
5771 PyObject
* obj0
= 0 ;
5772 PyObject
* obj1
= 0 ;
5774 (char *) "self",(char *) "location", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5780 arg2
= wxString_in_helper(obj1
);
5781 if (arg2
== NULL
) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= PyInt_FromLong((long)result
);
5806 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5809 wxFileSystem
*arg2
= 0 ;
5810 wxString
*arg3
= 0 ;
5812 bool temp3
= False
;
5813 PyObject
* obj0
= 0 ;
5814 PyObject
* obj1
= 0 ;
5815 PyObject
* obj2
= 0 ;
5817 (char *) "self",(char *) "fs",(char *) "location", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5824 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5827 arg3
= wxString_in_helper(obj2
);
5828 if (arg3
== NULL
) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= wxPyMake_wxObject(result
);
5855 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5858 wxString
*arg2
= 0 ;
5859 int arg3
= (int) 0 ;
5861 bool temp2
= False
;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5865 (char *) "self",(char *) "spec",(char *) "flags", NULL
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5871 arg2
= wxString_in_helper(obj1
);
5872 if (arg2
== NULL
) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5903 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (arg1
)->FindNext();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5934 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5937 wxString
*arg2
= 0 ;
5939 bool temp2
= False
;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5943 (char *) "self",(char *) "location", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5949 arg2
= wxString_in_helper(obj1
);
5950 if (arg2
== NULL
) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5981 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5984 wxString
*arg2
= 0 ;
5986 bool temp2
= False
;
5987 PyObject
* obj0
= 0 ;
5988 PyObject
* obj1
= 0 ;
5990 (char *) "self",(char *) "location", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5996 arg2
= wxString_in_helper(obj1
);
5997 if (arg2
== NULL
) SWIG_fail
;
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6028 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6031 wxString
*arg2
= 0 ;
6033 bool temp2
= False
;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "location", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6043 arg2
= wxString_in_helper(obj1
);
6044 if (arg2
== NULL
) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6075 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6078 wxString
*arg2
= 0 ;
6080 bool temp2
= False
;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6084 (char *) "self",(char *) "location", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6090 arg2
= wxString_in_helper(obj1
);
6091 if (arg2
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6122 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6125 wxString
*arg2
= 0 ;
6127 bool temp2
= False
;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6131 (char *) "self",(char *) "location", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6137 arg2
= wxString_in_helper(obj1
);
6138 if (arg2
== NULL
) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6169 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6172 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6174 return Py_BuildValue((char *)"");
6176 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
;
6178 wxFileSystem
*result
;
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (wxFileSystem
*)new wxFileSystem();
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= wxPyMake_wxObject(result
);
6200 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6205 (char *) "self", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 Py_INCREF(Py_None
); resultobj
= Py_None
;
6224 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6227 wxString
*arg2
= 0 ;
6228 bool arg3
= (bool) False
;
6229 bool temp2
= False
;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6232 PyObject
* obj2
= 0 ;
6234 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6240 arg2
= wxString_in_helper(obj1
);
6241 if (arg2
== NULL
) SWIG_fail
;
6246 arg3
= (bool) SPyObj_AsBool(obj2
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 Py_INCREF(Py_None
); resultobj
= Py_None
;
6272 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (arg1
)->GetPath();
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6303 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6306 wxString
*arg2
= 0 ;
6308 bool temp2
= False
;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6312 (char *) "self",(char *) "location", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6318 arg2
= wxString_in_helper(obj1
);
6319 if (arg2
== NULL
) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= wxPyMake_wxObject(result
);
6346 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6349 wxString
*arg2
= 0 ;
6350 int arg3
= (int) 0 ;
6352 bool temp2
= False
;
6353 PyObject
* obj0
= 0 ;
6354 PyObject
* obj1
= 0 ;
6356 (char *) "self",(char *) "spec",(char *) "flags", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6362 arg2
= wxString_in_helper(obj1
);
6363 if (arg2
== NULL
) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6394 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6400 (char *) "self", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 result
= (arg1
)->FindNext();
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6425 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6430 (char *) "handler", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 wxFileSystem::AddHandler(arg1
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6449 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 wxFileSystem::CleanUpHandlers();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 Py_INCREF(Py_None
); resultobj
= Py_None
;
6470 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxString
*arg1
= 0 ;
6474 bool temp1
= False
;
6475 PyObject
* obj0
= 0 ;
6477 (char *) "filename", NULL
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6482 arg1
= wxString_in_helper(obj0
);
6483 if (arg1
== NULL
) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6514 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6517 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6519 return Py_BuildValue((char *)"");
6521 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxString
*arg1
= 0 ;
6525 bool temp1
= False
;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "url", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6533 arg1
= wxString_in_helper(obj0
);
6534 if (arg1
== NULL
) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6565 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxInternetFSHandler
*result
;
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6587 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6589 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6590 wxString
*arg2
= 0 ;
6592 bool temp2
= False
;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6596 (char *) "self",(char *) "location", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6602 arg2
= wxString_in_helper(obj1
);
6603 if (arg2
== NULL
) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= PyInt_FromLong((long)result
);
6628 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6631 wxFileSystem
*arg2
= 0 ;
6632 wxString
*arg3
= 0 ;
6634 bool temp3
= False
;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6637 PyObject
* obj2
= 0 ;
6639 (char *) "self",(char *) "fs",(char *) "location", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6649 arg3
= wxString_in_helper(obj2
);
6650 if (arg3
== NULL
) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= wxPyMake_wxObject(result
);
6677 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6680 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6682 return Py_BuildValue((char *)"");
6684 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
;
6686 wxZipFSHandler
*result
;
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6706 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6709 wxString
*arg2
= 0 ;
6711 bool temp2
= False
;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6715 (char *) "self",(char *) "location", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6721 arg2
= wxString_in_helper(obj1
);
6722 if (arg2
== NULL
) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= PyInt_FromLong((long)result
);
6747 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
;
6749 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6750 wxFileSystem
*arg2
= 0 ;
6751 wxString
*arg3
= 0 ;
6753 bool temp3
= False
;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 PyObject
* obj2
= 0 ;
6758 (char *) "self",(char *) "fs",(char *) "location", NULL
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6765 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6768 arg3
= wxString_in_helper(obj2
);
6769 if (arg3
== NULL
) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= wxPyMake_wxObject(result
);
6796 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6799 wxString
*arg2
= 0 ;
6800 int arg3
= (int) 0 ;
6802 bool temp2
= False
;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6806 (char *) "self",(char *) "spec",(char *) "flags", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6812 arg2
= wxString_in_helper(obj1
);
6813 if (arg2
== NULL
) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6844 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6850 (char *) "self", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 result
= (arg1
)->FindNext();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6875 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6878 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6880 return Py_BuildValue((char *)"");
6882 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxString
*arg1
= 0 ;
6887 bool temp1
= False
;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6891 (char *) "filename",(char *) "image",(char *) "type", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6896 arg1
= wxString_in_helper(obj0
);
6897 if (arg1
== NULL
) SWIG_fail
;
6900 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6926 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxString
*arg1
= 0 ;
6929 wxBitmap
*arg2
= 0 ;
6931 bool temp1
= False
;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6935 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6940 arg1
= wxString_in_helper(obj0
);
6941 if (arg1
== NULL
) SWIG_fail
;
6944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 Py_INCREF(Py_None
); resultobj
= Py_None
;
6970 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxString
*arg1
= 0 ;
6973 PyObject
*arg2
= (PyObject
*) 0 ;
6974 bool temp1
= False
;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6978 (char *) "filename",(char *) "data", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6983 arg1
= wxString_in_helper(obj0
);
6984 if (arg1
== NULL
) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 Py_INCREF(Py_None
); resultobj
= Py_None
;
7010 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxMemoryFSHandler
*result
;
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
7032 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxString
*arg1
= 0 ;
7035 bool temp1
= False
;
7036 PyObject
* obj0
= 0 ;
7038 (char *) "filename", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7043 arg1
= wxString_in_helper(obj0
);
7044 if (arg1
== NULL
) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 Py_INCREF(Py_None
); resultobj
= Py_None
;
7069 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7072 wxString
*arg2
= 0 ;
7074 bool temp2
= False
;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "location", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7084 arg2
= wxString_in_helper(obj1
);
7085 if (arg2
== NULL
) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= PyInt_FromLong((long)result
);
7110 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7113 wxFileSystem
*arg2
= 0 ;
7114 wxString
*arg3
= 0 ;
7116 bool temp3
= False
;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 PyObject
* obj2
= 0 ;
7121 (char *) "self",(char *) "fs",(char *) "location", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7131 arg3
= wxString_in_helper(obj2
);
7132 if (arg3
== NULL
) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= wxPyMake_wxObject(result
);
7159 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7162 wxString
*arg2
= 0 ;
7163 int arg3
= (int) 0 ;
7165 bool temp2
= False
;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7169 (char *) "self",(char *) "spec",(char *) "flags", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 arg2
= wxString_in_helper(obj1
);
7176 if (arg2
== NULL
) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7207 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7213 (char *) "self", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (arg1
)->FindNext();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7238 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7241 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7243 return Py_BuildValue((char *)"");
7245 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7251 (char *) "self", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (arg1
)->GetName();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7276 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7282 (char *) "self", NULL
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= (arg1
)->GetExtension();
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7307 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7311 PyObject
* obj0
= 0 ;
7313 (char *) "self", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (long)(arg1
)->GetType();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= PyInt_FromLong((long)result
);
7332 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "self", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (arg1
)->GetMimeType();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7363 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7366 wxString
*arg2
= 0 ;
7368 bool temp2
= False
;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7372 (char *) "self",(char *) "name", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7378 arg2
= wxString_in_helper(obj1
);
7379 if (arg2
== NULL
) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= PyInt_FromLong((long)result
);
7404 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7407 wxString
*arg2
= 0 ;
7408 bool temp2
= False
;
7409 PyObject
* obj0
= 0 ;
7410 PyObject
* obj1
= 0 ;
7412 (char *) "self",(char *) "name", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7418 arg2
= wxString_in_helper(obj1
);
7419 if (arg2
== NULL
) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 (arg1
)->SetName((wxString
const &)*arg2
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 Py_INCREF(Py_None
); resultobj
= Py_None
;
7444 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7447 wxString
*arg2
= 0 ;
7448 bool temp2
= False
;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7452 (char *) "self",(char *) "extension", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7458 arg2
= wxString_in_helper(obj1
);
7459 if (arg2
== NULL
) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 (arg1
)->SetExtension((wxString
const &)*arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7484 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
;
7486 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7488 PyObject
* obj0
= 0 ;
7490 (char *) "self",(char *) "type", NULL
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 (arg1
)->SetType(arg2
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 Py_INCREF(Py_None
); resultobj
= Py_None
;
7509 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7512 wxString
*arg2
= 0 ;
7513 bool temp2
= False
;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "mimetype", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7523 arg2
= wxString_in_helper(obj1
);
7524 if (arg2
== NULL
) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7552 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7554 return Py_BuildValue((char *)"");
7556 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxImageHistogram
*result
;
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxImageHistogram
*)new wxImageHistogram();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7578 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 unsigned char arg1
;
7581 unsigned char arg2
;
7582 unsigned char arg3
;
7583 unsigned long result
;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 PyObject
* obj2
= 0 ;
7588 (char *) "r",(char *) "g",(char *) "b", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7593 arg1
= (unsigned char) SPyObj_AsUnsignedChar(obj0
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 arg2
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7601 arg3
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
7618 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7621 unsigned char *arg2
= (unsigned char *) 0 ;
7622 unsigned char *arg3
= (unsigned char *) 0 ;
7623 unsigned char *arg4
= (unsigned char *) 0 ;
7624 unsigned char arg5
= (unsigned char) 1 ;
7625 unsigned char arg6
= (unsigned char) 0 ;
7626 unsigned char arg7
= (unsigned char) 0 ;
7628 unsigned char temp2
;
7629 unsigned char temp3
;
7630 unsigned char temp4
;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7633 PyObject
* obj2
= 0 ;
7634 PyObject
* obj3
= 0 ;
7636 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7646 arg5
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7652 arg6
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7658 arg7
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= PyInt_FromLong((long)result
);
7671 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7672 resultobj
= t_output_helper(resultobj
,o
);
7675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7676 resultobj
= t_output_helper(resultobj
,o
);
7679 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7680 resultobj
= t_output_helper(resultobj
,o
);
7688 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7691 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7693 return Py_BuildValue((char *)"");
7695 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxString
*arg1
= 0 ;
7698 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7699 int arg3
= (int) -1 ;
7701 bool temp1
= False
;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "name",(char *) "type",(char *) "index", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7709 arg1
= wxString_in_helper(obj0
);
7710 if (arg1
== NULL
) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7735 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxImage
*arg1
= (wxImage
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "self", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 Py_INCREF(Py_None
); resultobj
= Py_None
;
7759 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
;
7761 wxString
*arg1
= 0 ;
7762 wxString
*arg2
= 0 ;
7763 int arg3
= (int) -1 ;
7765 bool temp1
= False
;
7766 bool temp2
= False
;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7770 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7775 arg1
= wxString_in_helper(obj0
);
7776 if (arg1
== NULL
) SWIG_fail
;
7780 arg2
= wxString_in_helper(obj1
);
7781 if (arg2
== NULL
) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7814 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxInputStream
*arg1
= 0 ;
7817 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7818 int arg3
= (int) -1 ;
7820 wxPyInputStream
*temp1
;
7822 PyObject
* obj0
= 0 ;
7824 (char *) "stream",(char *) "type",(char *) "index", NULL
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7829 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7830 arg1
= temp1
->m_wxis
;
7833 PyErr_Clear(); // clear the failure of the wxPyConvert above
7834 arg1
= wxPyCBInputStream_create(obj0
, False
);
7836 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7864 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 wxInputStream
*arg1
= 0 ;
7867 wxString
*arg2
= 0 ;
7868 int arg3
= (int) -1 ;
7870 wxPyInputStream
*temp1
;
7872 bool temp2
= False
;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7876 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7881 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7882 arg1
= temp1
->m_wxis
;
7885 PyErr_Clear(); // clear the failure of the wxPyConvert above
7886 arg1
= wxPyCBInputStream_create(obj0
, False
);
7888 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7895 arg2
= wxString_in_helper(obj1
);
7896 if (arg2
== NULL
) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7929 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 int arg1
= (int) 0 ;
7932 int arg2
= (int) 0 ;
7933 bool arg3
= (bool) True
;
7935 PyObject
* obj2
= 0 ;
7937 (char *) "width",(char *) "height",(char *) "clear", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7943 arg3
= (bool) SPyObj_AsBool(obj2
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7961 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 wxBitmap
*arg1
= 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "bitmap", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7989 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7993 unsigned char *arg3
= (unsigned char *) 0 ;
7995 PyObject
* obj2
= 0 ;
7997 (char *) "width",(char *) "height",(char *) "data", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
8001 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8016 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxImage
*arg1
= (wxImage
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "self",(char *) "width",(char *) "height", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 (arg1
)->Create(arg2
,arg3
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 Py_INCREF(Py_None
); resultobj
= Py_None
;
8042 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxImage
*arg1
= (wxImage
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8047 (char *) "self", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8066 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxImage
*arg1
= (wxImage
*) 0 ;
8071 SwigValueWrapper
< wxImage
> result
;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self",(char *) "width",(char *) "height", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (arg1
)->Scale(arg2
,arg3
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8087 wxImage
* resultptr
;
8088 resultptr
= new wxImage((wxImage
&) result
);
8089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8097 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxImage
*arg1
= (wxImage
*) 0 ;
8102 SwigValueWrapper
< wxImage
> result
;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 wxImage
* resultptr
;
8119 resultptr
= new wxImage((wxImage
&) result
);
8120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8128 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxImage
*arg1
= (wxImage
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self",(char *) "width",(char *) "height", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8145 result
= (wxImage
*) &_result_ref
;
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
8158 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxImage
*arg1
= (wxImage
*) 0 ;
8163 unsigned char arg4
;
8164 unsigned char arg5
;
8165 unsigned char arg6
;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj3
= 0 ;
8168 PyObject
* obj4
= 0 ;
8169 PyObject
* obj5
= 0 ;
8171 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8177 arg4
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8181 arg5
= (unsigned char) SPyObj_AsUnsignedChar(obj4
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8185 arg6
= (unsigned char) SPyObj_AsUnsignedChar(obj5
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 Py_INCREF(Py_None
); resultobj
= Py_None
;
8202 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxImage
*arg1
= (wxImage
*) 0 ;
8207 unsigned char result
;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self",(char *) "x",(char *) "y", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= PyInt_FromLong((long)result
);
8229 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxImage
*arg1
= (wxImage
*) 0 ;
8234 unsigned char result
;
8235 PyObject
* obj0
= 0 ;
8237 (char *) "self",(char *) "x",(char *) "y", NULL
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8246 wxPyEndAllowThreads(__tstate
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= PyInt_FromLong((long)result
);
8256 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
;
8258 wxImage
*arg1
= (wxImage
*) 0 ;
8261 unsigned char result
;
8262 PyObject
* obj0
= 0 ;
8264 (char *) "self",(char *) "x",(char *) "y", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= PyInt_FromLong((long)result
);
8283 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 wxImage
*arg1
= (wxImage
*) 0 ;
8288 unsigned char arg4
;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj3
= 0 ;
8292 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8298 arg4
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxImage
*arg1
= (wxImage
*) 0 ;
8320 unsigned char result
;
8321 PyObject
* obj0
= 0 ;
8323 (char *) "self",(char *) "x",(char *) "y", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= PyInt_FromLong((long)result
);
8342 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxImage
*arg1
= (wxImage
*) 0 ;
8346 PyObject
* obj0
= 0 ;
8348 (char *) "self", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (bool)(arg1
)->HasAlpha();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= PyInt_FromLong((long)result
);
8367 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxImage
*arg1
= (wxImage
*) 0 ;
8370 byte
*arg2
= (byte
*) 0 ;
8371 byte
*arg3
= (byte
*) 0 ;
8372 byte
*arg4
= (byte
*) 0 ;
8373 byte arg5
= (byte
) 0 ;
8374 byte arg6
= (byte
) 0 ;
8375 byte arg7
= (byte
) 0 ;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8382 PyObject
* obj2
= 0 ;
8383 PyObject
* obj3
= 0 ;
8385 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8395 arg5
= (byte
) SPyObj_AsUnsignedChar(obj1
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8401 arg6
= (byte
) SPyObj_AsUnsignedChar(obj2
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8407 arg7
= (byte
) SPyObj_AsUnsignedChar(obj3
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= PyInt_FromLong((long)result
);
8420 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8421 resultobj
= t_output_helper(resultobj
,o
);
8424 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8425 resultobj
= t_output_helper(resultobj
,o
);
8428 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8429 resultobj
= t_output_helper(resultobj
,o
);
8437 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxImage
*arg1
= (wxImage
*) 0 ;
8445 PyObject
* obj0
= 0 ;
8446 PyObject
* obj1
= 0 ;
8447 PyObject
* obj2
= 0 ;
8448 PyObject
* obj3
= 0 ;
8449 PyObject
* obj4
= 0 ;
8451 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8461 arg3
= (byte
) SPyObj_AsUnsignedChar(obj2
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8465 arg4
= (byte
) SPyObj_AsUnsignedChar(obj3
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 arg5
= (byte
) SPyObj_AsUnsignedChar(obj4
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= PyInt_FromLong((long)result
);
8486 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxString
*arg1
= 0 ;
8490 bool temp1
= False
;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "name", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8498 arg1
= wxString_in_helper(obj0
);
8499 if (arg1
== NULL
) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyInt_FromLong((long)result
);
8524 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxString
*arg1
= 0 ;
8527 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8529 bool temp1
= False
;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "name",(char *) "type", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8537 arg1
= wxString_in_helper(obj0
);
8538 if (arg1
== NULL
) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= PyInt_FromLong((long)result
);
8563 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
;
8565 wxImage
*arg1
= (wxImage
*) 0 ;
8566 wxString
*arg2
= 0 ;
8567 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8568 int arg4
= (int) -1 ;
8570 bool temp2
= False
;
8571 PyObject
* obj0
= 0 ;
8572 PyObject
* obj1
= 0 ;
8574 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8580 arg2
= wxString_in_helper(obj1
);
8581 if (arg2
== NULL
) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= PyInt_FromLong((long)result
);
8606 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxImage
*arg1
= (wxImage
*) 0 ;
8609 wxString
*arg2
= 0 ;
8610 wxString
*arg3
= 0 ;
8611 int arg4
= (int) -1 ;
8613 bool temp2
= False
;
8614 bool temp3
= False
;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 PyObject
* obj2
= 0 ;
8619 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8625 arg2
= wxString_in_helper(obj1
);
8626 if (arg2
== NULL
) SWIG_fail
;
8630 arg3
= wxString_in_helper(obj2
);
8631 if (arg3
== NULL
) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= PyInt_FromLong((long)result
);
8664 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxImage
*arg1
= (wxImage
*) 0 ;
8667 wxString
*arg2
= 0 ;
8670 bool temp2
= False
;
8671 PyObject
* obj0
= 0 ;
8672 PyObject
* obj1
= 0 ;
8674 (char *) "self",(char *) "name",(char *) "type", NULL
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8680 arg2
= wxString_in_helper(obj1
);
8681 if (arg2
== NULL
) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= PyInt_FromLong((long)result
);
8706 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxImage
*arg1
= (wxImage
*) 0 ;
8709 wxString
*arg2
= 0 ;
8710 wxString
*arg3
= 0 ;
8712 bool temp2
= False
;
8713 bool temp3
= False
;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8716 PyObject
* obj2
= 0 ;
8718 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8724 arg2
= wxString_in_helper(obj1
);
8725 if (arg2
== NULL
) SWIG_fail
;
8729 arg3
= wxString_in_helper(obj2
);
8730 if (arg3
== NULL
) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= PyInt_FromLong((long)result
);
8763 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxInputStream
*arg1
= 0 ;
8767 wxPyInputStream
*temp1
;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "stream", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8776 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8777 arg1
= temp1
->m_wxis
;
8780 PyErr_Clear(); // clear the failure of the wxPyConvert above
8781 arg1
= wxPyCBInputStream_create(obj0
, False
);
8783 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (bool)wxImage::CanRead(*arg1
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= PyInt_FromLong((long)result
);
8811 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxImage
*arg1
= (wxImage
*) 0 ;
8814 wxInputStream
*arg2
= 0 ;
8815 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8816 int arg4
= (int) -1 ;
8818 wxPyInputStream
*temp2
;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8823 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8829 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8830 arg2
= temp2
->m_wxis
;
8833 PyErr_Clear(); // clear the failure of the wxPyConvert above
8834 arg2
= wxPyCBInputStream_create(obj1
, False
);
8836 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= PyInt_FromLong((long)result
);
8864 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxImage
*arg1
= (wxImage
*) 0 ;
8867 wxInputStream
*arg2
= 0 ;
8868 wxString
*arg3
= 0 ;
8869 int arg4
= (int) -1 ;
8871 wxPyInputStream
*temp2
;
8873 bool temp3
= False
;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8876 PyObject
* obj2
= 0 ;
8878 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8884 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8885 arg2
= temp2
->m_wxis
;
8888 PyErr_Clear(); // clear the failure of the wxPyConvert above
8889 arg2
= wxPyCBInputStream_create(obj1
, False
);
8891 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8898 arg3
= wxString_in_helper(obj2
);
8899 if (arg3
== NULL
) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= PyInt_FromLong((long)result
);
8932 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxImage
*arg1
= (wxImage
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (bool)(arg1
)->Ok();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= PyInt_FromLong((long)result
);
8957 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxImage
*arg1
= (wxImage
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (int)(arg1
)->GetWidth();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= PyInt_FromLong((long)result
);
8982 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxImage
*arg1
= (wxImage
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (int)(arg1
)->GetHeight();
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= PyInt_FromLong((long)result
);
9007 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxImage
*arg1
= (wxImage
*) 0 ;
9011 SwigValueWrapper
< wxImage
> result
;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9016 (char *) "self",(char *) "rect", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9023 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9033 wxImage
* resultptr
;
9034 resultptr
= new wxImage((wxImage
&) result
);
9035 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9043 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxImage
*arg1
= (wxImage
*) 0 ;
9046 SwigValueWrapper
< wxImage
> result
;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (arg1
)->Copy();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 wxImage
* resultptr
;
9063 resultptr
= new wxImage((wxImage
&) result
);
9064 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9072 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxImage
*arg1
= (wxImage
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9081 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxImage
*arg1
= (wxImage
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9110 (char *) "self", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (PyObject
*)wxImage_GetData(arg1
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9129 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
;
9131 wxImage
*arg1
= (wxImage
*) 0 ;
9132 PyObject
*arg2
= (PyObject
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9136 (char *) "self",(char *) "data", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 wxImage_SetData(arg1
,arg2
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 Py_INCREF(Py_None
); resultobj
= Py_None
;
9156 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
;
9158 wxImage
*arg1
= (wxImage
*) 0 ;
9160 PyObject
* obj0
= 0 ;
9162 (char *) "self", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9181 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxImage
*arg1
= (wxImage
*) 0 ;
9184 PyObject
*arg2
= (PyObject
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9188 (char *) "self",(char *) "data", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 wxImage_SetDataBuffer(arg1
,arg2
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 Py_INCREF(Py_None
); resultobj
= Py_None
;
9208 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxImage
*arg1
= (wxImage
*) 0 ;
9212 PyObject
* obj0
= 0 ;
9214 (char *) "self", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9233 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxImage
*arg1
= (wxImage
*) 0 ;
9236 PyObject
*arg2
= (PyObject
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9240 (char *) "self",(char *) "data", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxImage_SetAlphaData(arg1
,arg2
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxImage
*arg1
= (wxImage
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9285 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxImage
*arg1
= (wxImage
*) 0 ;
9288 PyObject
*arg2
= (PyObject
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9290 PyObject
* obj1
= 0 ;
9292 (char *) "self",(char *) "data", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 wxImage_SetAlphaBuffer(arg1
,arg2
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 Py_INCREF(Py_None
); resultobj
= Py_None
;
9312 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxImage
*arg1
= (wxImage
*) 0 ;
9315 unsigned char arg2
;
9316 unsigned char arg3
;
9317 unsigned char arg4
;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9320 PyObject
* obj2
= 0 ;
9321 PyObject
* obj3
= 0 ;
9323 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9329 arg2
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 arg3
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9337 arg4
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxImage
*arg1
= (wxImage
*) 0 ;
9357 unsigned char result
;
9358 PyObject
* obj0
= 0 ;
9360 (char *) "self", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (unsigned char)(arg1
)->GetMaskRed();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= PyInt_FromLong((long)result
);
9379 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxImage
*arg1
= (wxImage
*) 0 ;
9382 unsigned char result
;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (unsigned char)(arg1
)->GetMaskGreen();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= PyInt_FromLong((long)result
);
9404 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxImage
*arg1
= (wxImage
*) 0 ;
9407 unsigned char result
;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (unsigned char)(arg1
)->GetMaskBlue();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= PyInt_FromLong((long)result
);
9429 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxImage
*arg1
= (wxImage
*) 0 ;
9432 bool arg2
= (bool) True
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9436 (char *) "self",(char *) "mask", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9443 arg2
= (bool) SPyObj_AsBool(obj1
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->SetMask(arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 Py_INCREF(Py_None
); resultobj
= Py_None
;
9461 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxImage
*arg1
= (wxImage
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (bool)(arg1
)->HasMask();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= PyInt_FromLong((long)result
);
9486 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxImage
*arg1
= (wxImage
*) 0 ;
9491 bool arg4
= (bool) True
;
9492 wxPoint
*arg5
= (wxPoint
*) NULL
;
9493 SwigValueWrapper
< wxImage
> result
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj2
= 0 ;
9497 PyObject
* obj3
= 0 ;
9498 PyObject
* obj4
= 0 ;
9500 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9511 arg4
= (bool) SPyObj_AsBool(obj3
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9516 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9526 wxImage
* resultptr
;
9527 resultptr
= new wxImage((wxImage
&) result
);
9528 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9536 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxImage
*arg1
= (wxImage
*) 0 ;
9539 bool arg2
= (bool) True
;
9540 SwigValueWrapper
< wxImage
> result
;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9544 (char *) "self",(char *) "clockwise", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9551 arg2
= (bool) SPyObj_AsBool(obj1
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (arg1
)->Rotate90(arg2
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9563 wxImage
* resultptr
;
9564 resultptr
= new wxImage((wxImage
&) result
);
9565 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9573 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxImage
*arg1
= (wxImage
*) 0 ;
9576 bool arg2
= (bool) True
;
9577 SwigValueWrapper
< wxImage
> result
;
9578 PyObject
* obj0
= 0 ;
9579 PyObject
* obj1
= 0 ;
9581 (char *) "self",(char *) "horizontally", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9588 arg2
= (bool) SPyObj_AsBool(obj1
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (arg1
)->Mirror(arg2
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 wxImage
* resultptr
;
9601 resultptr
= new wxImage((wxImage
&) result
);
9602 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9610 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxImage
*arg1
= (wxImage
*) 0 ;
9613 unsigned char arg2
;
9614 unsigned char arg3
;
9615 unsigned char arg4
;
9616 unsigned char arg5
;
9617 unsigned char arg6
;
9618 unsigned char arg7
;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9621 PyObject
* obj2
= 0 ;
9622 PyObject
* obj3
= 0 ;
9623 PyObject
* obj4
= 0 ;
9624 PyObject
* obj5
= 0 ;
9625 PyObject
* obj6
= 0 ;
9627 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9633 arg2
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 arg3
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9641 arg4
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 arg5
= (unsigned char) SPyObj_AsUnsignedChar(obj4
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9649 arg6
= (unsigned char) SPyObj_AsUnsignedChar(obj5
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9653 arg7
= (unsigned char) SPyObj_AsUnsignedChar(obj6
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 Py_INCREF(Py_None
); resultobj
= Py_None
;
9670 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxImage
*arg1
= (wxImage
*) 0 ;
9673 unsigned char arg2
;
9674 unsigned char arg3
;
9675 unsigned char arg4
;
9676 SwigValueWrapper
< wxImage
> result
;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 PyObject
* obj2
= 0 ;
9680 PyObject
* obj3
= 0 ;
9682 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9688 arg2
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 arg3
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 arg4
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9707 wxImage
* resultptr
;
9708 resultptr
= new wxImage((wxImage
&) result
);
9709 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9717 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxImage
*arg1
= (wxImage
*) 0 ;
9720 wxString
*arg2
= 0 ;
9721 wxString
*arg3
= 0 ;
9722 bool temp2
= False
;
9723 bool temp3
= False
;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 PyObject
* obj2
= 0 ;
9728 (char *) "self",(char *) "name",(char *) "value", NULL
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9734 arg2
= wxString_in_helper(obj1
);
9735 if (arg2
== NULL
) SWIG_fail
;
9739 arg3
= wxString_in_helper(obj2
);
9740 if (arg3
== NULL
) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 Py_INCREF(Py_None
); resultobj
= Py_None
;
9773 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxImage
*arg1
= (wxImage
*) 0 ;
9776 wxString
*arg2
= 0 ;
9778 bool temp2
= False
;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9782 (char *) "self",(char *) "name",(char *) "value", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9788 arg2
= wxString_in_helper(obj1
);
9789 if (arg2
== NULL
) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 Py_INCREF(Py_None
); resultobj
= Py_None
;
9814 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxImage
*arg1
= (wxImage
*) 0 ;
9817 wxString
*arg2
= 0 ;
9819 bool temp2
= False
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9823 (char *) "self",(char *) "name", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 arg2
= wxString_in_helper(obj1
);
9830 if (arg2
== NULL
) SWIG_fail
;
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9861 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxImage
*arg1
= (wxImage
*) 0 ;
9864 wxString
*arg2
= 0 ;
9866 bool temp2
= False
;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9870 (char *) "self",(char *) "name", NULL
9873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9876 arg2
= wxString_in_helper(obj1
);
9877 if (arg2
== NULL
) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= PyInt_FromLong((long)result
);
9902 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxImage
*arg1
= (wxImage
*) 0 ;
9905 wxString
*arg2
= 0 ;
9907 bool temp2
= False
;
9908 PyObject
* obj0
= 0 ;
9909 PyObject
* obj1
= 0 ;
9911 (char *) "self",(char *) "name", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 arg2
= wxString_in_helper(obj1
);
9918 if (arg2
== NULL
) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= PyInt_FromLong((long)result
);
9943 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxImage
*arg1
= (wxImage
*) 0 ;
9946 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9947 unsigned long result
;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9951 (char *) "self",(char *) "stopafter", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9958 arg2
= (unsigned long) SPyObj_AsUnsignedLong(obj1
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
9976 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxImage
*arg1
= (wxImage
*) 0 ;
9979 wxImageHistogram
*arg2
= 0 ;
9980 unsigned long result
;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "h", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
10007 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "handler", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 wxImage::AddHandler(arg1
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 Py_INCREF(Py_None
); resultobj
= Py_None
;
10031 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "handler", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 wxImage::InsertHandler(arg1
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 Py_INCREF(Py_None
); resultobj
= Py_None
;
10055 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxString
*arg1
= 0 ;
10059 bool temp1
= False
;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "name", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10067 arg1
= wxString_in_helper(obj0
);
10068 if (arg1
== NULL
) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= PyInt_FromLong((long)result
);
10093 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10096 char *kwnames
[] = {
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= wxImage::GetImageExtWildcard();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10121 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxImage
*arg1
= (wxImage
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= wxImage_ConvertToBitmap(arg1
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10140 wxBitmap
* resultptr
;
10141 resultptr
= new wxBitmap((wxBitmap
&) result
);
10142 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10150 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxImage
*arg1
= (wxImage
*) 0 ;
10153 unsigned char arg2
;
10154 unsigned char arg3
;
10155 unsigned char arg4
;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 PyObject
* obj2
= 0 ;
10160 PyObject
* obj3
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10168 arg2
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10172 arg3
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 arg4
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10187 wxBitmap
* resultptr
;
10188 resultptr
= new wxBitmap((wxBitmap
&) result
);
10189 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10197 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
10199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10200 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
10202 return Py_BuildValue((char *)"");
10204 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 char *kwnames
[] = {
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 wxInitAllImageHandlers();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 Py_INCREF(Py_None
); resultobj
= Py_None
;
10225 static int _wrap_NullImage_set(PyObject
*_val
) {
10226 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
10231 static PyObject
*_wrap_NullImage_get() {
10234 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
10239 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
10240 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10245 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10250 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10252 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10259 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
10260 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10265 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10270 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10272 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10279 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
10280 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10285 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10290 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10292 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10299 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
10300 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10305 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10310 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10312 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10319 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
10320 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10325 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10330 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10332 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10339 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxBMPHandler
*result
;
10342 char *kwnames
[] = {
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (wxBMPHandler
*)new wxBMPHandler();
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
10361 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10364 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
10366 return Py_BuildValue((char *)"");
10368 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxICOHandler
*result
;
10371 char *kwnames
[] = {
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (wxICOHandler
*)new wxICOHandler();
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
10390 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10393 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10395 return Py_BuildValue((char *)"");
10397 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxCURHandler
*result
;
10400 char *kwnames
[] = {
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (wxCURHandler
*)new wxCURHandler();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10419 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10422 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10424 return Py_BuildValue((char *)"");
10426 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxANIHandler
*result
;
10429 char *kwnames
[] = {
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxANIHandler
*)new wxANIHandler();
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10448 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10451 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10453 return Py_BuildValue((char *)"");
10455 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxPNGHandler
*result
;
10458 char *kwnames
[] = {
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (wxPNGHandler
*)new wxPNGHandler();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10477 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10480 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10482 return Py_BuildValue((char *)"");
10484 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxGIFHandler
*result
;
10487 char *kwnames
[] = {
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (wxGIFHandler
*)new wxGIFHandler();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10506 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10509 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10511 return Py_BuildValue((char *)"");
10513 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxPCXHandler
*result
;
10516 char *kwnames
[] = {
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (wxPCXHandler
*)new wxPCXHandler();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10535 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10538 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10540 return Py_BuildValue((char *)"");
10542 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxJPEGHandler
*result
;
10545 char *kwnames
[] = {
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10564 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10567 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10569 return Py_BuildValue((char *)"");
10571 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxPNMHandler
*result
;
10574 char *kwnames
[] = {
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (wxPNMHandler
*)new wxPNMHandler();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10593 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10596 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10598 return Py_BuildValue((char *)"");
10600 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxXPMHandler
*result
;
10603 char *kwnames
[] = {
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (wxXPMHandler
*)new wxXPMHandler();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10622 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10625 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10627 return Py_BuildValue((char *)"");
10629 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxTIFFHandler
*result
;
10632 char *kwnames
[] = {
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10651 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10654 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10656 return Py_BuildValue((char *)"");
10658 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxEvtHandler
*result
;
10661 char *kwnames
[] = {
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 result
= (wxEvtHandler
*)new wxEvtHandler();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= wxPyMake_wxObject(result
);
10682 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10685 wxEvtHandler
*result
;
10686 PyObject
* obj0
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= wxPyMake_wxObject(result
);
10709 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10712 wxEvtHandler
*result
;
10713 PyObject
* obj0
= 0 ;
10714 char *kwnames
[] = {
10715 (char *) "self", NULL
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= wxPyMake_wxObject(result
);
10736 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10739 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "handler", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 (arg1
)->SetNextHandler(arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 Py_INCREF(Py_None
); resultobj
= Py_None
;
10763 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10766 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "handler", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10775 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->SetPreviousHandler(arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10794 PyObject
* obj0
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= PyInt_FromLong((long)result
);
10815 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "enabled", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 arg2
= (bool) SPyObj_AsBool(obj1
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 (arg1
)->SetEvtHandlerEnabled(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 Py_INCREF(Py_None
); resultobj
= Py_None
;
10845 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10848 wxEvent
*arg2
= 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "event", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10859 if (arg2
== NULL
) {
10860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= PyInt_FromLong((long)result
);
10876 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10879 wxEvent
*arg2
= 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "event", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10889 if (arg2
== NULL
) {
10890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->AddPendingEvent(*arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 Py_INCREF(Py_None
); resultobj
= Py_None
;
10906 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->ProcessPendingEvents();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10936 PyObject
*arg5
= (PyObject
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj4
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 Py_INCREF(Py_None
); resultobj
= Py_None
;
10960 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10964 int arg3
= (int) -1 ;
10965 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10967 PyObject
* obj0
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= PyInt_FromLong((long)result
);
10988 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10991 PyObject
*arg2
= (PyObject
*) 0 ;
10992 PyObject
* obj0
= 0 ;
10993 PyObject
* obj1
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self",(char *) "_self", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 wxEvtHandler__setOORInfo(arg1
,arg2
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 Py_INCREF(Py_None
); resultobj
= Py_None
;
11015 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11018 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11020 return Py_BuildValue((char *)"");
11022 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
;
11024 wxEventType result
;
11025 char *kwnames
[] = {
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (wxEventType
)wxNewEventType();
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= PyInt_FromLong((long)result
);
11044 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxEvent
*arg1
= (wxEvent
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxEvent
*arg1
= (wxEvent
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "typ", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 (arg1
)->SetEventType(arg2
);
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11086 Py_INCREF(Py_None
); resultobj
= Py_None
;
11093 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
*resultobj
;
11095 wxEvent
*arg1
= (wxEvent
*) 0 ;
11096 wxEventType result
;
11097 PyObject
* obj0
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
11103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= PyInt_FromLong((long)result
);
11118 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxEvent
*arg1
= (wxEvent
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= wxPyMake_wxObject(result
);
11145 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxEvent
*arg1
= (wxEvent
*) 0 ;
11148 wxObject
*arg2
= (wxObject
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj1
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self",(char *) "obj", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 (arg1
)->SetEventObject(arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxEvent
*arg1
= (wxEvent
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= PyInt_FromLong((long)result
);
11197 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxEvent
*arg1
= (wxEvent
*) 0 ;
11200 long arg2
= (long) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "ts", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 (arg1
)->SetTimestamp(arg2
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 Py_INCREF(Py_None
); resultobj
= Py_None
;
11222 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxEvent
*arg1
= (wxEvent
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (int)((wxEvent
const *)arg1
)->GetId();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= PyInt_FromLong((long)result
);
11247 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxEvent
*arg1
= (wxEvent
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self",(char *) "Id", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
11257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetId(arg2
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11272 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxEvent
*arg1
= (wxEvent
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= PyInt_FromLong((long)result
);
11297 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxEvent
*arg1
= (wxEvent
*) 0 ;
11300 bool arg2
= (bool) True
;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "skip", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11311 arg2
= (bool) SPyObj_AsBool(obj1
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 (arg1
)->Skip(arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxEvent
*arg1
= (wxEvent
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= PyInt_FromLong((long)result
);
11354 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxEvent
*arg1
= (wxEvent
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 char *kwnames
[] = {
11360 (char *) "self", NULL
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
11364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= PyInt_FromLong((long)result
);
11379 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxEvent
*arg1
= (wxEvent
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (int)(arg1
)->StopPropagation();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= PyInt_FromLong((long)result
);
11404 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxEvent
*arg1
= (wxEvent
*) 0 ;
11408 PyObject
* obj0
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "propagationLevel", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 (arg1
)->ResumePropagation(arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 Py_INCREF(Py_None
); resultobj
= Py_None
;
11429 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxEvent
*arg1
= (wxEvent
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (wxEvent
*)(arg1
)->Clone();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11454 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11457 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11459 return Py_BuildValue((char *)"");
11461 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxEvent
*arg1
= 0 ;
11464 wxPropagationDisabler
*result
;
11465 PyObject
* obj0
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "event", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11472 if (arg1
== NULL
) {
11473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11489 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11513 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11516 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11518 return Py_BuildValue((char *)"");
11520 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxEvent
*arg1
= 0 ;
11523 wxPropagateOnce
*result
;
11524 PyObject
* obj0
= 0 ;
11525 char *kwnames
[] = {
11526 (char *) "event", NULL
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11531 if (arg1
== NULL
) {
11532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11548 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11575 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11577 return Py_BuildValue((char *)"");
11579 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11582 int arg2
= (int) 0 ;
11583 wxCommandEvent
*result
;
11584 char *kwnames
[] = {
11585 (char *) "commandType",(char *) "winid", NULL
11588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11603 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= PyInt_FromLong((long)result
);
11628 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11631 wxString
*arg2
= 0 ;
11632 bool temp2
= False
;
11633 PyObject
* obj0
= 0 ;
11634 PyObject
* obj1
= 0 ;
11635 char *kwnames
[] = {
11636 (char *) "self",(char *) "s", NULL
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11642 arg2
= wxString_in_helper(obj1
);
11643 if (arg2
== NULL
) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->SetString((wxString
const &)*arg2
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11668 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11672 PyObject
* obj0
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "self", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11699 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11703 PyObject
* obj0
= 0 ;
11704 char *kwnames
[] = {
11705 (char *) "self", NULL
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= PyInt_FromLong((long)result
);
11724 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11728 PyObject
* obj0
= 0 ;
11729 char *kwnames
[] = {
11730 (char *) "self", NULL
11733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= PyInt_FromLong((long)result
);
11749 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
;
11751 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11753 PyObject
* obj0
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "extraLong", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 (arg1
)->SetExtraLong(arg2
);
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 Py_INCREF(Py_None
); resultobj
= Py_None
;
11774 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11778 PyObject
* obj0
= 0 ;
11779 char *kwnames
[] = {
11780 (char *) "self", NULL
11783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= PyInt_FromLong((long)result
);
11799 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 char *kwnames
[] = {
11805 (char *) "self",(char *) "i", NULL
11808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->SetInt(arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11828 PyObject
* obj0
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= PyInt_FromLong((long)result
);
11849 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11853 PyObject
* obj0
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11874 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11877 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11879 return Py_BuildValue((char *)"");
11881 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11884 int arg2
= (int) 0 ;
11885 wxNotifyEvent
*result
;
11886 char *kwnames
[] = {
11887 (char *) "commandType",(char *) "winid", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11905 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 Py_INCREF(Py_None
); resultobj
= Py_None
;
11929 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 Py_INCREF(Py_None
); resultobj
= Py_None
;
11953 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11957 PyObject
* obj0
= 0 ;
11958 char *kwnames
[] = {
11959 (char *) "self", NULL
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (bool)(arg1
)->IsAllowed();
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= PyInt_FromLong((long)result
);
11978 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11981 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11983 return Py_BuildValue((char *)"");
11985 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11988 int arg2
= (int) 0 ;
11989 int arg3
= (int) 0 ;
11990 int arg4
= (int) 0 ;
11991 wxScrollEvent
*result
;
11992 char *kwnames
[] = {
11993 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
12011 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= PyInt_FromLong((long)result
);
12036 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= PyInt_FromLong((long)result
);
12061 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12065 PyObject
* obj0
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self",(char *) "orient", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
12071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 (arg1
)->SetOrientation(arg2
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 Py_INCREF(Py_None
); resultobj
= Py_None
;
12086 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "pos", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->SetPosition(arg2
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 Py_INCREF(Py_None
); resultobj
= Py_None
;
12111 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12114 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
12116 return Py_BuildValue((char *)"");
12118 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12121 int arg2
= (int) 0 ;
12122 int arg3
= (int) 0 ;
12123 wxScrollWinEvent
*result
;
12124 char *kwnames
[] = {
12125 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
12143 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= PyInt_FromLong((long)result
);
12168 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= PyInt_FromLong((long)result
);
12193 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12197 PyObject
* obj0
= 0 ;
12198 char *kwnames
[] = {
12199 (char *) "self",(char *) "orient", NULL
12202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
12203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->SetOrientation(arg2
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 Py_INCREF(Py_None
); resultobj
= Py_None
;
12218 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self",(char *) "pos", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetPosition(arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 Py_INCREF(Py_None
); resultobj
= Py_None
;
12243 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12246 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
12248 return Py_BuildValue((char *)"");
12250 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12253 wxMouseEvent
*result
;
12254 char *kwnames
[] = {
12255 (char *) "mouseType", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= wxPyMake_wxObject(result
);
12275 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= PyInt_FromLong((long)result
);
12300 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12303 int arg2
= (int) wxMOUSE_BTN_ANY
;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self",(char *) "but", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= PyInt_FromLong((long)result
);
12326 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12329 int arg2
= (int) wxMOUSE_BTN_ANY
;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self",(char *) "but", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= PyInt_FromLong((long)result
);
12352 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12355 int arg2
= (int) wxMOUSE_BTN_ANY
;
12357 PyObject
* obj0
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "but", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= PyInt_FromLong((long)result
);
12378 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "but", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= PyInt_FromLong((long)result
);
12404 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self",(char *) "but", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= PyInt_FromLong((long)result
);
12430 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= PyInt_FromLong((long)result
);
12455 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= PyInt_FromLong((long)result
);
12480 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= PyInt_FromLong((long)result
);
12505 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= PyInt_FromLong((long)result
);
12530 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= PyInt_FromLong((long)result
);
12555 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= PyInt_FromLong((long)result
);
12580 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= PyInt_FromLong((long)result
);
12605 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12609 PyObject
* obj0
= 0 ;
12610 char *kwnames
[] = {
12611 (char *) "self", NULL
12614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= PyInt_FromLong((long)result
);
12630 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= PyInt_FromLong((long)result
);
12655 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= PyInt_FromLong((long)result
);
12680 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
;
12682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12698 resultobj
= PyInt_FromLong((long)result
);
12705 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12709 PyObject
* obj0
= 0 ;
12710 char *kwnames
[] = {
12711 (char *) "self", NULL
12714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= PyInt_FromLong((long)result
);
12730 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12734 PyObject
* obj0
= 0 ;
12735 char *kwnames
[] = {
12736 (char *) "self", NULL
12739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= PyInt_FromLong((long)result
);
12755 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= PyInt_FromLong((long)result
);
12780 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12784 PyObject
* obj0
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= (bool)(arg1
)->LeftIsDown();
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= PyInt_FromLong((long)result
);
12805 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12809 PyObject
* obj0
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (bool)(arg1
)->MiddleIsDown();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= PyInt_FromLong((long)result
);
12830 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (bool)(arg1
)->RightIsDown();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= PyInt_FromLong((long)result
);
12855 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12859 PyObject
* obj0
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= PyInt_FromLong((long)result
);
12880 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
;
12882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12884 PyObject
* obj0
= 0 ;
12885 char *kwnames
[] = {
12886 (char *) "self", NULL
12889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= PyInt_FromLong((long)result
);
12905 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= PyInt_FromLong((long)result
);
12930 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
;
12932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= PyInt_FromLong((long)result
);
12955 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (arg1
)->GetPosition();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 wxPoint
* resultptr
;
12975 resultptr
= new wxPoint((wxPoint
&) result
);
12976 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12984 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12987 long *arg2
= (long *) 0 ;
12988 long *arg3
= (long *) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self", NULL
12998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 (arg1
)->GetPosition(arg2
,arg3
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13010 resultobj
= t_output_helper(resultobj
,o
);
13013 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13014 resultobj
= t_output_helper(resultobj
,o
);
13022 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "dc", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13036 if (arg2
== NULL
) {
13037 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 wxPoint
* resultptr
;
13048 resultptr
= new wxPoint((wxPoint
&) result
);
13049 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13057 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= PyInt_FromLong((long)result
);
13082 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= PyInt_FromLong((long)result
);
13107 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= PyInt_FromLong((long)result
);
13132 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= PyInt_FromLong((long)result
);
13157 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= PyInt_FromLong((long)result
);
13182 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13186 PyObject
* obj0
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= PyInt_FromLong((long)result
);
13207 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self",(char *) "m_x", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13218 if (arg1
) (arg1
)->m_x
= arg2
;
13220 Py_INCREF(Py_None
); resultobj
= Py_None
;
13227 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 result
= (int) ((arg1
)->m_x
);
13240 resultobj
= PyInt_FromLong((long)result
);
13247 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "m_y", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13258 if (arg1
) (arg1
)->m_y
= arg2
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13267 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13278 result
= (int) ((arg1
)->m_y
);
13280 resultobj
= PyInt_FromLong((long)result
);
13287 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "m_leftDown", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13300 arg2
= (bool) SPyObj_AsBool(obj1
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 if (arg1
) (arg1
)->m_leftDown
= arg2
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13323 result
= (bool) ((arg1
)->m_leftDown
);
13325 resultobj
= PyInt_FromLong((long)result
);
13332 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
;
13334 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 PyObject
* obj1
= 0 ;
13338 char *kwnames
[] = {
13339 (char *) "self",(char *) "m_middleDown", NULL
13342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13345 arg2
= (bool) SPyObj_AsBool(obj1
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13348 if (arg1
) (arg1
)->m_middleDown
= arg2
;
13350 Py_INCREF(Py_None
); resultobj
= Py_None
;
13357 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13368 result
= (bool) ((arg1
)->m_middleDown
);
13370 resultobj
= PyInt_FromLong((long)result
);
13377 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self",(char *) "m_rightDown", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13390 arg2
= (bool) SPyObj_AsBool(obj1
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 if (arg1
) (arg1
)->m_rightDown
= arg2
;
13395 Py_INCREF(Py_None
); resultobj
= Py_None
;
13402 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13413 result
= (bool) ((arg1
)->m_rightDown
);
13415 resultobj
= PyInt_FromLong((long)result
);
13422 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "m_controlDown", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13435 arg2
= (bool) SPyObj_AsBool(obj1
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13440 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13458 result
= (bool) ((arg1
)->m_controlDown
);
13460 resultobj
= PyInt_FromLong((long)result
);
13467 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 PyObject
* obj1
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self",(char *) "m_shiftDown", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13480 arg2
= (bool) SPyObj_AsBool(obj1
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13485 Py_INCREF(Py_None
); resultobj
= Py_None
;
13492 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13503 result
= (bool) ((arg1
)->m_shiftDown
);
13505 resultobj
= PyInt_FromLong((long)result
);
13512 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "m_altDown", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13525 arg2
= (bool) SPyObj_AsBool(obj1
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 if (arg1
) (arg1
)->m_altDown
= arg2
;
13530 Py_INCREF(Py_None
); resultobj
= Py_None
;
13537 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13548 result
= (bool) ((arg1
)->m_altDown
);
13550 resultobj
= PyInt_FromLong((long)result
);
13557 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
;
13559 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "m_metaDown", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13570 arg2
= (bool) SPyObj_AsBool(obj1
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13575 Py_INCREF(Py_None
); resultobj
= Py_None
;
13582 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13593 result
= (bool) ((arg1
)->m_metaDown
);
13595 resultobj
= PyInt_FromLong((long)result
);
13602 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self",(char *) "m_wheelRotation", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13613 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13615 Py_INCREF(Py_None
); resultobj
= Py_None
;
13622 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13626 PyObject
* obj0
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13633 result
= (int) ((arg1
)->m_wheelRotation
);
13635 resultobj
= PyInt_FromLong((long)result
);
13642 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self",(char *) "m_wheelDelta", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13653 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13655 Py_INCREF(Py_None
); resultobj
= Py_None
;
13662 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13673 result
= (int) ((arg1
)->m_wheelDelta
);
13675 resultobj
= PyInt_FromLong((long)result
);
13682 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self",(char *) "m_linesPerAction", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13693 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13695 Py_INCREF(Py_None
); resultobj
= Py_None
;
13702 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13713 result
= (int) ((arg1
)->m_linesPerAction
);
13715 resultobj
= PyInt_FromLong((long)result
);
13722 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13725 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13727 return Py_BuildValue((char *)"");
13729 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 int arg1
= (int) 0 ;
13732 int arg2
= (int) 0 ;
13733 wxSetCursorEvent
*result
;
13734 char *kwnames
[] = {
13735 (char *) "x",(char *) "y", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13753 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= PyInt_FromLong((long)result
);
13778 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= PyInt_FromLong((long)result
);
13803 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
;
13805 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13806 wxCursor
*arg2
= 0 ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self",(char *) "cursor", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13816 if (arg2
== NULL
) {
13817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 Py_INCREF(Py_None
); resultobj
= Py_None
;
13833 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13837 PyObject
* obj0
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13848 result
= (wxCursor
*) &_result_ref
;
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13861 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= PyInt_FromLong((long)result
);
13886 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13889 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13891 return Py_BuildValue((char *)"");
13893 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13896 wxKeyEvent
*result
;
13897 char *kwnames
[] = {
13898 (char *) "keyType", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13916 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= PyInt_FromLong((long)result
);
13941 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= PyInt_FromLong((long)result
);
13966 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
;
13968 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= PyInt_FromLong((long)result
);
13991 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13995 PyObject
* obj0
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= PyInt_FromLong((long)result
);
14016 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
14026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= PyInt_FromLong((long)result
);
14041 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= PyInt_FromLong((long)result
);
14066 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 char *kwnames
[] = {
14072 (char *) "self", NULL
14075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
14076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (int)wxKeyEvent_GetUniChar(arg1
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= PyInt_FromLong((long)result
);
14091 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14094 unsigned int result
;
14095 PyObject
* obj0
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
14116 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14119 unsigned int result
;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
14126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
14141 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
;
14143 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14145 PyObject
* obj0
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (arg1
)->GetPosition();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 wxPoint
* resultptr
;
14161 resultptr
= new wxPoint((wxPoint
&) result
);
14162 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14170 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14173 long *arg2
= (long *) 0 ;
14174 long *arg3
= (long *) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 (arg1
)->GetPosition(arg2
,arg3
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 Py_INCREF(Py_None
); resultobj
= Py_None
;
14195 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14196 resultobj
= t_output_helper(resultobj
,o
);
14199 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14200 resultobj
= t_output_helper(resultobj
,o
);
14208 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= PyInt_FromLong((long)result
);
14233 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14234 PyObject
*resultobj
;
14235 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
14243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= PyInt_FromLong((long)result
);
14258 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self",(char *) "m_x", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14269 if (arg1
) (arg1
)->m_x
= arg2
;
14271 Py_INCREF(Py_None
); resultobj
= Py_None
;
14278 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14289 result
= (int) ((arg1
)->m_x
);
14291 resultobj
= PyInt_FromLong((long)result
);
14298 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self",(char *) "m_y", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14309 if (arg1
) (arg1
)->m_y
= arg2
;
14311 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
;
14320 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14322 PyObject
* obj0
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14329 result
= (int) ((arg1
)->m_y
);
14331 resultobj
= PyInt_FromLong((long)result
);
14338 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self",(char *) "m_keyCode", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14349 if (arg1
) (arg1
)->m_keyCode
= arg2
;
14351 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14369 result
= (long) ((arg1
)->m_keyCode
);
14371 resultobj
= PyInt_FromLong((long)result
);
14378 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self",(char *) "m_controlDown", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14391 arg2
= (bool) SPyObj_AsBool(obj1
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14396 Py_INCREF(Py_None
); resultobj
= Py_None
;
14403 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14414 result
= (bool) ((arg1
)->m_controlDown
);
14416 resultobj
= PyInt_FromLong((long)result
);
14423 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 PyObject
* obj1
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self",(char *) "m_shiftDown", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14436 arg2
= (bool) SPyObj_AsBool(obj1
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14441 Py_INCREF(Py_None
); resultobj
= Py_None
;
14448 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
;
14450 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 char *kwnames
[] = {
14454 (char *) "self", NULL
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14459 result
= (bool) ((arg1
)->m_shiftDown
);
14461 resultobj
= PyInt_FromLong((long)result
);
14468 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "self",(char *) "m_altDown", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14481 arg2
= (bool) SPyObj_AsBool(obj1
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 if (arg1
) (arg1
)->m_altDown
= arg2
;
14486 Py_INCREF(Py_None
); resultobj
= Py_None
;
14493 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14504 result
= (bool) ((arg1
)->m_altDown
);
14506 resultobj
= PyInt_FromLong((long)result
);
14513 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "m_metaDown", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14526 arg2
= (bool) SPyObj_AsBool(obj1
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14531 Py_INCREF(Py_None
); resultobj
= Py_None
;
14538 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 result
= (bool) ((arg1
)->m_metaDown
);
14551 resultobj
= PyInt_FromLong((long)result
);
14558 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self",(char *) "m_scanCode", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14571 arg2
= (bool) SPyObj_AsBool(obj1
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14576 Py_INCREF(Py_None
); resultobj
= Py_None
;
14583 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14587 PyObject
* obj0
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14594 result
= (bool) ((arg1
)->m_scanCode
);
14596 resultobj
= PyInt_FromLong((long)result
);
14603 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14606 unsigned int arg2
;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self",(char *) "m_rawCode", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14616 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14621 Py_INCREF(Py_None
); resultobj
= Py_None
;
14628 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
;
14630 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14631 unsigned int result
;
14632 PyObject
* obj0
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14639 result
= (unsigned int) ((arg1
)->m_rawCode
);
14641 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
14648 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14649 PyObject
*resultobj
;
14650 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14651 unsigned int arg2
;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self",(char *) "m_rawFlags", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14661 arg2
= (unsigned int) SPyObj_AsUnsignedInt(obj1
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14666 Py_INCREF(Py_None
); resultobj
= Py_None
;
14673 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14676 unsigned int result
;
14677 PyObject
* obj0
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14684 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14686 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
14693 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14696 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14698 return Py_BuildValue((char *)"");
14700 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14703 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14704 int arg2
= (int) 0 ;
14705 wxSizeEvent
*result
;
14707 PyObject
* obj0
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "sz",(char *) "winid", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14716 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14733 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 wxSize
* resultptr
;
14753 resultptr
= new wxSize((wxSize
&) result
);
14754 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14762 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14766 PyObject
* obj0
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14781 wxRect
* resultptr
;
14782 resultptr
= new wxRect((wxRect
&) result
);
14783 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14791 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "rect", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14804 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 (arg1
)->SetRect(arg2
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 Py_INCREF(Py_None
); resultobj
= Py_None
;
14820 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self",(char *) "size", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14833 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 wxSizeEvent_SetSize(arg1
,arg2
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 Py_INCREF(Py_None
); resultobj
= Py_None
;
14849 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14852 wxSize
*arg2
= (wxSize
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "m_size", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14862 if (arg1
) (arg1
)->m_size
= *arg2
;
14864 Py_INCREF(Py_None
); resultobj
= Py_None
;
14871 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14882 result
= (wxSize
*)& ((arg1
)->m_size
);
14884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14891 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
;
14893 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14894 wxRect
*arg2
= (wxRect
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self",(char *) "m_rect", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14904 if (arg1
) (arg1
)->m_rect
= *arg2
;
14906 Py_INCREF(Py_None
); resultobj
= Py_None
;
14913 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14924 result
= (wxRect
*)& ((arg1
)->m_rect
);
14926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14933 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14936 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14938 return Py_BuildValue((char *)"");
14940 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14943 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14944 int arg2
= (int) 0 ;
14945 wxMoveEvent
*result
;
14947 PyObject
* obj0
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "pos",(char *) "winid", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14956 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14973 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14992 wxPoint
* resultptr
;
14993 resultptr
= new wxPoint((wxPoint
&) result
);
14994 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15002 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 char *kwnames
[] = {
15008 (char *) "self", NULL
15011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15021 wxRect
* resultptr
;
15022 resultptr
= new wxRect((wxRect
&) result
);
15023 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15031 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self",(char *) "rect", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15044 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 (arg1
)->SetRect(arg2
);
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 PyObject
* obj1
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "pos", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15073 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 wxMoveEvent_SetPosition(arg1
,arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15092 wxPoint
*arg2
= (wxPoint
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "m_pos", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15102 if (arg1
) (arg1
)->m_pos
= *arg2
;
15104 Py_INCREF(Py_None
); resultobj
= Py_None
;
15111 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
15121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15122 result
= (wxPoint
*)& ((arg1
)->m_pos
);
15124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
15131 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
;
15133 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15134 wxRect
*arg2
= (wxRect
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 PyObject
* obj1
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "m_rect", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15144 if (arg1
) (arg1
)->m_rect
= *arg2
;
15146 Py_INCREF(Py_None
); resultobj
= Py_None
;
15153 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15164 result
= (wxRect
*)& ((arg1
)->m_rect
);
15166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
15173 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15176 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
15178 return Py_BuildValue((char *)"");
15180 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 int arg1
= (int) 0 ;
15183 wxPaintEvent
*result
;
15184 char *kwnames
[] = {
15185 (char *) "Id", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
15203 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15206 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
15208 return Py_BuildValue((char *)"");
15210 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 int arg1
= (int) 0 ;
15213 wxNcPaintEvent
*result
;
15214 char *kwnames
[] = {
15215 (char *) "winid", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
15233 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15236 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
15238 return Py_BuildValue((char *)"");
15240 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 int arg1
= (int) 0 ;
15243 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
15244 wxEraseEvent
*result
;
15245 PyObject
* obj1
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "Id",(char *) "dc", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
15268 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= wxPyMake_wxObject(result
);
15295 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15298 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
15300 return Py_BuildValue((char *)"");
15302 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15305 int arg2
= (int) 0 ;
15306 wxFocusEvent
*result
;
15307 char *kwnames
[] = {
15308 (char *) "type",(char *) "winid", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
15326 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= wxPyMake_wxObject(result
);
15353 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15356 wxWindow
*arg2
= (wxWindow
*) 0 ;
15357 PyObject
* obj0
= 0 ;
15358 PyObject
* obj1
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self",(char *) "win", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 (arg1
)->SetWindow(arg2
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 Py_INCREF(Py_None
); resultobj
= Py_None
;
15380 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15383 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
15385 return Py_BuildValue((char *)"");
15387 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15388 PyObject
*resultobj
;
15389 wxWindow
*arg1
= (wxWindow
*) NULL
;
15390 wxChildFocusEvent
*result
;
15391 PyObject
* obj0
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "win", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
15414 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= wxPyMake_wxObject(result
);
15441 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15444 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15446 return Py_BuildValue((char *)"");
15448 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15451 bool arg2
= (bool) True
;
15452 int arg3
= (int) 0 ;
15453 wxActivateEvent
*result
;
15454 PyObject
* obj1
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "type",(char *) "active",(char *) "Id", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15462 arg2
= (bool) SPyObj_AsBool(obj1
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15480 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15482 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= PyInt_FromLong((long)result
);
15505 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15508 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15510 return Py_BuildValue((char *)"");
15512 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 int arg1
= (int) 0 ;
15515 wxInitDialogEvent
*result
;
15516 char *kwnames
[] = {
15517 (char *) "Id", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15535 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15538 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15540 return Py_BuildValue((char *)"");
15542 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15545 int arg2
= (int) 0 ;
15546 wxMenu
*arg3
= (wxMenu
*) NULL
;
15547 wxMenuEvent
*result
;
15548 PyObject
* obj2
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "type",(char *) "winid",(char *) "menu", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15571 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 resultobj
= PyInt_FromLong((long)result
);
15596 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= PyInt_FromLong((long)result
);
15621 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
;
15623 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= wxPyMake_wxObject(result
);
15648 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15651 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15653 return Py_BuildValue((char *)"");
15655 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15658 int arg2
= (int) 0 ;
15659 wxCloseEvent
*result
;
15660 char *kwnames
[] = {
15661 (char *) "type",(char *) "winid", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15679 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "logOff", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15692 arg2
= (bool) SPyObj_AsBool(obj1
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 (arg1
)->SetLoggingOff(arg2
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 Py_INCREF(Py_None
); resultobj
= Py_None
;
15709 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15713 PyObject
* obj0
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= PyInt_FromLong((long)result
);
15734 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15737 bool arg2
= (bool) True
;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "veto", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15748 arg2
= (bool) SPyObj_AsBool(obj1
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 (arg1
)->Veto(arg2
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 Py_INCREF(Py_None
); resultobj
= Py_None
;
15766 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "canVeto", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15779 arg2
= (bool) SPyObj_AsBool(obj1
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 (arg1
)->SetCanVeto(arg2
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 Py_INCREF(Py_None
); resultobj
= Py_None
;
15796 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= PyInt_FromLong((long)result
);
15821 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= PyInt_FromLong((long)result
);
15846 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15849 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15851 return Py_BuildValue((char *)"");
15853 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 int arg1
= (int) 0 ;
15856 bool arg2
= (bool) False
;
15857 wxShowEvent
*result
;
15858 PyObject
* obj1
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "winid",(char *) "show", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15866 arg2
= (bool) SPyObj_AsBool(obj1
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15884 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15886 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self",(char *) "show", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15897 arg2
= (bool) SPyObj_AsBool(obj1
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 (arg1
)->SetShow(arg2
);
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 Py_INCREF(Py_None
); resultobj
= Py_None
;
15914 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= PyInt_FromLong((long)result
);
15939 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15942 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15944 return Py_BuildValue((char *)"");
15946 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 int arg1
= (int) 0 ;
15949 bool arg2
= (bool) True
;
15950 wxIconizeEvent
*result
;
15951 PyObject
* obj1
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "id",(char *) "iconized", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15959 arg2
= (bool) SPyObj_AsBool(obj1
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15977 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (bool)(arg1
)->Iconized();
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= PyInt_FromLong((long)result
);
16002 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16005 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
16007 return Py_BuildValue((char *)"");
16009 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 int arg1
= (int) 0 ;
16012 wxMaximizeEvent
*result
;
16013 char *kwnames
[] = {
16014 (char *) "id", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
16032 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16035 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
16037 return Py_BuildValue((char *)"");
16039 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (arg1
)->GetPosition();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 wxPoint
* resultptr
;
16059 resultptr
= new wxPoint((wxPoint
&) result
);
16060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
16068 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (int)(arg1
)->GetNumberOfFiles();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= PyInt_FromLong((long)result
);
16093 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= result
;
16118 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16121 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
16123 return Py_BuildValue((char *)"");
16125 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 int arg1
= (int) 0 ;
16128 wxUpdateUIEvent
*result
;
16129 char *kwnames
[] = {
16130 (char *) "commandId", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
16148 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= PyInt_FromLong((long)result
);
16173 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
;
16175 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= PyInt_FromLong((long)result
);
16198 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16229 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= PyInt_FromLong((long)result
);
16254 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= PyInt_FromLong((long)result
);
16279 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "self", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
16289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= PyInt_FromLong((long)result
);
16304 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self",(char *) "check", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16317 arg2
= (bool) SPyObj_AsBool(obj1
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 (arg1
)->Check(arg2
);
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self",(char *) "enable", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16347 arg2
= (bool) SPyObj_AsBool(obj1
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 (arg1
)->Enable(arg2
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 Py_INCREF(Py_None
); resultobj
= Py_None
;
16364 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16367 wxString
*arg2
= 0 ;
16368 bool temp2
= False
;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self",(char *) "text", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16378 arg2
= wxString_in_helper(obj1
);
16379 if (arg2
== NULL
) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 (arg1
)->SetText((wxString
const &)*arg2
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 Py_INCREF(Py_None
); resultobj
= Py_None
;
16404 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
;
16407 char *kwnames
[] = {
16408 (char *) "updateInterval", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 wxUpdateUIEvent::SetUpdateInterval(arg1
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16429 char *kwnames
[] = {
16433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= PyInt_FromLong((long)result
);
16448 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxWindow
*arg1
= (wxWindow
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "win", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= PyInt_FromLong((long)result
);
16473 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 char *kwnames
[] = {
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 wxUpdateUIEvent::ResetUpdateTime();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 Py_INCREF(Py_None
); resultobj
= Py_None
;
16494 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16497 char *kwnames
[] = {
16498 (char *) "mode", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 Py_INCREF(Py_None
); resultobj
= Py_None
;
16516 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16519 char *kwnames
[] = {
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (int)wxUpdateUIEvent::GetMode();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= PyInt_FromLong((long)result
);
16538 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16541 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16543 return Py_BuildValue((char *)"");
16545 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxSysColourChangedEvent
*result
;
16548 char *kwnames
[] = {
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16567 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16570 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16572 return Py_BuildValue((char *)"");
16574 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 int arg1
= (int) 0 ;
16577 wxWindow
*arg2
= (wxWindow
*) NULL
;
16578 wxMouseCaptureChangedEvent
*result
;
16579 PyObject
* obj1
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "winid",(char *) "gainedCapture", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16602 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= wxPyMake_wxObject(result
);
16629 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16632 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16634 return Py_BuildValue((char *)"");
16636 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxDisplayChangedEvent
*result
;
16639 char *kwnames
[] = {
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16658 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16661 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16663 return Py_BuildValue((char *)"");
16665 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 int arg1
= (int) 0 ;
16668 wxPaletteChangedEvent
*result
;
16669 char *kwnames
[] = {
16670 (char *) "id", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16688 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16691 wxWindow
*arg2
= (wxWindow
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "self",(char *) "win", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 (arg1
)->SetChangedWindow(arg2
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 Py_INCREF(Py_None
); resultobj
= Py_None
;
16715 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= wxPyMake_wxObject(result
);
16742 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16745 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16747 return Py_BuildValue((char *)"");
16749 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 int arg1
= (int) 0 ;
16752 wxQueryNewPaletteEvent
*result
;
16753 char *kwnames
[] = {
16754 (char *) "winid", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16772 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "realized", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16785 arg2
= (bool) SPyObj_AsBool(obj1
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->SetPaletteRealized(arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= PyInt_FromLong((long)result
);
16827 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16830 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16832 return Py_BuildValue((char *)"");
16834 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxNavigationKeyEvent
*result
;
16837 char *kwnames
[] = {
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16856 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= PyInt_FromLong((long)result
);
16881 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "self",(char *) "bForward", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16894 arg2
= (bool) SPyObj_AsBool(obj1
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 (arg1
)->SetDirection(arg2
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 Py_INCREF(Py_None
); resultobj
= Py_None
;
16911 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= PyInt_FromLong((long)result
);
16936 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self",(char *) "bIs", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16949 arg2
= (bool) SPyObj_AsBool(obj1
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 (arg1
)->SetWindowChange(arg2
);
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 Py_INCREF(Py_None
); resultobj
= Py_None
;
16966 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16970 PyObject
* obj0
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= wxPyMake_wxObject(result
);
16993 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16996 wxWindow
*arg2
= (wxWindow
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self",(char *) "win", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
17004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 (arg1
)->SetCurrentFocus(arg2
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 Py_INCREF(Py_None
); resultobj
= Py_None
;
17020 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17023 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
17025 return Py_BuildValue((char *)"");
17027 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 wxWindow
*arg1
= (wxWindow
*) NULL
;
17030 wxWindowCreateEvent
*result
;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "win", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
17054 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
17058 PyObject
* obj0
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= wxPyMake_wxObject(result
);
17081 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17084 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
17086 return Py_BuildValue((char *)"");
17088 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxWindow
*arg1
= (wxWindow
*) NULL
;
17091 wxWindowDestroyEvent
*result
;
17092 PyObject
* obj0
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "win", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
17115 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
;
17117 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
17119 PyObject
* obj0
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= wxPyMake_wxObject(result
);
17142 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17145 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
17147 return Py_BuildValue((char *)"");
17149 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17152 int arg2
= (int) 0 ;
17153 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17154 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17155 wxContextMenuEvent
*result
;
17157 PyObject
* obj2
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "type",(char *) "winid",(char *) "pt", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
17166 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
17183 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
17198 result
= (wxPoint
*) &_result_ref
;
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17211 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
17214 wxPoint
*arg2
= 0 ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "pos", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 Py_INCREF(Py_None
); resultobj
= Py_None
;
17242 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17245 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
17247 return Py_BuildValue((char *)"");
17249 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxIdleEvent
*result
;
17252 char *kwnames
[] = {
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= (wxIdleEvent
*)new wxIdleEvent();
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
17271 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
17274 bool arg2
= (bool) True
;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char *kwnames
[] = {
17278 (char *) "self",(char *) "needMore", NULL
17281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
17282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17285 arg2
= (bool) SPyObj_AsBool(obj1
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 (arg1
)->RequestMore(arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
17313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= PyInt_FromLong((long)result
);
17328 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17331 char *kwnames
[] = {
17332 (char *) "mode", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 Py_INCREF(Py_None
); resultobj
= Py_None
;
17350 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17353 char *kwnames
[] = {
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (int)wxIdleEvent::GetMode();
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= PyInt_FromLong((long)result
);
17372 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxWindow
*arg1
= (wxWindow
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "win", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (bool)wxIdleEvent::CanSend(arg1
);
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= PyInt_FromLong((long)result
);
17397 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17400 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
17402 return Py_BuildValue((char *)"");
17404 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 int arg1
= (int) 0 ;
17407 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
17409 char *kwnames
[] = {
17410 (char *) "winid",(char *) "commandType", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
17428 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17431 PyObject
* obj0
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
17437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 Py_INCREF(Py_None
); resultobj
= Py_None
;
17452 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17455 PyObject
*arg2
= (PyObject
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->SetSelf(arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (PyObject
*)(arg1
)->GetSelf();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= result
;
17504 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17507 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17509 return Py_BuildValue((char *)"");
17511 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17514 int arg2
= (int) 0 ;
17515 wxPyCommandEvent
*result
;
17516 char *kwnames
[] = {
17517 (char *) "commandType",(char *) "id", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17535 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17562 PyObject
*arg2
= (PyObject
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 PyObject
* obj1
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self",(char *) "self", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 (arg1
)->SetSelf(arg2
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 Py_INCREF(Py_None
); resultobj
= Py_None
;
17586 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (PyObject
*)(arg1
)->GetSelf();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= result
;
17611 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17614 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17616 return Py_BuildValue((char *)"");
17618 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17621 char *kwnames
[] = {
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (wxPyApp
*)new_wxPyApp();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= wxPyMake_wxObject(result
);
17642 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 Py_INCREF(Py_None
); resultobj
= Py_None
;
17666 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17669 PyObject
*arg2
= (PyObject
*) 0 ;
17670 PyObject
*arg3
= (PyObject
*) 0 ;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 PyObject
* obj2
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "self",(char *) "_class", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 Py_INCREF(Py_None
); resultobj
= Py_None
;
17696 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17727 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
;
17729 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17730 wxString
*arg2
= 0 ;
17731 bool temp2
= False
;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self",(char *) "name", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17741 arg2
= wxString_in_helper(obj1
);
17742 if (arg2
== NULL
) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 (arg1
)->SetAppName((wxString
const &)*arg2
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 Py_INCREF(Py_None
); resultobj
= Py_None
;
17767 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17798 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17801 wxString
*arg2
= 0 ;
17802 bool temp2
= False
;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self",(char *) "name", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17812 arg2
= wxString_in_helper(obj1
);
17813 if (arg2
== NULL
) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 (arg1
)->SetClassName((wxString
const &)*arg2
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 Py_INCREF(Py_None
); resultobj
= Py_None
;
17838 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17853 result
= (wxString
*) &_result_ref
;
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17863 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17872 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17875 wxString
*arg2
= 0 ;
17876 bool temp2
= False
;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self",(char *) "name", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17886 arg2
= wxString_in_helper(obj1
);
17887 if (arg2
== NULL
) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 Py_INCREF(Py_None
); resultobj
= Py_None
;
17912 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17915 wxAppTraits
*result
;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17937 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 (arg1
)->ProcessPendingEvents();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 Py_INCREF(Py_None
); resultobj
= Py_None
;
17961 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17964 bool arg2
= (bool) False
;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "onlyIfNeeded", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17976 arg2
= (bool) SPyObj_AsBool(obj1
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= (bool)(arg1
)->Yield(arg2
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= PyInt_FromLong((long)result
);
17994 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 (arg1
)->WakeUpIdle();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 Py_INCREF(Py_None
); resultobj
= Py_None
;
18018 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (int)(arg1
)->MainLoop();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= PyInt_FromLong((long)result
);
18043 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
;
18045 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18046 PyObject
* obj0
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 Py_INCREF(Py_None
); resultobj
= Py_None
;
18067 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->ExitMainLoop();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 Py_INCREF(Py_None
); resultobj
= Py_None
;
18091 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (bool)(arg1
)->Pending();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= PyInt_FromLong((long)result
);
18116 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 char *kwnames
[] = {
18122 (char *) "self", NULL
18125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
18126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= (bool)(arg1
)->Dispatch();
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= PyInt_FromLong((long)result
);
18141 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (bool)(arg1
)->ProcessIdle();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= PyInt_FromLong((long)result
);
18166 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18169 wxWindow
*arg2
= (wxWindow
*) 0 ;
18170 wxIdleEvent
*arg3
= 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 PyObject
* obj2
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "win",(char *) "event", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18182 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18183 if (arg3
== NULL
) {
18184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= PyInt_FromLong((long)result
);
18200 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= PyInt_FromLong((long)result
);
18225 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18228 wxWindow
*arg2
= (wxWindow
*) 0 ;
18229 PyObject
* obj0
= 0 ;
18230 PyObject
* obj1
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self",(char *) "win", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 (arg1
)->SetTopWindow(arg2
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 Py_INCREF(Py_None
); resultobj
= Py_None
;
18252 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= wxPyMake_wxObject(result
);
18279 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "flag", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18292 arg2
= (bool) SPyObj_AsBool(obj1
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->SetExitOnFrameDelete(arg2
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 Py_INCREF(Py_None
); resultobj
= Py_None
;
18309 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 char *kwnames
[] = {
18315 (char *) "self", NULL
18318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
18319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= PyInt_FromLong((long)result
);
18334 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self",(char *) "flag", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
18345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18347 arg2
= (bool) SPyObj_AsBool(obj1
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 (arg1
)->SetUseBestVisual(arg2
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 Py_INCREF(Py_None
); resultobj
= Py_None
;
18364 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
18374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= PyInt_FromLong((long)result
);
18389 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "mode", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 (arg1
)->SetPrintMode(arg2
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 Py_INCREF(Py_None
); resultobj
= Py_None
;
18414 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= PyInt_FromLong((long)result
);
18439 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self",(char *) "mode", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 (arg1
)->SetAssertMode(arg2
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 Py_INCREF(Py_None
); resultobj
= Py_None
;
18464 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (int)(arg1
)->GetAssertMode();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= PyInt_FromLong((long)result
);
18489 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18492 char *kwnames
[] = {
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= PyInt_FromLong((long)result
);
18511 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18514 char *kwnames
[] = {
18518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= PyInt_FromLong((long)result
);
18533 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
;
18536 char *kwnames
[] = {
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= PyInt_FromLong((long)result
);
18555 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18558 char *kwnames
[] = {
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (long)wxPyApp::GetMacExitMenuItemId();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= PyInt_FromLong((long)result
);
18577 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18580 char *kwnames
[] = {
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= wxPyApp::GetMacHelpMenuTitleName();
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18605 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "val", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18615 arg1
= (bool) SPyObj_AsBool(obj0
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 Py_INCREF(Py_None
); resultobj
= Py_None
;
18632 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18635 char *kwnames
[] = {
18636 (char *) "val", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 wxPyApp::SetMacAboutMenuItemId(arg1
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 Py_INCREF(Py_None
); resultobj
= Py_None
;
18654 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18657 char *kwnames
[] = {
18658 (char *) "val", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 Py_INCREF(Py_None
); resultobj
= Py_None
;
18676 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18679 char *kwnames
[] = {
18680 (char *) "val", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 wxPyApp::SetMacExitMenuItemId(arg1
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxString
*arg1
= 0 ;
18701 bool temp1
= False
;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "val", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18709 arg1
= wxString_in_helper(obj0
);
18710 if (arg1
== NULL
) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 Py_INCREF(Py_None
); resultobj
= Py_None
;
18735 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 (arg1
)->_BootstrapApp();
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 Py_INCREF(Py_None
); resultobj
= Py_None
;
18759 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18762 char *kwnames
[] = {
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 result
= (int)PyApp_GetComCtl32Version();
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= PyInt_FromLong((long)result
);
18781 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18784 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18786 return Py_BuildValue((char *)"");
18788 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 char *kwnames
[] = {
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 Py_INCREF(Py_None
); resultobj
= Py_None
;
18809 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18812 char *kwnames
[] = {
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (bool)wxYield();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= PyInt_FromLong((long)result
);
18831 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18834 char *kwnames
[] = {
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= (bool)wxYieldIfNeeded();
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= PyInt_FromLong((long)result
);
18853 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxWindow
*arg1
= (wxWindow
*) NULL
;
18856 bool arg2
= (bool) False
;
18858 PyObject
* obj0
= 0 ;
18859 PyObject
* obj1
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "win",(char *) "onlyIfNeeded", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18870 arg2
= (bool) SPyObj_AsBool(obj1
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 result
= (bool)wxSafeYield(arg1
,arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= PyInt_FromLong((long)result
);
18888 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 char *kwnames
[] = {
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 Py_INCREF(Py_None
); resultobj
= Py_None
;
18909 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18912 wxEvent
*arg2
= 0 ;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "dest",(char *) "event", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18921 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18922 if (arg2
== NULL
) {
18923 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 wxPostEvent(arg1
,*arg2
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 Py_INCREF(Py_None
); resultobj
= Py_None
;
18939 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 char *kwnames
[] = {
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 Py_INCREF(Py_None
); resultobj
= Py_None
;
18960 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18963 char *kwnames
[] = {
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 result
= (wxPyApp
*)wxGetApp();
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= wxPyMake_wxObject(result
);
18984 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 int arg1
= (int) 0 ;
18987 int arg2
= (int) 0 ;
18988 int arg3
= (int) 0 ;
18989 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
18990 wxAcceleratorEntry
*result
;
18991 PyObject
* obj3
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
19014 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
19044 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj4
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19054 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
19073 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "item", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 (arg1
)->SetMenuItem(arg2
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 Py_INCREF(Py_None
); resultobj
= Py_None
;
19097 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
19100 wxMenuItem
*result
;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= wxPyMake_wxObject(result
);
19124 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (int)(arg1
)->GetFlags();
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= PyInt_FromLong((long)result
);
19149 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (int)(arg1
)->GetKeyCode();
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= PyInt_FromLong((long)result
);
19174 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= (int)(arg1
)->GetCommand();
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= PyInt_FromLong((long)result
);
19199 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
19201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19202 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
19204 return Py_BuildValue((char *)"");
19206 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19209 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
19210 wxAcceleratorTable
*result
;
19211 PyObject
* obj0
= 0 ;
19212 char *kwnames
[] = {
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
19218 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
19219 if (arg2
) arg1
= PyList_Size(obj0
);
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
19242 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 Py_INCREF(Py_None
); resultobj
= Py_None
;
19266 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= PyInt_FromLong((long)result
);
19291 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
19293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19294 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
19296 return Py_BuildValue((char *)"");
19298 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
19299 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
19304 static PyObject
*_wrap_NullAcceleratorTable_get() {
19307 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
19312 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxString
*arg1
= 0 ;
19315 wxAcceleratorEntry
*result
;
19316 bool temp1
= False
;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "label", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
19324 arg1
= wxString_in_helper(obj0
);
19325 if (arg1
== NULL
) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
19350 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
19351 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
19356 static PyObject
*_wrap_PanelNameStr_get() {
19361 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
19363 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
19370 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxWindow
*arg1
= (wxWindow
*) 0 ;
19374 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19375 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19376 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19377 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19378 long arg5
= (long) 0 ;
19379 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19380 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19384 bool temp6
= False
;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj2
= 0 ;
19387 PyObject
* obj3
= 0 ;
19388 PyObject
* obj5
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19404 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19409 arg6
= wxString_in_helper(obj5
);
19410 if (arg6
== NULL
) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= wxPyMake_wxObject(result
);
19438 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19441 char *kwnames
[] = {
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (wxWindow
*)new wxWindow();
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= wxPyMake_wxObject(result
);
19462 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxWindow
*arg1
= (wxWindow
*) 0 ;
19465 wxWindow
*arg2
= (wxWindow
*) 0 ;
19467 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19468 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19469 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19470 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19471 long arg6
= (long) 0 ;
19472 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19473 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19477 bool temp7
= False
;
19478 PyObject
* obj0
= 0 ;
19479 PyObject
* obj1
= 0 ;
19480 PyObject
* obj3
= 0 ;
19481 PyObject
* obj4
= 0 ;
19482 PyObject
* obj6
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19504 arg7
= wxString_in_helper(obj6
);
19505 if (arg7
== NULL
) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= PyInt_FromLong((long)result
);
19531 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxWindow
*arg1
= (wxWindow
*) 0 ;
19534 bool arg2
= (bool) False
;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "force", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19546 arg2
= (bool) SPyObj_AsBool(obj1
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 result
= (bool)(arg1
)->Close(arg2
);
19554 wxPyEndAllowThreads(__tstate
);
19555 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= PyInt_FromLong((long)result
);
19564 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
;
19566 wxWindow
*arg1
= (wxWindow
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= (bool)(arg1
)->Destroy();
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= PyInt_FromLong((long)result
);
19589 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxWindow
*arg1
= (wxWindow
*) 0 ;
19593 PyObject
* obj0
= 0 ;
19594 char *kwnames
[] = {
19595 (char *) "self", NULL
19598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
19599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (bool)(arg1
)->DestroyChildren();
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= PyInt_FromLong((long)result
);
19614 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxWindow
*arg1
= (wxWindow
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= PyInt_FromLong((long)result
);
19639 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxWindow
*arg1
= (wxWindow
*) 0 ;
19642 wxString
*arg2
= 0 ;
19643 bool temp2
= False
;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self",(char *) "title", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19653 arg2
= wxString_in_helper(obj1
);
19654 if (arg2
== NULL
) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 (arg1
)->SetTitle((wxString
const &)*arg2
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 Py_INCREF(Py_None
); resultobj
= Py_None
;
19679 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxWindow
*arg1
= (wxWindow
*) 0 ;
19683 PyObject
* obj0
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= ((wxWindow
const *)arg1
)->GetTitle();
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19710 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxWindow
*arg1
= (wxWindow
*) 0 ;
19713 wxString
*arg2
= 0 ;
19714 bool temp2
= False
;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self",(char *) "label", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19724 arg2
= wxString_in_helper(obj1
);
19725 if (arg2
== NULL
) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 (arg1
)->SetLabel((wxString
const &)*arg2
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 Py_INCREF(Py_None
); resultobj
= Py_None
;
19750 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxWindow
*arg1
= (wxWindow
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= ((wxWindow
const *)arg1
)->GetLabel();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19781 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxWindow
*arg1
= (wxWindow
*) 0 ;
19784 wxString
*arg2
= 0 ;
19785 bool temp2
= False
;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self",(char *) "name", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19795 arg2
= wxString_in_helper(obj1
);
19796 if (arg2
== NULL
) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 (arg1
)->SetName((wxString
const &)*arg2
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxWindow
*arg1
= (wxWindow
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= ((wxWindow
const *)arg1
)->GetName();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19852 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
;
19854 wxWindow
*arg1
= (wxWindow
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self",(char *) "winid", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 (arg1
)->SetId(arg2
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 Py_INCREF(Py_None
); resultobj
= Py_None
;
19877 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxWindow
*arg1
= (wxWindow
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (int)((wxWindow
const *)arg1
)->GetId();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= PyInt_FromLong((long)result
);
19902 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19905 char *kwnames
[] = {
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (int)wxWindow::NewControlId();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= PyInt_FromLong((long)result
);
19924 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19928 char *kwnames
[] = {
19929 (char *) "winid", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= (int)wxWindow::NextControlId(arg1
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= PyInt_FromLong((long)result
);
19947 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19951 char *kwnames
[] = {
19952 (char *) "winid", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (int)wxWindow::PrevControlId(arg1
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= PyInt_FromLong((long)result
);
19970 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxWindow
*arg1
= (wxWindow
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self",(char *) "size", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19985 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 (arg1
)->SetSize((wxSize
const &)*arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 Py_INCREF(Py_None
); resultobj
= Py_None
;
20001 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxWindow
*arg1
= (wxWindow
*) 0 ;
20008 int arg6
= (int) wxSIZE_AUTO
;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 Py_INCREF(Py_None
); resultobj
= Py_None
;
20030 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxWindow
*arg1
= (wxWindow
*) 0 ;
20034 int arg3
= (int) wxSIZE_AUTO
;
20036 PyObject
* obj0
= 0 ;
20037 PyObject
* obj1
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20046 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 Py_INCREF(Py_None
); resultobj
= Py_None
;
20062 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxWindow
*arg1
= (wxWindow
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "width",(char *) "height", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->SetSize(arg2
,arg3
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 Py_INCREF(Py_None
); resultobj
= Py_None
;
20088 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxWindow
*arg1
= (wxWindow
*) 0 ;
20091 wxPoint
*arg2
= 0 ;
20092 int arg3
= (int) wxSIZE_USE_EXISTING
;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self",(char *) "pt",(char *) "flags", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 Py_INCREF(Py_None
); resultobj
= Py_None
;
20120 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxWindow
*arg1
= (wxWindow
*) 0 ;
20125 int arg4
= (int) wxSIZE_USE_EXISTING
;
20126 PyObject
* obj0
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->Move(arg2
,arg3
,arg4
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20147 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxWindow
*arg1
= (wxWindow
*) 0 ;
20150 PyObject
* obj0
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
20156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 Py_INCREF(Py_None
); resultobj
= Py_None
;
20171 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxWindow
*arg1
= (wxWindow
*) 0 ;
20174 PyObject
* obj0
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 Py_INCREF(Py_None
); resultobj
= Py_None
;
20195 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20197 wxWindow
*arg1
= (wxWindow
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self",(char *) "size", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20210 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 Py_INCREF(Py_None
); resultobj
= Py_None
;
20226 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxWindow
*arg1
= (wxWindow
*) 0 ;
20231 PyObject
* obj0
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self",(char *) "width",(char *) "height", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 (arg1
)->SetClientSize(arg2
,arg3
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 Py_INCREF(Py_None
); resultobj
= Py_None
;
20252 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxWindow
*arg1
= (wxWindow
*) 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "rect", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20267 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 Py_INCREF(Py_None
); resultobj
= Py_None
;
20283 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20284 PyObject
*resultobj
;
20285 wxWindow
*arg1
= (wxWindow
*) 0 ;
20287 PyObject
* obj0
= 0 ;
20288 char *kwnames
[] = {
20289 (char *) "self", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
20293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (arg1
)->GetPosition();
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20302 wxPoint
* resultptr
;
20303 resultptr
= new wxPoint((wxPoint
&) result
);
20304 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20312 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxWindow
*arg1
= (wxWindow
*) 0 ;
20315 int *arg2
= (int *) 0 ;
20316 int *arg3
= (int *) 0 ;
20319 PyObject
* obj0
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 (arg1
)->GetPosition(arg2
,arg3
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 Py_INCREF(Py_None
); resultobj
= Py_None
;
20337 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20338 resultobj
= t_output_helper(resultobj
,o
);
20341 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20342 resultobj
= t_output_helper(resultobj
,o
);
20350 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxWindow
*arg1
= (wxWindow
*) 0 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= ((wxWindow
const *)arg1
)->GetSize();
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20369 wxSize
* resultptr
;
20370 resultptr
= new wxSize((wxSize
&) result
);
20371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20379 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxWindow
*arg1
= (wxWindow
*) 0 ;
20382 int *arg2
= (int *) 0 ;
20383 int *arg3
= (int *) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 Py_INCREF(Py_None
); resultobj
= Py_None
;
20404 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20405 resultobj
= t_output_helper(resultobj
,o
);
20408 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20409 resultobj
= t_output_helper(resultobj
,o
);
20417 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20419 wxWindow
*arg1
= (wxWindow
*) 0 ;
20421 PyObject
* obj0
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= ((wxWindow
const *)arg1
)->GetRect();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20436 wxRect
* resultptr
;
20437 resultptr
= new wxRect((wxRect
&) result
);
20438 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20446 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxWindow
*arg1
= (wxWindow
*) 0 ;
20450 PyObject
* obj0
= 0 ;
20451 char *kwnames
[] = {
20452 (char *) "self", NULL
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
20456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= ((wxWindow
const *)arg1
)->GetClientSize();
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20465 wxSize
* resultptr
;
20466 resultptr
= new wxSize((wxSize
&) result
);
20467 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20475 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxWindow
*arg1
= (wxWindow
*) 0 ;
20478 int *arg2
= (int *) 0 ;
20479 int *arg3
= (int *) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 Py_INCREF(Py_None
); resultobj
= Py_None
;
20500 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20501 resultobj
= t_output_helper(resultobj
,o
);
20504 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20505 resultobj
= t_output_helper(resultobj
,o
);
20513 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxWindow
*arg1
= (wxWindow
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20532 wxPoint
* resultptr
;
20533 resultptr
= new wxPoint((wxPoint
&) result
);
20534 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20542 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20544 wxWindow
*arg1
= (wxWindow
*) 0 ;
20546 PyObject
* obj0
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= ((wxWindow
const *)arg1
)->GetClientRect();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 wxRect
* resultptr
;
20562 resultptr
= new wxRect((wxRect
&) result
);
20563 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20571 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxWindow
*arg1
= (wxWindow
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
20581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= ((wxWindow
const *)arg1
)->GetBestSize();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 wxSize
* resultptr
;
20591 resultptr
= new wxSize((wxSize
&) result
);
20592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20600 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxWindow
*arg1
= (wxWindow
*) 0 ;
20603 int *arg2
= (int *) 0 ;
20604 int *arg3
= (int *) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20626 resultobj
= t_output_helper(resultobj
,o
);
20629 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20630 resultobj
= t_output_helper(resultobj
,o
);
20638 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxWindow
*arg1
= (wxWindow
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 wxSize
* resultptr
;
20658 resultptr
= new wxSize((wxSize
&) result
);
20659 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20667 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxWindow
*arg1
= (wxWindow
*) 0 ;
20670 int arg2
= (int) wxBOTH
;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "direction", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 (arg1
)->Center(arg2
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 Py_INCREF(Py_None
); resultobj
= Py_None
;
20692 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxWindow
*arg1
= (wxWindow
*) 0 ;
20695 int arg2
= (int) wxBOTH
;
20696 PyObject
* obj0
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "dir", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 (arg1
)->CenterOnScreen(arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 Py_INCREF(Py_None
); resultobj
= Py_None
;
20717 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxWindow
*arg1
= (wxWindow
*) 0 ;
20720 int arg2
= (int) wxBOTH
;
20721 PyObject
* obj0
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self",(char *) "dir", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 (arg1
)->CenterOnParent(arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 Py_INCREF(Py_None
); resultobj
= Py_None
;
20742 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxWindow
*arg1
= (wxWindow
*) 0 ;
20745 PyObject
* obj0
= 0 ;
20746 char *kwnames
[] = {
20747 (char *) "self", NULL
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 Py_INCREF(Py_None
); resultobj
= Py_None
;
20766 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20768 wxWindow
*arg1
= (wxWindow
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 (arg1
)->FitInside();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 Py_INCREF(Py_None
); resultobj
= Py_None
;
20790 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxWindow
*arg1
= (wxWindow
*) 0 ;
20795 int arg4
= (int) -1 ;
20796 int arg5
= (int) -1 ;
20797 int arg6
= (int) -1 ;
20798 int arg7
= (int) -1 ;
20799 PyObject
* obj0
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 Py_INCREF(Py_None
); resultobj
= Py_None
;
20820 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxWindow
*arg1
= (wxWindow
*) 0 ;
20825 int arg4
= (int) -1 ;
20826 int arg5
= (int) -1 ;
20827 PyObject
* obj0
= 0 ;
20828 char *kwnames
[] = {
20829 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 Py_INCREF(Py_None
); resultobj
= Py_None
;
20848 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxWindow
*arg1
= (wxWindow
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= PyInt_FromLong((long)result
);
20873 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 wxWindow
*arg1
= (wxWindow
*) 0 ;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= PyInt_FromLong((long)result
);
20898 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxWindow
*arg1
= (wxWindow
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= PyInt_FromLong((long)result
);
20923 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxWindow
*arg1
= (wxWindow
*) 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char *kwnames
[] = {
20929 (char *) "self", NULL
20932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= PyInt_FromLong((long)result
);
20948 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxWindow
*arg1
= (wxWindow
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20967 wxSize
* resultptr
;
20968 resultptr
= new wxSize((wxSize
&) result
);
20969 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20977 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxWindow
*arg1
= (wxWindow
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self",(char *) "size", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20992 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21008 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxWindow
*arg1
= (wxWindow
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self",(char *) "w",(char *) "h", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 (arg1
)->SetVirtualSize(arg2
,arg3
);
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 Py_INCREF(Py_None
); resultobj
= Py_None
;
21034 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxWindow
*arg1
= (wxWindow
*) 0 ;
21038 PyObject
* obj0
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21053 wxSize
* resultptr
;
21054 resultptr
= new wxSize((wxSize
&) result
);
21055 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21063 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxWindow
*arg1
= (wxWindow
*) 0 ;
21066 int *arg2
= (int *) 0 ;
21067 int *arg3
= (int *) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 Py_INCREF(Py_None
); resultobj
= Py_None
;
21088 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21089 resultobj
= t_output_helper(resultobj
,o
);
21092 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21093 resultobj
= t_output_helper(resultobj
,o
);
21101 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxWindow
*arg1
= (wxWindow
*) 0 ;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21120 wxSize
* resultptr
;
21121 resultptr
= new wxSize((wxSize
&) result
);
21122 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21130 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxWindow
*arg1
= (wxWindow
*) 0 ;
21133 bool arg2
= (bool) True
;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self",(char *) "show", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21145 arg2
= (bool) SPyObj_AsBool(obj1
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (bool)(arg1
)->Show(arg2
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= PyInt_FromLong((long)result
);
21163 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxWindow
*arg1
= (wxWindow
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (bool)(arg1
)->Hide();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= PyInt_FromLong((long)result
);
21188 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxWindow
*arg1
= (wxWindow
*) 0 ;
21191 bool arg2
= (bool) True
;
21193 PyObject
* obj0
= 0 ;
21194 PyObject
* obj1
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self",(char *) "enable", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21203 arg2
= (bool) SPyObj_AsBool(obj1
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (bool)(arg1
)->Enable(arg2
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= PyInt_FromLong((long)result
);
21221 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxWindow
*arg1
= (wxWindow
*) 0 ;
21225 PyObject
* obj0
= 0 ;
21226 char *kwnames
[] = {
21227 (char *) "self", NULL
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
21231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (bool)(arg1
)->Disable();
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= PyInt_FromLong((long)result
);
21246 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21248 wxWindow
*arg1
= (wxWindow
*) 0 ;
21250 PyObject
* obj0
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= PyInt_FromLong((long)result
);
21271 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxWindow
*arg1
= (wxWindow
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
21281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= PyInt_FromLong((long)result
);
21296 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxWindow
*arg1
= (wxWindow
*) 0 ;
21300 PyObject
* obj0
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self",(char *) "style", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
21306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 (arg1
)->SetWindowStyleFlag(arg2
);
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 Py_INCREF(Py_None
); resultobj
= Py_None
;
21321 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxWindow
*arg1
= (wxWindow
*) 0 ;
21325 PyObject
* obj0
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
21331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 resultobj
= PyInt_FromLong((long)result
);
21346 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxWindow
*arg1
= (wxWindow
*) 0 ;
21350 PyObject
* obj0
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self",(char *) "style", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 (arg1
)->SetWindowStyle(arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 Py_INCREF(Py_None
); resultobj
= Py_None
;
21371 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxWindow
*arg1
= (wxWindow
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= PyInt_FromLong((long)result
);
21396 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxWindow
*arg1
= (wxWindow
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "flag", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
21407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= PyInt_FromLong((long)result
);
21422 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxWindow
*arg1
= (wxWindow
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 char *kwnames
[] = {
21428 (char *) "self", NULL
21431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
21432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= PyInt_FromLong((long)result
);
21447 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxWindow
*arg1
= (wxWindow
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "exStyle", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
21457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 (arg1
)->SetExtraStyle(arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 Py_INCREF(Py_None
); resultobj
= Py_None
;
21472 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxWindow
*arg1
= (wxWindow
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= PyInt_FromLong((long)result
);
21497 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxWindow
*arg1
= (wxWindow
*) 0 ;
21500 bool arg2
= (bool) True
;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self",(char *) "modal", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21511 arg2
= (bool) SPyObj_AsBool(obj1
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 (arg1
)->MakeModal(arg2
);
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 Py_INCREF(Py_None
); resultobj
= Py_None
;
21529 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxWindow
*arg1
= (wxWindow
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self",(char *) "enableTheme", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21542 arg2
= (bool) SPyObj_AsBool(obj1
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 (arg1
)->SetThemeEnabled(arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 Py_INCREF(Py_None
); resultobj
= Py_None
;
21559 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxWindow
*arg1
= (wxWindow
*) 0 ;
21563 PyObject
* obj0
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= PyInt_FromLong((long)result
);
21584 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxWindow
*arg1
= (wxWindow
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
21594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= PyInt_FromLong((long)result
);
21609 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxWindow
*arg1
= (wxWindow
*) 0 ;
21612 PyObject
* obj0
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 (arg1
)->SetFocus();
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 Py_INCREF(Py_None
); resultobj
= Py_None
;
21633 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxWindow
*arg1
= (wxWindow
*) 0 ;
21636 PyObject
* obj0
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
21642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 (arg1
)->SetFocusFromKbd();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 Py_INCREF(Py_None
); resultobj
= Py_None
;
21657 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21660 char *kwnames
[] = {
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (wxWindow
*)wxWindow::FindFocus();
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= wxPyMake_wxObject(result
);
21681 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxWindow
*arg1
= (wxWindow
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= PyInt_FromLong((long)result
);
21706 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxWindow
*arg1
= (wxWindow
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= PyInt_FromLong((long)result
);
21731 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxWindow
*arg1
= (wxWindow
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= wxPyMake_wxObject(result
);
21758 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxWindow
*arg1
= (wxWindow
*) 0 ;
21761 wxWindow
*arg2
= (wxWindow
*) 0 ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 char *kwnames
[] = {
21766 (char *) "self",(char *) "child", NULL
21769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= wxPyMake_wxObject(result
);
21788 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxWindow
*arg1
= (wxWindow
*) 0 ;
21791 wxWindow
*arg2
= (wxWindow
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self",(char *) "win", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21800 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 (arg1
)->SetTmpDefaultItem(arg2
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 Py_INCREF(Py_None
); resultobj
= Py_None
;
21815 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxWindow
*arg1
= (wxWindow
*) 0 ;
21819 PyObject
* obj0
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= result
;
21840 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxWindow
*arg1
= (wxWindow
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= wxPyMake_wxObject(result
);
21867 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxWindow
*arg1
= (wxWindow
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= wxPyMake_wxObject(result
);
21894 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxWindow
*arg1
= (wxWindow
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= PyInt_FromLong((long)result
);
21919 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxWindow
*arg1
= (wxWindow
*) 0 ;
21922 wxWindow
*arg2
= (wxWindow
*) 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 char *kwnames
[] = {
21927 (char *) "self",(char *) "newParent", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= (bool)(arg1
)->Reparent(arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 resultobj
= PyInt_FromLong((long)result
);
21947 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
;
21949 wxWindow
*arg1
= (wxWindow
*) 0 ;
21950 wxWindow
*arg2
= (wxWindow
*) 0 ;
21951 PyObject
* obj0
= 0 ;
21952 PyObject
* obj1
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self",(char *) "child", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->AddChild(arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 Py_INCREF(Py_None
); resultobj
= Py_None
;
21974 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
;
21976 wxWindow
*arg1
= (wxWindow
*) 0 ;
21977 wxWindow
*arg2
= (wxWindow
*) 0 ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "child", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 (arg1
)->RemoveChild(arg2
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 Py_INCREF(Py_None
); resultobj
= Py_None
;
22001 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxWindow
*arg1
= (wxWindow
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "winid", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= wxPyMake_wxObject(result
);
22029 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxWindow
*arg1
= (wxWindow
*) 0 ;
22032 wxString
*arg2
= 0 ;
22034 bool temp2
= False
;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "name", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22044 arg2
= wxString_in_helper(obj1
);
22045 if (arg2
== NULL
) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= wxPyMake_wxObject(result
);
22072 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxWindow
*arg1
= (wxWindow
*) 0 ;
22075 wxEvtHandler
*result
;
22076 PyObject
* obj0
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
22082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= wxPyMake_wxObject(result
);
22099 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxWindow
*arg1
= (wxWindow
*) 0 ;
22102 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 char *kwnames
[] = {
22106 (char *) "self",(char *) "handler", NULL
22109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
22110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 (arg1
)->SetEventHandler(arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 Py_INCREF(Py_None
); resultobj
= Py_None
;
22126 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxWindow
*arg1
= (wxWindow
*) 0 ;
22129 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self",(char *) "handler", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
22137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 (arg1
)->PushEventHandler(arg2
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 Py_INCREF(Py_None
); resultobj
= Py_None
;
22153 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxWindow
*arg1
= (wxWindow
*) 0 ;
22156 bool arg2
= (bool) False
;
22157 wxEvtHandler
*result
;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self",(char *) "deleteHandler", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
22165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22168 arg2
= (bool) SPyObj_AsBool(obj1
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= wxPyMake_wxObject(result
);
22188 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxWindow
*arg1
= (wxWindow
*) 0 ;
22191 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self",(char *) "handler", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
22200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= PyInt_FromLong((long)result
);
22216 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxWindow
*arg1
= (wxWindow
*) 0 ;
22219 wxValidator
*arg2
= 0 ;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self",(char *) "validator", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22229 if (arg2
== NULL
) {
22230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxWindow
*arg1
= (wxWindow
*) 0 ;
22249 wxValidator
*result
;
22250 PyObject
* obj0
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (wxValidator
*)(arg1
)->GetValidator();
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= wxPyMake_wxObject(result
);
22273 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxWindow
*arg1
= (wxWindow
*) 0 ;
22276 wxAcceleratorTable
*arg2
= 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self",(char *) "accel", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22286 if (arg2
== NULL
) {
22287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 Py_INCREF(Py_None
); resultobj
= Py_None
;
22303 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxWindow
*arg1
= (wxWindow
*) 0 ;
22306 wxAcceleratorTable
*result
;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
22313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
22328 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxWindow
*arg1
= (wxWindow
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= PyInt_FromLong((long)result
);
22356 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxWindow
*arg1
= (wxWindow
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self",(char *) "hotkeyId", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= PyInt_FromLong((long)result
);
22382 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxWindow
*arg1
= (wxWindow
*) 0 ;
22385 wxPoint
*arg2
= 0 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self",(char *) "pt", NULL
22394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
22395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 wxPoint
* resultptr
;
22409 resultptr
= new wxPoint((wxPoint
&) result
);
22410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22418 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxWindow
*arg1
= (wxWindow
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self",(char *) "sz", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22444 wxSize
* resultptr
;
22445 resultptr
= new wxSize((wxSize
&) result
);
22446 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22454 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22457 wxPoint
*arg2
= 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "pt", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 wxPoint
* resultptr
;
22481 resultptr
= new wxPoint((wxPoint
&) result
);
22482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22490 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxWindow
*arg1
= (wxWindow
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "sz", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22516 wxSize
* resultptr
;
22517 resultptr
= new wxSize((wxSize
&) result
);
22518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22526 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxWindow
*arg1
= (wxWindow
*) 0 ;
22529 wxPoint
*arg2
= 0 ;
22532 PyObject
* obj0
= 0 ;
22533 PyObject
* obj1
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "pt", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 wxPoint
* resultptr
;
22553 resultptr
= new wxPoint((wxPoint
&) result
);
22554 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22562 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxWindow
*arg1
= (wxWindow
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self",(char *) "sz", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22588 wxSize
* resultptr
;
22589 resultptr
= new wxSize((wxSize
&) result
);
22590 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22598 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxWindow
*arg1
= (wxWindow
*) 0 ;
22603 PyObject
* obj0
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "x",(char *) "y", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 (arg1
)->WarpPointer(arg2
,arg3
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 Py_INCREF(Py_None
); resultobj
= Py_None
;
22624 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22626 wxWindow
*arg1
= (wxWindow
*) 0 ;
22627 PyObject
* obj0
= 0 ;
22628 char *kwnames
[] = {
22629 (char *) "self", NULL
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
22633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 (arg1
)->CaptureMouse();
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22641 Py_INCREF(Py_None
); resultobj
= Py_None
;
22648 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxWindow
*arg1
= (wxWindow
*) 0 ;
22651 PyObject
* obj0
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
22657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 (arg1
)->ReleaseMouse();
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22675 char *kwnames
[] = {
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (wxWindow
*)wxWindow::GetCapture();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= wxPyMake_wxObject(result
);
22696 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
;
22698 wxWindow
*arg1
= (wxWindow
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= PyInt_FromLong((long)result
);
22721 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxWindow
*arg1
= (wxWindow
*) 0 ;
22724 bool arg2
= (bool) True
;
22725 wxRect
*arg3
= (wxRect
*) NULL
;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 PyObject
* obj2
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22737 arg2
= (bool) SPyObj_AsBool(obj1
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22742 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxWindow
*arg1
= (wxWindow
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "rect", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22773 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 Py_INCREF(Py_None
); resultobj
= Py_None
;
22789 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxWindow
*arg1
= (wxWindow
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22813 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->ClearBackground();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 Py_INCREF(Py_None
); resultobj
= Py_None
;
22837 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxWindow
*arg1
= (wxWindow
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxWindow
*arg1
= (wxWindow
*) 0 ;
22864 PyObject
* obj0
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 Py_INCREF(Py_None
); resultobj
= Py_None
;
22885 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxWindow
*arg1
= (wxWindow
*) 0 ;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self",(char *) "dc", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22898 if (arg2
== NULL
) {
22899 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 (arg1
)->PrepareDC(*arg2
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 Py_INCREF(Py_None
); resultobj
= Py_None
;
22915 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxWindow
*arg1
= (wxWindow
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22930 result
= (wxRegion
*) &_result_ref
;
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22943 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxWindow
*arg1
= (wxWindow
*) 0 ;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 wxRect
* resultptr
;
22963 resultptr
= new wxRect((wxRect
&) result
);
22964 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22972 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxWindow
*arg1
= (wxWindow
*) 0 ;
22977 int arg4
= (int) 1 ;
22978 int arg5
= (int) 1 ;
22980 PyObject
* obj0
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= PyInt_FromLong((long)result
);
23001 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxWindow
*arg1
= (wxWindow
*) 0 ;
23004 wxPoint
*arg2
= 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "pt", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= PyInt_FromLong((long)result
);
23033 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxWindow
*arg1
= (wxWindow
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 char *kwnames
[] = {
23042 (char *) "self",(char *) "rect", NULL
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
23046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= PyInt_FromLong((long)result
);
23065 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxWindow
*arg1
= (wxWindow
*) 0 ;
23068 wxColour
*arg2
= 0 ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 char *kwnames
[] = {
23074 (char *) "self",(char *) "colour", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23081 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= PyInt_FromLong((long)result
);
23097 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxWindow
*arg1
= (wxWindow
*) 0 ;
23100 wxColour
*arg2
= 0 ;
23103 PyObject
* obj0
= 0 ;
23104 PyObject
* obj1
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self",(char *) "colour", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= PyInt_FromLong((long)result
);
23129 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxWindow
*arg1
= (wxWindow
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 wxColour
* resultptr
;
23149 resultptr
= new wxColour((wxColour
&) result
);
23150 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
23158 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxWindow
*arg1
= (wxWindow
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23177 wxColour
* resultptr
;
23178 resultptr
= new wxColour((wxColour
&) result
);
23179 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
23187 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxWindow
*arg1
= (wxWindow
*) 0 ;
23190 wxCursor
*arg2
= 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "cursor", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23201 if (arg2
== NULL
) {
23202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= PyInt_FromLong((long)result
);
23218 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxWindow
*arg1
= (wxWindow
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 wxCursor
&_result_ref
= (arg1
)->GetCursor();
23233 result
= (wxCursor
*) &_result_ref
;
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
23246 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxWindow
*arg1
= (wxWindow
*) 0 ;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self",(char *) "font", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
23258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23260 if (arg2
== NULL
) {
23261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= PyInt_FromLong((long)result
);
23277 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxWindow
*arg1
= (wxWindow
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
23287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 wxFont
&_result_ref
= (arg1
)->GetFont();
23292 result
= (wxFont
*) &_result_ref
;
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
23305 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxWindow
*arg1
= (wxWindow
*) 0 ;
23308 wxCaret
*arg2
= (wxCaret
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 PyObject
* obj1
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self",(char *) "caret", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 (arg1
)->SetCaret(arg2
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 Py_INCREF(Py_None
); resultobj
= Py_None
;
23332 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxWindow
*arg1
= (wxWindow
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
23357 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxWindow
*arg1
= (wxWindow
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= PyInt_FromLong((long)result
);
23382 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxWindow
*arg1
= (wxWindow
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= PyInt_FromLong((long)result
);
23407 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxWindow
*arg1
= (wxWindow
*) 0 ;
23410 wxString
*arg2
= 0 ;
23411 int *arg3
= (int *) 0 ;
23412 int *arg4
= (int *) 0 ;
23413 bool temp2
= False
;
23416 PyObject
* obj0
= 0 ;
23417 PyObject
* obj1
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self",(char *) "string", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23427 arg2
= wxString_in_helper(obj1
);
23428 if (arg2
== NULL
) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 Py_INCREF(Py_None
); resultobj
= Py_None
;
23440 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23441 resultobj
= t_output_helper(resultobj
,o
);
23444 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23445 resultobj
= t_output_helper(resultobj
,o
);
23461 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23464 wxString
*arg2
= 0 ;
23465 int *arg3
= (int *) 0 ;
23466 int *arg4
= (int *) 0 ;
23467 int *arg5
= (int *) 0 ;
23468 int *arg6
= (int *) 0 ;
23469 wxFont
*arg7
= (wxFont
*) NULL
;
23470 bool temp2
= False
;
23475 PyObject
* obj0
= 0 ;
23476 PyObject
* obj1
= 0 ;
23477 PyObject
* obj2
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "string",(char *) "font", NULL
23486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23489 arg2
= wxString_in_helper(obj1
);
23490 if (arg2
== NULL
) SWIG_fail
;
23494 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 Py_INCREF(Py_None
); resultobj
= Py_None
;
23505 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23506 resultobj
= t_output_helper(resultobj
,o
);
23509 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23510 resultobj
= t_output_helper(resultobj
,o
);
23513 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
23514 resultobj
= t_output_helper(resultobj
,o
);
23517 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
23518 resultobj
= t_output_helper(resultobj
,o
);
23534 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxWindow
*arg1
= (wxWindow
*) 0 ;
23537 int *arg2
= (int *) 0 ;
23538 int *arg3
= (int *) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 PyObject
* obj1
= 0 ;
23543 PyObject
* obj2
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self",(char *) "x",(char *) "y", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23551 temp2
= PyInt_AsLong(obj1
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23556 temp3
= PyInt_AsLong(obj2
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 Py_INCREF(Py_None
); resultobj
= Py_None
;
23569 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23570 resultobj
= t_output_helper(resultobj
,o
);
23573 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23574 resultobj
= t_output_helper(resultobj
,o
);
23582 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxWindow
*arg1
= (wxWindow
*) 0 ;
23585 int *arg2
= (int *) 0 ;
23586 int *arg3
= (int *) 0 ;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 PyObject
* obj2
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "x",(char *) "y", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23599 temp2
= PyInt_AsLong(obj1
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23604 temp3
= PyInt_AsLong(obj2
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23617 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23618 resultobj
= t_output_helper(resultobj
,o
);
23621 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23622 resultobj
= t_output_helper(resultobj
,o
);
23630 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
;
23632 wxWindow
*arg1
= (wxWindow
*) 0 ;
23633 wxPoint
*arg2
= 0 ;
23636 PyObject
* obj0
= 0 ;
23637 PyObject
* obj1
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self",(char *) "pt", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23656 wxPoint
* resultptr
;
23657 resultptr
= new wxPoint((wxPoint
&) result
);
23658 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23666 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23668 wxWindow
*arg1
= (wxWindow
*) 0 ;
23669 wxPoint
*arg2
= 0 ;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self",(char *) "pt", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
23679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23692 wxPoint
* resultptr
;
23693 resultptr
= new wxPoint((wxPoint
&) result
);
23694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23702 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxWindow
*arg1
= (wxWindow
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self",(char *) "x",(char *) "y", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= PyInt_FromLong((long)result
);
23729 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxWindow
*arg1
= (wxWindow
*) 0 ;
23732 wxPoint
*arg2
= 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self",(char *) "pt", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= PyInt_FromLong((long)result
);
23761 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23763 wxWindow
*arg1
= (wxWindow
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self",(char *) "flags", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= PyInt_FromLong((long)result
);
23787 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23789 wxWindow
*arg1
= (wxWindow
*) 0 ;
23791 PyObject
* obj0
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= PyInt_FromLong((long)result
);
23812 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxWindow
*arg1
= (wxWindow
*) 0 ;
23815 long arg2
= (long) wxUPDATE_UI_NONE
;
23816 PyObject
* obj0
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self",(char *) "flags", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 (arg1
)->UpdateWindowUI(arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 Py_INCREF(Py_None
); resultobj
= Py_None
;
23837 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23840 wxMenu
*arg2
= (wxMenu
*) 0 ;
23844 PyObject
* obj0
= 0 ;
23845 PyObject
* obj1
= 0 ;
23846 char *kwnames
[] = {
23847 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23852 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= PyInt_FromLong((long)result
);
23867 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxWindow
*arg1
= (wxWindow
*) 0 ;
23870 wxMenu
*arg2
= (wxMenu
*) 0 ;
23871 wxPoint
*arg3
= 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self",(char *) "menu",(char *) "pos", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= PyInt_FromLong((long)result
);
23902 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
;
23904 wxWindow
*arg1
= (wxWindow
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 char *kwnames
[] = {
23908 (char *) "self", NULL
23911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (long)wxWindow_GetHandle(arg1
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= PyInt_FromLong((long)result
);
23927 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
;
23929 wxWindow
*arg1
= (wxWindow
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self",(char *) "orient", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= PyInt_FromLong((long)result
);
23953 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxWindow
*arg1
= (wxWindow
*) 0 ;
23960 bool arg6
= (bool) True
;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj5
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23971 arg6
= (bool) SPyObj_AsBool(obj5
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 Py_INCREF(Py_None
); resultobj
= Py_None
;
23989 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxWindow
*arg1
= (wxWindow
*) 0 ;
23994 bool arg4
= (bool) True
;
23995 PyObject
* obj0
= 0 ;
23996 PyObject
* obj3
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
24002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24005 arg4
= (bool) SPyObj_AsBool(obj3
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 Py_INCREF(Py_None
); resultobj
= Py_None
;
24023 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxWindow
*arg1
= (wxWindow
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self",(char *) "orient", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= PyInt_FromLong((long)result
);
24049 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxWindow
*arg1
= (wxWindow
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self",(char *) "orient", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
24060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= PyInt_FromLong((long)result
);
24075 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxWindow
*arg1
= (wxWindow
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 char *kwnames
[] = {
24082 (char *) "self",(char *) "orient", NULL
24085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
24086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= PyInt_FromLong((long)result
);
24101 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxWindow
*arg1
= (wxWindow
*) 0 ;
24106 wxRect
*arg4
= (wxRect
*) NULL
;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj3
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24116 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 Py_INCREF(Py_None
); resultobj
= Py_None
;
24132 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
;
24134 wxWindow
*arg1
= (wxWindow
*) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self",(char *) "lines", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (bool)(arg1
)->ScrollLines(arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= PyInt_FromLong((long)result
);
24158 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxWindow
*arg1
= (wxWindow
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "pages", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (bool)(arg1
)->ScrollPages(arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= PyInt_FromLong((long)result
);
24184 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxWindow
*arg1
= (wxWindow
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
24194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (bool)(arg1
)->LineUp();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= PyInt_FromLong((long)result
);
24209 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxWindow
*arg1
= (wxWindow
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
24219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (bool)(arg1
)->LineDown();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= PyInt_FromLong((long)result
);
24234 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxWindow
*arg1
= (wxWindow
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (bool)(arg1
)->PageUp();
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= PyInt_FromLong((long)result
);
24259 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxWindow
*arg1
= (wxWindow
*) 0 ;
24263 PyObject
* obj0
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
24269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= (bool)(arg1
)->PageDown();
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= PyInt_FromLong((long)result
);
24284 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxWindow
*arg1
= (wxWindow
*) 0 ;
24287 wxString
*arg2
= 0 ;
24288 bool temp2
= False
;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "text", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24298 arg2
= wxString_in_helper(obj1
);
24299 if (arg2
== NULL
) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 (arg1
)->SetHelpText((wxString
const &)*arg2
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 Py_INCREF(Py_None
); resultobj
= Py_None
;
24324 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxWindow
*arg1
= (wxWindow
*) 0 ;
24327 wxString
*arg2
= 0 ;
24328 bool temp2
= False
;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self",(char *) "text", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
24336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24338 arg2
= wxString_in_helper(obj1
);
24339 if (arg2
== NULL
) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 Py_INCREF(Py_None
); resultobj
= Py_None
;
24364 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxWindow
*arg1
= (wxWindow
*) 0 ;
24368 PyObject
* obj0
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= ((wxWindow
const *)arg1
)->GetHelpText();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24395 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxWindow
*arg1
= (wxWindow
*) 0 ;
24398 wxString
*arg2
= 0 ;
24399 bool temp2
= False
;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 char *kwnames
[] = {
24403 (char *) "self",(char *) "tip", NULL
24406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
24407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24409 arg2
= wxString_in_helper(obj1
);
24410 if (arg2
== NULL
) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 Py_INCREF(Py_None
); resultobj
= Py_None
;
24435 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxWindow
*arg1
= (wxWindow
*) 0 ;
24438 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "self",(char *) "tip", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->SetToolTip(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxWindow
*arg1
= (wxWindow
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= wxPyMake_wxObject(result
);
24489 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxWindow
*arg1
= (wxWindow
*) 0 ;
24492 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "dropTarget", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 (arg1
)->SetDropTarget(arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 Py_INCREF(Py_None
); resultobj
= Py_None
;
24516 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxWindow
*arg1
= (wxWindow
*) 0 ;
24519 wxPyDropTarget
*result
;
24520 PyObject
* obj0
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
24541 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxWindow
*arg1
= (wxWindow
*) 0 ;
24544 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "constraints", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
24552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 (arg1
)->SetConstraints(arg2
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 Py_INCREF(Py_None
); resultobj
= Py_None
;
24568 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxWindow
*arg1
= (wxWindow
*) 0 ;
24571 wxLayoutConstraints
*result
;
24572 PyObject
* obj0
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
24593 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxWindow
*arg1
= (wxWindow
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self",(char *) "autoLayout", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24606 arg2
= (bool) SPyObj_AsBool(obj1
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->SetAutoLayout(arg2
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 Py_INCREF(Py_None
); resultobj
= Py_None
;
24623 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxWindow
*arg1
= (wxWindow
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= PyInt_FromLong((long)result
);
24648 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxWindow
*arg1
= (wxWindow
*) 0 ;
24652 PyObject
* obj0
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (bool)(arg1
)->Layout();
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= PyInt_FromLong((long)result
);
24673 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxWindow
*arg1
= (wxWindow
*) 0 ;
24676 wxSizer
*arg2
= (wxSizer
*) 0 ;
24677 bool arg3
= (bool) True
;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 PyObject
* obj2
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24690 arg3
= (bool) SPyObj_AsBool(obj2
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->SetSizer(arg2
,arg3
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24708 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxWindow
*arg1
= (wxWindow
*) 0 ;
24711 wxSizer
*arg2
= (wxSizer
*) 0 ;
24712 bool arg3
= (bool) True
;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 PyObject
* obj2
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24725 arg3
= (bool) SPyObj_AsBool(obj2
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24743 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxWindow
*arg1
= (wxWindow
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= wxPyMake_wxSizer(result
);
24770 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
;
24772 wxWindow
*arg1
= (wxWindow
*) 0 ;
24773 wxSizer
*arg2
= (wxSizer
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "sizer", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 (arg1
)->SetContainingSizer(arg2
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 Py_INCREF(Py_None
); resultobj
= Py_None
;
24797 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
;
24799 wxWindow
*arg1
= (wxWindow
*) 0 ;
24801 PyObject
* obj0
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= wxPyMake_wxSizer(result
);
24824 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24827 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24829 return Py_BuildValue((char *)"");
24831 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24834 wxWindow
*arg2
= (wxWindow
*) NULL
;
24836 PyObject
* obj1
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "id",(char *) "parent", NULL
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= wxPyMake_wxObject(result
);
24861 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxString
*arg1
= 0 ;
24864 wxWindow
*arg2
= (wxWindow
*) NULL
;
24866 bool temp1
= False
;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 char *kwnames
[] = {
24870 (char *) "name",(char *) "parent", NULL
24873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24875 arg1
= wxString_in_helper(obj0
);
24876 if (arg1
== NULL
) SWIG_fail
;
24880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= wxPyMake_wxObject(result
);
24906 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxString
*arg1
= 0 ;
24909 wxWindow
*arg2
= (wxWindow
*) NULL
;
24911 bool temp1
= False
;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "label",(char *) "parent", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24920 arg1
= wxString_in_helper(obj0
);
24921 if (arg1
== NULL
) SWIG_fail
;
24925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= wxPyMake_wxObject(result
);
24951 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 unsigned long arg1
;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "hWnd", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24962 arg1
= (unsigned long) SPyObj_AsUnsignedLong(obj0
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= wxPyMake_wxObject(result
);
24981 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxValidator
*result
;
24984 char *kwnames
[] = {
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= (wxValidator
*)new wxValidator();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= wxPyMake_wxObject(result
);
25005 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxValidator
*arg1
= (wxValidator
*) 0 ;
25008 wxValidator
*result
;
25009 PyObject
* obj0
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
25015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (wxValidator
*)(arg1
)->Clone();
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= wxPyMake_wxObject(result
);
25032 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxValidator
*arg1
= (wxValidator
*) 0 ;
25035 wxWindow
*arg2
= (wxWindow
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 char *kwnames
[] = {
25040 (char *) "self",(char *) "parent", NULL
25043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
25044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (bool)(arg1
)->Validate(arg2
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= PyInt_FromLong((long)result
);
25060 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
;
25062 wxValidator
*arg1
= (wxValidator
*) 0 ;
25064 PyObject
* obj0
= 0 ;
25065 char *kwnames
[] = {
25066 (char *) "self", NULL
25069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
25070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (bool)(arg1
)->TransferToWindow();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= PyInt_FromLong((long)result
);
25085 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxValidator
*arg1
= (wxValidator
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 char *kwnames
[] = {
25091 (char *) "self", NULL
25094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
25095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (bool)(arg1
)->TransferFromWindow();
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= PyInt_FromLong((long)result
);
25110 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxValidator
*arg1
= (wxValidator
*) 0 ;
25114 PyObject
* obj0
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "self", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
25120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (wxWindow
*)(arg1
)->GetWindow();
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= wxPyMake_wxObject(result
);
25137 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxValidator
*arg1
= (wxValidator
*) 0 ;
25140 wxWindow
*arg2
= (wxWindow
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self",(char *) "window", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
25148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 (arg1
)->SetWindow(arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 Py_INCREF(Py_None
); resultobj
= Py_None
;
25164 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25167 char *kwnames
[] = {
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (bool)wxValidator::IsSilent();
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 resultobj
= PyInt_FromLong((long)result
);
25186 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 int arg1
= (int) True
;
25189 char *kwnames
[] = {
25190 (char *) "doIt", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 wxValidator::SetBellOnError(arg1
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 Py_INCREF(Py_None
); resultobj
= Py_None
;
25208 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
25210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25211 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
25213 return Py_BuildValue((char *)"");
25215 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxPyValidator
*result
;
25218 char *kwnames
[] = {
25222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (wxPyValidator
*)new wxPyValidator();
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
25237 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
25240 PyObject
*arg2
= (PyObject
*) 0 ;
25241 PyObject
*arg3
= (PyObject
*) 0 ;
25242 int arg4
= (int) True
;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 PyObject
* obj2
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 Py_INCREF(Py_None
); resultobj
= Py_None
;
25268 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
25270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25271 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
25273 return Py_BuildValue((char *)"");
25275 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
25276 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
25281 static PyObject
*_wrap_DefaultValidator_get() {
25284 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
25289 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25292 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25293 long arg2
= (long) 0 ;
25295 bool temp1
= False
;
25296 PyObject
* obj0
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "title",(char *) "style", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
25304 arg1
= wxString_in_helper(obj0
);
25305 if (arg1
== NULL
) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= wxPyMake_wxObject(result
);
25333 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxMenu
*arg1
= (wxMenu
*) 0 ;
25337 wxString
*arg3
= 0 ;
25338 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25339 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25340 int arg5
= (int) wxITEM_NORMAL
;
25341 wxMenuItem
*result
;
25342 bool temp3
= False
;
25343 bool temp4
= False
;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj2
= 0 ;
25346 PyObject
* obj3
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25354 arg3
= wxString_in_helper(obj2
);
25355 if (arg3
== NULL
) SWIG_fail
;
25360 arg4
= wxString_in_helper(obj3
);
25361 if (arg4
== NULL
) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= wxPyMake_wxObject(result
);
25397 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
;
25399 wxMenu
*arg1
= (wxMenu
*) 0 ;
25400 wxMenuItem
*result
;
25401 PyObject
* obj0
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
25407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= wxPyMake_wxObject(result
);
25424 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxMenu
*arg1
= (wxMenu
*) 0 ;
25428 wxString
*arg3
= 0 ;
25429 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25430 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25431 wxMenuItem
*result
;
25432 bool temp3
= False
;
25433 bool temp4
= False
;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj2
= 0 ;
25436 PyObject
* obj3
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25444 arg3
= wxString_in_helper(obj2
);
25445 if (arg3
== NULL
) SWIG_fail
;
25450 arg4
= wxString_in_helper(obj3
);
25451 if (arg4
== NULL
) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= wxPyMake_wxObject(result
);
25487 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
;
25489 wxMenu
*arg1
= (wxMenu
*) 0 ;
25491 wxString
*arg3
= 0 ;
25492 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25493 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25494 wxMenuItem
*result
;
25495 bool temp3
= False
;
25496 bool temp4
= False
;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj2
= 0 ;
25499 PyObject
* obj3
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25507 arg3
= wxString_in_helper(obj2
);
25508 if (arg3
== NULL
) SWIG_fail
;
25513 arg4
= wxString_in_helper(obj3
);
25514 if (arg4
== NULL
) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= wxPyMake_wxObject(result
);
25550 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25552 wxMenu
*arg1
= (wxMenu
*) 0 ;
25554 wxString
*arg3
= 0 ;
25555 wxMenu
*arg4
= (wxMenu
*) 0 ;
25556 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25557 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25558 wxMenuItem
*result
;
25559 bool temp3
= False
;
25560 bool temp5
= False
;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj2
= 0 ;
25563 PyObject
* obj3
= 0 ;
25564 PyObject
* obj4
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25572 arg3
= wxString_in_helper(obj2
);
25573 if (arg3
== NULL
) SWIG_fail
;
25576 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25579 arg5
= wxString_in_helper(obj4
);
25580 if (arg5
== NULL
) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= wxPyMake_wxObject(result
);
25616 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxMenu
*arg1
= (wxMenu
*) 0 ;
25619 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25620 wxMenuItem
*result
;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "item", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= wxPyMake_wxObject(result
);
25646 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxMenu
*arg1
= (wxMenu
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 char *kwnames
[] = {
25651 (char *) "self", NULL
25654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
25655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 Py_INCREF(Py_None
); resultobj
= Py_None
;
25670 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxMenu
*arg1
= (wxMenu
*) 0 ;
25674 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
25675 wxMenuItem
*result
;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 PyObject
* obj2
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self",(char *) "pos",(char *) "item", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25686 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= wxPyMake_wxObject(result
);
25706 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxMenu
*arg1
= (wxMenu
*) 0 ;
25711 wxString
*arg4
= 0 ;
25712 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25713 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25714 int arg6
= (int) wxITEM_NORMAL
;
25715 wxMenuItem
*result
;
25716 bool temp4
= False
;
25717 bool temp5
= False
;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 PyObject
* obj3
= 0 ;
25721 PyObject
* obj4
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
25727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25729 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 arg4
= wxString_in_helper(obj3
);
25734 if (arg4
== NULL
) SWIG_fail
;
25739 arg5
= wxString_in_helper(obj4
);
25740 if (arg5
== NULL
) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= wxPyMake_wxObject(result
);
25776 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxMenu
*arg1
= (wxMenu
*) 0 ;
25780 wxMenuItem
*result
;
25781 PyObject
* obj0
= 0 ;
25782 PyObject
* obj1
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self",(char *) "pos", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
25788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25790 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= wxPyMake_wxObject(result
);
25809 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxMenu
*arg1
= (wxMenu
*) 0 ;
25814 wxString
*arg4
= 0 ;
25815 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25816 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25817 wxMenuItem
*result
;
25818 bool temp4
= False
;
25819 bool temp5
= False
;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 PyObject
* obj3
= 0 ;
25823 PyObject
* obj4
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25831 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25835 arg4
= wxString_in_helper(obj3
);
25836 if (arg4
== NULL
) SWIG_fail
;
25841 arg5
= wxString_in_helper(obj4
);
25842 if (arg5
== NULL
) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= wxPyMake_wxObject(result
);
25878 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxMenu
*arg1
= (wxMenu
*) 0 ;
25883 wxString
*arg4
= 0 ;
25884 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25885 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25886 wxMenuItem
*result
;
25887 bool temp4
= False
;
25888 bool temp5
= False
;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 PyObject
* obj3
= 0 ;
25892 PyObject
* obj4
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25900 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 arg4
= wxString_in_helper(obj3
);
25905 if (arg4
== NULL
) SWIG_fail
;
25910 arg5
= wxString_in_helper(obj4
);
25911 if (arg5
== NULL
) SWIG_fail
;
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25919 wxPyEndAllowThreads(__tstate
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= wxPyMake_wxObject(result
);
25947 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25949 wxMenu
*arg1
= (wxMenu
*) 0 ;
25952 wxString
*arg4
= 0 ;
25953 wxMenu
*arg5
= (wxMenu
*) 0 ;
25954 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25956 wxMenuItem
*result
;
25957 bool temp4
= False
;
25958 bool temp6
= False
;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 PyObject
* obj3
= 0 ;
25962 PyObject
* obj4
= 0 ;
25963 PyObject
* obj5
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25971 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25975 arg4
= wxString_in_helper(obj3
);
25976 if (arg4
== NULL
) SWIG_fail
;
25979 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25982 arg6
= wxString_in_helper(obj5
);
25983 if (arg6
== NULL
) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= wxPyMake_wxObject(result
);
26019 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxMenu
*arg1
= (wxMenu
*) 0 ;
26022 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
26023 wxMenuItem
*result
;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "item", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= wxPyMake_wxObject(result
);
26049 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxMenu
*arg1
= (wxMenu
*) 0 ;
26053 wxString
*arg3
= 0 ;
26054 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26055 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26056 int arg5
= (int) wxITEM_NORMAL
;
26057 wxMenuItem
*result
;
26058 bool temp3
= False
;
26059 bool temp4
= False
;
26060 PyObject
* obj0
= 0 ;
26061 PyObject
* obj2
= 0 ;
26062 PyObject
* obj3
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26070 arg3
= wxString_in_helper(obj2
);
26071 if (arg3
== NULL
) SWIG_fail
;
26076 arg4
= wxString_in_helper(obj3
);
26077 if (arg4
== NULL
) SWIG_fail
;
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
26085 wxPyEndAllowThreads(__tstate
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= wxPyMake_wxObject(result
);
26113 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxMenu
*arg1
= (wxMenu
*) 0 ;
26116 wxMenuItem
*result
;
26117 PyObject
* obj0
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= wxPyMake_wxObject(result
);
26140 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxMenu
*arg1
= (wxMenu
*) 0 ;
26144 wxString
*arg3
= 0 ;
26145 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26147 wxMenuItem
*result
;
26148 bool temp3
= False
;
26149 bool temp4
= False
;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj2
= 0 ;
26152 PyObject
* obj3
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26160 arg3
= wxString_in_helper(obj2
);
26161 if (arg3
== NULL
) SWIG_fail
;
26166 arg4
= wxString_in_helper(obj3
);
26167 if (arg4
== NULL
) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= wxPyMake_wxObject(result
);
26203 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
;
26205 wxMenu
*arg1
= (wxMenu
*) 0 ;
26207 wxString
*arg3
= 0 ;
26208 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26209 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26210 wxMenuItem
*result
;
26211 bool temp3
= False
;
26212 bool temp4
= False
;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj2
= 0 ;
26215 PyObject
* obj3
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26223 arg3
= wxString_in_helper(obj2
);
26224 if (arg3
== NULL
) SWIG_fail
;
26229 arg4
= wxString_in_helper(obj3
);
26230 if (arg4
== NULL
) SWIG_fail
;
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= wxPyMake_wxObject(result
);
26266 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxMenu
*arg1
= (wxMenu
*) 0 ;
26270 wxString
*arg3
= 0 ;
26271 wxMenu
*arg4
= (wxMenu
*) 0 ;
26272 wxString
const &arg5_defvalue
= wxPyEmptyString
;
26273 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
26274 wxMenuItem
*result
;
26275 bool temp3
= False
;
26276 bool temp5
= False
;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj2
= 0 ;
26279 PyObject
* obj3
= 0 ;
26280 PyObject
* obj4
= 0 ;
26281 char *kwnames
[] = {
26282 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
26285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
26286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26288 arg3
= wxString_in_helper(obj2
);
26289 if (arg3
== NULL
) SWIG_fail
;
26292 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26295 arg5
= wxString_in_helper(obj4
);
26296 if (arg5
== NULL
) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= wxPyMake_wxObject(result
);
26332 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxMenu
*arg1
= (wxMenu
*) 0 ;
26336 wxMenuItem
*result
;
26337 PyObject
* obj0
= 0 ;
26338 char *kwnames
[] = {
26339 (char *) "self",(char *) "id", NULL
26342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
26343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= wxPyMake_wxObject(result
);
26360 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxMenu
*arg1
= (wxMenu
*) 0 ;
26363 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
26364 wxMenuItem
*result
;
26365 PyObject
* obj0
= 0 ;
26366 PyObject
* obj1
= 0 ;
26367 char *kwnames
[] = {
26368 (char *) "self",(char *) "item", NULL
26371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= wxPyMake_wxObject(result
);
26390 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxMenu
*arg1
= (wxMenu
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "id", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
26401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= (bool)(arg1
)->Delete(arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= PyInt_FromLong((long)result
);
26416 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxMenu
*arg1
= (wxMenu
*) 0 ;
26419 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "item", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (bool)(arg1
)->Delete(arg2
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= PyInt_FromLong((long)result
);
26444 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
;
26446 wxMenu
*arg1
= (wxMenu
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 wxMenu_Destroy(arg1
);
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 Py_INCREF(Py_None
); resultobj
= Py_None
;
26468 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxMenu
*arg1
= (wxMenu
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "id", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= (bool)(arg1
)->Destroy(arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= PyInt_FromLong((long)result
);
26494 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxMenu
*arg1
= (wxMenu
*) 0 ;
26497 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self",(char *) "item", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= (bool)(arg1
)->Destroy(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= PyInt_FromLong((long)result
);
26522 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxMenu
*arg1
= (wxMenu
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 char *kwnames
[] = {
26528 (char *) "self", NULL
26531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
26532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
26547 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxMenu
*arg1
= (wxMenu
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= result
;
26572 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxMenu
*arg1
= (wxMenu
*) 0 ;
26575 wxString
*arg2
= 0 ;
26577 bool temp2
= False
;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self",(char *) "item", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26587 arg2
= wxString_in_helper(obj1
);
26588 if (arg2
== NULL
) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= PyInt_FromLong((long)result
);
26613 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
;
26615 wxMenu
*arg1
= (wxMenu
*) 0 ;
26617 wxMenuItem
*result
;
26618 PyObject
* obj0
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self",(char *) "id", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= wxPyMake_wxObject(result
);
26641 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxMenu
*arg1
= (wxMenu
*) 0 ;
26645 wxMenuItem
*result
;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self",(char *) "position", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26655 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= wxPyMake_wxObject(result
);
26674 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxMenu
*arg1
= (wxMenu
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj2
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self",(char *) "id",(char *) "enable", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26688 arg3
= (bool) SPyObj_AsBool(obj2
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->Enable(arg2
,arg3
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 Py_INCREF(Py_None
); resultobj
= Py_None
;
26705 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxMenu
*arg1
= (wxMenu
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self",(char *) "id", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
26716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= PyInt_FromLong((long)result
);
26731 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxMenu
*arg1
= (wxMenu
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj2
= 0 ;
26738 char *kwnames
[] = {
26739 (char *) "self",(char *) "id",(char *) "check", NULL
26742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26745 arg3
= (bool) SPyObj_AsBool(obj2
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 (arg1
)->Check(arg2
,arg3
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26755 Py_INCREF(Py_None
); resultobj
= Py_None
;
26762 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxMenu
*arg1
= (wxMenu
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 char *kwnames
[] = {
26769 (char *) "self",(char *) "id", NULL
26772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= PyInt_FromLong((long)result
);
26788 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxMenu
*arg1
= (wxMenu
*) 0 ;
26792 wxString
*arg3
= 0 ;
26793 bool temp3
= False
;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj2
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "id",(char *) "label", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26803 arg3
= wxString_in_helper(obj2
);
26804 if (arg3
== NULL
) SWIG_fail
;
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 Py_INCREF(Py_None
); resultobj
= Py_None
;
26829 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxMenu
*arg1
= (wxMenu
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self",(char *) "id", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26861 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
;
26863 wxMenu
*arg1
= (wxMenu
*) 0 ;
26865 wxString
*arg3
= 0 ;
26866 bool temp3
= False
;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj2
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "id",(char *) "helpString", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26876 arg3
= wxString_in_helper(obj2
);
26877 if (arg3
== NULL
) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26887 Py_INCREF(Py_None
); resultobj
= Py_None
;
26902 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxMenu
*arg1
= (wxMenu
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "id", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26934 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxMenu
*arg1
= (wxMenu
*) 0 ;
26937 wxString
*arg2
= 0 ;
26938 bool temp2
= False
;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 char *kwnames
[] = {
26942 (char *) "self",(char *) "title", NULL
26945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26948 arg2
= wxString_in_helper(obj1
);
26949 if (arg2
== NULL
) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 (arg1
)->SetTitle((wxString
const &)*arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 Py_INCREF(Py_None
); resultobj
= Py_None
;
26974 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxMenu
*arg1
= (wxMenu
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= ((wxMenu
const *)arg1
)->GetTitle();
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27005 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxMenu
*arg1
= (wxMenu
*) 0 ;
27008 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self",(char *) "handler", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 (arg1
)->SetEventHandler(arg2
);
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 Py_INCREF(Py_None
); resultobj
= Py_None
;
27032 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
;
27034 wxMenu
*arg1
= (wxMenu
*) 0 ;
27035 wxEvtHandler
*result
;
27036 PyObject
* obj0
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= wxPyMake_wxObject(result
);
27059 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxMenu
*arg1
= (wxMenu
*) 0 ;
27062 wxWindow
*arg2
= (wxWindow
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "win", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 (arg1
)->SetInvokingWindow(arg2
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 Py_INCREF(Py_None
); resultobj
= Py_None
;
27086 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxMenu
*arg1
= (wxMenu
*) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
27096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= wxPyMake_wxObject(result
);
27113 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxMenu
*arg1
= (wxMenu
*) 0 ;
27117 PyObject
* obj0
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
27123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= PyInt_FromLong((long)result
);
27138 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxMenu
*arg1
= (wxMenu
*) 0 ;
27141 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "source", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 (arg1
)->UpdateUI(arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 Py_INCREF(Py_None
); resultobj
= Py_None
;
27167 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxMenu
*arg1
= (wxMenu
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 char *kwnames
[] = {
27173 (char *) "self", NULL
27176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
27177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= wxPyMake_wxObject(result
);
27194 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxMenu
*arg1
= (wxMenu
*) 0 ;
27197 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "self",(char *) "menubar", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27206 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 (arg1
)->Attach(arg2
);
27211 wxPyEndAllowThreads(__tstate
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 Py_INCREF(Py_None
); resultobj
= Py_None
;
27221 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxMenu
*arg1
= (wxMenu
*) 0 ;
27224 PyObject
* obj0
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxMenu
*arg1
= (wxMenu
*) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= PyInt_FromLong((long)result
);
27270 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
;
27272 wxMenu
*arg1
= (wxMenu
*) 0 ;
27273 wxMenu
*arg2
= (wxMenu
*) 0 ;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "parent", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 (arg1
)->SetParent(arg2
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 Py_INCREF(Py_None
); resultobj
= Py_None
;
27297 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxMenu
*arg1
= (wxMenu
*) 0 ;
27301 PyObject
* obj0
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "self", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
27307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27316 resultobj
= wxPyMake_wxObject(result
);
27324 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
27326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27327 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
27329 return Py_BuildValue((char *)"");
27331 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 long arg1
= (long) 0 ;
27335 char *kwnames
[] = {
27336 (char *) "style", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
27341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27342 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27348 resultobj
= wxPyMake_wxObject(result
);
27356 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27359 wxMenu
*arg2
= (wxMenu
*) 0 ;
27360 wxString
*arg3
= 0 ;
27362 bool temp3
= False
;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 PyObject
* obj2
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self",(char *) "menu",(char *) "title", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27374 arg3
= wxString_in_helper(obj2
);
27375 if (arg3
== NULL
) SWIG_fail
;
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= PyInt_FromLong((long)result
);
27400 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27404 wxMenu
*arg3
= (wxMenu
*) 0 ;
27405 wxString
*arg4
= 0 ;
27407 bool temp4
= False
;
27408 PyObject
* obj0
= 0 ;
27409 PyObject
* obj1
= 0 ;
27410 PyObject
* obj2
= 0 ;
27411 PyObject
* obj3
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27419 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27424 arg4
= wxString_in_helper(obj3
);
27425 if (arg4
== NULL
) SWIG_fail
;
27429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= PyInt_FromLong((long)result
);
27450 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27454 PyObject
* obj0
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
27460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
27475 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
;
27477 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27480 PyObject
* obj0
= 0 ;
27481 PyObject
* obj1
= 0 ;
27482 char *kwnames
[] = {
27483 (char *) "self",(char *) "pos", NULL
27486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27489 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27500 resultobj
= wxPyMake_wxObject(result
);
27508 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27512 wxMenu
*arg3
= (wxMenu
*) 0 ;
27513 wxString
*arg4
= 0 ;
27515 bool temp4
= False
;
27516 PyObject
* obj0
= 0 ;
27517 PyObject
* obj1
= 0 ;
27518 PyObject
* obj2
= 0 ;
27519 PyObject
* obj3
= 0 ;
27520 char *kwnames
[] = {
27521 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27527 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27532 arg4
= wxString_in_helper(obj3
);
27533 if (arg4
== NULL
) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= wxPyMake_wxObject(result
);
27560 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
;
27562 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 PyObject
* obj1
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self",(char *) "pos", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
27572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27574 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= wxPyMake_wxObject(result
);
27593 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 PyObject
* obj2
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self",(char *) "pos",(char *) "enable", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27608 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 arg3
= (bool) SPyObj_AsBool(obj2
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 (arg1
)->EnableTop(arg2
,arg3
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 Py_INCREF(Py_None
); resultobj
= Py_None
;
27629 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self",(char *) "pos", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27643 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 resultobj
= PyInt_FromLong((long)result
);
27660 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27664 wxString
*arg3
= 0 ;
27665 bool temp3
= False
;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 PyObject
* obj2
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self",(char *) "pos",(char *) "label", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27676 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27680 arg3
= wxString_in_helper(obj2
);
27681 if (arg3
== NULL
) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 Py_INCREF(Py_None
); resultobj
= Py_None
;
27706 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self",(char *) "pos", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27720 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27743 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27746 wxString
*arg2
= 0 ;
27747 wxString
*arg3
= 0 ;
27749 bool temp2
= False
;
27750 bool temp3
= False
;
27751 PyObject
* obj0
= 0 ;
27752 PyObject
* obj1
= 0 ;
27753 PyObject
* obj2
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self",(char *) "menu",(char *) "item", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27761 arg2
= wxString_in_helper(obj1
);
27762 if (arg2
== NULL
) SWIG_fail
;
27766 arg3
= wxString_in_helper(obj2
);
27767 if (arg3
== NULL
) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= PyInt_FromLong((long)result
);
27800 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27804 wxMenuItem
*result
;
27805 PyObject
* obj0
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self",(char *) "id", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= wxPyMake_wxObject(result
);
27828 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27829 PyObject
*resultobj
;
27830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27831 wxString
*arg2
= 0 ;
27833 bool temp2
= False
;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self",(char *) "title", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27843 arg2
= wxString_in_helper(obj1
);
27844 if (arg2
== NULL
) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= PyInt_FromLong((long)result
);
27869 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj2
= 0 ;
27876 char *kwnames
[] = {
27877 (char *) "self",(char *) "id",(char *) "enable", NULL
27880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27883 arg3
= (bool) SPyObj_AsBool(obj2
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->Enable(arg2
,arg3
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 PyObject
* obj2
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self",(char *) "id",(char *) "check", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27914 arg3
= (bool) SPyObj_AsBool(obj2
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 (arg1
)->Check(arg2
,arg3
);
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 Py_INCREF(Py_None
); resultobj
= Py_None
;
27931 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "id", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= PyInt_FromLong((long)result
);
27957 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
;
27959 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27962 PyObject
* obj0
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self",(char *) "id", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= PyInt_FromLong((long)result
);
27983 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
;
27985 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27987 wxString
*arg3
= 0 ;
27988 bool temp3
= False
;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj2
= 0 ;
27991 char *kwnames
[] = {
27992 (char *) "self",(char *) "id",(char *) "label", NULL
27995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27998 arg3
= wxString_in_helper(obj2
);
27999 if (arg3
== NULL
) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 Py_INCREF(Py_None
); resultobj
= Py_None
;
28024 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self",(char *) "id", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
28035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28056 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
28060 wxString
*arg3
= 0 ;
28061 bool temp3
= False
;
28062 PyObject
* obj0
= 0 ;
28063 PyObject
* obj2
= 0 ;
28064 char *kwnames
[] = {
28065 (char *) "self",(char *) "id",(char *) "helpString", NULL
28068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
28069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28071 arg3
= wxString_in_helper(obj2
);
28072 if (arg3
== NULL
) SWIG_fail
;
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 Py_INCREF(Py_None
); resultobj
= Py_None
;
28097 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28098 PyObject
*resultobj
;
28099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self",(char *) "id", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28129 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
;
28131 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
28133 PyObject
* obj0
= 0 ;
28134 char *kwnames
[] = {
28135 (char *) "self", NULL
28138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
28139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= wxPyMake_wxObject(result
);
28156 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
28160 PyObject
* obj0
= 0 ;
28161 char *kwnames
[] = {
28162 (char *) "self", NULL
28165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
28166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= PyInt_FromLong((long)result
);
28181 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
28184 wxFrame
*arg2
= (wxFrame
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "self",(char *) "frame", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
28192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 (arg1
)->Attach(arg2
);
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 Py_INCREF(Py_None
); resultobj
= Py_None
;
28208 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28225 Py_INCREF(Py_None
); resultobj
= Py_None
;
28232 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
28234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28235 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
28237 return Py_BuildValue((char *)"");
28239 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxMenu
*arg1
= (wxMenu
*) NULL
;
28242 int arg2
= (int) wxID_SEPARATOR
;
28243 wxString
const &arg3_defvalue
= wxPyEmptyString
;
28244 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28245 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28246 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28247 int arg5
= (int) wxITEM_NORMAL
;
28248 wxMenu
*arg6
= (wxMenu
*) NULL
;
28249 wxMenuItem
*result
;
28250 bool temp3
= False
;
28251 bool temp4
= False
;
28252 PyObject
* obj0
= 0 ;
28253 PyObject
* obj2
= 0 ;
28254 PyObject
* obj3
= 0 ;
28255 PyObject
* obj5
= 0 ;
28256 char *kwnames
[] = {
28257 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
28260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28266 arg3
= wxString_in_helper(obj2
);
28267 if (arg3
== NULL
) SWIG_fail
;
28273 arg4
= wxString_in_helper(obj3
);
28274 if (arg4
== NULL
) SWIG_fail
;
28279 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= wxPyMake_wxObject(result
);
28313 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28314 PyObject
*resultobj
;
28315 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28317 PyObject
* obj0
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
28323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28332 resultobj
= wxPyMake_wxObject(result
);
28340 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
;
28342 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28343 wxMenu
*arg2
= (wxMenu
*) 0 ;
28344 PyObject
* obj0
= 0 ;
28345 PyObject
* obj1
= 0 ;
28346 char *kwnames
[] = {
28347 (char *) "self",(char *) "menu", NULL
28350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
28351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28352 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 (arg1
)->SetMenu(arg2
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "id", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 (arg1
)->SetId(arg2
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 Py_INCREF(Py_None
); resultobj
= Py_None
;
28392 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 char *kwnames
[] = {
28398 (char *) "self", NULL
28401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
28402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= PyInt_FromLong((long)result
);
28417 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28418 PyObject
*resultobj
;
28419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28421 PyObject
* obj0
= 0 ;
28422 char *kwnames
[] = {
28423 (char *) "self", NULL
28426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
28427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= PyInt_FromLong((long)result
);
28442 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28445 wxString
*arg2
= 0 ;
28446 bool temp2
= False
;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self",(char *) "str", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28456 arg2
= wxString_in_helper(obj1
);
28457 if (arg2
== NULL
) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 (arg1
)->SetText((wxString
const &)*arg2
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 Py_INCREF(Py_None
); resultobj
= Py_None
;
28482 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28486 PyObject
* obj0
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28513 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
;
28515 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28517 PyObject
* obj0
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "self", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
28523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
28528 result
= (wxString
*) &_result_ref
;
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28538 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28547 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxString
*arg1
= 0 ;
28551 bool temp1
= False
;
28552 PyObject
* obj0
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "text", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
28559 arg1
= wxString_in_helper(obj0
);
28560 if (arg1
== NULL
) SWIG_fail
;
28564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28591 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28595 PyObject
* obj0
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "self", NULL
28600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
28601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= PyInt_FromLong((long)result
);
28616 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
;
28618 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28620 PyObject
* obj0
= 0 ;
28621 PyObject
* obj1
= 0 ;
28622 char *kwnames
[] = {
28623 (char *) "self",(char *) "checkable", NULL
28626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
28627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28629 arg2
= (bool) SPyObj_AsBool(obj1
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 (arg1
)->SetCheckable(arg2
);
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28639 Py_INCREF(Py_None
); resultobj
= Py_None
;
28646 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28647 PyObject
*resultobj
;
28648 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28650 PyObject
* obj0
= 0 ;
28651 char *kwnames
[] = {
28652 (char *) "self", NULL
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
28656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= PyInt_FromLong((long)result
);
28671 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
;
28673 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28675 PyObject
* obj0
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
28681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= PyInt_FromLong((long)result
);
28696 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28699 wxMenu
*arg2
= (wxMenu
*) 0 ;
28700 PyObject
* obj0
= 0 ;
28701 PyObject
* obj1
= 0 ;
28702 char *kwnames
[] = {
28703 (char *) "self",(char *) "menu", NULL
28706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
28707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 (arg1
)->SetSubMenu(arg2
);
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 Py_INCREF(Py_None
); resultobj
= Py_None
;
28723 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28727 PyObject
* obj0
= 0 ;
28728 char *kwnames
[] = {
28729 (char *) "self", NULL
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
28733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= wxPyMake_wxObject(result
);
28750 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28753 bool arg2
= (bool) True
;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self",(char *) "enable", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28764 arg2
= (bool) SPyObj_AsBool(obj1
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 (arg1
)->Enable(arg2
);
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28775 Py_INCREF(Py_None
); resultobj
= Py_None
;
28782 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28783 PyObject
*resultobj
;
28784 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28786 PyObject
* obj0
= 0 ;
28787 char *kwnames
[] = {
28788 (char *) "self", NULL
28791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
28792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
28797 wxPyEndAllowThreads(__tstate
);
28798 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= PyInt_FromLong((long)result
);
28807 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28808 PyObject
*resultobj
;
28809 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28810 bool arg2
= (bool) True
;
28811 PyObject
* obj0
= 0 ;
28812 PyObject
* obj1
= 0 ;
28813 char *kwnames
[] = {
28814 (char *) "self",(char *) "check", NULL
28817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
28818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28821 arg2
= (bool) SPyObj_AsBool(obj1
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28827 (arg1
)->Check(arg2
);
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28832 Py_INCREF(Py_None
); resultobj
= Py_None
;
28839 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28840 PyObject
*resultobj
;
28841 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28843 PyObject
* obj0
= 0 ;
28844 char *kwnames
[] = {
28845 (char *) "self", NULL
28848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= PyInt_FromLong((long)result
);
28864 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
;
28866 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28867 PyObject
* obj0
= 0 ;
28868 char *kwnames
[] = {
28869 (char *) "self", NULL
28872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 Py_INCREF(Py_None
); resultobj
= Py_None
;
28888 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
;
28890 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28891 wxString
*arg2
= 0 ;
28892 bool temp2
= False
;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self",(char *) "str", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28902 arg2
= wxString_in_helper(obj1
);
28903 if (arg2
== NULL
) SWIG_fail
;
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 (arg1
)->SetHelp((wxString
const &)*arg2
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 Py_INCREF(Py_None
); resultobj
= Py_None
;
28928 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28929 PyObject
*resultobj
;
28930 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28932 PyObject
* obj0
= 0 ;
28933 char *kwnames
[] = {
28934 (char *) "self", NULL
28937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28943 result
= (wxString
*) &_result_ref
;
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28953 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28962 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28965 wxAcceleratorEntry
*result
;
28966 PyObject
* obj0
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28987 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28990 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self",(char *) "accel", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 (arg1
)->SetAccel(arg2
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29007 Py_INCREF(Py_None
); resultobj
= Py_None
;
29014 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29015 PyObject
*resultobj
;
29017 char *kwnames
[] = {
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 result
= (int)MenuItem_GetDefaultMarginWidth();
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 resultobj
= PyInt_FromLong((long)result
);
29036 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
29039 wxBitmap
*arg2
= 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self",(char *) "bitmap", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29049 if (arg2
== NULL
) {
29050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 Py_INCREF(Py_None
); resultobj
= Py_None
;
29066 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
;
29068 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "self", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
29076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
29081 result
= (wxBitmap
*) &_result_ref
;
29084 wxPyEndAllowThreads(__tstate
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
29094 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
29096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29097 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
29099 return Py_BuildValue((char *)"");
29101 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
29102 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
29107 static PyObject
*_wrap_ControlNameStr_get() {
29112 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
29114 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
29121 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
;
29123 wxWindow
*arg1
= (wxWindow
*) 0 ;
29125 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29126 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29127 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29128 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29129 long arg5
= (long) 0 ;
29130 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29131 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29132 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29137 bool temp7
= False
;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj2
= 0 ;
29140 PyObject
* obj3
= 0 ;
29141 PyObject
* obj5
= 0 ;
29142 PyObject
* obj6
= 0 ;
29143 char *kwnames
[] = {
29144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
29148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29158 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29162 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29163 if (arg6
== NULL
) {
29164 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29169 arg7
= wxString_in_helper(obj6
);
29170 if (arg7
== NULL
) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= wxPyMake_wxObject(result
);
29198 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29201 char *kwnames
[] = {
29205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (wxControl
*)new wxControl();
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29214 resultobj
= wxPyMake_wxObject(result
);
29222 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
;
29224 wxControl
*arg1
= (wxControl
*) 0 ;
29225 wxWindow
*arg2
= (wxWindow
*) 0 ;
29227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29231 long arg6
= (long) 0 ;
29232 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29233 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29234 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
29235 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29239 bool temp8
= False
;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 PyObject
* obj3
= 0 ;
29243 PyObject
* obj4
= 0 ;
29244 PyObject
* obj6
= 0 ;
29245 PyObject
* obj7
= 0 ;
29246 char *kwnames
[] = {
29247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
29251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29266 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29267 if (arg7
== NULL
) {
29268 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29273 arg8
= wxString_in_helper(obj7
);
29274 if (arg8
== NULL
) SWIG_fail
;
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29282 wxPyEndAllowThreads(__tstate
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29285 resultobj
= PyInt_FromLong((long)result
);
29300 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29301 PyObject
*resultobj
;
29302 wxControl
*arg1
= (wxControl
*) 0 ;
29303 wxCommandEvent
*arg2
= 0 ;
29304 PyObject
* obj0
= 0 ;
29305 PyObject
* obj1
= 0 ;
29306 char *kwnames
[] = {
29307 (char *) "self",(char *) "event", NULL
29310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
29311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29313 if (arg2
== NULL
) {
29314 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 (arg1
)->Command(*arg2
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 Py_INCREF(Py_None
); resultobj
= Py_None
;
29330 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
;
29332 wxControl
*arg1
= (wxControl
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 char *kwnames
[] = {
29336 (char *) "self", NULL
29339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
29340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (arg1
)->GetLabel();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29361 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxControl
*arg1
= (wxControl
*) 0 ;
29364 wxString
*arg2
= 0 ;
29365 bool temp2
= False
;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self",(char *) "label", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29375 arg2
= wxString_in_helper(obj1
);
29376 if (arg2
== NULL
) SWIG_fail
;
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 (arg1
)->SetLabel((wxString
const &)*arg2
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 Py_INCREF(Py_None
); resultobj
= Py_None
;
29401 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
29403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29404 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
29406 return Py_BuildValue((char *)"");
29408 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
;
29410 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29411 wxString
*arg2
= 0 ;
29412 PyObject
*arg3
= (PyObject
*) NULL
;
29414 bool temp2
= False
;
29415 PyObject
* obj0
= 0 ;
29416 PyObject
* obj1
= 0 ;
29417 PyObject
* obj2
= 0 ;
29418 char *kwnames
[] = {
29419 (char *) "self",(char *) "item",(char *) "clientData", NULL
29422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29425 arg2
= wxString_in_helper(obj1
);
29426 if (arg2
== NULL
) SWIG_fail
;
29433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29434 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
29436 wxPyEndAllowThreads(__tstate
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29439 resultobj
= PyInt_FromLong((long)result
);
29454 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29457 wxArrayString
*arg2
= 0 ;
29458 PyObject
* obj0
= 0 ;
29459 PyObject
* obj1
= 0 ;
29460 char *kwnames
[] = {
29461 (char *) "self",(char *) "strings", NULL
29464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
29465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29467 if (! PySequence_Check(obj1
)) {
29468 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
29471 arg2
= new wxArrayString
;
29472 int i
, len
=PySequence_Length(obj1
);
29473 for (i
=0; i
<len
; i
++) {
29474 PyObject
* item
= PySequence_GetItem(obj1
, i
);
29476 PyObject
* str
= PyObject_Unicode(item
);
29478 PyObject
* str
= PyObject_Str(item
);
29480 arg2
->Add(Py2wxString(str
));
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 (arg1
)->Append((wxArrayString
const &)*arg2
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 Py_INCREF(Py_None
); resultobj
= Py_None
;
29494 if (arg2
) delete arg2
;
29499 if (arg2
) delete arg2
;
29505 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29508 wxString
*arg2
= 0 ;
29510 PyObject
*arg4
= (PyObject
*) NULL
;
29512 bool temp2
= False
;
29513 PyObject
* obj0
= 0 ;
29514 PyObject
* obj1
= 0 ;
29515 PyObject
* obj3
= 0 ;
29516 char *kwnames
[] = {
29517 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
29521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29523 arg2
= wxString_in_helper(obj1
);
29524 if (arg2
== NULL
) SWIG_fail
;
29531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29532 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
29534 wxPyEndAllowThreads(__tstate
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= PyInt_FromLong((long)result
);
29552 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
;
29554 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29555 PyObject
* obj0
= 0 ;
29556 char *kwnames
[] = {
29557 (char *) "self", NULL
29560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
29561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 Py_INCREF(Py_None
); resultobj
= Py_None
;
29576 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29580 PyObject
* obj0
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self",(char *) "n", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
29586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 (arg1
)->Delete(arg2
);
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29594 Py_INCREF(Py_None
); resultobj
= Py_None
;
29601 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29602 PyObject
*resultobj
;
29603 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29605 PyObject
* obj0
= 0 ;
29606 char *kwnames
[] = {
29607 (char *) "self", NULL
29610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
29611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= PyInt_FromLong((long)result
);
29626 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
;
29628 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29630 PyObject
* obj0
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29644 resultobj
= PyInt_FromLong((long)result
);
29651 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29656 PyObject
* obj0
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "self",(char *) "n", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29683 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29686 wxArrayString result
;
29687 PyObject
* obj0
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= wxArrayString2PyList_helper(result
);
29710 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
;
29712 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29714 wxString
*arg3
= 0 ;
29715 bool temp3
= False
;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj2
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self",(char *) "n",(char *) "s", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29725 arg3
= wxString_in_helper(obj2
);
29726 if (arg3
== NULL
) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 Py_INCREF(Py_None
); resultobj
= Py_None
;
29751 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
;
29753 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29754 wxString
*arg2
= 0 ;
29756 bool temp2
= False
;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "self",(char *) "s", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29766 arg2
= wxString_in_helper(obj1
);
29767 if (arg2
== NULL
) SWIG_fail
;
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 resultobj
= PyInt_FromLong((long)result
);
29792 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29796 PyObject
* obj0
= 0 ;
29797 char *kwnames
[] = {
29798 (char *) "self",(char *) "n", NULL
29801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 (arg1
)->Select(arg2
);
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29810 Py_INCREF(Py_None
); resultobj
= Py_None
;
29817 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29821 PyObject
* obj0
= 0 ;
29822 char *kwnames
[] = {
29823 (char *) "self", NULL
29826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= PyInt_FromLong((long)result
);
29842 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
;
29844 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29846 PyObject
* obj0
= 0 ;
29847 char *kwnames
[] = {
29848 (char *) "self", NULL
29851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29873 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
;
29875 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29878 PyObject
* obj0
= 0 ;
29879 char *kwnames
[] = {
29880 (char *) "self",(char *) "n", NULL
29883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= result
;
29899 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
;
29901 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29903 PyObject
*arg3
= (PyObject
*) 0 ;
29904 PyObject
* obj0
= 0 ;
29905 PyObject
* obj2
= 0 ;
29906 char *kwnames
[] = {
29907 (char *) "self",(char *) "n",(char *) "clientData", NULL
29910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29920 Py_INCREF(Py_None
); resultobj
= Py_None
;
29927 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29930 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29932 return Py_BuildValue((char *)"");
29934 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29937 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29939 return Py_BuildValue((char *)"");
29941 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxSizerItem
*result
;
29944 char *kwnames
[] = {
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (wxSizerItem
*)new wxSizerItem();
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29963 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
;
29970 wxObject
*arg6
= (wxObject
*) 0 ;
29971 wxSizerItem
*result
;
29972 PyObject
* obj5
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29993 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
;
29995 wxWindow
*arg1
= (wxWindow
*) 0 ;
29999 wxObject
*arg5
= (wxObject
*) 0 ;
30000 wxSizerItem
*result
;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj4
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
30008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30009 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
30024 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxSizer
*arg1
= (wxSizer
*) 0 ;
30030 wxObject
*arg5
= (wxObject
*) 0 ;
30031 wxSizerItem
*result
;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj4
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30040 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30043 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
30055 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 char *kwnames
[] = {
30060 (char *) "self", NULL
30063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
30064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 (arg1
)->DeleteWindows();
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 Py_INCREF(Py_None
); resultobj
= Py_None
;
30079 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30082 PyObject
* obj0
= 0 ;
30083 char *kwnames
[] = {
30084 (char *) "self", NULL
30087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
30088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30091 (arg1
)->DetachSizer();
30093 wxPyEndAllowThreads(__tstate
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30096 Py_INCREF(Py_None
); resultobj
= Py_None
;
30103 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30104 PyObject
*resultobj
;
30105 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30107 PyObject
* obj0
= 0 ;
30108 char *kwnames
[] = {
30109 (char *) "self", NULL
30112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
30113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (arg1
)->GetSize();
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30122 wxSize
* resultptr
;
30123 resultptr
= new wxSize((wxSize
&) result
);
30124 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30132 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
;
30134 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30136 PyObject
* obj0
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
30142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30145 result
= (arg1
)->CalcMin();
30147 wxPyEndAllowThreads(__tstate
);
30148 if (PyErr_Occurred()) SWIG_fail
;
30151 wxSize
* resultptr
;
30152 resultptr
= new wxSize((wxSize
&) result
);
30153 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30161 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30162 PyObject
*resultobj
;
30163 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 PyObject
* obj2
= 0 ;
30171 char *kwnames
[] = {
30172 (char *) "self",(char *) "pos",(char *) "size", NULL
30175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30177 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30179 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30183 (arg1
)->SetDimension(arg2
,arg3
);
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 Py_INCREF(Py_None
); resultobj
= Py_None
;
30195 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
;
30197 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30199 PyObject
* obj0
= 0 ;
30200 char *kwnames
[] = {
30201 (char *) "self", NULL
30204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
30205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (arg1
)->GetMinSize();
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30214 wxSize
* resultptr
;
30215 resultptr
= new wxSize((wxSize
&) result
);
30216 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30224 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
;
30226 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30229 PyObject
* obj0
= 0 ;
30230 char *kwnames
[] = {
30231 (char *) "self",(char *) "x",(char *) "y", NULL
30234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
30235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 (arg1
)->SetInitSize(arg2
,arg3
);
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30243 Py_INCREF(Py_None
); resultobj
= Py_None
;
30250 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30251 PyObject
*resultobj
;
30252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30255 PyObject
* obj0
= 0 ;
30256 char *kwnames
[] = {
30257 (char *) "self",(char *) "width",(char *) "height", NULL
30260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
30261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 (arg1
)->SetRatio(arg2
,arg3
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 Py_INCREF(Py_None
); resultobj
= Py_None
;
30276 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
;
30278 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self",(char *) "size", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30289 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->SetRatio(arg2
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 Py_INCREF(Py_None
); resultobj
= Py_None
;
30305 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30309 PyObject
* obj0
= 0 ;
30310 char *kwnames
[] = {
30311 (char *) "self",(char *) "ratio", NULL
30314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
30315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 (arg1
)->SetRatio(arg2
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 Py_INCREF(Py_None
); resultobj
= Py_None
;
30330 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30334 PyObject
* obj0
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
30340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 result
= (float)(arg1
)->GetRatio();
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30348 resultobj
= PyFloat_FromDouble(result
);
30355 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30356 PyObject
*resultobj
;
30357 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30359 PyObject
* obj0
= 0 ;
30360 char *kwnames
[] = {
30361 (char *) "self", NULL
30364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
30365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 result
= (bool)(arg1
)->IsWindow();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= PyInt_FromLong((long)result
);
30380 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
;
30382 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30384 PyObject
* obj0
= 0 ;
30385 char *kwnames
[] = {
30386 (char *) "self", NULL
30389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
30390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 result
= (bool)(arg1
)->IsSizer();
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30398 resultobj
= PyInt_FromLong((long)result
);
30405 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30406 PyObject
*resultobj
;
30407 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 char *kwnames
[] = {
30411 (char *) "self", NULL
30414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
30415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 result
= (bool)(arg1
)->IsSpacer();
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= PyInt_FromLong((long)result
);
30430 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30434 PyObject
* obj0
= 0 ;
30435 char *kwnames
[] = {
30436 (char *) "self",(char *) "proportion", NULL
30439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
30440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 (arg1
)->SetProportion(arg2
);
30445 wxPyEndAllowThreads(__tstate
);
30446 if (PyErr_Occurred()) SWIG_fail
;
30448 Py_INCREF(Py_None
); resultobj
= Py_None
;
30455 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
;
30457 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30459 PyObject
* obj0
= 0 ;
30460 char *kwnames
[] = {
30461 (char *) "self", NULL
30464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
30465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 result
= (int)(arg1
)->GetProportion();
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= PyInt_FromLong((long)result
);
30480 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
;
30482 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30484 PyObject
* obj0
= 0 ;
30485 char *kwnames
[] = {
30486 (char *) "self",(char *) "flag", NULL
30489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
30490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 (arg1
)->SetFlag(arg2
);
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 Py_INCREF(Py_None
); resultobj
= Py_None
;
30505 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
;
30507 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30509 PyObject
* obj0
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
30515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 result
= (int)(arg1
)->GetFlag();
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 resultobj
= PyInt_FromLong((long)result
);
30530 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30534 PyObject
* obj0
= 0 ;
30535 char *kwnames
[] = {
30536 (char *) "self",(char *) "border", NULL
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
30540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 (arg1
)->SetBorder(arg2
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 Py_INCREF(Py_None
); resultobj
= Py_None
;
30555 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
;
30557 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30559 PyObject
* obj0
= 0 ;
30560 char *kwnames
[] = {
30561 (char *) "self", NULL
30564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
30565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (int)(arg1
)->GetBorder();
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 resultobj
= PyInt_FromLong((long)result
);
30580 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 char *kwnames
[] = {
30586 (char *) "self", NULL
30589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
30590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= (wxWindow
*)(arg1
)->GetWindow();
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= wxPyMake_wxObject(result
);
30607 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30608 PyObject
*resultobj
;
30609 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30610 wxWindow
*arg2
= (wxWindow
*) 0 ;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self",(char *) "window", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 (arg1
)->SetWindow(arg2
);
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 Py_INCREF(Py_None
); resultobj
= Py_None
;
30634 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 result
= (wxSizer
*)(arg1
)->GetSizer();
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= wxPyMake_wxSizer(result
);
30661 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30664 wxSizer
*arg2
= (wxSizer
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 PyObject
* obj1
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self",(char *) "sizer", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30673 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 (arg1
)->SetSizer(arg2
);
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 Py_INCREF(Py_None
); resultobj
= Py_None
;
30688 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
;
30690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30692 PyObject
* obj0
= 0 ;
30693 char *kwnames
[] = {
30694 (char *) "self", NULL
30697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30702 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30703 result
= (wxSize
*) &_result_ref
;
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30716 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
;
30718 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self",(char *) "size", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30731 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30740 Py_INCREF(Py_None
); resultobj
= Py_None
;
30747 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
;
30749 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30751 PyObject
* obj0
= 0 ;
30752 PyObject
* obj1
= 0 ;
30753 char *kwnames
[] = {
30754 (char *) "self",(char *) "show", NULL
30757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30760 arg2
= (bool) SPyObj_AsBool(obj1
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 (arg1
)->Show(arg2
);
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 Py_INCREF(Py_None
); resultobj
= Py_None
;
30777 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
;
30779 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30781 PyObject
* obj0
= 0 ;
30782 char *kwnames
[] = {
30783 (char *) "self", NULL
30786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 result
= (bool)(arg1
)->IsShown();
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30795 resultobj
= PyInt_FromLong((long)result
);
30802 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
;
30804 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30806 PyObject
* obj0
= 0 ;
30807 char *kwnames
[] = {
30808 (char *) "self", NULL
30811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
30812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 result
= (arg1
)->GetPosition();
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 wxPoint
* resultptr
;
30822 resultptr
= new wxPoint((wxPoint
&) result
);
30823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30831 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30835 PyObject
* obj0
= 0 ;
30836 char *kwnames
[] = {
30837 (char *) "self", NULL
30840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30844 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30846 wxPyEndAllowThreads(__tstate
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= result
;
30856 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30859 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30861 return Py_BuildValue((char *)"");
30863 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30864 PyObject
*resultobj
;
30865 wxSizer
*arg1
= (wxSizer
*) 0 ;
30866 PyObject
*arg2
= (PyObject
*) 0 ;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 char *kwnames
[] = {
30870 (char *) "self",(char *) "_self", NULL
30873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 wxSizer__setOORInfo(arg1
,arg2
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 Py_INCREF(Py_None
); resultobj
= Py_None
;
30890 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30891 PyObject
*resultobj
;
30892 wxSizer
*arg1
= (wxSizer
*) 0 ;
30893 PyObject
*arg2
= (PyObject
*) 0 ;
30894 int arg3
= (int) 0 ;
30895 int arg4
= (int) 0 ;
30896 int arg5
= (int) 0 ;
30897 PyObject
*arg6
= (PyObject
*) NULL
;
30898 PyObject
* obj0
= 0 ;
30899 PyObject
* obj1
= 0 ;
30900 PyObject
* obj5
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30918 Py_INCREF(Py_None
); resultobj
= Py_None
;
30925 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30926 PyObject
*resultobj
;
30927 wxSizer
*arg1
= (wxSizer
*) 0 ;
30929 PyObject
*arg3
= (PyObject
*) 0 ;
30930 int arg4
= (int) 0 ;
30931 int arg5
= (int) 0 ;
30932 int arg6
= (int) 0 ;
30933 PyObject
*arg7
= (PyObject
*) NULL
;
30934 PyObject
* obj0
= 0 ;
30935 PyObject
* obj2
= 0 ;
30936 PyObject
* obj6
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 Py_INCREF(Py_None
); resultobj
= Py_None
;
30961 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
;
30963 wxSizer
*arg1
= (wxSizer
*) 0 ;
30964 PyObject
*arg2
= (PyObject
*) 0 ;
30965 int arg3
= (int) 0 ;
30966 int arg4
= (int) 0 ;
30967 int arg5
= (int) 0 ;
30968 PyObject
*arg6
= (PyObject
*) NULL
;
30969 PyObject
* obj0
= 0 ;
30970 PyObject
* obj1
= 0 ;
30971 PyObject
* obj5
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30984 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30986 wxPyEndAllowThreads(__tstate
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30989 Py_INCREF(Py_None
); resultobj
= Py_None
;
30996 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
;
30998 wxSizer
*arg1
= (wxSizer
*) 0 ;
30999 PyObject
*arg2
= (PyObject
*) 0 ;
31001 PyObject
* obj0
= 0 ;
31002 PyObject
* obj1
= 0 ;
31003 char *kwnames
[] = {
31004 (char *) "self",(char *) "item", NULL
31007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 result
= (bool)wxSizer_Remove(arg1
,arg2
);
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= PyInt_FromLong((long)result
);
31024 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxSizer
*arg1
= (wxSizer
*) 0 ;
31027 PyObject
*arg2
= (PyObject
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 PyObject
* obj2
= 0 ;
31033 char *kwnames
[] = {
31034 (char *) "self",(char *) "item",(char *) "size", NULL
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31042 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 Py_INCREF(Py_None
); resultobj
= Py_None
;
31058 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
;
31060 wxSizer
*arg1
= (wxSizer
*) 0 ;
31061 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 char *kwnames
[] = {
31065 (char *) "self",(char *) "item", NULL
31068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 wxPyEndAllowThreads(__tstate
);
31076 if (PyErr_Occurred()) SWIG_fail
;
31078 Py_INCREF(Py_None
); resultobj
= Py_None
;
31085 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31086 PyObject
*resultobj
;
31087 wxSizer
*arg1
= (wxSizer
*) 0 ;
31089 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "index",(char *) "item", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31100 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 (arg1
)->Insert(arg2
,arg3
);
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 Py_INCREF(Py_None
); resultobj
= Py_None
;
31118 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxSizer
*arg1
= (wxSizer
*) 0 ;
31121 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
31122 PyObject
* obj0
= 0 ;
31123 PyObject
* obj1
= 0 ;
31124 char *kwnames
[] = {
31125 (char *) "self",(char *) "item", NULL
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 (arg1
)->Prepend(arg2
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 Py_INCREF(Py_None
); resultobj
= Py_None
;
31145 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxSizer
*arg1
= (wxSizer
*) 0 ;
31152 PyObject
* obj0
= 0 ;
31153 char *kwnames
[] = {
31154 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
31157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
31158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 Py_INCREF(Py_None
); resultobj
= Py_None
;
31173 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
;
31175 wxSizer
*arg1
= (wxSizer
*) 0 ;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 char *kwnames
[] = {
31181 (char *) "self",(char *) "size", NULL
31184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
31185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31188 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 Py_INCREF(Py_None
); resultobj
= Py_None
;
31204 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
;
31206 wxSizer
*arg1
= (wxSizer
*) 0 ;
31208 PyObject
* obj0
= 0 ;
31209 char *kwnames
[] = {
31210 (char *) "self", NULL
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
31214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= (arg1
)->GetSize();
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31223 wxSize
* resultptr
;
31224 resultptr
= new wxSize((wxSize
&) result
);
31225 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31233 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31235 wxSizer
*arg1
= (wxSizer
*) 0 ;
31237 PyObject
* obj0
= 0 ;
31238 char *kwnames
[] = {
31239 (char *) "self", NULL
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
31243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 result
= (arg1
)->GetPosition();
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31252 wxPoint
* resultptr
;
31253 resultptr
= new wxPoint((wxPoint
&) result
);
31254 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
31262 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxSizer
*arg1
= (wxSizer
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 char *kwnames
[] = {
31268 (char *) "self", NULL
31271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
31272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 result
= (arg1
)->GetMinSize();
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31281 wxSize
* resultptr
;
31282 resultptr
= new wxSize((wxSize
&) result
);
31283 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31291 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31292 PyObject
*resultobj
;
31293 wxSizer
*arg1
= (wxSizer
*) 0 ;
31294 PyObject
* obj0
= 0 ;
31295 char *kwnames
[] = {
31296 (char *) "self", NULL
31299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 (arg1
)->RecalcSizes();
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31308 Py_INCREF(Py_None
); resultobj
= Py_None
;
31315 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31316 PyObject
*resultobj
;
31317 wxSizer
*arg1
= (wxSizer
*) 0 ;
31319 PyObject
* obj0
= 0 ;
31320 char *kwnames
[] = {
31321 (char *) "self", NULL
31324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (arg1
)->CalcMin();
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31334 wxSize
* resultptr
;
31335 resultptr
= new wxSize((wxSize
&) result
);
31336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31344 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
;
31346 wxSizer
*arg1
= (wxSizer
*) 0 ;
31347 PyObject
* obj0
= 0 ;
31348 char *kwnames
[] = {
31349 (char *) "self", NULL
31352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
31353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 Py_INCREF(Py_None
); resultobj
= Py_None
;
31368 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
;
31370 wxSizer
*arg1
= (wxSizer
*) 0 ;
31371 wxWindow
*arg2
= (wxWindow
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 PyObject
* obj1
= 0 ;
31375 char *kwnames
[] = {
31376 (char *) "self",(char *) "window", NULL
31379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
31380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (arg1
)->Fit(arg2
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31390 wxSize
* resultptr
;
31391 resultptr
= new wxSize((wxSize
&) result
);
31392 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31400 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxSizer
*arg1
= (wxSizer
*) 0 ;
31403 wxWindow
*arg2
= (wxWindow
*) 0 ;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 char *kwnames
[] = {
31407 (char *) "self",(char *) "window", NULL
31410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
31411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 (arg1
)->FitInside(arg2
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 Py_INCREF(Py_None
); resultobj
= Py_None
;
31427 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
;
31429 wxSizer
*arg1
= (wxSizer
*) 0 ;
31430 wxWindow
*arg2
= (wxWindow
*) 0 ;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 char *kwnames
[] = {
31434 (char *) "self",(char *) "window", NULL
31437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 (arg1
)->SetSizeHints(arg2
);
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31447 Py_INCREF(Py_None
); resultobj
= Py_None
;
31454 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
;
31456 wxSizer
*arg1
= (wxSizer
*) 0 ;
31457 wxWindow
*arg2
= (wxWindow
*) 0 ;
31458 PyObject
* obj0
= 0 ;
31459 PyObject
* obj1
= 0 ;
31460 char *kwnames
[] = {
31461 (char *) "self",(char *) "window", NULL
31464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 (arg1
)->SetVirtualSizeHints(arg2
);
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 Py_INCREF(Py_None
); resultobj
= Py_None
;
31481 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
;
31483 wxSizer
*arg1
= (wxSizer
*) 0 ;
31484 bool arg2
= (bool) False
;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self",(char *) "delete_windows", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31495 arg2
= (bool) SPyObj_AsBool(obj1
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31501 (arg1
)->Clear(arg2
);
31503 wxPyEndAllowThreads(__tstate
);
31504 if (PyErr_Occurred()) SWIG_fail
;
31506 Py_INCREF(Py_None
); resultobj
= Py_None
;
31513 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
;
31515 wxSizer
*arg1
= (wxSizer
*) 0 ;
31516 PyObject
* obj0
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 (arg1
)->DeleteWindows();
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31530 Py_INCREF(Py_None
); resultobj
= Py_None
;
31537 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
;
31539 wxSizer
*arg1
= (wxSizer
*) 0 ;
31541 PyObject
* obj0
= 0 ;
31542 char *kwnames
[] = {
31543 (char *) "self", NULL
31546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
31547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31555 resultobj
= result
;
31562 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
;
31564 wxSizer
*arg1
= (wxSizer
*) 0 ;
31565 PyObject
*arg2
= (PyObject
*) 0 ;
31566 bool arg3
= (bool) True
;
31567 PyObject
* obj0
= 0 ;
31568 PyObject
* obj1
= 0 ;
31569 PyObject
* obj2
= 0 ;
31570 char *kwnames
[] = {
31571 (char *) "self",(char *) "item",(char *) "show", NULL
31574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31579 arg3
= (bool) SPyObj_AsBool(obj2
);
31580 if (PyErr_Occurred()) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 wxSizer_Show(arg1
,arg2
,arg3
);
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31590 Py_INCREF(Py_None
); resultobj
= Py_None
;
31597 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxSizer
*arg1
= (wxSizer
*) 0 ;
31600 PyObject
*arg2
= (PyObject
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self",(char *) "item", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
31608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 wxSizer_Hide(arg1
,arg2
);
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31617 Py_INCREF(Py_None
); resultobj
= Py_None
;
31624 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
;
31626 wxSizer
*arg1
= (wxSizer
*) 0 ;
31627 PyObject
*arg2
= (PyObject
*) 0 ;
31629 PyObject
* obj0
= 0 ;
31630 PyObject
* obj1
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self",(char *) "item", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31642 wxPyEndAllowThreads(__tstate
);
31643 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= PyInt_FromLong((long)result
);
31652 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
;
31654 wxSizer
*arg1
= (wxSizer
*) 0 ;
31656 PyObject
* obj0
= 0 ;
31657 PyObject
* obj1
= 0 ;
31658 char *kwnames
[] = {
31659 (char *) "self",(char *) "show", NULL
31662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31665 arg2
= (bool) SPyObj_AsBool(obj1
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 (arg1
)->ShowItems(arg2
);
31672 wxPyEndAllowThreads(__tstate
);
31673 if (PyErr_Occurred()) SWIG_fail
;
31675 Py_INCREF(Py_None
); resultobj
= Py_None
;
31682 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31685 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31687 return Py_BuildValue((char *)"");
31689 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
;
31692 char *kwnames
[] = {
31696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= (wxPySizer
*)new wxPySizer();
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31711 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
;
31713 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31714 PyObject
*arg2
= (PyObject
*) 0 ;
31715 PyObject
*arg3
= (PyObject
*) 0 ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 PyObject
* obj2
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self",(char *) "self",(char *) "_class", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 Py_INCREF(Py_None
); resultobj
= Py_None
;
31741 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31744 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31746 return Py_BuildValue((char *)"");
31748 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
;
31750 int arg1
= (int) wxHORIZONTAL
;
31751 wxBoxSizer
*result
;
31752 char *kwnames
[] = {
31753 (char *) "orient", NULL
31756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31771 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
;
31773 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31775 PyObject
* obj0
= 0 ;
31776 char *kwnames
[] = {
31777 (char *) "self", NULL
31780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31784 result
= (int)(arg1
)->GetOrientation();
31786 wxPyEndAllowThreads(__tstate
);
31787 if (PyErr_Occurred()) SWIG_fail
;
31789 resultobj
= PyInt_FromLong((long)result
);
31796 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31797 PyObject
*resultobj
;
31798 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 char *kwnames
[] = {
31802 (char *) "self",(char *) "orient", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 (arg1
)->SetOrientation(arg2
);
31811 wxPyEndAllowThreads(__tstate
);
31812 if (PyErr_Occurred()) SWIG_fail
;
31814 Py_INCREF(Py_None
); resultobj
= Py_None
;
31821 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31822 PyObject
*resultobj
;
31823 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31824 PyObject
* obj0
= 0 ;
31825 char *kwnames
[] = {
31826 (char *) "self", NULL
31829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 (arg1
)->RecalcSizes();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 Py_INCREF(Py_None
); resultobj
= Py_None
;
31845 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
;
31847 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31849 PyObject
* obj0
= 0 ;
31850 char *kwnames
[] = {
31851 (char *) "self", NULL
31854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31858 result
= (arg1
)->CalcMin();
31860 wxPyEndAllowThreads(__tstate
);
31861 if (PyErr_Occurred()) SWIG_fail
;
31864 wxSize
* resultptr
;
31865 resultptr
= new wxSize((wxSize
&) result
);
31866 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31874 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31877 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31879 return Py_BuildValue((char *)"");
31881 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
;
31883 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31884 int arg2
= (int) wxHORIZONTAL
;
31885 wxStaticBoxSizer
*result
;
31886 PyObject
* obj0
= 0 ;
31887 char *kwnames
[] = {
31888 (char *) "box",(char *) "orient", NULL
31891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31907 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
;
31909 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31910 wxStaticBox
*result
;
31911 PyObject
* obj0
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31920 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31922 wxPyEndAllowThreads(__tstate
);
31923 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= wxPyMake_wxObject(result
);
31934 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31935 PyObject
*resultobj
;
31936 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 char *kwnames
[] = {
31939 (char *) "self", NULL
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 (arg1
)->RecalcSizes();
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 Py_INCREF(Py_None
); resultobj
= Py_None
;
31958 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 char *kwnames
[] = {
31964 (char *) "self", NULL
31967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (arg1
)->CalcMin();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31977 wxSize
* resultptr
;
31978 resultptr
= new wxSize((wxSize
&) result
);
31979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31987 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31990 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31992 return Py_BuildValue((char *)"");
31994 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
;
31996 int arg1
= (int) 1 ;
31997 int arg2
= (int) 0 ;
31998 int arg3
= (int) 0 ;
31999 int arg4
= (int) 0 ;
32000 wxGridSizer
*result
;
32001 char *kwnames
[] = {
32002 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
32005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
32020 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
;
32022 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32023 PyObject
* obj0
= 0 ;
32024 char *kwnames
[] = {
32025 (char *) "self", NULL
32028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
32029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 (arg1
)->RecalcSizes();
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 Py_INCREF(Py_None
); resultobj
= Py_None
;
32044 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32045 PyObject
*resultobj
;
32046 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32048 PyObject
* obj0
= 0 ;
32049 char *kwnames
[] = {
32050 (char *) "self", NULL
32053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
32054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (arg1
)->CalcMin();
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32063 wxSize
* resultptr
;
32064 resultptr
= new wxSize((wxSize
&) result
);
32065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32073 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
;
32075 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32077 PyObject
* obj0
= 0 ;
32078 char *kwnames
[] = {
32079 (char *) "self",(char *) "cols", NULL
32082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
32083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 (arg1
)->SetCols(arg2
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32091 Py_INCREF(Py_None
); resultobj
= Py_None
;
32098 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
;
32100 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32102 PyObject
* obj0
= 0 ;
32103 char *kwnames
[] = {
32104 (char *) "self",(char *) "rows", NULL
32107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
32108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 (arg1
)->SetRows(arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 Py_INCREF(Py_None
); resultobj
= Py_None
;
32123 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
;
32125 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self",(char *) "gap", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
32133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 (arg1
)->SetVGap(arg2
);
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32141 Py_INCREF(Py_None
); resultobj
= Py_None
;
32148 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
;
32150 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32152 PyObject
* obj0
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self",(char *) "gap", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 (arg1
)->SetHGap(arg2
);
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 Py_INCREF(Py_None
); resultobj
= Py_None
;
32173 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
;
32175 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32177 PyObject
* obj0
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
32183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (int)(arg1
)->GetCols();
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= PyInt_FromLong((long)result
);
32198 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
;
32200 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 char *kwnames
[] = {
32204 (char *) "self", NULL
32207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
32208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= (int)(arg1
)->GetRows();
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= PyInt_FromLong((long)result
);
32223 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
;
32225 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32227 PyObject
* obj0
= 0 ;
32228 char *kwnames
[] = {
32229 (char *) "self", NULL
32232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
32233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 result
= (int)(arg1
)->GetVGap();
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= PyInt_FromLong((long)result
);
32248 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32249 PyObject
*resultobj
;
32250 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32252 PyObject
* obj0
= 0 ;
32253 char *kwnames
[] = {
32254 (char *) "self", NULL
32257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
32258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32261 result
= (int)(arg1
)->GetHGap();
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32266 resultobj
= PyInt_FromLong((long)result
);
32273 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32276 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
32278 return Py_BuildValue((char *)"");
32280 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
;
32282 int arg1
= (int) 1 ;
32283 int arg2
= (int) 0 ;
32284 int arg3
= (int) 0 ;
32285 int arg4
= (int) 0 ;
32286 wxFlexGridSizer
*result
;
32287 char *kwnames
[] = {
32288 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
32291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
32306 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
;
32308 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32309 PyObject
* obj0
= 0 ;
32310 char *kwnames
[] = {
32311 (char *) "self", NULL
32314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
32315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32318 (arg1
)->RecalcSizes();
32320 wxPyEndAllowThreads(__tstate
);
32321 if (PyErr_Occurred()) SWIG_fail
;
32323 Py_INCREF(Py_None
); resultobj
= Py_None
;
32330 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
;
32332 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32334 PyObject
* obj0
= 0 ;
32335 char *kwnames
[] = {
32336 (char *) "self", NULL
32339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
32340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 result
= (arg1
)->CalcMin();
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32349 wxSize
* resultptr
;
32350 resultptr
= new wxSize((wxSize
&) result
);
32351 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32359 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
;
32361 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32363 int arg3
= (int) 0 ;
32364 PyObject
* obj0
= 0 ;
32365 PyObject
* obj1
= 0 ;
32366 char *kwnames
[] = {
32367 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
32371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32373 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 (arg1
)->AddGrowableRow(arg2
,arg3
);
32380 wxPyEndAllowThreads(__tstate
);
32381 if (PyErr_Occurred()) SWIG_fail
;
32383 Py_INCREF(Py_None
); resultobj
= Py_None
;
32390 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
;
32392 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32394 PyObject
* obj0
= 0 ;
32395 PyObject
* obj1
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "self",(char *) "idx", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
32401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32403 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 (arg1
)->RemoveGrowableRow(arg2
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 Py_INCREF(Py_None
); resultobj
= Py_None
;
32420 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
;
32422 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32424 int arg3
= (int) 0 ;
32425 PyObject
* obj0
= 0 ;
32426 PyObject
* obj1
= 0 ;
32427 char *kwnames
[] = {
32428 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
32432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32434 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
32435 if (PyErr_Occurred()) SWIG_fail
;
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 (arg1
)->AddGrowableCol(arg2
,arg3
);
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 Py_INCREF(Py_None
); resultobj
= Py_None
;
32451 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
;
32453 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32455 PyObject
* obj0
= 0 ;
32456 PyObject
* obj1
= 0 ;
32457 char *kwnames
[] = {
32458 (char *) "self",(char *) "idx", NULL
32461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
32462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32464 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
32465 if (PyErr_Occurred()) SWIG_fail
;
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 (arg1
)->RemoveGrowableCol(arg2
);
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 Py_INCREF(Py_None
); resultobj
= Py_None
;
32481 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
;
32483 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 char *kwnames
[] = {
32487 (char *) "self",(char *) "direction", NULL
32490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
32491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 (arg1
)->SetFlexibleDirection(arg2
);
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 Py_INCREF(Py_None
); resultobj
= Py_None
;
32506 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32507 PyObject
*resultobj
;
32508 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32510 PyObject
* obj0
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self", NULL
32515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
32516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 result
= (int)(arg1
)->GetFlexibleDirection();
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= PyInt_FromLong((long)result
);
32531 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
;
32533 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 char *kwnames
[] = {
32537 (char *) "self",(char *) "mode", NULL
32540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
32541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32544 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 Py_INCREF(Py_None
); resultobj
= Py_None
;
32556 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
;
32558 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32560 PyObject
* obj0
= 0 ;
32561 char *kwnames
[] = {
32562 (char *) "self", NULL
32565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
32566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32569 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
32571 wxPyEndAllowThreads(__tstate
);
32572 if (PyErr_Occurred()) SWIG_fail
;
32574 resultobj
= PyInt_FromLong((long)result
);
32581 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32582 PyObject
*resultobj
;
32583 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32584 wxArrayInt
*result
;
32585 PyObject
* obj0
= 0 ;
32586 char *kwnames
[] = {
32587 (char *) "self", NULL
32590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
32591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
32596 result
= (wxArrayInt
*) &_result_ref
;
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32603 resultobj
= PyList_New(0);
32605 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32606 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32607 PyList_Append(resultobj
, val
);
32617 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
;
32619 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32620 wxArrayInt
*result
;
32621 PyObject
* obj0
= 0 ;
32622 char *kwnames
[] = {
32623 (char *) "self", NULL
32626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
32627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
32632 result
= (wxArrayInt
*) &_result_ref
;
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32639 resultobj
= PyList_New(0);
32641 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32642 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32643 PyList_Append(resultobj
, val
);
32653 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32656 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32658 return Py_BuildValue((char *)"");
32660 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32661 PyObject
*resultobj
;
32662 int arg1
= (int) 0 ;
32663 int arg2
= (int) 0 ;
32664 wxGBPosition
*result
;
32665 char *kwnames
[] = {
32666 (char *) "row",(char *) "col", NULL
32669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32672 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32684 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
;
32686 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32688 PyObject
* obj0
= 0 ;
32689 char *kwnames
[] = {
32690 (char *) "self", NULL
32693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= PyInt_FromLong((long)result
);
32709 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
;
32711 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32713 PyObject
* obj0
= 0 ;
32714 char *kwnames
[] = {
32715 (char *) "self", NULL
32718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32722 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= PyInt_FromLong((long)result
);
32734 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
;
32736 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32738 PyObject
* obj0
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self",(char *) "row", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 (arg1
)->SetRow(arg2
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 Py_INCREF(Py_None
); resultobj
= Py_None
;
32759 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
;
32761 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32763 PyObject
* obj0
= 0 ;
32764 char *kwnames
[] = {
32765 (char *) "self",(char *) "col", NULL
32768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 (arg1
)->SetCol(arg2
);
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 Py_INCREF(Py_None
); resultobj
= Py_None
;
32784 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
;
32786 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32787 wxGBPosition
*arg2
= 0 ;
32789 wxGBPosition temp2
;
32790 PyObject
* obj0
= 0 ;
32791 PyObject
* obj1
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "self",(char *) "p", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32800 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= PyInt_FromLong((long)result
);
32816 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32819 wxGBPosition
*arg2
= 0 ;
32821 wxGBPosition temp2
;
32822 PyObject
* obj0
= 0 ;
32823 PyObject
* obj1
= 0 ;
32824 char *kwnames
[] = {
32825 (char *) "self",(char *) "p", NULL
32828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32832 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32836 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= PyInt_FromLong((long)result
);
32848 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32849 PyObject
*resultobj
;
32850 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32851 int arg2
= (int) 0 ;
32852 int arg3
= (int) 0 ;
32853 PyObject
* obj0
= 0 ;
32854 char *kwnames
[] = {
32855 (char *) "self",(char *) "row",(char *) "col", NULL
32858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 wxGBPosition_Set(arg1
,arg2
,arg3
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 Py_INCREF(Py_None
); resultobj
= Py_None
;
32874 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32875 PyObject
*resultobj
;
32876 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32878 PyObject
* obj0
= 0 ;
32879 char *kwnames
[] = {
32880 (char *) "self", NULL
32883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
32884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (PyObject
*)wxGBPosition_Get(arg1
);
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32892 resultobj
= result
;
32899 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32902 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32904 return Py_BuildValue((char *)"");
32906 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32907 PyObject
*resultobj
;
32908 int arg1
= (int) 1 ;
32909 int arg2
= (int) 1 ;
32911 char *kwnames
[] = {
32912 (char *) "rowspan",(char *) "colspan", NULL
32915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32918 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32930 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32931 PyObject
*resultobj
;
32932 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32934 PyObject
* obj0
= 0 ;
32935 char *kwnames
[] = {
32936 (char *) "self", NULL
32939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= PyInt_FromLong((long)result
);
32955 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32956 PyObject
*resultobj
;
32957 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32959 PyObject
* obj0
= 0 ;
32960 char *kwnames
[] = {
32961 (char *) "self", NULL
32964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32968 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32970 wxPyEndAllowThreads(__tstate
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32973 resultobj
= PyInt_FromLong((long)result
);
32980 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32981 PyObject
*resultobj
;
32982 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32984 PyObject
* obj0
= 0 ;
32985 char *kwnames
[] = {
32986 (char *) "self",(char *) "rowspan", NULL
32989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32993 (arg1
)->SetRowspan(arg2
);
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 Py_INCREF(Py_None
); resultobj
= Py_None
;
33005 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33006 PyObject
*resultobj
;
33007 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33009 PyObject
* obj0
= 0 ;
33010 char *kwnames
[] = {
33011 (char *) "self",(char *) "colspan", NULL
33014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
33015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 (arg1
)->SetColspan(arg2
);
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 Py_INCREF(Py_None
); resultobj
= Py_None
;
33030 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
;
33032 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33033 wxGBSpan
*arg2
= 0 ;
33036 PyObject
* obj0
= 0 ;
33037 PyObject
* obj1
= 0 ;
33038 char *kwnames
[] = {
33039 (char *) "self",(char *) "o", NULL
33042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
33043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33046 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 resultobj
= PyInt_FromLong((long)result
);
33062 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
;
33064 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33065 wxGBSpan
*arg2
= 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 char *kwnames
[] = {
33071 (char *) "self",(char *) "o", NULL
33074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
33075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33078 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= PyInt_FromLong((long)result
);
33094 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33095 PyObject
*resultobj
;
33096 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33097 int arg2
= (int) 1 ;
33098 int arg3
= (int) 1 ;
33099 PyObject
* obj0
= 0 ;
33100 char *kwnames
[] = {
33101 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
33104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
33105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 wxGBSpan_Set(arg1
,arg2
,arg3
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 Py_INCREF(Py_None
); resultobj
= Py_None
;
33120 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
;
33122 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33124 PyObject
* obj0
= 0 ;
33125 char *kwnames
[] = {
33126 (char *) "self", NULL
33129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
33130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 result
= (PyObject
*)wxGBSpan_Get(arg1
);
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= result
;
33145 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
33147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33148 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
33150 return Py_BuildValue((char *)"");
33152 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
33153 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
33158 static PyObject
*_wrap_DefaultSpan_get() {
33161 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
33166 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33167 PyObject
*resultobj
;
33168 wxGBSizerItem
*result
;
33169 char *kwnames
[] = {
33173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
33175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33176 result
= (wxGBSizerItem
*)new wxGBSizerItem();
33178 wxPyEndAllowThreads(__tstate
);
33179 if (PyErr_Occurred()) SWIG_fail
;
33181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33188 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33189 PyObject
*resultobj
;
33190 wxWindow
*arg1
= (wxWindow
*) 0 ;
33191 wxGBPosition
*arg2
= 0 ;
33192 wxGBSpan
*arg3
= 0 ;
33195 wxObject
*arg6
= (wxObject
*) 0 ;
33196 wxGBSizerItem
*result
;
33197 wxGBPosition temp2
;
33199 PyObject
* obj0
= 0 ;
33200 PyObject
* obj1
= 0 ;
33201 PyObject
* obj2
= 0 ;
33202 PyObject
* obj5
= 0 ;
33203 char *kwnames
[] = {
33204 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
33208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33211 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33215 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33217 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33225 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33232 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33233 PyObject
*resultobj
;
33234 wxSizer
*arg1
= (wxSizer
*) 0 ;
33235 wxGBPosition
*arg2
= 0 ;
33236 wxGBSpan
*arg3
= 0 ;
33239 wxObject
*arg6
= (wxObject
*) 0 ;
33240 wxGBSizerItem
*result
;
33241 wxGBPosition temp2
;
33243 PyObject
* obj0
= 0 ;
33244 PyObject
* obj1
= 0 ;
33245 PyObject
* obj2
= 0 ;
33246 PyObject
* obj5
= 0 ;
33247 char *kwnames
[] = {
33248 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
33252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33255 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33259 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33261 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33276 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33277 PyObject
*resultobj
;
33280 wxGBPosition
*arg3
= 0 ;
33281 wxGBSpan
*arg4
= 0 ;
33284 wxObject
*arg7
= (wxObject
*) 0 ;
33285 wxGBSizerItem
*result
;
33286 wxGBPosition temp3
;
33288 PyObject
* obj2
= 0 ;
33289 PyObject
* obj3
= 0 ;
33290 PyObject
* obj6
= 0 ;
33291 char *kwnames
[] = {
33292 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33298 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33302 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33304 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33319 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33320 PyObject
*resultobj
;
33321 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33322 wxGBPosition result
;
33323 PyObject
* obj0
= 0 ;
33324 char *kwnames
[] = {
33325 (char *) "self", NULL
33328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
33329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33338 wxGBPosition
* resultptr
;
33339 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33348 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33349 PyObject
*resultobj
;
33350 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33352 PyObject
* obj0
= 0 ;
33353 char *kwnames
[] = {
33354 (char *) "self", NULL
33357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
33358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33367 wxGBSpan
* resultptr
;
33368 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33369 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33377 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33378 PyObject
*resultobj
;
33379 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33380 wxGBPosition
*arg2
= 0 ;
33382 wxGBPosition temp2
;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "self",(char *) "pos", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
33390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33393 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33397 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= PyInt_FromLong((long)result
);
33409 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33410 PyObject
*resultobj
;
33411 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33412 wxGBSpan
*arg2
= 0 ;
33415 PyObject
* obj0
= 0 ;
33416 PyObject
* obj1
= 0 ;
33417 char *kwnames
[] = {
33418 (char *) "self",(char *) "span", NULL
33421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
33422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33425 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
33431 wxPyEndAllowThreads(__tstate
);
33432 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= PyInt_FromLong((long)result
);
33441 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
33442 PyObject
*resultobj
;
33443 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33444 wxGBSizerItem
*arg2
= 0 ;
33446 PyObject
* obj0
= 0 ;
33447 PyObject
* obj1
= 0 ;
33449 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
33450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33452 if (arg2
== NULL
) {
33453 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33457 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
33459 wxPyEndAllowThreads(__tstate
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33462 resultobj
= PyInt_FromLong((long)result
);
33469 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
33470 PyObject
*resultobj
;
33471 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33472 wxGBPosition
*arg2
= 0 ;
33473 wxGBSpan
*arg3
= 0 ;
33475 wxGBPosition temp2
;
33477 PyObject
* obj0
= 0 ;
33478 PyObject
* obj1
= 0 ;
33479 PyObject
* obj2
= 0 ;
33481 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
33482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33485 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33489 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33493 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
33495 wxPyEndAllowThreads(__tstate
);
33496 if (PyErr_Occurred()) SWIG_fail
;
33498 resultobj
= PyInt_FromLong((long)result
);
33505 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
33510 argc
= PyObject_Length(args
);
33511 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33512 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33518 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33528 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33536 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
33544 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33553 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33557 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33560 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
33566 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
33571 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33572 PyObject
*resultobj
;
33573 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33576 PyObject
* obj0
= 0 ;
33577 PyObject
* obj1
= 0 ;
33578 PyObject
* obj2
= 0 ;
33579 char *kwnames
[] = {
33580 (char *) "self",(char *) "row",(char *) "col", NULL
33583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33586 if (arg2
== NULL
) {
33587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33589 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33590 if (arg3
== NULL
) {
33591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 (arg1
)->GetEndPos(*arg2
,*arg3
);
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 Py_INCREF(Py_None
); resultobj
= Py_None
;
33607 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
;
33609 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33610 wxGridBagSizer
*result
;
33611 PyObject
* obj0
= 0 ;
33612 char *kwnames
[] = {
33613 (char *) "self", NULL
33616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
33617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33620 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
33622 wxPyEndAllowThreads(__tstate
);
33623 if (PyErr_Occurred()) SWIG_fail
;
33625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
33632 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
;
33634 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33635 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 char *kwnames
[] = {
33639 (char *) "self",(char *) "sizer", NULL
33642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33647 (arg1
)->SetGBSizer(arg2
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33652 Py_INCREF(Py_None
); resultobj
= Py_None
;
33659 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33662 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33664 return Py_BuildValue((char *)"");
33666 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
;
33668 int arg1
= (int) 0 ;
33669 int arg2
= (int) 0 ;
33670 wxGridBagSizer
*result
;
33671 char *kwnames
[] = {
33672 (char *) "vgap",(char *) "hgap", NULL
33675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33683 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33690 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33691 PyObject
*resultobj
;
33692 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33693 PyObject
*arg2
= (PyObject
*) 0 ;
33694 wxGBPosition
*arg3
= 0 ;
33695 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33696 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33697 int arg5
= (int) 0 ;
33698 int arg6
= (int) 0 ;
33699 PyObject
*arg7
= (PyObject
*) NULL
;
33701 wxGBPosition temp3
;
33703 PyObject
* obj0
= 0 ;
33704 PyObject
* obj1
= 0 ;
33705 PyObject
* obj2
= 0 ;
33706 PyObject
* obj3
= 0 ;
33707 PyObject
* obj6
= 0 ;
33708 char *kwnames
[] = {
33709 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33717 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33722 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33735 resultobj
= PyInt_FromLong((long)result
);
33742 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33743 PyObject
*resultobj
;
33744 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33745 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33747 PyObject
* obj0
= 0 ;
33748 PyObject
* obj1
= 0 ;
33749 char *kwnames
[] = {
33750 (char *) "self",(char *) "item", NULL
33753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33758 result
= (bool)(arg1
)->Add(arg2
);
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33763 resultobj
= PyInt_FromLong((long)result
);
33770 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33771 PyObject
*resultobj
;
33772 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33774 PyObject
* obj0
= 0 ;
33775 char *kwnames
[] = {
33776 (char *) "self", NULL
33779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33785 wxPyEndAllowThreads(__tstate
);
33786 if (PyErr_Occurred()) SWIG_fail
;
33789 wxSize
* resultptr
;
33790 resultptr
= new wxSize((wxSize
&) result
);
33791 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33799 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33800 PyObject
*resultobj
;
33801 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33804 PyObject
* obj0
= 0 ;
33805 PyObject
* obj1
= 0 ;
33806 char *kwnames
[] = {
33807 (char *) "self",(char *) "sz", NULL
33810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33818 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33820 wxPyEndAllowThreads(__tstate
);
33821 if (PyErr_Occurred()) SWIG_fail
;
33823 Py_INCREF(Py_None
); resultobj
= Py_None
;
33830 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33831 PyObject
*resultobj
;
33832 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33833 wxWindow
*arg2
= (wxWindow
*) 0 ;
33834 wxGBPosition result
;
33835 PyObject
* obj0
= 0 ;
33836 PyObject
* obj1
= 0 ;
33838 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33843 result
= (arg1
)->GetItemPosition(arg2
);
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33849 wxGBPosition
* resultptr
;
33850 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33859 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33860 PyObject
*resultobj
;
33861 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33862 wxSizer
*arg2
= (wxSizer
*) 0 ;
33863 wxGBPosition result
;
33864 PyObject
* obj0
= 0 ;
33865 PyObject
* obj1
= 0 ;
33867 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 result
= (arg1
)->GetItemPosition(arg2
);
33874 wxPyEndAllowThreads(__tstate
);
33875 if (PyErr_Occurred()) SWIG_fail
;
33878 wxGBPosition
* resultptr
;
33879 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33888 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33889 PyObject
*resultobj
;
33890 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33892 wxGBPosition result
;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33896 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33899 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
33900 if (PyErr_Occurred()) SWIG_fail
;
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 result
= (arg1
)->GetItemPosition(arg2
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33910 wxGBPosition
* resultptr
;
33911 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33920 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33925 argc
= PyObject_Length(args
);
33926 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33927 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33933 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33943 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33951 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33959 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33969 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33977 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33985 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33994 SPyObj_AsUnsignedInt(argv
[1]);
33995 if (PyErr_Occurred()) {
34003 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
34008 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
34013 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
34014 PyObject
*resultobj
;
34015 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34016 wxWindow
*arg2
= (wxWindow
*) 0 ;
34017 wxGBPosition
*arg3
= 0 ;
34019 wxGBPosition temp3
;
34020 PyObject
* obj0
= 0 ;
34021 PyObject
* obj1
= 0 ;
34022 PyObject
* obj2
= 0 ;
34024 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
34025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34029 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= PyInt_FromLong((long)result
);
34045 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
34046 PyObject
*resultobj
;
34047 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34048 wxSizer
*arg2
= (wxSizer
*) 0 ;
34049 wxGBPosition
*arg3
= 0 ;
34051 wxGBPosition temp3
;
34052 PyObject
* obj0
= 0 ;
34053 PyObject
* obj1
= 0 ;
34054 PyObject
* obj2
= 0 ;
34056 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
34057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34061 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34070 resultobj
= PyInt_FromLong((long)result
);
34077 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
34078 PyObject
*resultobj
;
34079 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34081 wxGBPosition
*arg3
= 0 ;
34083 wxGBPosition temp3
;
34084 PyObject
* obj0
= 0 ;
34085 PyObject
* obj1
= 0 ;
34086 PyObject
* obj2
= 0 ;
34088 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
34089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34091 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34096 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
34099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34100 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
34102 wxPyEndAllowThreads(__tstate
);
34103 if (PyErr_Occurred()) SWIG_fail
;
34105 resultobj
= PyInt_FromLong((long)result
);
34112 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
34117 argc
= PyObject_Length(args
);
34118 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
34119 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34125 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34135 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34144 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
34147 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
34156 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34166 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34175 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
34178 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
34187 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34196 SPyObj_AsUnsignedInt(argv
[1]);
34197 if (PyErr_Occurred()) {
34206 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
34209 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
34215 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
34220 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
34221 PyObject
*resultobj
;
34222 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34223 wxWindow
*arg2
= (wxWindow
*) 0 ;
34225 PyObject
* obj0
= 0 ;
34226 PyObject
* obj1
= 0 ;
34228 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34233 result
= (arg1
)->GetItemSpan(arg2
);
34235 wxPyEndAllowThreads(__tstate
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34239 wxGBSpan
* resultptr
;
34240 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34249 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
34250 PyObject
*resultobj
;
34251 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34252 wxSizer
*arg2
= (wxSizer
*) 0 ;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34257 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 result
= (arg1
)->GetItemSpan(arg2
);
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34268 wxGBSpan
* resultptr
;
34269 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34270 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34278 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
34279 PyObject
*resultobj
;
34280 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34283 PyObject
* obj0
= 0 ;
34284 PyObject
* obj1
= 0 ;
34286 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34289 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
34290 if (PyErr_Occurred()) SWIG_fail
;
34293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34294 result
= (arg1
)->GetItemSpan(arg2
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34300 wxGBSpan
* resultptr
;
34301 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34302 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34310 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
34315 argc
= PyObject_Length(args
);
34316 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34317 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34323 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34333 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34341 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
34349 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34359 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34367 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
34375 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34384 SPyObj_AsUnsignedInt(argv
[1]);
34385 if (PyErr_Occurred()) {
34393 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
34398 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
34403 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
34404 PyObject
*resultobj
;
34405 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34406 wxWindow
*arg2
= (wxWindow
*) 0 ;
34407 wxGBSpan
*arg3
= 0 ;
34410 PyObject
* obj0
= 0 ;
34411 PyObject
* obj1
= 0 ;
34412 PyObject
* obj2
= 0 ;
34414 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34419 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34423 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34425 wxPyEndAllowThreads(__tstate
);
34426 if (PyErr_Occurred()) SWIG_fail
;
34428 resultobj
= PyInt_FromLong((long)result
);
34435 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
34436 PyObject
*resultobj
;
34437 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34438 wxSizer
*arg2
= (wxSizer
*) 0 ;
34439 wxGBSpan
*arg3
= 0 ;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 PyObject
* obj2
= 0 ;
34446 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34448 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34451 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 resultobj
= PyInt_FromLong((long)result
);
34467 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
34468 PyObject
*resultobj
;
34469 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34471 wxGBSpan
*arg3
= 0 ;
34474 PyObject
* obj0
= 0 ;
34475 PyObject
* obj1
= 0 ;
34476 PyObject
* obj2
= 0 ;
34478 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34481 arg2
= (size_t) SPyObj_AsUnsignedLong(obj1
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34486 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34492 wxPyEndAllowThreads(__tstate
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34495 resultobj
= PyInt_FromLong((long)result
);
34502 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
34507 argc
= PyObject_Length(args
);
34508 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
34509 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34515 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34525 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34534 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34537 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
34546 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34556 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34565 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34568 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
34577 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34586 SPyObj_AsUnsignedInt(argv
[1]);
34587 if (PyErr_Occurred()) {
34596 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34599 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
34605 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34610 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
34611 PyObject
*resultobj
;
34612 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34613 wxWindow
*arg2
= (wxWindow
*) 0 ;
34614 wxGBSizerItem
*result
;
34615 PyObject
* obj0
= 0 ;
34616 PyObject
* obj1
= 0 ;
34618 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34635 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
34636 PyObject
*resultobj
;
34637 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34638 wxSizer
*arg2
= (wxSizer
*) 0 ;
34639 wxGBSizerItem
*result
;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34643 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34653 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34660 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
34665 argc
= PyObject_Length(args
);
34666 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34667 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34673 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34683 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34691 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34699 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34709 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34717 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34722 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34727 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
;
34729 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34730 wxGBPosition
*arg2
= 0 ;
34731 wxGBSizerItem
*result
;
34732 wxGBPosition temp2
;
34733 PyObject
* obj0
= 0 ;
34734 PyObject
* obj1
= 0 ;
34735 char *kwnames
[] = {
34736 (char *) "self",(char *) "pos", NULL
34739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34743 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34749 wxPyEndAllowThreads(__tstate
);
34750 if (PyErr_Occurred()) SWIG_fail
;
34752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34759 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34760 PyObject
*resultobj
;
34761 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34762 wxPoint
*arg2
= 0 ;
34763 wxGBSizerItem
*result
;
34765 PyObject
* obj0
= 0 ;
34766 PyObject
* obj1
= 0 ;
34767 char *kwnames
[] = {
34768 (char *) "self",(char *) "pt", NULL
34771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
34772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34779 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
34781 wxPyEndAllowThreads(__tstate
);
34782 if (PyErr_Occurred()) SWIG_fail
;
34784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34791 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34792 PyObject
*resultobj
;
34793 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34794 wxObject
*arg2
= (wxObject
*) 0 ;
34795 wxGBSizerItem
*result
;
34796 PyObject
* obj0
= 0 ;
34797 PyObject
* obj1
= 0 ;
34798 char *kwnames
[] = {
34799 (char *) "self",(char *) "userData", NULL
34802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34819 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34820 PyObject
*resultobj
;
34821 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34822 PyObject
* obj0
= 0 ;
34823 char *kwnames
[] = {
34824 (char *) "self", NULL
34827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 (arg1
)->RecalcSizes();
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 Py_INCREF(Py_None
); resultobj
= Py_None
;
34843 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34847 PyObject
* obj0
= 0 ;
34848 char *kwnames
[] = {
34849 (char *) "self", NULL
34852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34856 result
= (arg1
)->CalcMin();
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34862 wxSize
* resultptr
;
34863 resultptr
= new wxSize((wxSize
&) result
);
34864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34872 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34873 PyObject
*resultobj
;
34874 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34875 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34876 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34878 PyObject
* obj0
= 0 ;
34879 PyObject
* obj1
= 0 ;
34880 PyObject
* obj2
= 0 ;
34882 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34886 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= PyInt_FromLong((long)result
);
34902 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34903 PyObject
*resultobj
;
34904 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34905 wxGBPosition
*arg2
= 0 ;
34906 wxGBSpan
*arg3
= 0 ;
34907 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34909 wxGBPosition temp2
;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 PyObject
* obj2
= 0 ;
34914 PyObject
* obj3
= 0 ;
34916 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34920 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34924 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34927 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34931 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34936 resultobj
= PyInt_FromLong((long)result
);
34943 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34948 argc
= PyObject_Length(args
);
34949 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34950 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34952 if ((argc
>= 2) && (argc
<= 3)) {
34956 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34966 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34975 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34979 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34987 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34992 if ((argc
>= 3) && (argc
<= 4)) {
34996 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
35005 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
35009 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
35013 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
35017 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35025 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
35032 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
35037 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35040 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
35042 return Py_BuildValue((char *)"");
35044 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35045 PyObject
*resultobj
;
35046 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35048 wxWindow
*arg3
= (wxWindow
*) 0 ;
35050 int arg5
= (int) 0 ;
35051 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj2
= 0 ;
35054 char *kwnames
[] = {
35055 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
35058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
35059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35060 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
35065 wxPyEndAllowThreads(__tstate
);
35066 if (PyErr_Occurred()) SWIG_fail
;
35068 Py_INCREF(Py_None
); resultobj
= Py_None
;
35075 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35076 PyObject
*resultobj
;
35077 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35078 wxWindow
*arg2
= (wxWindow
*) 0 ;
35079 int arg3
= (int) 0 ;
35080 PyObject
* obj0
= 0 ;
35081 PyObject
* obj1
= 0 ;
35082 char *kwnames
[] = {
35083 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 (arg1
)->LeftOf(arg2
,arg3
);
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35096 Py_INCREF(Py_None
); resultobj
= Py_None
;
35103 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
;
35105 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35106 wxWindow
*arg2
= (wxWindow
*) 0 ;
35107 int arg3
= (int) 0 ;
35108 PyObject
* obj0
= 0 ;
35109 PyObject
* obj1
= 0 ;
35110 char *kwnames
[] = {
35111 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 (arg1
)->RightOf(arg2
,arg3
);
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 Py_INCREF(Py_None
); resultobj
= Py_None
;
35131 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
;
35133 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35134 wxWindow
*arg2
= (wxWindow
*) 0 ;
35135 int arg3
= (int) 0 ;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 char *kwnames
[] = {
35139 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 (arg1
)->Above(arg2
,arg3
);
35149 wxPyEndAllowThreads(__tstate
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35152 Py_INCREF(Py_None
); resultobj
= Py_None
;
35159 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
;
35161 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35162 wxWindow
*arg2
= (wxWindow
*) 0 ;
35163 int arg3
= (int) 0 ;
35164 PyObject
* obj0
= 0 ;
35165 PyObject
* obj1
= 0 ;
35166 char *kwnames
[] = {
35167 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35175 (arg1
)->Below(arg2
,arg3
);
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 Py_INCREF(Py_None
); resultobj
= Py_None
;
35187 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
;
35189 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35190 wxWindow
*arg2
= (wxWindow
*) 0 ;
35192 int arg4
= (int) 0 ;
35193 PyObject
* obj0
= 0 ;
35194 PyObject
* obj1
= 0 ;
35195 char *kwnames
[] = {
35196 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
35199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
35200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35204 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35209 Py_INCREF(Py_None
); resultobj
= Py_None
;
35216 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35217 PyObject
*resultobj
;
35218 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35219 wxWindow
*arg2
= (wxWindow
*) 0 ;
35222 PyObject
* obj0
= 0 ;
35223 PyObject
* obj1
= 0 ;
35224 char *kwnames
[] = {
35225 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
35228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
35229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35230 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 Py_INCREF(Py_None
); resultobj
= Py_None
;
35245 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35246 PyObject
*resultobj
;
35247 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35249 PyObject
* obj0
= 0 ;
35250 char *kwnames
[] = {
35251 (char *) "self",(char *) "val", NULL
35254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
35255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35258 (arg1
)->Absolute(arg2
);
35260 wxPyEndAllowThreads(__tstate
);
35261 if (PyErr_Occurred()) SWIG_fail
;
35263 Py_INCREF(Py_None
); resultobj
= Py_None
;
35270 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35271 PyObject
*resultobj
;
35272 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35273 PyObject
* obj0
= 0 ;
35274 char *kwnames
[] = {
35275 (char *) "self", NULL
35278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
35279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35282 (arg1
)->Unconstrained();
35284 wxPyEndAllowThreads(__tstate
);
35285 if (PyErr_Occurred()) SWIG_fail
;
35287 Py_INCREF(Py_None
); resultobj
= Py_None
;
35294 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35295 PyObject
*resultobj
;
35296 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35297 PyObject
* obj0
= 0 ;
35298 char *kwnames
[] = {
35299 (char *) "self", NULL
35302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
35303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35311 Py_INCREF(Py_None
); resultobj
= Py_None
;
35318 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35319 PyObject
*resultobj
;
35320 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35322 PyObject
* obj0
= 0 ;
35323 char *kwnames
[] = {
35324 (char *) "self", NULL
35327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
35328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35337 resultobj
= wxPyMake_wxObject(result
);
35345 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35349 PyObject
* obj0
= 0 ;
35350 char *kwnames
[] = {
35351 (char *) "self", NULL
35354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
35355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35358 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35363 resultobj
= PyInt_FromLong((long)result
);
35370 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35371 PyObject
*resultobj
;
35372 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35374 PyObject
* obj0
= 0 ;
35375 char *kwnames
[] = {
35376 (char *) "self",(char *) "which", NULL
35379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
35380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 (arg1
)->SetEdge((wxEdge
)arg2
);
35385 wxPyEndAllowThreads(__tstate
);
35386 if (PyErr_Occurred()) SWIG_fail
;
35388 Py_INCREF(Py_None
); resultobj
= Py_None
;
35395 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
;
35397 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35399 PyObject
* obj0
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self",(char *) "v", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
35405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 (arg1
)->SetValue(arg2
);
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35413 Py_INCREF(Py_None
); resultobj
= Py_None
;
35420 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35421 PyObject
*resultobj
;
35422 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35424 PyObject
* obj0
= 0 ;
35425 char *kwnames
[] = {
35426 (char *) "self", NULL
35429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
35430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35433 result
= (int)(arg1
)->GetMargin();
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35438 resultobj
= PyInt_FromLong((long)result
);
35445 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35446 PyObject
*resultobj
;
35447 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35449 PyObject
* obj0
= 0 ;
35450 char *kwnames
[] = {
35451 (char *) "self",(char *) "m", NULL
35454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
35455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35458 (arg1
)->SetMargin(arg2
);
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 Py_INCREF(Py_None
); resultobj
= Py_None
;
35470 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
;
35472 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35474 PyObject
* obj0
= 0 ;
35475 char *kwnames
[] = {
35476 (char *) "self", NULL
35479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
35480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35483 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
35485 wxPyEndAllowThreads(__tstate
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35488 resultobj
= PyInt_FromLong((long)result
);
35495 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35496 PyObject
*resultobj
;
35497 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35499 PyObject
* obj0
= 0 ;
35500 char *kwnames
[] = {
35501 (char *) "self", NULL
35504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
35505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35508 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
35510 wxPyEndAllowThreads(__tstate
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= PyInt_FromLong((long)result
);
35520 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
;
35522 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35524 PyObject
* obj0
= 0 ;
35525 char *kwnames
[] = {
35526 (char *) "self", NULL
35529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
35530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35538 resultobj
= PyInt_FromLong((long)result
);
35545 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
;
35547 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35549 PyObject
* obj0
= 0 ;
35550 char *kwnames
[] = {
35551 (char *) "self", NULL
35554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
35555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35563 resultobj
= PyInt_FromLong((long)result
);
35570 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35571 PyObject
*resultobj
;
35572 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35574 PyObject
* obj0
= 0 ;
35575 PyObject
* obj1
= 0 ;
35576 char *kwnames
[] = {
35577 (char *) "self",(char *) "d", NULL
35580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
35581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35583 arg2
= (bool) SPyObj_AsBool(obj1
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35588 (arg1
)->SetDone(arg2
);
35590 wxPyEndAllowThreads(__tstate
);
35591 if (PyErr_Occurred()) SWIG_fail
;
35593 Py_INCREF(Py_None
); resultobj
= Py_None
;
35600 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35601 PyObject
*resultobj
;
35602 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35604 PyObject
* obj0
= 0 ;
35605 char *kwnames
[] = {
35606 (char *) "self", NULL
35609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
35610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35613 result
= (int)(arg1
)->GetRelationship();
35615 wxPyEndAllowThreads(__tstate
);
35616 if (PyErr_Occurred()) SWIG_fail
;
35618 resultobj
= PyInt_FromLong((long)result
);
35625 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35626 PyObject
*resultobj
;
35627 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35629 PyObject
* obj0
= 0 ;
35630 char *kwnames
[] = {
35631 (char *) "self",(char *) "r", NULL
35634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
35635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 (arg1
)->SetRelationship((wxRelationship
)arg2
);
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 Py_INCREF(Py_None
); resultobj
= Py_None
;
35650 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35653 wxWindow
*arg2
= (wxWindow
*) 0 ;
35655 PyObject
* obj0
= 0 ;
35656 PyObject
* obj1
= 0 ;
35657 char *kwnames
[] = {
35658 (char *) "self",(char *) "otherW", NULL
35661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
35662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 result
= (bool)(arg1
)->ResetIfWin(arg2
);
35668 wxPyEndAllowThreads(__tstate
);
35669 if (PyErr_Occurred()) SWIG_fail
;
35671 resultobj
= PyInt_FromLong((long)result
);
35678 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
;
35680 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35681 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35682 wxWindow
*arg3
= (wxWindow
*) 0 ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 PyObject
* obj2
= 0 ;
35687 char *kwnames
[] = {
35688 (char *) "self",(char *) "constraints",(char *) "win", NULL
35691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35694 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= PyInt_FromLong((long)result
);
35709 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
;
35711 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35713 wxWindow
*arg3
= (wxWindow
*) 0 ;
35714 wxWindow
*arg4
= (wxWindow
*) 0 ;
35716 PyObject
* obj0
= 0 ;
35717 PyObject
* obj2
= 0 ;
35718 PyObject
* obj3
= 0 ;
35719 char *kwnames
[] = {
35720 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35725 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35726 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35731 wxPyEndAllowThreads(__tstate
);
35732 if (PyErr_Occurred()) SWIG_fail
;
35734 resultobj
= PyInt_FromLong((long)result
);
35741 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35744 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35746 return Py_BuildValue((char *)"");
35748 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
;
35750 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35751 wxIndividualLayoutConstraint
*result
;
35752 PyObject
* obj0
= 0 ;
35753 char *kwnames
[] = {
35754 (char *) "self", NULL
35757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35759 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35768 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35769 PyObject
*resultobj
;
35770 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35771 wxIndividualLayoutConstraint
*result
;
35772 PyObject
* obj0
= 0 ;
35773 char *kwnames
[] = {
35774 (char *) "self", NULL
35777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35779 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35781 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35788 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35789 PyObject
*resultobj
;
35790 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35791 wxIndividualLayoutConstraint
*result
;
35792 PyObject
* obj0
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35799 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35808 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
;
35810 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35811 wxIndividualLayoutConstraint
*result
;
35812 PyObject
* obj0
= 0 ;
35813 char *kwnames
[] = {
35814 (char *) "self", NULL
35817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35819 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35828 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35829 PyObject
*resultobj
;
35830 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35831 wxIndividualLayoutConstraint
*result
;
35832 PyObject
* obj0
= 0 ;
35833 char *kwnames
[] = {
35834 (char *) "self", NULL
35837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35839 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35848 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35849 PyObject
*resultobj
;
35850 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35851 wxIndividualLayoutConstraint
*result
;
35852 PyObject
* obj0
= 0 ;
35853 char *kwnames
[] = {
35854 (char *) "self", NULL
35857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35859 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35868 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35869 PyObject
*resultobj
;
35870 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35871 wxIndividualLayoutConstraint
*result
;
35872 PyObject
* obj0
= 0 ;
35873 char *kwnames
[] = {
35874 (char *) "self", NULL
35877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35879 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35888 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
;
35890 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35891 wxIndividualLayoutConstraint
*result
;
35892 PyObject
* obj0
= 0 ;
35893 char *kwnames
[] = {
35894 (char *) "self", NULL
35897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35899 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35901 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35908 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35909 PyObject
*resultobj
;
35910 wxLayoutConstraints
*result
;
35911 char *kwnames
[] = {
35915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35918 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35920 wxPyEndAllowThreads(__tstate
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35930 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35931 PyObject
*resultobj
;
35932 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35933 wxWindow
*arg2
= (wxWindow
*) 0 ;
35934 int *arg3
= (int *) 0 ;
35937 PyObject
* obj0
= 0 ;
35938 PyObject
* obj1
= 0 ;
35939 char *kwnames
[] = {
35940 (char *) "self",(char *) "win", NULL
35944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35954 resultobj
= PyInt_FromLong((long)result
);
35956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35957 resultobj
= t_output_helper(resultobj
,o
);
35965 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35966 PyObject
*resultobj
;
35967 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35969 PyObject
* obj0
= 0 ;
35970 char *kwnames
[] = {
35971 (char *) "self", NULL
35974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35978 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35980 wxPyEndAllowThreads(__tstate
);
35981 if (PyErr_Occurred()) SWIG_fail
;
35983 resultobj
= PyInt_FromLong((long)result
);
35990 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35993 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35995 return Py_BuildValue((char *)"");
35997 static PyMethodDef SwigMethods
[] = {
35998 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35999 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
36000 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
36003 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
36022 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
36035 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
36050 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
36056 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
36081 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
36083 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
36090 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
36101 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
36129 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
36134 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
36144 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
36147 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
36148 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
36149 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
36154 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
36157 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
36158 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
36170 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
36180 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
36181 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
36186 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
36192 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36194 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
36197 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
36202 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
36209 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
36212 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
36216 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
36218 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
36221 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36223 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
36225 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36226 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
36227 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
36229 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
36231 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
36233 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36235 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
36237 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
36239 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
36241 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
36251 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
36252 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
36255 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
36258 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
36265 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
36268 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
36273 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
36276 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
36278 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
36279 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
36280 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
36281 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
36282 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36285 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
36286 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
36289 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
36291 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
36292 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
36293 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
36295 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
36296 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
36297 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
36299 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
36301 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
36302 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
36303 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
36305 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
36307 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
36308 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
36309 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
36310 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
36313 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
36314 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36315 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
36317 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36319 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
36323 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36332 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36333 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36334 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
36337 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36340 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
36341 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
36342 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
36344 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
36345 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
36347 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36348 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36350 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36351 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
36355 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
36359 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
36361 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
36362 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
36363 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
36364 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36366 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36368 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36369 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
36370 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36373 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
36376 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36377 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
36380 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
36385 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
36390 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
36393 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
36395 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
36397 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36400 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36406 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
36411 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
36412 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36417 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36418 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36422 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36423 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36426 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36429 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
36432 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
36433 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
36434 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
36435 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
36436 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
36437 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
36438 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
36439 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36440 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36443 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
36445 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36446 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
36447 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
36449 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
36451 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36452 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
36453 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
36455 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36456 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36457 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36462 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36463 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36464 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36466 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36468 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36469 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36470 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36471 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36473 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36476 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36477 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
36478 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
36479 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
36480 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36482 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36485 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
36486 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
36487 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
36490 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
36491 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36494 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36495 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
36496 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
36498 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
36499 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
36500 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
36501 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
36502 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
36504 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36505 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
36506 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
36507 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
36508 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36509 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
36511 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
36514 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36515 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
36516 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
36517 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
36519 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36520 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
36522 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36523 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
36524 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
36526 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
36527 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
36528 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36529 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36530 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
36531 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
36532 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
36533 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
36534 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
36535 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
36536 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36537 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
36538 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
36539 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36540 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
36541 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36542 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
36543 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
36544 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
36545 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
36546 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36547 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36548 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36549 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
36550 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36551 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36552 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
36553 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36554 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36555 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36556 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36557 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
36558 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
36559 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36560 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36561 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
36562 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36563 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
36564 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36565 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36566 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
36567 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36568 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
36569 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36570 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36571 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36572 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
36573 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
36574 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36575 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36576 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
36577 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36578 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36579 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36580 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36581 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36582 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36583 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36584 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
36585 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36586 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36587 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
36588 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36589 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36590 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
36591 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36592 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36593 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36594 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
36595 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
36596 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
36597 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
36598 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36599 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36600 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
36601 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
36602 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36603 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36604 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36605 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36606 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
36607 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36608 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36609 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36610 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36611 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
36612 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36613 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36614 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36615 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36616 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36617 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36618 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36619 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36620 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36621 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
36622 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36623 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36624 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36625 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36626 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36627 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36628 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
36629 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
36630 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
36631 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
36632 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
36633 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36634 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36635 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36636 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36637 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36638 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36639 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36640 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36641 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36642 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36643 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36644 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36645 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36646 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36647 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36648 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36649 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36650 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36651 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36652 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36653 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
36654 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
36655 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
36656 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36657 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36658 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
36659 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
36660 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36661 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
36662 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
36663 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
36664 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36665 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36666 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
36667 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36668 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36669 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
36670 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36671 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
36672 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
36673 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36674 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36675 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36676 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
36677 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
36678 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
36679 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
36680 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
36681 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
36682 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36683 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36684 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36685 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36686 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36687 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36688 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36689 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36690 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36691 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36692 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36693 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36694 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36695 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36696 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36697 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36698 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36699 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36700 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36701 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36702 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36703 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36704 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36705 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36706 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36707 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36708 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36709 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36710 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36711 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36712 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36713 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36714 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36715 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36716 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36717 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36718 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36719 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36720 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36721 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36722 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36723 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36724 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36725 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36726 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36727 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36728 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36729 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36730 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36731 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36732 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36733 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36734 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36735 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36736 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36737 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36738 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36739 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36740 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36741 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36742 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36743 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36744 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36745 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36746 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36747 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36748 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36749 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36750 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36751 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36752 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36753 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36754 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36755 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36756 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36757 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36758 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36759 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36760 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36761 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36762 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36763 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36764 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36765 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36766 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36767 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36768 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36769 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36770 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36771 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36772 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36773 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36774 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36775 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36776 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36777 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36778 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36779 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36780 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36781 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36782 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36783 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36784 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36785 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36786 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36787 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36788 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36789 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36790 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36791 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36792 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36793 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36794 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36795 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36796 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36797 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36798 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36799 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36800 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36801 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36802 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36803 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36804 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36805 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36806 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36807 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36808 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36809 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36810 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36811 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36812 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36813 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36814 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36815 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36816 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36817 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36818 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36819 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36820 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36821 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36822 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36823 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36824 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36825 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36826 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36827 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36828 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36829 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36830 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36831 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36832 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36833 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36834 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36835 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36836 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36837 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36838 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36839 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36840 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36841 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36842 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36843 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36844 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36845 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36846 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36847 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36848 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36849 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36850 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36851 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36852 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36853 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36854 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36855 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36856 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36857 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36858 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36859 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36860 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36861 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36862 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36863 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36864 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36865 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36866 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36867 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36868 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36869 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36870 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36871 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36872 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36873 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36874 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36875 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36876 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36877 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36878 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36879 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36880 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36881 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36882 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36883 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36884 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36885 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36886 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36887 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36888 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36889 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36890 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36891 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36892 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36893 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36894 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36895 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36896 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36897 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36898 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36899 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36900 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36901 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36902 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36903 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36904 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36905 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36906 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36907 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36908 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36909 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36910 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36911 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36912 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36913 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36914 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36915 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36916 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36917 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36918 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36919 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36920 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36921 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36922 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36923 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36924 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36925 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36926 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36927 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36928 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36929 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36930 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36931 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36932 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36933 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36934 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36935 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36936 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36937 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36938 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36939 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36940 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36941 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36942 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36943 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36944 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36945 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36946 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36947 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36948 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36949 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36950 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36951 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36952 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36953 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36954 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36955 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36956 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36957 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36958 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36959 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36960 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36961 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36962 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36963 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36964 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36965 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36966 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36967 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36968 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36969 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36970 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36971 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36972 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36973 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36974 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36975 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36976 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36977 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36978 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36979 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36980 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36981 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36982 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36983 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36984 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36985 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36986 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36987 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36988 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36989 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36990 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36991 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36992 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36993 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36994 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36995 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36996 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36997 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36998 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36999 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
37000 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
37001 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
37002 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
37003 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
37004 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
37005 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
37006 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
37007 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
37008 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
37009 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
37010 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
37011 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
37012 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
37013 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
37014 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
37015 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
37016 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
37017 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
37018 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
37019 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
37020 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
37021 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
37022 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
37023 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37024 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
37025 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
37026 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
37027 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
37028 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
37029 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
37030 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
37031 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
37032 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
37033 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
37034 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
37035 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
37036 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
37037 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
37038 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
37039 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
37040 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
37041 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
37042 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
37043 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
37044 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
37045 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
37046 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
37047 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
37048 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
37049 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
37050 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
37051 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
37052 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
37053 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
37054 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
37055 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
37056 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
37057 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
37058 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
37059 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
37060 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
37061 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
37062 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
37063 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
37064 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
37065 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37066 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37067 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
37068 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
37069 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
37070 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
37071 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
37072 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
37073 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
37074 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
37075 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
37076 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
37077 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
37078 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
37079 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
37080 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
37081 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
37082 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
37083 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
37084 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
37085 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
37086 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37087 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37088 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
37089 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
37090 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
37091 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37092 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37093 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
37094 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
37095 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37096 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37097 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
37098 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
37099 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
37100 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
37101 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
37102 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
37103 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
37104 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
37105 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
37106 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
37107 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37108 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37109 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
37110 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
37111 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
37112 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
37113 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
37114 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
37115 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
37116 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
37117 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
37118 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
37119 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
37120 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
37121 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
37122 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
37123 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
37124 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
37125 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
37126 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
37127 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
37128 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
37129 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
37130 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
37131 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
37132 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
37133 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
37134 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
37135 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
37136 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
37137 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
37138 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
37139 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
37140 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
37141 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
37142 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
37143 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
37144 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
37145 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
37146 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
37147 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
37148 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
37149 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
37150 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
37151 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
37152 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
37153 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
37154 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
37155 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
37156 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
37157 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
37158 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
37159 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
37160 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
37161 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
37162 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
37163 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
37164 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
37165 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
37166 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37167 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37168 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
37169 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
37170 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
37171 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
37172 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
37173 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
37174 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
37175 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
37176 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
37177 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
37178 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
37179 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
37180 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
37181 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
37182 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
37183 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
37184 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
37185 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
37186 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
37187 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
37188 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
37189 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
37190 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
37191 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
37192 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
37193 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
37194 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
37195 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
37196 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
37197 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
37198 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
37199 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
37200 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
37201 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
37202 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
37203 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
37204 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
37205 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
37206 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
37207 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
37208 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
37213 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37215 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
37216 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
37218 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
37219 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
37221 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
37222 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37224 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
37225 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37227 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
37228 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
37230 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
37231 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37233 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
37234 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
37236 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
37237 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37239 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37242 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37243 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37245 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37246 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37248 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37249 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37251 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37252 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37254 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37255 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37257 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37258 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37260 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37263 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37264 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37266 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37269 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37270 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37272 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37275 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37276 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37278 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37279 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37281 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37282 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37284 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37285 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37287 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37288 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37290 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37291 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37293 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37294 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37296 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37297 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37299 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37302 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37303 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37305 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37306 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37308 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37309 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37311 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37312 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37314 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37315 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37317 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37318 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37320 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37323 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37324 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37326 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37327 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37329 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37332 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37335 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37336 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37338 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37339 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37341 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37342 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37344 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
37345 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37347 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
37348 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37350 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
37351 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37353 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37354 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37356 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37357 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37359 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37360 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37362 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37363 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37365 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37368 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37369 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37371 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37372 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37374 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37375 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37377 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37378 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37380 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37381 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37383 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
37384 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
37386 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
37387 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
37389 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
37390 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
37392 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
37393 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
37395 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
37396 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
37398 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
37399 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37401 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
37402 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
37404 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
37405 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
37407 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
37408 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37410 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
37411 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37413 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
37414 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
37416 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
37417 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
37419 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
37420 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
37422 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
37423 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
37425 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
37426 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
37428 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
37429 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
37431 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
37432 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
37434 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
37435 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
37437 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37438 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
37440 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37441 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
37443 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37444 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
37446 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37447 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37449 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37450 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37452 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37455 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37456 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37458 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37459 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37461 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37462 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37464 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37465 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37467 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37470 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37473 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37474 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37476 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37477 return (void *)((wxObject
*) ((wxSizer
*) x
));
37479 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37480 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37482 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37483 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37485 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37486 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37488 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37489 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37491 static void *_p_wxImageTo_p_wxObject(void *x
) {
37492 return (void *)((wxObject
*) ((wxImage
*) x
));
37494 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37497 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37500 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37501 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37503 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37504 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37506 static void *_p_wxControlTo_p_wxObject(void *x
) {
37507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37509 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37510 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37512 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37513 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37515 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37516 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37518 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37519 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37521 static void *_p_wxEventTo_p_wxObject(void *x
) {
37522 return (void *)((wxObject
*) ((wxEvent
*) x
));
37524 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37525 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37527 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37528 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37530 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37531 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37533 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37534 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37536 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37537 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37539 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37540 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37542 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37545 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37546 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37548 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37551 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37552 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37554 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37555 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37557 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37558 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37560 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37563 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37564 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37566 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37567 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37569 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37570 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37572 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37575 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37576 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37578 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37579 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37581 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37582 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37584 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37585 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37587 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37588 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37590 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37591 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37593 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37594 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37596 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37599 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37600 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37602 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37603 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37605 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37606 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37608 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37609 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37611 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37612 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37614 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37615 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37617 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37620 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37621 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37623 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37624 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37626 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37627 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37629 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37630 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37632 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37633 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37635 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37636 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37638 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37639 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37641 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37644 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37645 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37647 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37648 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37650 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37653 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37654 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37656 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37657 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37659 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37660 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37662 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37663 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37665 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37666 return (void *)((wxWindow
*) ((wxControl
*) x
));
37668 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37669 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37671 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37672 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37674 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37675 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37677 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37678 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37680 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37681 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37683 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37684 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37686 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37687 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37689 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37690 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37692 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37693 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37695 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37696 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37698 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37699 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37701 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37702 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37703 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37704 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37705 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37706 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37707 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
},{0}};
37708 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37709 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37710 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37711 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37712 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37713 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37714 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
37715 static swig_type_info _swigt__p_wxGridSizer
[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer
},{"_p_wxGridSizer"},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer
},{0}};
37716 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37717 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37718 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37719 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37720 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37721 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37722 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37723 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37724 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37725 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37726 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37727 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37728 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37729 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37730 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37731 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37732 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37733 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37734 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37735 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37736 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37737 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37738 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37739 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37740 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37741 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37742 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37743 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37744 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37745 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37746 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37747 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37748 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37749 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37750 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37751 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37752 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37753 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37754 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37755 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37756 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37757 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37758 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37759 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37760 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37761 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37762 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37763 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37764 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{0}};
37765 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37766 static swig_type_info _swigt__p_wxICOHandler
[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0},{"_p_wxICOHandler"},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler
},{0}};
37767 static swig_type_info _swigt__p_wxBMPHandler
[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0},{"_p_wxBMPHandler"},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler
},{0}};
37768 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0},{"_p_wxImageHandler"},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
},{0}};
37769 static swig_type_info _swigt__p_wxFileSystemHandler
[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0},{"_p_wxFileSystemHandler"},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler
},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
},{0}};
37770 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37771 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37772 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37773 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37774 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37775 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37776 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37777 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37778 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37779 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37780 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37781 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37782 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37783 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37784 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37785 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
37786 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37787 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37788 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37789 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37790 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37791 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37792 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37793 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
37794 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37795 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37796 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37797 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37798 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37799 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37800 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37801 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37802 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37803 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37804 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37805 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{0}};
37806 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37807 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37808 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37809 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37810 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37811 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37812 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37813 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37814 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37816 static swig_type_info
*swig_types_initial
[] = {
37817 _swigt__p_wxLayoutConstraints
,
37818 _swigt__p_wxRealPoint
,
37819 _swigt__p_wxSizerItem
,
37820 _swigt__p_wxGBSizerItem
,
37821 _swigt__p_wxScrollEvent
,
37822 _swigt__p_wxIndividualLayoutConstraint
,
37824 _swigt__p_wxBoxSizer
,
37825 _swigt__p_wxStaticBoxSizer
,
37826 _swigt__p_wxGridBagSizer
,
37827 _swigt__p_wxAcceleratorEntry
,
37828 _swigt__p_wxUpdateUIEvent
,
37831 _swigt__p_wxGridSizer
,
37832 _swigt__p_wxFlexGridSizer
,
37833 _swigt__p_wxInitDialogEvent
,
37834 _swigt__p_wxItemContainer
,
37835 _swigt__p_wxNcPaintEvent
,
37836 _swigt__p_wxPaintEvent
,
37837 _swigt__p_wxSysColourChangedEvent
,
37838 _swigt__p_wxMouseCaptureChangedEvent
,
37839 _swigt__p_wxDisplayChangedEvent
,
37840 _swigt__p_wxPaletteChangedEvent
,
37841 _swigt__p_wxControl
,
37843 _swigt__p_wxMenuBarBase
,
37844 _swigt__p_wxSetCursorEvent
,
37845 _swigt__p_wxFSFile
,
37847 _swigt__p_wxRegion
,
37848 _swigt__p_wxPoint2D
,
37852 _swigt__p_wxPySizer
,
37853 _swigt__p_wxNotifyEvent
,
37854 _swigt__p_wxPyEvent
,
37855 _swigt__p_wxPropagationDisabler
,
37856 _swigt__p_wxAppTraits
,
37857 _swigt__p_wxArrayString
,
37858 _swigt__p_wxShowEvent
,
37859 _swigt__p_wxToolTip
,
37860 _swigt__p_wxMaximizeEvent
,
37861 _swigt__p_wxIconizeEvent
,
37862 _swigt__p_wxActivateEvent
,
37863 _swigt__p_wxMoveEvent
,
37864 _swigt__p_wxSizeEvent
,
37865 _swigt__p_wxQueryNewPaletteEvent
,
37866 _swigt__p_wxWindowCreateEvent
,
37867 _swigt__p_wxIdleEvent
,
37868 _swigt__p_wxMenuItem
,
37869 _swigt__p_wxStaticBox
,
37871 _swigt__p_wxTIFFHandler
,
37872 _swigt__p_wxXPMHandler
,
37873 _swigt__p_wxPNMHandler
,
37874 _swigt__p_wxJPEGHandler
,
37875 _swigt__p_wxPCXHandler
,
37876 _swigt__p_wxGIFHandler
,
37877 _swigt__p_wxPNGHandler
,
37878 _swigt__p_wxANIHandler
,
37879 _swigt__p_wxMemoryFSHandler
,
37880 _swigt__p_wxEvtHandler
,
37881 _swigt__p_wxCURHandler
,
37882 _swigt__p_wxICOHandler
,
37883 _swigt__p_wxBMPHandler
,
37884 _swigt__p_wxImageHandler
,
37885 _swigt__p_wxFileSystemHandler
,
37886 _swigt__p_wxPyFileSystemHandler
,
37887 _swigt__p_wxInternetFSHandler
,
37888 _swigt__p_wxZipFSHandler
,
37890 _swigt__p_wxGBSpan
,
37891 _swigt__p_wxPropagateOnce
,
37892 _swigt__p_wxAcceleratorTable
,
37893 _swigt__p_wxGBPosition
,
37896 _swigt__p_wxScrollWinEvent
,
37897 _swigt__p_wxImageHistogram
,
37900 _swigt__p_wxCursor
,
37901 _swigt__p_wxObject
,
37902 _swigt__p_wxPyInputStream
,
37903 _swigt__p_wxOutputStream
,
37904 _swigt__p_wxInputStream
,
37905 _swigt__p_wxDateTime
,
37906 _swigt__p_wxKeyEvent
,
37907 _swigt__p_wxNavigationKeyEvent
,
37908 _swigt__p_wxWindowDestroyEvent
,
37909 _swigt__p_wxWindow
,
37910 _swigt__p_wxMenuBar
,
37911 _swigt__p_wxString
,
37912 _swigt__p_wxFileSystem
,
37913 _swigt__p_wxBitmap
,
37914 _swigt__p_wxMenuEvent
,
37915 _swigt__p_wxContextMenuEvent
,
37916 _swigt__p_unsigned_char
,
37917 _swigt__p_wxCloseEvent
,
37918 _swigt__p_wxEraseEvent
,
37919 _swigt__p_wxMouseEvent
,
37921 _swigt__p_wxCommandEvent
,
37922 _swigt__p_wxPyCommandEvent
,
37923 _swigt__p_wxPyDropTarget
,
37924 _swigt__p_wxChildFocusEvent
,
37925 _swigt__p_wxFocusEvent
,
37926 _swigt__p_wxDropFilesEvent
,
37927 _swigt__p_wxControlWithItems
,
37928 _swigt__p_wxColour
,
37929 _swigt__p_wxValidator
,
37930 _swigt__p_wxPyValidator
,
37935 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37937 static swig_const_info swig_const_table
[] = {
37938 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
38023 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
38024 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
38025 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
38026 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
38027 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
38028 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
38029 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
38030 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
38031 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
38032 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
38033 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
38034 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
38035 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
38036 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
38037 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
38038 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
38039 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
38040 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
38041 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
38042 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
38043 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
38044 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
38045 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
38046 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
38047 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
38048 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
38049 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
38050 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
38051 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
38052 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
38053 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
38054 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
38055 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
38056 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
38057 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
38058 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
38059 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
38060 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
38061 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
38062 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
38063 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
38064 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
38065 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
38066 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
38067 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
38068 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
38069 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
38070 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
38071 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
38072 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
38073 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
38074 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
38075 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
38076 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
38077 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
38078 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
38079 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
38080 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
38081 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
38082 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
38083 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
38084 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
38085 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
38086 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
38087 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
38088 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
38089 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
38090 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
38091 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
38092 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
38093 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
38094 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
38095 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
38096 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
38097 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
38098 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
38099 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
38100 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
38101 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
38102 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
38103 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
38104 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
38105 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
38106 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
38107 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
38108 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
38109 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
38110 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
38111 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
38112 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
38113 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
38114 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
38115 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
38116 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
38117 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
38118 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
38119 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
38120 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
38121 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
38122 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
38123 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
38124 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
38125 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
38126 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
38127 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
38128 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
38129 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
38130 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
38131 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
38132 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
38133 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
38134 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
38135 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
38136 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
38137 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
38138 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
38139 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
38140 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
38141 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
38142 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
38143 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
38144 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
38145 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
38146 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
38147 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
38148 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
38149 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
38150 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
38151 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
38152 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
38153 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
38154 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
38155 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
38156 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
38157 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
38158 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
38159 { SWIG_PY_INT
, (char *)"FULL_REPAINT_ON_RESIZE", (long) wxFULL_REPAINT_ON_RESIZE
, 0, 0, 0},
38160 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
38161 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
38162 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
38163 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
38164 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
38165 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
38166 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
38167 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
38168 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
38169 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
38170 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
38171 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
38172 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
38173 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
38174 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
38175 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
38176 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
38177 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
38178 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
38179 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
38180 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
38181 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
38182 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
38183 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
38184 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
38185 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
38186 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
38187 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
38188 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
38189 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
38190 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
38191 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
38192 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
38193 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
38194 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
38195 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
38196 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
38197 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
38198 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
38199 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
38200 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
38201 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
38202 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
38203 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
38204 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
38205 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
38206 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
38207 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
38208 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
38209 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
38210 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
38211 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
38212 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
38213 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
38214 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
38215 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
38216 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
38217 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
38218 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
38219 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
38220 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
38221 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
38222 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
38223 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
38224 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
38225 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
38226 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
38227 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
38228 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
38229 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
38230 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
38231 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
38232 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
38233 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
38234 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
38235 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
38236 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
38237 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
38238 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
38239 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
38240 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
38241 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
38242 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
38243 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
38244 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
38245 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
38246 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
38247 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
38248 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
38249 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
38250 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
38251 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
38252 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
38253 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
38254 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
38255 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
38256 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
38257 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
38258 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
38259 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
38260 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
38261 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
38262 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
38263 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
38264 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
38265 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
38266 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
38267 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
38268 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
38269 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
38270 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
38271 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
38272 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
38273 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
38274 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
38275 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
38276 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
38277 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
38278 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
38279 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
38280 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
38281 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
38282 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
38283 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
38284 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
38285 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
38286 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
38287 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
38288 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
38289 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
38290 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
38291 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
38292 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
38293 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
38294 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
38295 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
38296 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
38297 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
38298 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
38299 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
38300 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
38301 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
38302 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
38303 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
38304 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
38305 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
38306 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
38307 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
38308 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
38309 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
38310 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
38311 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
38312 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
38313 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
38314 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
38315 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
38316 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
38317 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
38318 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
38319 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
38320 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
38321 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
38322 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
38323 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
38324 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
38325 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
38326 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
38327 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
38328 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
38329 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
38330 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
38331 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
38332 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
38333 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
38334 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
38335 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
38336 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
38337 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
38338 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
38339 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
38340 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
38341 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
38342 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
38343 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
38344 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
38345 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
38346 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
38347 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
38348 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
38349 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
38350 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
38351 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
38352 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
38353 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
38354 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
38355 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
38356 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
38357 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
38358 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
38359 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
38360 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
38361 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
38362 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
38363 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
38364 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
38365 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
38366 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
38367 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
38368 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
38369 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
38370 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
38371 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
38372 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
38373 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
38374 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
38375 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
38376 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
38377 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
38378 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
38379 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
38380 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
38381 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
38382 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
38383 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
38384 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
38385 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
38386 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
38387 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
38388 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
38389 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
38390 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
38391 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
38392 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
38393 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
38394 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
38395 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
38396 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
38397 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
38398 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
38399 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
38400 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
38401 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
38402 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
38403 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
38404 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
38405 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
38406 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
38407 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
38408 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
38409 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
38410 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
38411 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
38412 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
38413 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
38414 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
38415 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
38416 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
38417 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
38418 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
38419 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
38420 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
38421 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
38422 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
38423 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
38424 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
38425 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
38426 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
38427 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
38428 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
38429 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
38430 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
38431 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
38432 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
38433 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
38434 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
38435 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
38436 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
38437 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
38438 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
38439 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
38440 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
38441 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
38442 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
38443 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
38444 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
38445 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
38446 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
38447 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
38448 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
38449 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
38450 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
38451 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
38452 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
38453 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
38454 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
38455 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
38456 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
38457 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
38458 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
38459 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
38460 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
38461 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
38462 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
38463 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
38464 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
38465 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
38466 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
38467 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
38468 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
38469 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
38470 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
38471 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
38472 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
38473 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
38474 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
38475 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
38476 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
38477 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
38478 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
38479 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
38480 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
38481 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
38482 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
38483 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
38484 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
38485 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
38486 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
38487 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
38488 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
38489 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
38490 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
38491 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
38492 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
38493 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
38494 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
38495 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
38496 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
38497 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
38498 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
38499 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
38500 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
38501 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
38502 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
38503 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
38504 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
38505 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
38506 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
38507 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
38508 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
38509 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
38510 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
38511 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
38512 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
38513 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
38514 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
38515 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
38516 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
38517 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
38518 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
38519 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
38520 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
38521 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
38522 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
38523 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
38524 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
38525 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
38526 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
38527 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
38528 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
38529 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
38530 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
38531 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
38532 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
38533 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
38534 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
38535 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
38536 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
38537 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
38538 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
38539 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
38540 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
38541 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
38542 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
38543 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
38544 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
38545 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
38546 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
38547 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
38548 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
38549 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
38550 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
38551 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
38552 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
38553 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
38554 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
38555 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
38556 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
38557 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
38558 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
38559 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
38560 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
38561 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
38562 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
38563 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
38564 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
38565 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
38566 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
38567 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
38568 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
38569 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
38570 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
38571 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
38572 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
38573 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
38574 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
38575 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
38576 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
38577 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
38578 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
38579 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
38580 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
38581 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
38582 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
38583 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
38584 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
38585 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
38586 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
38587 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
38588 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
38589 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
38590 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
38591 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
38592 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
38593 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
38594 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
38595 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
38596 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
38597 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
38598 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
38599 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
38600 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
38601 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
38602 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
38603 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
38604 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
38605 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
38606 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
38607 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
38608 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
38609 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
38610 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
38611 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
38612 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
38613 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
38614 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
38615 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
38616 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
38617 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
38618 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
38619 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
38620 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
38621 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
38622 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
38623 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
38624 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
38625 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
38626 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
38627 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
38628 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
38629 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
38630 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
38631 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
38632 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
38633 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
38634 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
38635 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
38636 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
38637 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
38638 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
38639 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
38640 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
38641 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
38642 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
38643 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
38644 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
38645 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
38646 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
38647 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
38648 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
38649 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
38650 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
38651 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
38652 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
38653 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
38654 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
38655 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
38656 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
38657 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
38658 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
38659 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
38660 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
38661 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
38662 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
38663 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
38664 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
38665 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
38666 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
38667 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
38668 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
38669 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
38670 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38671 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38672 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38673 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38674 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38675 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38676 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38677 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38678 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38679 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38680 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38681 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38682 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38683 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38684 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38685 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38686 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38687 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38688 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38689 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38690 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38691 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38692 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38693 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38703 SWIGEXPORT(void) SWIG_init(void) {
38704 static PyObject
*SWIG_globals
= 0;
38705 static int typeinit
= 0;
38708 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38709 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38710 d
= PyModule_GetDict(m
);
38713 for (i
= 0; swig_types_initial
[i
]; i
++) {
38714 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38718 SWIG_InstallConstants(d
,swig_const_table
);
38721 #ifndef wxPyUSE_EXPORT
38722 // Make our API structure a CObject so other modules can import it
38723 // from this module.
38724 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38725 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38729 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38730 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
38731 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38732 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38734 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38737 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38739 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38740 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38741 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38742 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38743 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38744 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38745 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38746 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38747 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38748 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38749 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38750 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38751 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38752 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38753 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38754 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38756 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38757 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38758 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38759 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38760 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38761 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38764 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38765 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38766 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38767 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38768 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38769 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38770 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38771 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38772 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38773 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38774 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38775 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38776 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38777 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38778 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38779 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38780 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38781 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38782 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38783 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38784 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38785 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38786 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38787 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38788 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38789 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38790 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38791 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38792 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38793 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38794 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38795 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38796 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38797 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38798 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38799 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38800 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38801 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38802 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38803 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38804 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38805 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38806 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38807 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38808 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38809 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38810 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38811 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38812 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38813 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38814 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38815 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38816 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38817 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38818 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38819 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38820 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38821 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38822 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38823 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38824 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38825 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38826 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38827 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38828 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38829 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38830 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38831 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38832 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38833 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38834 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38835 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38836 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38837 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38838 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38839 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38840 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38841 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38842 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38843 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38844 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38845 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38846 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38847 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38848 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38849 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38850 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38851 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38853 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38854 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38855 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38856 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38857 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38858 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38859 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
38860 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
38861 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38862 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
38863 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38865 // Initialize threading, some globals and such
38869 // Although these are defined in __version__ they need to be here too so
38870 // that an assert can be done to ensure that the wxPython and the wxWindows
38872 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38873 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38874 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));