]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_core_wrap.cpp
wxScreenDC also needs a pango context and layout so it can do GetTextExtent
[wxWidgets.git] / wxPython / src / msw / _core_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
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 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
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
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
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
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
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
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210#define SWIGTYPE_p_wxRealPoint swig_types[1]
211#define SWIGTYPE_p_wxSizerItem swig_types[2]
212#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213#define SWIGTYPE_p_wxScrollEvent swig_types[4]
214#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215#define SWIGTYPE_p_wxSizer swig_types[6]
216#define SWIGTYPE_p_wxBoxSizer swig_types[7]
217#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221#define SWIGTYPE_p_wxMenu swig_types[12]
222#define SWIGTYPE_p_wxEvent swig_types[13]
223#define SWIGTYPE_p_wxGridSizer swig_types[14]
224#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226#define SWIGTYPE_p_wxItemContainer swig_types[17]
227#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228#define SWIGTYPE_p_wxPaintEvent swig_types[19]
229#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxFont swig_types[25]
235#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237#define SWIGTYPE_p_wxFSFile swig_types[28]
238#define SWIGTYPE_p_wxCaret swig_types[29]
239#define SWIGTYPE_p_wxRegion swig_types[30]
240#define SWIGTYPE_p_wxPoint2D swig_types[31]
241#define SWIGTYPE_p_int swig_types[32]
242#define SWIGTYPE_p_wxSize swig_types[33]
243#define SWIGTYPE_p_wxDC swig_types[34]
244#define SWIGTYPE_p_wxPySizer swig_types[35]
245#define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246#define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247#define SWIGTYPE_p_wxPyEvent swig_types[38]
248#define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249#define SWIGTYPE_p_wxAppTraits swig_types[40]
250#define SWIGTYPE_p_wxArrayString swig_types[41]
251#define SWIGTYPE_p_wxShowEvent swig_types[42]
252#define SWIGTYPE_p_wxToolTip swig_types[43]
253#define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254#define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255#define SWIGTYPE_p_wxActivateEvent swig_types[46]
256#define SWIGTYPE_p_wxMoveEvent swig_types[47]
257#define SWIGTYPE_p_wxSizeEvent swig_types[48]
258#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259#define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260#define SWIGTYPE_p_wxIdleEvent swig_types[51]
261#define SWIGTYPE_p_wxMenuItem swig_types[52]
262#define SWIGTYPE_p_wxStaticBox swig_types[53]
263#define SWIGTYPE_p_long swig_types[54]
264#define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265#define SWIGTYPE_p_wxXPMHandler swig_types[56]
266#define SWIGTYPE_p_wxPNMHandler swig_types[57]
267#define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268#define SWIGTYPE_p_wxPCXHandler swig_types[59]
269#define SWIGTYPE_p_wxGIFHandler swig_types[60]
270#define SWIGTYPE_p_wxPNGHandler swig_types[61]
271#define SWIGTYPE_p_wxANIHandler swig_types[62]
272#define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273#define SWIGTYPE_p_wxEvtHandler swig_types[64]
274#define SWIGTYPE_p_wxCURHandler swig_types[65]
275#define SWIGTYPE_p_wxICOHandler swig_types[66]
276#define SWIGTYPE_p_wxBMPHandler swig_types[67]
277#define SWIGTYPE_p_wxImageHandler swig_types[68]
278#define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280#define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281#define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282#define SWIGTYPE_p_wxRect swig_types[73]
283#define SWIGTYPE_p_wxGBSpan swig_types[74]
284#define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285#define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286#define SWIGTYPE_p_char swig_types[77]
287#define SWIGTYPE_p_wxGBPosition swig_types[78]
288#define SWIGTYPE_p_wxImage swig_types[79]
289#define SWIGTYPE_p_wxFrame swig_types[80]
290#define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291#define SWIGTYPE_p_wxImageHistogram swig_types[82]
292#define SWIGTYPE_p_byte swig_types[83]
293#define SWIGTYPE_p_wxPoint swig_types[84]
294#define SWIGTYPE_p_wxCursor swig_types[85]
295#define SWIGTYPE_p_wxObject swig_types[86]
296#define SWIGTYPE_p_wxPyInputStream swig_types[87]
297#define SWIGTYPE_p_wxOutputStream swig_types[88]
298#define SWIGTYPE_p_wxInputStream swig_types[89]
299#define SWIGTYPE_p_wxDateTime swig_types[90]
300#define SWIGTYPE_p_wxKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303#define SWIGTYPE_p_wxWindow swig_types[94]
304#define SWIGTYPE_p_wxMenuBar swig_types[95]
305#define SWIGTYPE_p_wxFileSystem swig_types[96]
306#define SWIGTYPE_p_wxBitmap swig_types[97]
307#define SWIGTYPE_p_wxMenuEvent swig_types[98]
308#define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309#define SWIGTYPE_p_unsigned_char swig_types[100]
310#define SWIGTYPE_p_wxCloseEvent swig_types[101]
311#define SWIGTYPE_p_wxEraseEvent swig_types[102]
312#define SWIGTYPE_p_wxMouseEvent swig_types[103]
313#define SWIGTYPE_p_wxPyApp swig_types[104]
314#define SWIGTYPE_p_wxCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316#define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317#define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318#define SWIGTYPE_p_wxFocusEvent swig_types[109]
319#define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320#define SWIGTYPE_p_wxControlWithItems swig_types[111]
321#define SWIGTYPE_p_wxColour swig_types[112]
322#define SWIGTYPE_p_wxValidator swig_types[113]
323#define SWIGTYPE_p_wxPyValidator swig_types[114]
324static swig_type_info *swig_types[116];
325
326/* -------- TYPES TABLE (END) -------- */
327
328
329/*-----------------------------------------------
330 @(target):= _core_.so
331 ------------------------------------------------*/
332#define SWIG_init init_core_
333
334#define SWIG_name "_core_"
335
336/* Auxiliar swig macros */
337
338#ifdef __cplusplus
339#define SWIGSTATICINLINE(a) static inline a
340#define SWIGSTATIC(a) static a
341#define swig_new_array(type, size) (new type[(size)])
342#define swig_delete_array(cptr) delete[] cptr
343#define swig_const_cast(type,a) const_cast<type>(a)
344#define swig_static_cast(type,a) static_cast<type>(a)
345#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
346
347#ifdef HAVE_NUMERIC_CAST
348#define swig_numeric_cast(type,a) numeric_cast<type>(a)
349#else
350#define swig_numeric_cast(type,a) static_cast<type>(a)
351#endif
352
353#else /* C case */
354
355#define SWIGSTATICINLINE(a) static a
356#define SWIGSTATIC(a) static a
357#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358#define swig_delete_array(cptr) free((char*)cptr)
359#define swig_const_cast(type,a) (type)(a)
360#define swig_static_cast(type,a) (type)(a)
361#define swig_reinterpret_cast(type,a) (type)(a)
362#define swig_numeric_cast(type,a) (type)(a)
363
364#endif /* __cplusplus */
365
366
367#define SWIG_FromSignedChar PyInt_FromLong
368#define SWIG_FromUnsignedChar PyInt_FromLong
369#define SWIG_FromShort PyInt_FromLong
370#define SWIG_FromUnsignedShort PyInt_FromLong
371#define SWIG_FromInt PyInt_FromLong
372#define SWIG_FromLong PyInt_FromLong
373#define SWIG_FromFloat PyFloat_FromDouble
374#define SWIG_FromDouble PyFloat_FromDouble
375#define SWIG_FromFloat PyFloat_FromDouble
376#define SWIG_FromDouble PyFloat_FromDouble
377
378
379#include "wx/wxPython/wxPython_int.h"
380#include "wx/wxPython/pyclasses.h"
381
382
383#ifndef wxPyUSE_EXPORT
384// Helper functions for dealing with SWIG objects and such. These are
385// located here so they know about the SWIG types and functions declared
386// in the wrapper code.
387
388#include <wx/hashmap.h>
389WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
390
391
392// Maintains a hashmap of className to swig_type_info pointers. Given the
393// name of a class either looks up the type info in the cache, or scans the
394// SWIG tables for it.
395extern PyObject* wxPyPtrTypeMap;
396static
397swig_type_info* wxPyFindSwigType(const wxChar* className) {
398
399 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
400
401 if (typeInfoCache == NULL)
402 typeInfoCache = new wxPyTypeInfoHashMap;
403
404 wxString name(className);
405 swig_type_info* swigType = (*typeInfoCache)[name];
406
407 if (! swigType) {
408 // it wasn't in the cache, so look it up from SWIG
409 name.Append(wxT(" *"));
410 swigType = SWIG_Python_TypeQuery(name.mb_str());
411
412 // if it still wasn't found, try looking for a mapped name
413 if (!swigType) {
414 PyObject* item;
415 name = className;
416
417 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
418 (char*)(const char*)name.mbc_str())) != NULL) {
419 name = wxString(PyString_AsString(item), *wxConvCurrent);
420 name.Append(wxT(" *"));
421 swigType = SWIG_Python_TypeQuery(name.mb_str());
422 }
423 }
424 if (swigType) {
425 // and add it to the map if found
426 (*typeInfoCache)[className] = swigType;
427 }
428 }
429 return swigType;
430}
431
432
433// Check if a class name is a type known to SWIG
434bool wxPyCheckSwigType(const wxChar* className) {
435
436 swig_type_info* swigType = wxPyFindSwigType(className);
437 return swigType != NULL;
438}
439
440
441// Given a pointer to a C++ object and a class name, construct a Python proxy
442// object for it.
443PyObject* wxPyConstructObject(void* ptr,
444 const wxChar* className,
445 int setThisOwn) {
446
447 swig_type_info* swigType = wxPyFindSwigType(className);
448 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
449
450 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
451}
452
453
454// Extract a pointer to the wrapped C++ object from a Python proxy object.
455// Ensures that the proxy object is of the specified (or derived) type. If
456// not able to perform the conversion then a Python exception is set and the
457// error should be handled properly in the caller. Returns True on success.
458bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
459 const wxChar* className) {
460
461 swig_type_info* swigType = wxPyFindSwigType(className);
462 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
463
464 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
465}
466
467
468// Make a SWIGified pointer object suitable for a .this attribute
469PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
470
471 PyObject* robj = NULL;
472
473 swig_type_info* swigType = wxPyFindSwigType(className);
474 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
475
476#ifdef SWIG_COBJECT_TYPES
477 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
478#else
479 {
480 char result[1024];
481 char *r = result;
482 *(r++) = '_';
483 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
484 strcpy(r, swigType->name);
485 robj = PyString_FromString(result);
486 }
487#endif
488
489 return robj;
490}
491
492
493
494
495// Export a C API in a struct. Other modules will be able to load this from
496// the wx._core_ module and will then have safe access to these functions,
497// even if they are located in another shared library.
498static wxPyCoreAPI API = {
499
500 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
501 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
502 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
503 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
504 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
505 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
506 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
507 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
508 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
509 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
510 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
511 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
512 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
513 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
514 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
515 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
516 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
517
518 wxPyCheckSwigType,
519 wxPyConstructObject,
520 wxPyConvertSwigPtr,
521 wxPyMakeSwigPtr,
522
523 wxPyBeginAllowThreads,
524 wxPyEndAllowThreads,
525 wxPyBeginBlockThreads,
526 wxPyEndBlockThreads,
527
528 wxPy_ConvertList,
529
530 wxString_in_helper,
531 Py2wxString,
532 wx2PyString,
533
534 byte_LIST_helper,
535 int_LIST_helper,
536 long_LIST_helper,
537 string_LIST_helper,
538 wxPoint_LIST_helper,
539 wxBitmap_LIST_helper,
540 wxString_LIST_helper,
541 wxAcceleratorEntry_LIST_helper,
542
543 wxSize_helper,
544 wxPoint_helper,
545 wxRealPoint_helper,
546 wxRect_helper,
547 wxColour_helper,
548 wxPoint2D_helper,
549
550 wxPySimple_typecheck,
551 wxColour_typecheck,
552
553 wxPyCBH_setCallbackInfo,
554 wxPyCBH_findCallback,
555 wxPyCBH_callCallback,
556 wxPyCBH_callCallbackObj,
557 wxPyCBH_delete,
558
559 wxPyMake_wxObject,
560 wxPyMake_wxSizer,
561 wxPyPtrTypeMap_Add,
562 wxPy2int_seq_helper,
563 wxPy4int_seq_helper,
564 wxArrayString2PyList_helper,
565 wxArrayInt2PyList_helper,
566
567 wxPyClientData_dtor,
568 wxPyUserData_dtor,
569 wxPyOORClientData_dtor,
570
571 wxPyCBInputStream_create,
572
573 wxPyInstance_Check,
574 wxPySwigInstance_Check
575
576};
577
578#endif
579
580
581#if ! wxUSE_HOTKEY
582enum wxHotkeyModifier
583{
584 wxMOD_NONE = 0,
585 wxMOD_ALT = 1,
586 wxMOD_CONTROL = 2,
587 wxMOD_SHIFT = 4,
588 wxMOD_WIN = 8
589};
590#define wxEVT_HOTKEY 9999
591#endif
592
593 static const wxString wxPyEmptyString(wxEmptyString);
594wxString wxObject_GetClassName(wxObject *self){
595 return self->GetClassInfo()->GetClassName();
596 }
597void wxObject_Destroy(wxObject *self){
598 delete self;
599 }
600
601#ifndef __WXMAC__
602#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
603#endif
604
605
606#include <limits.h>
607
608
609SWIGSTATICINLINE(long)
610SWIG_CheckLongInRange(long value, const char* type,
611 long min_value, long max_value)
612{
613 if (!PyErr_Occurred()) {
614 if (value < min_value) {
615 PyObject *err =
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value, type, min_value);
618
619 PyErr_SetObject(PyExc_OverflowError, err);
620 Py_DECREF(err);
621 } else if (value > max_value) {
622 PyObject *err =
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value, type, max_value);
625 PyErr_SetObject(PyExc_OverflowError, err);
626 Py_DECREF(err);
627 }
628 }
629 return value;
630}
631
632
633SWIGSTATICINLINE(long)
634SWIG_AsLong(PyObject * obj)
635{
636 if (PyNumber_Check(obj))
637 return PyInt_AsLong(obj);
638 else {
639 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
640 obj->ob_type->tp_name);
641 PyErr_SetObject(PyExc_TypeError, errmsg);
642 Py_DECREF(errmsg);
643 return 0;
644 }
645}
646
647
648#if INT_MAX != LONG_MAX
649SWIGSTATICINLINE(int)
650SWIG_AsInt(PyObject *obj)
651{
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj),
654 "int", INT_MIN, INT_MAX));
655}
656#else
657#define SWIG_AsInt SWIG_AsLong
658#endif
659
660
661SWIGSTATICINLINE(int)
662SWIG_CheckInt(PyObject* obj)
663{
664 SWIG_AsInt(obj);
665 if (PyErr_Occurred()) {
666 PyErr_Clear();
667 return 0;
668 } else {
669 return 1;
670 }
671}
672
673PyObject *wxSize_Get(wxSize *self){
674 bool blocked = wxPyBeginBlockThreads();
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
677 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
678 wxPyEndBlockThreads(blocked);
679 return tup;
680 }
681
682SWIGSTATICINLINE(double)
683SWIG_AsDouble(PyObject *obj)
684{
685 if (PyNumber_Check(obj))
686 return PyFloat_AsDouble(obj);
687 else {
688 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
689 obj->ob_type->tp_name);
690 PyErr_SetObject(PyExc_TypeError, errmsg);
691 Py_DECREF(errmsg);
692 return 0;
693 }
694}
695
696
697SWIGSTATICINLINE(int)
698SWIG_CheckDouble(PyObject* obj)
699{
700 SWIG_AsDouble(obj);
701 if (PyErr_Occurred()) {
702 PyErr_Clear();
703 return 0;
704 } else {
705 return 1;
706 }
707}
708
709void wxRealPoint_Set(wxRealPoint *self,double x,double y){
710 self->x = x;
711 self->y = y;
712 }
713PyObject *wxRealPoint_Get(wxRealPoint *self){
714 bool blocked = wxPyBeginBlockThreads();
715 PyObject* tup = PyTuple_New(2);
716 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
717 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
718 wxPyEndBlockThreads(blocked);
719 return tup;
720 }
721
722SWIGSTATICINLINE(int)
723SWIG_CheckLong(PyObject* obj)
724{
725 SWIG_AsLong(obj);
726 if (PyErr_Occurred()) {
727 PyErr_Clear();
728 return 0;
729 } else {
730 return 1;
731 }
732}
733
734void wxPoint_Set(wxPoint *self,long x,long y){
735 self->x = x;
736 self->y = y;
737 }
738PyObject *wxPoint_Get(wxPoint *self){
739 bool blocked = wxPyBeginBlockThreads();
740 PyObject* tup = PyTuple_New(2);
741 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
742 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
743 wxPyEndBlockThreads(blocked);
744 return tup;
745 }
746void wxRect_Set(wxRect *self,int x,int y,int width,int height){
747 self->x = x;
748 self->y = y;
749 self->width = width;
750 self->height = height;
751 }
752PyObject *wxRect_Get(wxRect *self){
753 bool blocked = wxPyBeginBlockThreads();
754 PyObject* tup = PyTuple_New(4);
755 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
756 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
757 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
758 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
759 wxPyEndBlockThreads(blocked);
760 return tup;
761 }
762
763 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
764 wxRegion reg1(*r1);
765 wxRegion reg2(*r2);
766 wxRect dest(0,0,0,0);
767 PyObject* obj;
768
769 reg1.Intersect(reg2);
770 dest = reg1.GetBox();
771
772 if (dest != wxRect(0,0,0,0)) {
773 bool blocked = wxPyBeginBlockThreads();
774 wxRect* newRect = new wxRect(dest);
775 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
776 wxPyEndBlockThreads(blocked);
777 return obj;
778 }
779 Py_INCREF(Py_None);
780 return Py_None;
781 }
782
783
784static PyObject* t_output_helper(PyObject* target, PyObject* o) {
785 PyObject* o2;
786 PyObject* o3;
787
788 if (!target) {
789 target = o;
790 } else if (target == Py_None) {
791 Py_DECREF(Py_None);
792 target = o;
793 } else {
794 if (!PyTuple_Check(target)) {
795 o2 = target;
796 target = PyTuple_New(1);
797 PyTuple_SetItem(target, 0, o2);
798 }
799 o3 = PyTuple_New(1);
800 PyTuple_SetItem(o3, 0, o);
801
802 o2 = target;
803 target = PySequence_Concat(o2, o3);
804 Py_DECREF(o2);
805 Py_DECREF(o3);
806 }
807 return target;
808}
809
810void wxPoint2D_Set(wxPoint2D *self,double x,double y){
811 self->m_x = x;
812 self->m_y = y;
813 }
814PyObject *wxPoint2D_Get(wxPoint2D *self){
815 bool blocked = wxPyBeginBlockThreads();
816 PyObject* tup = PyTuple_New(2);
817 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
818 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
819 wxPyEndBlockThreads(blocked);
820 return tup;
821 }
822
823#include "wx/wxPython/pyistream.h"
824
825wxPyInputStream *new_wxPyInputStream(PyObject *p){
826 wxInputStream* wxis = wxPyCBInputStream::create(p);
827 if (wxis)
828 return new wxPyInputStream(wxis);
829 else
830 return NULL;
831 }
832
833SWIGSTATICINLINE(PyObject*)
834SWIG_FromChar(char c)
835{
836 return PyString_FromStringAndSize(&c,1);
837}
838
839
840SWIGSTATICINLINE(PyObject* )
841SWIG_FromUnsignedLong(unsigned long value)
842{
843 return (value > LONG_MAX) ?
844 PyLong_FromUnsignedLong(value)
845 : PyInt_FromLong(swig_numeric_cast(long,value));
846}
847
848
849/* returns '1' if the input is a raw char*, '0' if is a PyString */
850SWIGSTATIC(int)
851SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
852{
853 static swig_type_info* pchar_info = 0;
854 int psize = 0;
855 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
856
857 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
858 PyErr_Clear();
859 PyString_AsStringAndSize(obj, cptr, &psize);
860 if (PyErr_Occurred()) {
861 PyErr_Clear();
862 PyErr_SetString(PyExc_TypeError,"a string is expected");
863 }
864 if (size) *size = psize;
865 return 0;
866 } else {
867 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
868 return 1;
869 }
870}
871
872
873SWIGSTATIC(void)
874SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
875{
876 char* cptr; size_t csize;
877 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
878 if (PyErr_Occurred()) {
879 PyErr_Clear();
880 PyObject *err =
881 PyString_FromFormat("a char array of size %d is expected", size);
882 PyErr_SetObject(PyExc_TypeError, err);
883 Py_DECREF(err);
884 } else {
885 /* in C (but not in C++) you can do:
886
887 char x[5] = "hello";
888
889 ie, assing the array using an extra '0' char.
890 */
891#ifndef __cplusplus
892 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
893#endif
894 if (csize > size) {
895 PyObject *err =
896 PyString_FromFormat("a char array of maximum size %d is expected",
897 size);
898 PyErr_SetObject(PyExc_TypeError, err);
899 Py_DECREF(err);
900 } else {
901 if (csize) memcpy(carray, cptr, csize);
902 if (csize < size) memset(carray + csize, 0, size - csize);
903 }
904 }
905}
906
907
908SWIGSTATICINLINE(char)
909SWIG_AsChar(PyObject *obj)
910{
911 char c = 0;
912 if (PyInt_Check(obj) || PyLong_Check(obj)) {
913 c = swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj),
915 "char", CHAR_MIN, CHAR_MAX));
916 } else {
917 SWIG_AsCharArray(obj, &c, 1);
918 if (PyErr_Occurred()) {
919 PyErr_Clear();
920 PyErr_SetString(PyExc_TypeError, "a char is expected");
921 }
922 }
923 return c;
924}
925
926
927SWIGSTATICINLINE(int)
928SWIG_CheckChar(PyObject* obj)
929{
930 SWIG_AsChar(obj);
931 if (PyErr_Occurred()) {
932 PyErr_Clear();
933 return 0;
934 } else {
935 return 1;
936 }
937}
938
939void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
940 // We use only strings for the streams, not unicode
941 PyObject* str = PyObject_Str(obj);
942 if (! str) {
943 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
944 return;
945 }
946 self->Write(PyString_AS_STRING(str),
947 PyString_GET_SIZE(str));
948 Py_DECREF(str);
949 }
950
951#include "wx/wxPython/pyistream.h"
952
953
954class wxPyFileSystemHandler : public wxFileSystemHandler
955{
956public:
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
958
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
962 DEC_PYCALLBACK_STRING__pure(FindNext);
963
964 wxString GetProtocol(const wxString& location) {
965 return wxFileSystemHandler::GetProtocol(location);
966 }
967
968 wxString GetLeftLocation(const wxString& location) {
969 return wxFileSystemHandler::GetLeftLocation(location);
970 }
971
972 wxString GetAnchor(const wxString& location) {
973 return wxFileSystemHandler::GetAnchor(location);
974 }
975
976 wxString GetRightLocation(const wxString& location) {
977 return wxFileSystemHandler::GetRightLocation(location);
978 }
979
980 wxString GetMimeTypeFromExt(const wxString& location) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location);
982 }
983
984 PYPRIVATE;
985};
986
987
988IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
989IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
990IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
991IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
992
993
994SWIGSTATICINLINE(bool)
995SWIG_AsBool(PyObject *obj)
996{
997 return PyObject_IsTrue(obj) ? true : false;
998}
999
1000
1001SWIGSTATICINLINE(int)
1002SWIG_CheckBool(PyObject* obj)
1003{
1004 SWIG_AsBool(obj);
1005 if (PyErr_Occurred()) {
1006 PyErr_Clear();
1007 return 0;
1008 } else {
1009 return 1;
1010 }
1011}
1012
1013
1014 wxString wxFileSystem_URLToFileName(const wxString& url) {
1015 wxFileName fname = wxFileSystem::URLToFileName(url);
1016 return fname.GetFullPath();
1017 }
1018
1019
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1021 wxImage& image,
1022 long type) {
1023 wxMemoryFSHandler::AddFile(filename, image, type);
1024 }
1025
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1027 const wxBitmap& bitmap,
1028 long type) {
1029 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1030 }
1031
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1033 PyObject* data) {
1034 wxMemoryFSHandler::AddFile(filename,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data),
1037 (size_t)PyString_Size(data));
1038 }
1039
1040
1041#include "wx/wxPython/pyistream.h"
1042
1043
1044SWIGSTATICINLINE(unsigned long)
1045SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1046 unsigned long max_value)
1047{
1048 if (!PyErr_Occurred()) {
1049 if (value > max_value) {
1050 PyObject *err =
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value, type, max_value);
1053 PyErr_SetObject(PyExc_OverflowError, err);
1054 Py_DECREF(err);
1055 }
1056 }
1057 return value;
1058}
1059
1060
1061SWIGSTATICINLINE(unsigned long)
1062SWIG_AsUnsignedLong(PyObject * obj)
1063{
1064 if (PyLong_Check(obj)) {
1065 return PyLong_AsUnsignedLong(obj);
1066 } else {
1067 long i = SWIG_AsLong(obj);
1068 if ( !PyErr_Occurred() && (i < 0)) {
1069 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
1070 }
1071 return i;
1072 }
1073}
1074
1075
1076SWIGSTATICINLINE(unsigned char)
1077SWIG_AsUnsignedChar(PyObject *obj)
1078{
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1081 "unsigned char", UCHAR_MAX));
1082}
1083
1084
1085SWIGSTATICINLINE(int)
1086SWIG_CheckUnsignedChar(PyObject* obj)
1087{
1088 SWIG_AsUnsignedChar(obj);
1089 if (PyErr_Occurred()) {
1090 PyErr_Clear();
1091 return 0;
1092 } else {
1093 return 1;
1094 }
1095}
1096
1097wxImage *new_wxImage__SWIG_0(int width,int height,bool clear){
1098 if (width > 0 && height > 0)
1099 return new wxImage(width, height, clear);
1100 else
1101 return new wxImage;
1102 }
1103wxImage *new_wxImage__SWIG_1(wxSize const &size,bool clear){
1104 return new wxImage(size.x, size.y, clear);
1105 }
1106wxImage *new_wxImage(wxBitmap const &bitmap){
1107 return new wxImage(bitmap.ConvertToImage());
1108 }
1109wxImage *new_wxImage(int width,int height,unsigned char *data){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1112 if (copy == NULL) {
1113 PyErr_NoMemory();
1114 return NULL;
1115 }
1116 memcpy(copy, data, width*height*3);
1117 return new wxImage(width, height, copy, False);
1118 }
1119wxSize wxImage_GetSize(wxImage *self){
1120 wxSize size(self->GetWidth(), self->GetHeight());
1121 return size;
1122 }
1123PyObject *wxImage_GetData(wxImage *self){
1124 unsigned char* data = self->GetData();
1125 int len = self->GetWidth() * self->GetHeight() * 3;
1126 PyObject* rv;
1127 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1128 return rv;
1129 }
1130void wxImage_SetData(wxImage *self,PyObject *data){
1131 unsigned char* dataPtr;
1132
1133 if (! PyString_Check(data)) {
1134 PyErr_SetString(PyExc_TypeError, "Expected string object");
1135 return /* NULL */ ;
1136 }
1137
1138 size_t len = self->GetWidth() * self->GetHeight() * 3;
1139 dataPtr = (unsigned char*) malloc(len);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1141 self->SetData(dataPtr);
1142 // wxImage takes ownership of dataPtr...
1143 }
1144PyObject *wxImage_GetDataBuffer(wxImage *self){
1145 unsigned char* data = self->GetData();
1146 int len = self->GetWidth() * self->GetHeight() * 3;
1147 PyObject* rv;
1148 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1149 return rv;
1150 }
1151void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1152 unsigned char* buffer;
1153 int size;
1154
1155 bool blocked = wxPyBeginBlockThreads();
1156 if (!PyArg_Parse(data, "t#", &buffer, &size))
1157 goto done;
1158
1159 if (size != self->GetWidth() * self->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1161 goto done;
1162 }
1163 self->SetData(buffer);
1164 done:
1165 wxPyEndBlockThreads(blocked);
1166 }
1167PyObject *wxImage_GetAlphaData(wxImage *self){
1168 unsigned char* data = self->GetAlpha();
1169 if (! data) {
1170 RETURN_NONE();
1171 } else {
1172 int len = self->GetWidth() * self->GetHeight();
1173 PyObject* rv;
1174 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1175 return rv;
1176 }
1177 }
1178void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1179 unsigned char* dataPtr;
1180
1181 if (! PyString_Check(data)) {
1182 PyErr_SetString(PyExc_TypeError, "Expected string object");
1183 return /* NULL */ ;
1184 }
1185
1186 size_t len = self->GetWidth() * self->GetHeight();
1187 dataPtr = (unsigned char*) malloc(len);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1189 self->SetAlpha(dataPtr);
1190 // wxImage takes ownership of dataPtr...
1191 }
1192PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1193 unsigned char* data = self->GetAlpha();
1194 int len = self->GetWidth() * self->GetHeight();
1195 PyObject* rv;
1196 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1197 return rv;
1198 }
1199void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1200 unsigned char* buffer;
1201 int size;
1202
1203 bool blocked = wxPyBeginBlockThreads();
1204 if (!PyArg_Parse(data, "t#", &buffer, &size))
1205 goto done;
1206
1207 if (size != self->GetWidth() * self->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1209 goto done;
1210 }
1211 self->SetAlpha(buffer);
1212 done:
1213 wxPyEndBlockThreads(blocked);
1214 }
1215
1216SWIGSTATICINLINE(int)
1217SWIG_CheckUnsignedLong(PyObject* obj)
1218{
1219 SWIG_AsUnsignedLong(obj);
1220 if (PyErr_Occurred()) {
1221 PyErr_Clear();
1222 return 0;
1223 } else {
1224 return 1;
1225 }
1226}
1227
1228wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1229 wxBitmap bitmap(*self);
1230 return bitmap;
1231 }
1232wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1233 wxImage mono = self->ConvertToMono( red, green, blue );
1234 wxBitmap bitmap( mono, 1 );
1235 return bitmap;
1236 }
1237 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1238 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1239 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1240 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1241 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1242void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1243 if (PyCallable_Check(func)) {
1244 self->Connect(id, lastId, eventType,
1245 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1246 new wxPyCallback(func));
1247 }
1248 else if (func == Py_None) {
1249 self->Disconnect(id, lastId, eventType,
1250 (wxObjectEventFunction)
1251 &wxPyCallback::EventThunker);
1252 }
1253 else {
1254 wxPyBLOCK_THREADS(
1255 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
1256 }
1257 }
1258bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1259 return self->Disconnect(id, lastId, eventType,
1260 (wxObjectEventFunction)
1261 &wxPyCallback::EventThunker);
1262 }
1263void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1264 if (_self && _self != Py_None) {
1265 self->SetClientObject(new wxPyOORClientData(_self));
1266 }
1267 else {
1268 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1269 if (data) {
1270 self->SetClientObject(NULL); // This will delete it too
1271 }
1272 }
1273 }
1274int wxKeyEvent_GetUniChar(wxKeyEvent *self){
1275 #if wxUSE_UNICODE
1276 return self->m_uniChar;
1277 #else
1278 return 0;
1279 #endif
1280 }
1281
1282#if UINT_MAX < LONG_MAX
1283#define SWIG_FromUnsignedInt SWIG_FromLong
1284#else
1285#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1286#endif
1287
1288
1289#if UINT_MAX != ULONG_MAX
1290SWIGSTATICINLINE(unsigned int)
1291SWIG_AsUnsignedInt(PyObject *obj)
1292{
1293 return swig_numeric_cast(unsigned int,
1294 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1295 "unsigned int", UINT_MAX));
1296}
1297#else
1298#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1299#endif
1300
1301
1302SWIGSTATICINLINE(int)
1303SWIG_CheckUnsignedInt(PyObject* obj)
1304{
1305 SWIG_AsUnsignedInt(obj);
1306 if (PyErr_Occurred()) {
1307 PyErr_Clear();
1308 return 0;
1309 } else {
1310 return 1;
1311 }
1312}
1313
1314void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1315 self->m_size = size;
1316 }
1317void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1318 self->m_pos = pos;
1319 }
1320PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1321 int count = self->GetNumberOfFiles();
1322 wxString* files = self->GetFiles();
1323 PyObject* list = PyList_New(count);
1324
1325 if (!list) {
1326 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1327 return NULL;
1328 }
1329
1330 for (int i=0; i<count; i++) {
1331 PyList_SetItem(list, i, wx2PyString(files[i]));
1332 }
1333 return list;
1334 }
1335
1336
1337wxPyApp *new_wxPyApp(){
1338 wxPythonApp = new wxPyApp();
1339 return wxPythonApp;
1340 }
1341
1342 void wxApp_CleanUp() {
1343 __wxPyCleanup();
1344 }
1345
1346
1347 wxPyApp* wxGetApp() {
1348 return (wxPyApp*)wxTheApp;
1349 }
1350
1351
1352
1353 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1354wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
1355void delete_wxVisualAttributes(wxVisualAttributes *self){}
1356PyObject *wxWindow_GetChildren(wxWindow *self){
1357 wxWindowList& list = self->GetChildren();
1358 return wxPy_ConvertList(&list);
1359 }
1360bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1361 #if wxUSE_HOTKEY
1362 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1363 #else
1364 return False;
1365 #endif
1366 }
1367bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1368
1369
1370
1371 return False;
1372
1373 }
1374long wxWindow_GetHandle(wxWindow *self){
1375 return wxPyGetWinHandle(self);
1376 }
1377
1378wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1379 return wxWindow::FindWindowById(id, parent);
1380}
1381
1382wxWindow* wxFindWindowByName( const wxString& name,
1383 const wxWindow *parent = NULL ) {
1384 return wxWindow::FindWindowByName(name, parent);
1385}
1386
1387wxWindow* wxFindWindowByLabel( const wxString& label,
1388 const wxWindow *parent = NULL ) {
1389 return wxWindow::FindWindowByLabel(label, parent);
1390}
1391
1392
1393#ifdef __WXMSW__
1394#include <wx/msw/private.h> // to get wxGetWindowId
1395#endif
1396
1397
1398 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1399#ifdef __WXMSW__
1400 WXHWND hWnd = (WXHWND)_hWnd;
1401 long id = wxGetWindowId(hWnd);
1402 wxWindow* win = new wxWindow;
1403 parent->AddChild(win);
1404 win->SetEventHandler(win);
1405 win->SetHWND(hWnd);
1406 win->SetId(id);
1407 win->SubclassWin(hWnd);
1408 win->AdoptAttributesFromHWND();
1409 win->SetupColours();
1410 return win;
1411#else
1412 wxPyRaiseNotImplemented();
1413 return NULL;
1414#endif
1415 }
1416
1417
1418IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1419IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1420IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1421
1422IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1423
1424void wxMenu_Destroy(wxMenu *self){ delete self; }
1425PyObject *wxMenu_GetMenuItems(wxMenu *self){
1426 wxMenuItemList& list = self->GetMenuItems();
1427 return wxPy_ConvertList(&list);
1428 }
1429 static const wxString wxPyControlNameStr(wxControlNameStr);
1430int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1431 if (clientData) {
1432 wxPyClientData* data = new wxPyClientData(clientData);
1433 return self->Append(item, data);
1434 } else
1435 return self->Append(item);
1436 }
1437int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1438 if (clientData) {
1439 wxPyClientData* data = new wxPyClientData(clientData);
1440 return self->Insert(item, pos, data);
1441 } else
1442 return self->Insert(item, pos);
1443 }
1444PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1445 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1446 if (data) {
1447 Py_INCREF(data->m_obj);
1448 return data->m_obj;
1449 } else {
1450 Py_INCREF(Py_None);
1451 return Py_None;
1452 }
1453 }
1454void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1455 wxPyClientData* data = new wxPyClientData(clientData);
1456 self->SetClientObject(n, data);
1457 }
1458
1459
1460
1461#include <float.h>
1462
1463SWIGSTATIC(float)
1464SWIG_FloatCast(double value)
1465{
1466 float f = 0;
1467 if (!PyErr_Occurred()) {
1468 if (value < FLT_MIN) {
1469 PyObject *err =
1470 PyString_FromFormat("value %g is less than float minimum %g",
1471 value, FLT_MIN);
1472 PyErr_SetObject(PyExc_OverflowError, err);
1473 Py_DECREF(err);
1474 } else if (value > FLT_MAX) {
1475 PyObject *err =
1476 PyString_FromFormat("value %g is greater than float maximum %g",
1477 value, FLT_MAX);
1478 PyErr_SetObject(PyExc_OverflowError, err);
1479 Py_DECREF(err);
1480 } else {
1481 f = swig_numeric_cast(float, value);
1482 }
1483 }
1484 return f;
1485}
1486
1487
1488SWIGSTATICINLINE(float)
1489SWIG_AsFloat(PyObject *obj)
1490{
1491 return SWIG_FloatCast(SWIG_AsDouble(obj));
1492}
1493
1494
1495SWIGSTATICINLINE(int)
1496SWIG_CheckFloat(PyObject* obj)
1497{
1498 SWIG_AsFloat(obj);
1499 if (PyErr_Occurred()) {
1500 PyErr_Clear();
1501 return 0;
1502 } else {
1503 return 1;
1504 }
1505}
1506
1507PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1508 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1509 if (data) {
1510 Py_INCREF(data->m_obj);
1511 return data->m_obj;
1512 } else {
1513 Py_INCREF(Py_None);
1514 return Py_None;
1515 }
1516 }
1517
1518// Figure out the type of the sizer item
1519
1520struct wxPySizerItemInfo {
1521 wxPySizerItemInfo()
1522 : window(NULL), sizer(NULL), gotSize(False),
1523 size(wxDefaultSize), gotPos(False), pos(-1)
1524 {}
1525
1526 wxWindow* window;
1527 wxSizer* sizer;
1528 bool gotSize;
1529 wxSize size;
1530 bool gotPos;
1531 int pos;
1532};
1533
1534static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1535
1536 wxPySizerItemInfo info;
1537 wxSize size;
1538 wxSize* sizePtr = &size;
1539
1540 // Find out what the type of the item is
1541 // try wxWindow
1542 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1543 PyErr_Clear();
1544 info.window = NULL;
1545
1546 // try wxSizer
1547 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1548 PyErr_Clear();
1549 info.sizer = NULL;
1550
1551 // try wxSize or (w,h)
1552 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1553 info.size = *sizePtr;
1554 info.gotSize = True;
1555 }
1556
1557 // or a single int
1558 if (checkIdx && PyInt_Check(item)) {
1559 info.pos = PyInt_AsLong(item);
1560 info.gotPos = True;
1561 }
1562 }
1563 }
1564
1565 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1566 // no expected type, figure out what kind of error message to generate
1567 if ( !checkSize && !checkIdx )
1568 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1569 else if ( checkSize && !checkIdx )
1570 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1571 else if ( !checkSize && checkIdx)
1572 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1573 else
1574 // can this one happen?
1575 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1576 }
1577
1578 return info;
1579}
1580
1581void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1582 self->SetClientObject(new wxPyOORClientData(_self));
1583 }
1584void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1585
1586 wxPyUserData* data = NULL;
1587 bool blocked = wxPyBeginBlockThreads();
1588 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1589 if ( userData && (info.window || info.sizer || info.gotSize) )
1590 data = new wxPyUserData(userData);
1591 wxPyEndBlockThreads(blocked);
1592
1593 // Now call the real Add method if a valid item type was found
1594 if ( info.window )
1595 self->Add(info.window, proportion, flag, border, data);
1596 else if ( info.sizer )
1597 self->Add(info.sizer, proportion, flag, border, data);
1598 else if (info.gotSize)
1599 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1600 proportion, flag, border, data);
1601 }
1602void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1603
1604 wxPyUserData* data = NULL;
1605 bool blocked = wxPyBeginBlockThreads();
1606 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1607 if ( userData && (info.window || info.sizer || info.gotSize) )
1608 data = new wxPyUserData(userData);
1609 wxPyEndBlockThreads(blocked);
1610
1611 // Now call the real Insert method if a valid item type was found
1612 if ( info.window )
1613 self->Insert(before, info.window, proportion, flag, border, data);
1614 else if ( info.sizer )
1615 self->Insert(before, info.sizer, proportion, flag, border, data);
1616 else if (info.gotSize)
1617 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1618 proportion, flag, border, data);
1619 }
1620void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1621
1622 wxPyUserData* data = NULL;
1623 bool blocked = wxPyBeginBlockThreads();
1624 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1625 if ( userData && (info.window || info.sizer || info.gotSize) )
1626 data = new wxPyUserData(userData);
1627 wxPyEndBlockThreads(blocked);
1628
1629 // Now call the real Prepend method if a valid item type was found
1630 if ( info.window )
1631 self->Prepend(info.window, proportion, flag, border, data);
1632 else if ( info.sizer )
1633 self->Prepend(info.sizer, proportion, flag, border, data);
1634 else if (info.gotSize)
1635 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1636 proportion, flag, border, data);
1637 }
1638bool wxSizer_Remove(wxSizer *self,PyObject *item){
1639 bool blocked = wxPyBeginBlockThreads();
1640 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1641 wxPyEndBlockThreads(blocked);
1642 if ( info.window )
1643 return self->Remove(info.window);
1644 else if ( info.sizer )
1645 return self->Remove(info.sizer);
1646 else if ( info.gotPos )
1647 return self->Remove(info.pos);
1648 else
1649 return False;
1650 }
1651void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1652 bool blocked = wxPyBeginBlockThreads();
1653 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
1654 wxPyEndBlockThreads(blocked);
1655 if ( info.window )
1656 self->SetItemMinSize(info.window, size);
1657 else if ( info.sizer )
1658 self->SetItemMinSize(info.sizer, size);
1659 else if ( info.gotPos )
1660 self->SetItemMinSize(info.pos, size);
1661 }
1662PyObject *wxSizer_GetChildren(wxSizer *self){
1663 wxSizerItemList& list = self->GetChildren();
1664 return wxPy_ConvertList(&list);
1665 }
1666void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
1667 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1668 if ( info.window )
1669 self->Show(info.window, show);
1670 else if ( info.sizer )
1671 self->Show(info.sizer, show);
1672 }
1673void wxSizer_Hide(wxSizer *self,PyObject *item){
1674 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1675 if ( info.window )
1676 self->Hide(info.window);
1677 else if ( info.sizer )
1678 self->Hide(info.sizer);
1679 }
1680bool wxSizer_IsShown(wxSizer *self,PyObject *item){
1681 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
1682 if ( info.window )
1683 return self->IsShown(info.window);
1684 else if ( info.sizer )
1685 return self->IsShown(info.sizer);
1686 else
1687 return False;
1688 }
1689
1690// See pyclasses.h
1691IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1692IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1693IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1694
1695
1696
1697
1698bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1699{
1700 if (source == Py_None) {
1701 **obj = wxGBPosition(-1,-1);
1702 return True;
1703 }
1704 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1705}
1706
1707bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1708{
1709 if (source == Py_None) {
1710 **obj = wxGBSpan(-1,-1);
1711 return True;
1712 }
1713 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1714}
1715
1716
1717void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1718 self->SetRow(row);
1719 self->SetCol(col);
1720 }
1721PyObject *wxGBPosition_Get(wxGBPosition *self){
1722 bool blocked = wxPyBeginBlockThreads();
1723 PyObject* tup = PyTuple_New(2);
1724 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1725 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1726 wxPyEndBlockThreads(blocked);
1727 return tup;
1728 }
1729void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1730 self->SetRowspan(rowspan);
1731 self->SetColspan(colspan);
1732 }
1733PyObject *wxGBSpan_Get(wxGBSpan *self){
1734 bool blocked = wxPyBeginBlockThreads();
1735 PyObject* tup = PyTuple_New(2);
1736 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1737 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1738 wxPyEndBlockThreads(blocked);
1739 return tup;
1740 }
1741bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1742
1743 wxPyUserData* data = NULL;
1744 bool blocked = wxPyBeginBlockThreads();
1745 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
1746 if ( userData && (info.window || info.sizer || info.gotSize) )
1747 data = new wxPyUserData(userData);
1748 wxPyEndBlockThreads(blocked);
1749
1750 // Now call the real Add method if a valid item type was found
1751 if ( info.window )
1752 return self->Add(info.window, pos, span, flag, border, data);
1753 else if ( info.sizer )
1754 return self->Add(info.sizer, pos, span, flag, border, data);
1755 else if (info.gotSize)
1756 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1757 pos, span, flag, border, data);
1758 return False;
1759 }
1760
1761
1762#ifdef __cplusplus
1763extern "C" {
1764#endif
1765static int _wrap_EmptyString_set(PyObject *_val) {
1766 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1767 return 1;
1768}
1769
1770
1771static PyObject *_wrap_EmptyString_get() {
1772 PyObject *pyobj;
1773
1774 {
1775#if wxUSE_UNICODE
1776 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1777#else
1778 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1779#endif
1780 }
1781 return pyobj;
1782}
1783
1784
1785static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject *resultobj;
1787 wxObject *arg1 = (wxObject *) 0 ;
1788 wxString result;
1789 PyObject * obj0 = 0 ;
1790 char *kwnames[] = {
1791 (char *) "self", NULL
1792 };
1793
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
1795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1797 {
1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
1799 result = wxObject_GetClassName(arg1);
1800
1801 wxPyEndAllowThreads(__tstate);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 }
1804 {
1805#if wxUSE_UNICODE
1806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1807#else
1808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1809#endif
1810 }
1811 return resultobj;
1812 fail:
1813 return NULL;
1814}
1815
1816
1817static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxObject *arg1 = (wxObject *) 0 ;
1820 PyObject * obj0 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 wxObject_Destroy(arg1);
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 Py_INCREF(Py_None); resultobj = Py_None;
1836 return resultobj;
1837 fail:
1838 return NULL;
1839}
1840
1841
1842static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1843 PyObject *obj;
1844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1845 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1846 Py_INCREF(obj);
1847 return Py_BuildValue((char *)"");
1848}
1849static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxSize *arg1 = (wxSize *) 0 ;
1852 int arg2 ;
1853 PyObject * obj0 = 0 ;
1854 PyObject * obj1 = 0 ;
1855 char *kwnames[] = {
1856 (char *) "self",(char *) "x", NULL
1857 };
1858
1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
1860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1862 arg2 = (int) SWIG_AsInt(obj1);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 if (arg1) (arg1)->x = arg2;
1865
1866 Py_INCREF(Py_None); resultobj = Py_None;
1867 return resultobj;
1868 fail:
1869 return NULL;
1870}
1871
1872
1873static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxSize *arg1 = (wxSize *) 0 ;
1876 int result;
1877 PyObject * obj0 = 0 ;
1878 char *kwnames[] = {
1879 (char *) "self", NULL
1880 };
1881
1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
1883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1885 result = (int) ((arg1)->x);
1886
1887 resultobj = SWIG_FromInt((int)result);
1888 return resultobj;
1889 fail:
1890 return NULL;
1891}
1892
1893
1894static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxSize *arg1 = (wxSize *) 0 ;
1897 int arg2 ;
1898 PyObject * obj0 = 0 ;
1899 PyObject * obj1 = 0 ;
1900 char *kwnames[] = {
1901 (char *) "self",(char *) "y", NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
1905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1907 arg2 = (int) SWIG_AsInt(obj1);
1908 if (PyErr_Occurred()) SWIG_fail;
1909 if (arg1) (arg1)->y = arg2;
1910
1911 Py_INCREF(Py_None); resultobj = Py_None;
1912 return resultobj;
1913 fail:
1914 return NULL;
1915}
1916
1917
1918static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1919 PyObject *resultobj;
1920 wxSize *arg1 = (wxSize *) 0 ;
1921 int result;
1922 PyObject * obj0 = 0 ;
1923 char *kwnames[] = {
1924 (char *) "self", NULL
1925 };
1926
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
1928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1930 result = (int) ((arg1)->y);
1931
1932 resultobj = SWIG_FromInt((int)result);
1933 return resultobj;
1934 fail:
1935 return NULL;
1936}
1937
1938
1939static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 int arg1 = (int) 0 ;
1942 int arg2 = (int) 0 ;
1943 wxSize *result;
1944 PyObject * obj0 = 0 ;
1945 PyObject * obj1 = 0 ;
1946 char *kwnames[] = {
1947 (char *) "w",(char *) "h", NULL
1948 };
1949
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1951 if (obj0) {
1952 arg1 = (int) SWIG_AsInt(obj0);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 if (obj1) {
1956 arg2 = (int) SWIG_AsInt(obj1);
1957 if (PyErr_Occurred()) SWIG_fail;
1958 }
1959 {
1960 PyThreadState* __tstate = wxPyBeginAllowThreads();
1961 result = (wxSize *)new wxSize(arg1,arg2);
1962
1963 wxPyEndAllowThreads(__tstate);
1964 if (PyErr_Occurred()) SWIG_fail;
1965 }
1966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
1967 return resultobj;
1968 fail:
1969 return NULL;
1970}
1971
1972
1973static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxSize *arg1 = (wxSize *) 0 ;
1976 PyObject * obj0 = 0 ;
1977 char *kwnames[] = {
1978 (char *) "self", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
1982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1984 {
1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
1986 delete arg1;
1987
1988 wxPyEndAllowThreads(__tstate);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 }
1991 Py_INCREF(Py_None); resultobj = Py_None;
1992 return resultobj;
1993 fail:
1994 return NULL;
1995}
1996
1997
1998static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxSize *arg1 = (wxSize *) 0 ;
2001 wxSize *arg2 = 0 ;
2002 bool result;
2003 wxSize temp2 ;
2004 PyObject * obj0 = 0 ;
2005 PyObject * obj1 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self",(char *) "sz", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2013 {
2014 arg2 = &temp2;
2015 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2016 }
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 {
2025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2026 }
2027 return resultobj;
2028 fail:
2029 return NULL;
2030}
2031
2032
2033static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2034 PyObject *resultobj;
2035 wxSize *arg1 = (wxSize *) 0 ;
2036 wxSize *arg2 = 0 ;
2037 bool result;
2038 wxSize temp2 ;
2039 PyObject * obj0 = 0 ;
2040 PyObject * obj1 = 0 ;
2041 char *kwnames[] = {
2042 (char *) "self",(char *) "sz", NULL
2043 };
2044
2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2048 {
2049 arg2 = &temp2;
2050 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2051 }
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 }
2059 {
2060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2061 }
2062 return resultobj;
2063 fail:
2064 return NULL;
2065}
2066
2067
2068static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxSize *arg1 = (wxSize *) 0 ;
2071 wxSize *arg2 = 0 ;
2072 wxSize result;
2073 wxSize temp2 ;
2074 PyObject * obj0 = 0 ;
2075 PyObject * obj1 = 0 ;
2076 char *kwnames[] = {
2077 (char *) "self",(char *) "sz", NULL
2078 };
2079
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2083 {
2084 arg2 = &temp2;
2085 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2086 }
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (arg1)->operator +((wxSize const &)*arg2);
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 {
2095 wxSize * resultptr;
2096 resultptr = new wxSize((wxSize &) result);
2097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2098 }
2099 return resultobj;
2100 fail:
2101 return NULL;
2102}
2103
2104
2105static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2106 PyObject *resultobj;
2107 wxSize *arg1 = (wxSize *) 0 ;
2108 wxSize *arg2 = 0 ;
2109 wxSize result;
2110 wxSize temp2 ;
2111 PyObject * obj0 = 0 ;
2112 PyObject * obj1 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "self",(char *) "sz", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2120 {
2121 arg2 = &temp2;
2122 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2123 }
2124 {
2125 PyThreadState* __tstate = wxPyBeginAllowThreads();
2126 result = (arg1)->operator -((wxSize const &)*arg2);
2127
2128 wxPyEndAllowThreads(__tstate);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 }
2131 {
2132 wxSize * resultptr;
2133 resultptr = new wxSize((wxSize &) result);
2134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2135 }
2136 return resultobj;
2137 fail:
2138 return NULL;
2139}
2140
2141
2142static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2143 PyObject *resultobj;
2144 wxSize *arg1 = (wxSize *) 0 ;
2145 wxSize *arg2 = 0 ;
2146 wxSize temp2 ;
2147 PyObject * obj0 = 0 ;
2148 PyObject * obj1 = 0 ;
2149 char *kwnames[] = {
2150 (char *) "self",(char *) "sz", NULL
2151 };
2152
2153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2156 {
2157 arg2 = &temp2;
2158 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2159 }
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 (arg1)->IncTo((wxSize const &)*arg2);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 Py_INCREF(Py_None); resultobj = Py_None;
2168 return resultobj;
2169 fail:
2170 return NULL;
2171}
2172
2173
2174static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject *resultobj;
2176 wxSize *arg1 = (wxSize *) 0 ;
2177 wxSize *arg2 = 0 ;
2178 wxSize temp2 ;
2179 PyObject * obj0 = 0 ;
2180 PyObject * obj1 = 0 ;
2181 char *kwnames[] = {
2182 (char *) "self",(char *) "sz", NULL
2183 };
2184
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2188 {
2189 arg2 = &temp2;
2190 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2191 }
2192 {
2193 PyThreadState* __tstate = wxPyBeginAllowThreads();
2194 (arg1)->DecTo((wxSize const &)*arg2);
2195
2196 wxPyEndAllowThreads(__tstate);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
2199 Py_INCREF(Py_None); resultobj = Py_None;
2200 return resultobj;
2201 fail:
2202 return NULL;
2203}
2204
2205
2206static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2207 PyObject *resultobj;
2208 wxSize *arg1 = (wxSize *) 0 ;
2209 int arg2 ;
2210 int arg3 ;
2211 PyObject * obj0 = 0 ;
2212 PyObject * obj1 = 0 ;
2213 PyObject * obj2 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self",(char *) "w",(char *) "h", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2221 arg2 = (int) SWIG_AsInt(obj1);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 arg3 = (int) SWIG_AsInt(obj2);
2224 if (PyErr_Occurred()) SWIG_fail;
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 (arg1)->Set(arg2,arg3);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 Py_INCREF(Py_None); resultobj = Py_None;
2233 return resultobj;
2234 fail:
2235 return NULL;
2236}
2237
2238
2239static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 wxSize *arg1 = (wxSize *) 0 ;
2242 int arg2 ;
2243 PyObject * obj0 = 0 ;
2244 PyObject * obj1 = 0 ;
2245 char *kwnames[] = {
2246 (char *) "self",(char *) "w", NULL
2247 };
2248
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2252 arg2 = (int) SWIG_AsInt(obj1);
2253 if (PyErr_Occurred()) SWIG_fail;
2254 {
2255 PyThreadState* __tstate = wxPyBeginAllowThreads();
2256 (arg1)->SetWidth(arg2);
2257
2258 wxPyEndAllowThreads(__tstate);
2259 if (PyErr_Occurred()) SWIG_fail;
2260 }
2261 Py_INCREF(Py_None); resultobj = Py_None;
2262 return resultobj;
2263 fail:
2264 return NULL;
2265}
2266
2267
2268static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject *resultobj;
2270 wxSize *arg1 = (wxSize *) 0 ;
2271 int arg2 ;
2272 PyObject * obj0 = 0 ;
2273 PyObject * obj1 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self",(char *) "h", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2281 arg2 = (int) SWIG_AsInt(obj1);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 (arg1)->SetHeight(arg2);
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 Py_INCREF(Py_None); resultobj = Py_None;
2291 return resultobj;
2292 fail:
2293 return NULL;
2294}
2295
2296
2297static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxSize *arg1 = (wxSize *) 0 ;
2300 int result;
2301 PyObject * obj0 = 0 ;
2302 char *kwnames[] = {
2303 (char *) "self", NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 result = (int)((wxSize const *)arg1)->GetWidth();
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 resultobj = SWIG_FromInt((int)result);
2317 return resultobj;
2318 fail:
2319 return NULL;
2320}
2321
2322
2323static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxSize *arg1 = (wxSize *) 0 ;
2326 int result;
2327 PyObject * obj0 = 0 ;
2328 char *kwnames[] = {
2329 (char *) "self", NULL
2330 };
2331
2332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = (int)((wxSize const *)arg1)->GetHeight();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 resultobj = SWIG_FromInt((int)result);
2343 return resultobj;
2344 fail:
2345 return NULL;
2346}
2347
2348
2349static PyObject *_wrap_Size_IsFullySpecified(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxSize *arg1 = (wxSize *) 0 ;
2352 bool result;
2353 PyObject * obj0 = 0 ;
2354 char *kwnames[] = {
2355 (char *) "self", NULL
2356 };
2357
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2361 {
2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2363 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2364
2365 wxPyEndAllowThreads(__tstate);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 }
2368 {
2369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2370 }
2371 return resultobj;
2372 fail:
2373 return NULL;
2374}
2375
2376
2377static PyObject *_wrap_Size_SetDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
2378 PyObject *resultobj;
2379 wxSize *arg1 = (wxSize *) 0 ;
2380 wxSize *arg2 = 0 ;
2381 wxSize temp2 ;
2382 PyObject * obj0 = 0 ;
2383 PyObject * obj1 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "size", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2391 {
2392 arg2 = &temp2;
2393 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2394 }
2395 {
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 (arg1)->SetDefaults((wxSize const &)*arg2);
2398
2399 wxPyEndAllowThreads(__tstate);
2400 if (PyErr_Occurred()) SWIG_fail;
2401 }
2402 Py_INCREF(Py_None); resultobj = Py_None;
2403 return resultobj;
2404 fail:
2405 return NULL;
2406}
2407
2408
2409static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2410 PyObject *resultobj;
2411 wxSize *arg1 = (wxSize *) 0 ;
2412 PyObject *result;
2413 PyObject * obj0 = 0 ;
2414 char *kwnames[] = {
2415 (char *) "self", NULL
2416 };
2417
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (PyObject *)wxSize_Get(arg1);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 resultobj = result;
2429 return resultobj;
2430 fail:
2431 return NULL;
2432}
2433
2434
2435static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2436 PyObject *obj;
2437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2438 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2439 Py_INCREF(obj);
2440 return Py_BuildValue((char *)"");
2441}
2442static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2445 double arg2 ;
2446 PyObject * obj0 = 0 ;
2447 PyObject * obj1 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self",(char *) "x", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2455 arg2 = (double) SWIG_AsDouble(obj1);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 if (arg1) (arg1)->x = arg2;
2458
2459 Py_INCREF(Py_None); resultobj = Py_None;
2460 return resultobj;
2461 fail:
2462 return NULL;
2463}
2464
2465
2466static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2467 PyObject *resultobj;
2468 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2469 double result;
2470 PyObject * obj0 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "self", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2478 result = (double) ((arg1)->x);
2479
2480 resultobj = SWIG_FromDouble((double)result);
2481 return resultobj;
2482 fail:
2483 return NULL;
2484}
2485
2486
2487static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2490 double arg2 ;
2491 PyObject * obj0 = 0 ;
2492 PyObject * obj1 = 0 ;
2493 char *kwnames[] = {
2494 (char *) "self",(char *) "y", NULL
2495 };
2496
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2500 arg2 = (double) SWIG_AsDouble(obj1);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 if (arg1) (arg1)->y = arg2;
2503
2504 Py_INCREF(Py_None); resultobj = Py_None;
2505 return resultobj;
2506 fail:
2507 return NULL;
2508}
2509
2510
2511static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject *resultobj;
2513 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2514 double result;
2515 PyObject * obj0 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2523 result = (double) ((arg1)->y);
2524
2525 resultobj = SWIG_FromDouble((double)result);
2526 return resultobj;
2527 fail:
2528 return NULL;
2529}
2530
2531
2532static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2533 PyObject *resultobj;
2534 double arg1 = (double) 0.0 ;
2535 double arg2 = (double) 0.0 ;
2536 wxRealPoint *result;
2537 PyObject * obj0 = 0 ;
2538 PyObject * obj1 = 0 ;
2539 char *kwnames[] = {
2540 (char *) "x",(char *) "y", NULL
2541 };
2542
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2544 if (obj0) {
2545 arg1 = (double) SWIG_AsDouble(obj0);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 if (obj1) {
2549 arg2 = (double) SWIG_AsDouble(obj1);
2550 if (PyErr_Occurred()) SWIG_fail;
2551 }
2552 {
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
2560 return resultobj;
2561 fail:
2562 return NULL;
2563}
2564
2565
2566static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2567 PyObject *resultobj;
2568 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2569 PyObject * obj0 = 0 ;
2570 char *kwnames[] = {
2571 (char *) "self", NULL
2572 };
2573
2574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 delete arg1;
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 Py_INCREF(Py_None); resultobj = Py_None;
2585 return resultobj;
2586 fail:
2587 return NULL;
2588}
2589
2590
2591static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2592 PyObject *resultobj;
2593 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2594 wxRealPoint *arg2 = 0 ;
2595 bool result;
2596 wxRealPoint temp2 ;
2597 PyObject * obj0 = 0 ;
2598 PyObject * obj1 = 0 ;
2599 char *kwnames[] = {
2600 (char *) "self",(char *) "pt", NULL
2601 };
2602
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2606 {
2607 arg2 = &temp2;
2608 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2609 }
2610 {
2611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2612 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2613
2614 wxPyEndAllowThreads(__tstate);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
2617 {
2618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2619 }
2620 return resultobj;
2621 fail:
2622 return NULL;
2623}
2624
2625
2626static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject *resultobj;
2628 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2629 wxRealPoint *arg2 = 0 ;
2630 bool result;
2631 wxRealPoint temp2 ;
2632 PyObject * obj0 = 0 ;
2633 PyObject * obj1 = 0 ;
2634 char *kwnames[] = {
2635 (char *) "self",(char *) "pt", NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2641 {
2642 arg2 = &temp2;
2643 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2644 }
2645 {
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 {
2653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2654 }
2655 return resultobj;
2656 fail:
2657 return NULL;
2658}
2659
2660
2661static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject *resultobj;
2663 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2664 wxRealPoint *arg2 = 0 ;
2665 wxRealPoint result;
2666 wxRealPoint temp2 ;
2667 PyObject * obj0 = 0 ;
2668 PyObject * obj1 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self",(char *) "pt", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2676 {
2677 arg2 = &temp2;
2678 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2679 }
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
2687 {
2688 wxRealPoint * resultptr;
2689 resultptr = new wxRealPoint((wxRealPoint &) result);
2690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2691 }
2692 return resultobj;
2693 fail:
2694 return NULL;
2695}
2696
2697
2698static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject *resultobj;
2700 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2701 wxRealPoint *arg2 = 0 ;
2702 wxRealPoint result;
2703 wxRealPoint temp2 ;
2704 PyObject * obj0 = 0 ;
2705 PyObject * obj1 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self",(char *) "pt", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2713 {
2714 arg2 = &temp2;
2715 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2716 }
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 result = (arg1)->operator -((wxRealPoint const &)*arg2);
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 {
2725 wxRealPoint * resultptr;
2726 resultptr = new wxRealPoint((wxRealPoint &) result);
2727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
2728 }
2729 return resultobj;
2730 fail:
2731 return NULL;
2732}
2733
2734
2735static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2738 double arg2 ;
2739 double arg3 ;
2740 PyObject * obj0 = 0 ;
2741 PyObject * obj1 = 0 ;
2742 PyObject * obj2 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "self",(char *) "x",(char *) "y", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2750 arg2 = (double) SWIG_AsDouble(obj1);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 arg3 = (double) SWIG_AsDouble(obj2);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 wxRealPoint_Set(arg1,arg2,arg3);
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 Py_INCREF(Py_None); resultobj = Py_None;
2762 return resultobj;
2763 fail:
2764 return NULL;
2765}
2766
2767
2768static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
2769 PyObject *resultobj;
2770 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2771 PyObject *result;
2772 PyObject * obj0 = 0 ;
2773 char *kwnames[] = {
2774 (char *) "self", NULL
2775 };
2776
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = (PyObject *)wxRealPoint_Get(arg1);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 resultobj = result;
2788 return resultobj;
2789 fail:
2790 return NULL;
2791}
2792
2793
2794static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2795 PyObject *obj;
2796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2797 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2798 Py_INCREF(obj);
2799 return Py_BuildValue((char *)"");
2800}
2801static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxPoint *arg1 = (wxPoint *) 0 ;
2804 int arg2 ;
2805 PyObject * obj0 = 0 ;
2806 PyObject * obj1 = 0 ;
2807 char *kwnames[] = {
2808 (char *) "self",(char *) "x", NULL
2809 };
2810
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2814 arg2 = (int) SWIG_AsInt(obj1);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 if (arg1) (arg1)->x = arg2;
2817
2818 Py_INCREF(Py_None); resultobj = Py_None;
2819 return resultobj;
2820 fail:
2821 return NULL;
2822}
2823
2824
2825static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject *resultobj;
2827 wxPoint *arg1 = (wxPoint *) 0 ;
2828 int result;
2829 PyObject * obj0 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2837 result = (int) ((arg1)->x);
2838
2839 resultobj = SWIG_FromInt((int)result);
2840 return resultobj;
2841 fail:
2842 return NULL;
2843}
2844
2845
2846static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject *resultobj;
2848 wxPoint *arg1 = (wxPoint *) 0 ;
2849 int arg2 ;
2850 PyObject * obj0 = 0 ;
2851 PyObject * obj1 = 0 ;
2852 char *kwnames[] = {
2853 (char *) "self",(char *) "y", NULL
2854 };
2855
2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2859 arg2 = (int) SWIG_AsInt(obj1);
2860 if (PyErr_Occurred()) SWIG_fail;
2861 if (arg1) (arg1)->y = arg2;
2862
2863 Py_INCREF(Py_None); resultobj = Py_None;
2864 return resultobj;
2865 fail:
2866 return NULL;
2867}
2868
2869
2870static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2871 PyObject *resultobj;
2872 wxPoint *arg1 = (wxPoint *) 0 ;
2873 int result;
2874 PyObject * obj0 = 0 ;
2875 char *kwnames[] = {
2876 (char *) "self", NULL
2877 };
2878
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2882 result = (int) ((arg1)->y);
2883
2884 resultobj = SWIG_FromInt((int)result);
2885 return resultobj;
2886 fail:
2887 return NULL;
2888}
2889
2890
2891static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2892 PyObject *resultobj;
2893 int arg1 = (int) 0 ;
2894 int arg2 = (int) 0 ;
2895 wxPoint *result;
2896 PyObject * obj0 = 0 ;
2897 PyObject * obj1 = 0 ;
2898 char *kwnames[] = {
2899 (char *) "x",(char *) "y", NULL
2900 };
2901
2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2903 if (obj0) {
2904 arg1 = (int) SWIG_AsInt(obj0);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 if (obj1) {
2908 arg2 = (int) SWIG_AsInt(obj1);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 result = (wxPoint *)new wxPoint(arg1,arg2);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
2919 return resultobj;
2920 fail:
2921 return NULL;
2922}
2923
2924
2925static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxPoint *arg1 = (wxPoint *) 0 ;
2928 PyObject * obj0 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 delete arg1;
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947}
2948
2949
2950static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj;
2952 wxPoint *arg1 = (wxPoint *) 0 ;
2953 wxPoint *arg2 = 0 ;
2954 bool result;
2955 wxPoint temp2 ;
2956 PyObject * obj0 = 0 ;
2957 PyObject * obj1 = 0 ;
2958 char *kwnames[] = {
2959 (char *) "self",(char *) "pt", NULL
2960 };
2961
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2965 {
2966 arg2 = &temp2;
2967 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2968 }
2969 {
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
2972
2973 wxPyEndAllowThreads(__tstate);
2974 if (PyErr_Occurred()) SWIG_fail;
2975 }
2976 {
2977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982}
2983
2984
2985static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj;
2987 wxPoint *arg1 = (wxPoint *) 0 ;
2988 wxPoint *arg2 = 0 ;
2989 bool result;
2990 wxPoint temp2 ;
2991 PyObject * obj0 = 0 ;
2992 PyObject * obj1 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "pt", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3000 {
3001 arg2 = &temp2;
3002 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3003 }
3004 {
3005 PyThreadState* __tstate = wxPyBeginAllowThreads();
3006 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
3007
3008 wxPyEndAllowThreads(__tstate);
3009 if (PyErr_Occurred()) SWIG_fail;
3010 }
3011 {
3012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3013 }
3014 return resultobj;
3015 fail:
3016 return NULL;
3017}
3018
3019
3020static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
3021 PyObject *resultobj;
3022 wxPoint *arg1 = (wxPoint *) 0 ;
3023 wxPoint *arg2 = 0 ;
3024 wxPoint result;
3025 wxPoint temp2 ;
3026 PyObject * obj0 = 0 ;
3027 PyObject * obj1 = 0 ;
3028 char *kwnames[] = {
3029 (char *) "self",(char *) "pt", NULL
3030 };
3031
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
3033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3035 {
3036 arg2 = &temp2;
3037 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3038 }
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 result = (arg1)->operator +((wxPoint const &)*arg2);
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 {
3047 wxPoint * resultptr;
3048 resultptr = new wxPoint((wxPoint &) result);
3049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3050 }
3051 return resultobj;
3052 fail:
3053 return NULL;
3054}
3055
3056
3057static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3058 PyObject *resultobj;
3059 wxPoint *arg1 = (wxPoint *) 0 ;
3060 wxPoint *arg2 = 0 ;
3061 wxPoint result;
3062 wxPoint temp2 ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj1 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self",(char *) "pt", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3072 {
3073 arg2 = &temp2;
3074 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3075 }
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
3078 result = (arg1)->operator -((wxPoint const &)*arg2);
3079
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 {
3084 wxPoint * resultptr;
3085 resultptr = new wxPoint((wxPoint &) result);
3086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3087 }
3088 return resultobj;
3089 fail:
3090 return NULL;
3091}
3092
3093
3094static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxPoint *arg1 = (wxPoint *) 0 ;
3097 wxPoint *arg2 = 0 ;
3098 wxPoint *result;
3099 wxPoint temp2 ;
3100 PyObject * obj0 = 0 ;
3101 PyObject * obj1 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "self",(char *) "pt", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
3107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3109 {
3110 arg2 = &temp2;
3111 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3112 }
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 {
3116 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3117 result = (wxPoint *) &_result_ref;
3118 }
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3124 return resultobj;
3125 fail:
3126 return NULL;
3127}
3128
3129
3130static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3131 PyObject *resultobj;
3132 wxPoint *arg1 = (wxPoint *) 0 ;
3133 wxPoint *arg2 = 0 ;
3134 wxPoint *result;
3135 wxPoint temp2 ;
3136 PyObject * obj0 = 0 ;
3137 PyObject * obj1 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self",(char *) "pt", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3145 {
3146 arg2 = &temp2;
3147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3148 }
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 {
3152 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3153 result = (wxPoint *) &_result_ref;
3154 }
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
3160 return resultobj;
3161 fail:
3162 return NULL;
3163}
3164
3165
3166static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxPoint *arg1 = (wxPoint *) 0 ;
3169 long arg2 ;
3170 long arg3 ;
3171 PyObject * obj0 = 0 ;
3172 PyObject * obj1 = 0 ;
3173 PyObject * obj2 = 0 ;
3174 char *kwnames[] = {
3175 (char *) "self",(char *) "x",(char *) "y", NULL
3176 };
3177
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
3179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3181 arg2 = (long) SWIG_AsLong(obj1);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 arg3 = (long) SWIG_AsLong(obj2);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 wxPoint_Set(arg1,arg2,arg3);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 Py_INCREF(Py_None); resultobj = Py_None;
3193 return resultobj;
3194 fail:
3195 return NULL;
3196}
3197
3198
3199static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxPoint *arg1 = (wxPoint *) 0 ;
3202 PyObject *result;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
3209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 result = (PyObject *)wxPoint_Get(arg1);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 resultobj = result;
3219 return resultobj;
3220 fail:
3221 return NULL;
3222}
3223
3224
3225static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3226 PyObject *obj;
3227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3228 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3229 Py_INCREF(obj);
3230 return Py_BuildValue((char *)"");
3231}
3232static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 int arg1 = (int) 0 ;
3235 int arg2 = (int) 0 ;
3236 int arg3 = (int) 0 ;
3237 int arg4 = (int) 0 ;
3238 wxRect *result;
3239 PyObject * obj0 = 0 ;
3240 PyObject * obj1 = 0 ;
3241 PyObject * obj2 = 0 ;
3242 PyObject * obj3 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3248 if (obj0) {
3249 arg1 = (int) SWIG_AsInt(obj0);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 if (obj1) {
3253 arg2 = (int) SWIG_AsInt(obj1);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 if (obj2) {
3257 arg3 = (int) SWIG_AsInt(obj2);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 if (obj3) {
3261 arg4 = (int) SWIG_AsInt(obj3);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3272 return resultobj;
3273 fail:
3274 return NULL;
3275}
3276
3277
3278static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxPoint *arg1 = 0 ;
3281 wxPoint *arg2 = 0 ;
3282 wxRect *result;
3283 wxPoint temp1 ;
3284 wxPoint temp2 ;
3285 PyObject * obj0 = 0 ;
3286 PyObject * obj1 = 0 ;
3287 char *kwnames[] = {
3288 (char *) "topLeft",(char *) "bottomRight", NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3292 {
3293 arg1 = &temp1;
3294 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3295 }
3296 {
3297 arg2 = &temp2;
3298 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3299 }
3300 {
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3308 return resultobj;
3309 fail:
3310 return NULL;
3311}
3312
3313
3314static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3315 PyObject *resultobj;
3316 wxPoint *arg1 = 0 ;
3317 wxSize *arg2 = 0 ;
3318 wxRect *result;
3319 wxPoint temp1 ;
3320 wxSize temp2 ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "pos",(char *) "size", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3328 {
3329 arg1 = &temp1;
3330 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3331 }
3332 {
3333 arg2 = &temp2;
3334 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3335 }
3336 {
3337 PyThreadState* __tstate = wxPyBeginAllowThreads();
3338 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3339
3340 wxPyEndAllowThreads(__tstate);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 }
3343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3344 return resultobj;
3345 fail:
3346 return NULL;
3347}
3348
3349
3350static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj;
3352 wxRect *arg1 = (wxRect *) 0 ;
3353 PyObject * obj0 = 0 ;
3354 char *kwnames[] = {
3355 (char *) "self", NULL
3356 };
3357
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
3359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 delete arg1;
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) SWIG_fail;
3367 }
3368 Py_INCREF(Py_None); resultobj = Py_None;
3369 return resultobj;
3370 fail:
3371 return NULL;
3372}
3373
3374
3375static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxRect *arg1 = (wxRect *) 0 ;
3378 int result;
3379 PyObject * obj0 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = (int)((wxRect const *)arg1)->GetX();
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 resultobj = SWIG_FromInt((int)result);
3395 return resultobj;
3396 fail:
3397 return NULL;
3398}
3399
3400
3401static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3402 PyObject *resultobj;
3403 wxRect *arg1 = (wxRect *) 0 ;
3404 int arg2 ;
3405 PyObject * obj0 = 0 ;
3406 PyObject * obj1 = 0 ;
3407 char *kwnames[] = {
3408 (char *) "self",(char *) "x", NULL
3409 };
3410
3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
3412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3414 arg2 = (int) SWIG_AsInt(obj1);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 (arg1)->SetX(arg2);
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 Py_INCREF(Py_None); resultobj = Py_None;
3424 return resultobj;
3425 fail:
3426 return NULL;
3427}
3428
3429
3430static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxRect *arg1 = (wxRect *) 0 ;
3433 int result;
3434 PyObject * obj0 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
3440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 result = (int)(arg1)->GetY();
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 resultobj = SWIG_FromInt((int)result);
3450 return resultobj;
3451 fail:
3452 return NULL;
3453}
3454
3455
3456static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxRect *arg1 = (wxRect *) 0 ;
3459 int arg2 ;
3460 PyObject * obj0 = 0 ;
3461 PyObject * obj1 = 0 ;
3462 char *kwnames[] = {
3463 (char *) "self",(char *) "y", NULL
3464 };
3465
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
3467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3469 arg2 = (int) SWIG_AsInt(obj1);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 (arg1)->SetY(arg2);
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 Py_INCREF(Py_None); resultobj = Py_None;
3479 return resultobj;
3480 fail:
3481 return NULL;
3482}
3483
3484
3485static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxRect *arg1 = (wxRect *) 0 ;
3488 int result;
3489 PyObject * obj0 = 0 ;
3490 char *kwnames[] = {
3491 (char *) "self", NULL
3492 };
3493
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
3495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 result = (int)((wxRect const *)arg1)->GetWidth();
3500
3501 wxPyEndAllowThreads(__tstate);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 }
3504 resultobj = SWIG_FromInt((int)result);
3505 return resultobj;
3506 fail:
3507 return NULL;
3508}
3509
3510
3511static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3512 PyObject *resultobj;
3513 wxRect *arg1 = (wxRect *) 0 ;
3514 int arg2 ;
3515 PyObject * obj0 = 0 ;
3516 PyObject * obj1 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self",(char *) "w", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3524 arg2 = (int) SWIG_AsInt(obj1);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 (arg1)->SetWidth(arg2);
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 Py_INCREF(Py_None); resultobj = Py_None;
3534 return resultobj;
3535 fail:
3536 return NULL;
3537}
3538
3539
3540static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3541 PyObject *resultobj;
3542 wxRect *arg1 = (wxRect *) 0 ;
3543 int result;
3544 PyObject * obj0 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "self", NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
3550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3552 {
3553 PyThreadState* __tstate = wxPyBeginAllowThreads();
3554 result = (int)((wxRect const *)arg1)->GetHeight();
3555
3556 wxPyEndAllowThreads(__tstate);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 }
3559 resultobj = SWIG_FromInt((int)result);
3560 return resultobj;
3561 fail:
3562 return NULL;
3563}
3564
3565
3566static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj;
3568 wxRect *arg1 = (wxRect *) 0 ;
3569 int arg2 ;
3570 PyObject * obj0 = 0 ;
3571 PyObject * obj1 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self",(char *) "h", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3579 arg2 = (int) SWIG_AsInt(obj1);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 (arg1)->SetHeight(arg2);
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 Py_INCREF(Py_None); resultobj = Py_None;
3589 return resultobj;
3590 fail:
3591 return NULL;
3592}
3593
3594
3595static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxRect *arg1 = (wxRect *) 0 ;
3598 wxPoint result;
3599 PyObject * obj0 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 result = ((wxRect const *)arg1)->GetPosition();
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
3614 {
3615 wxPoint * resultptr;
3616 resultptr = new wxPoint((wxPoint &) result);
3617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3618 }
3619 return resultobj;
3620 fail:
3621 return NULL;
3622}
3623
3624
3625static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3626 PyObject *resultobj;
3627 wxRect *arg1 = (wxRect *) 0 ;
3628 wxPoint *arg2 = 0 ;
3629 wxPoint temp2 ;
3630 PyObject * obj0 = 0 ;
3631 PyObject * obj1 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self",(char *) "p", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3639 {
3640 arg2 = &temp2;
3641 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3642 }
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 (arg1)->SetPosition((wxPoint const &)*arg2);
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 Py_INCREF(Py_None); resultobj = Py_None;
3651 return resultobj;
3652 fail:
3653 return NULL;
3654}
3655
3656
3657static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject *resultobj;
3659 wxRect *arg1 = (wxRect *) 0 ;
3660 wxSize result;
3661 PyObject * obj0 = 0 ;
3662 char *kwnames[] = {
3663 (char *) "self", NULL
3664 };
3665
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
3667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
3671 result = ((wxRect const *)arg1)->GetSize();
3672
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 {
3677 wxSize * resultptr;
3678 resultptr = new wxSize((wxSize &) result);
3679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3680 }
3681 return resultobj;
3682 fail:
3683 return NULL;
3684}
3685
3686
3687static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject *resultobj;
3689 wxRect *arg1 = (wxRect *) 0 ;
3690 wxSize *arg2 = 0 ;
3691 wxSize temp2 ;
3692 PyObject * obj0 = 0 ;
3693 PyObject * obj1 = 0 ;
3694 char *kwnames[] = {
3695 (char *) "self",(char *) "s", NULL
3696 };
3697
3698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
3699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3701 {
3702 arg2 = &temp2;
3703 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3704 }
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 (arg1)->SetSize((wxSize const &)*arg2);
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 Py_INCREF(Py_None); resultobj = Py_None;
3713 return resultobj;
3714 fail:
3715 return NULL;
3716}
3717
3718
3719static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3720 PyObject *resultobj;
3721 wxRect *arg1 = (wxRect *) 0 ;
3722 wxPoint result;
3723 PyObject * obj0 = 0 ;
3724 char *kwnames[] = {
3725 (char *) "self", NULL
3726 };
3727
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
3729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = ((wxRect const *)arg1)->GetTopLeft();
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 {
3739 wxPoint * resultptr;
3740 resultptr = new wxPoint((wxPoint &) result);
3741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3742 }
3743 return resultobj;
3744 fail:
3745 return NULL;
3746}
3747
3748
3749static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxRect *arg1 = (wxRect *) 0 ;
3752 wxPoint *arg2 = 0 ;
3753 wxPoint temp2 ;
3754 PyObject * obj0 = 0 ;
3755 PyObject * obj1 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "self",(char *) "p", NULL
3758 };
3759
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
3761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3763 {
3764 arg2 = &temp2;
3765 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3766 }
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 Py_INCREF(Py_None); resultobj = Py_None;
3775 return resultobj;
3776 fail:
3777 return NULL;
3778}
3779
3780
3781static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3782 PyObject *resultobj;
3783 wxRect *arg1 = (wxRect *) 0 ;
3784 wxPoint result;
3785 PyObject * obj0 = 0 ;
3786 char *kwnames[] = {
3787 (char *) "self", NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
3791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3793 {
3794 PyThreadState* __tstate = wxPyBeginAllowThreads();
3795 result = ((wxRect const *)arg1)->GetBottomRight();
3796
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 {
3801 wxPoint * resultptr;
3802 resultptr = new wxPoint((wxPoint &) result);
3803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3804 }
3805 return resultobj;
3806 fail:
3807 return NULL;
3808}
3809
3810
3811static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 wxRect *arg1 = (wxRect *) 0 ;
3814 wxPoint *arg2 = 0 ;
3815 wxPoint temp2 ;
3816 PyObject * obj0 = 0 ;
3817 PyObject * obj1 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self",(char *) "p", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
3823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3825 {
3826 arg2 = &temp2;
3827 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3828 }
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 Py_INCREF(Py_None); resultobj = Py_None;
3837 return resultobj;
3838 fail:
3839 return NULL;
3840}
3841
3842
3843static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxRect *arg1 = (wxRect *) 0 ;
3846 int result;
3847 PyObject * obj0 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
3853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 result = (int)((wxRect const *)arg1)->GetLeft();
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_FromInt((int)result);
3863 return resultobj;
3864 fail:
3865 return NULL;
3866}
3867
3868
3869static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj;
3871 wxRect *arg1 = (wxRect *) 0 ;
3872 int result;
3873 PyObject * obj0 = 0 ;
3874 char *kwnames[] = {
3875 (char *) "self", NULL
3876 };
3877
3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
3879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3881 {
3882 PyThreadState* __tstate = wxPyBeginAllowThreads();
3883 result = (int)((wxRect const *)arg1)->GetTop();
3884
3885 wxPyEndAllowThreads(__tstate);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 resultobj = SWIG_FromInt((int)result);
3889 return resultobj;
3890 fail:
3891 return NULL;
3892}
3893
3894
3895static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3896 PyObject *resultobj;
3897 wxRect *arg1 = (wxRect *) 0 ;
3898 int result;
3899 PyObject * obj0 = 0 ;
3900 char *kwnames[] = {
3901 (char *) "self", NULL
3902 };
3903
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
3905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (int)((wxRect const *)arg1)->GetBottom();
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 resultobj = SWIG_FromInt((int)result);
3915 return resultobj;
3916 fail:
3917 return NULL;
3918}
3919
3920
3921static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj;
3923 wxRect *arg1 = (wxRect *) 0 ;
3924 int result;
3925 PyObject * obj0 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
3931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 result = (int)((wxRect const *)arg1)->GetRight();
3936
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 resultobj = SWIG_FromInt((int)result);
3941 return resultobj;
3942 fail:
3943 return NULL;
3944}
3945
3946
3947static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj;
3949 wxRect *arg1 = (wxRect *) 0 ;
3950 int arg2 ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 char *kwnames[] = {
3954 (char *) "self",(char *) "left", NULL
3955 };
3956
3957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
3958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3960 arg2 = (int) SWIG_AsInt(obj1);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 (arg1)->SetLeft(arg2);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 Py_INCREF(Py_None); resultobj = Py_None;
3970 return resultobj;
3971 fail:
3972 return NULL;
3973}
3974
3975
3976static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 wxRect *arg1 = (wxRect *) 0 ;
3979 int arg2 ;
3980 PyObject * obj0 = 0 ;
3981 PyObject * obj1 = 0 ;
3982 char *kwnames[] = {
3983 (char *) "self",(char *) "right", NULL
3984 };
3985
3986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
3987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3989 arg2 = (int) SWIG_AsInt(obj1);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 (arg1)->SetRight(arg2);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 Py_INCREF(Py_None); resultobj = Py_None;
3999 return resultobj;
4000 fail:
4001 return NULL;
4002}
4003
4004
4005static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
4006 PyObject *resultobj;
4007 wxRect *arg1 = (wxRect *) 0 ;
4008 int arg2 ;
4009 PyObject * obj0 = 0 ;
4010 PyObject * obj1 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "self",(char *) "top", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
4016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4018 arg2 = (int) SWIG_AsInt(obj1);
4019 if (PyErr_Occurred()) SWIG_fail;
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 (arg1)->SetTop(arg2);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 Py_INCREF(Py_None); resultobj = Py_None;
4028 return resultobj;
4029 fail:
4030 return NULL;
4031}
4032
4033
4034static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj;
4036 wxRect *arg1 = (wxRect *) 0 ;
4037 int arg2 ;
4038 PyObject * obj0 = 0 ;
4039 PyObject * obj1 = 0 ;
4040 char *kwnames[] = {
4041 (char *) "self",(char *) "bottom", NULL
4042 };
4043
4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
4045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4047 arg2 = (int) SWIG_AsInt(obj1);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 (arg1)->SetBottom(arg2);
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 Py_INCREF(Py_None); resultobj = Py_None;
4057 return resultobj;
4058 fail:
4059 return NULL;
4060}
4061
4062
4063static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4064 PyObject *resultobj;
4065 wxRect *arg1 = (wxRect *) 0 ;
4066 int arg2 ;
4067 int arg3 ;
4068 wxRect *result;
4069 PyObject * obj0 = 0 ;
4070 PyObject * obj1 = 0 ;
4071 PyObject * obj2 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self",(char *) "dx",(char *) "dy", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4079 arg2 = (int) SWIG_AsInt(obj1);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 arg3 = (int) SWIG_AsInt(obj2);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 {
4086 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4087 result = (wxRect *) &_result_ref;
4088 }
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4094 return resultobj;
4095 fail:
4096 return NULL;
4097}
4098
4099
4100static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4101 PyObject *resultobj;
4102 wxRect *arg1 = (wxRect *) 0 ;
4103 int arg2 ;
4104 int arg3 ;
4105 wxRect *result;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 PyObject * obj2 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self",(char *) "dx",(char *) "dy", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4116 arg2 = (int) SWIG_AsInt(obj1);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 arg3 = (int) SWIG_AsInt(obj2);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 {
4123 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4124 result = (wxRect *) &_result_ref;
4125 }
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4131 return resultobj;
4132 fail:
4133 return NULL;
4134}
4135
4136
4137static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4138 PyObject *resultobj;
4139 wxRect *arg1 = (wxRect *) 0 ;
4140 int arg2 ;
4141 int arg3 ;
4142 PyObject * obj0 = 0 ;
4143 PyObject * obj1 = 0 ;
4144 PyObject * obj2 = 0 ;
4145 char *kwnames[] = {
4146 (char *) "self",(char *) "dx",(char *) "dy", NULL
4147 };
4148
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4152 arg2 = (int) SWIG_AsInt(obj1);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 arg3 = (int) SWIG_AsInt(obj2);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 (arg1)->Offset(arg2,arg3);
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 Py_INCREF(Py_None); resultobj = Py_None;
4164 return resultobj;
4165 fail:
4166 return NULL;
4167}
4168
4169
4170static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4171 PyObject *resultobj;
4172 wxRect *arg1 = (wxRect *) 0 ;
4173 wxPoint *arg2 = 0 ;
4174 wxPoint temp2 ;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self",(char *) "pt", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4184 {
4185 arg2 = &temp2;
4186 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4187 }
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 (arg1)->Offset((wxPoint const &)*arg2);
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 Py_INCREF(Py_None); resultobj = Py_None;
4196 return resultobj;
4197 fail:
4198 return NULL;
4199}
4200
4201
4202static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxRect *arg1 = (wxRect *) 0 ;
4205 wxRect *arg2 = 0 ;
4206 wxRect *result;
4207 wxRect temp2 ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self",(char *) "rect", NULL
4212 };
4213
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
4215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4217 {
4218 arg2 = &temp2;
4219 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4220 }
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 {
4224 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4225 result = (wxRect *) &_result_ref;
4226 }
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4232 return resultobj;
4233 fail:
4234 return NULL;
4235}
4236
4237
4238static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj;
4240 wxRect *arg1 = (wxRect *) 0 ;
4241 wxRect *arg2 = 0 ;
4242 wxRect result;
4243 wxRect temp2 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "rect", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 {
4254 arg2 = &temp2;
4255 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4256 }
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 {
4265 wxRect * resultptr;
4266 resultptr = new wxRect((wxRect &) result);
4267 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4268 }
4269 return resultobj;
4270 fail:
4271 return NULL;
4272}
4273
4274
4275static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4276 PyObject *resultobj;
4277 wxRect *arg1 = (wxRect *) 0 ;
4278 wxRect *arg2 = 0 ;
4279 wxRect *result;
4280 wxRect temp2 ;
4281 PyObject * obj0 = 0 ;
4282 PyObject * obj1 = 0 ;
4283 char *kwnames[] = {
4284 (char *) "self",(char *) "rect", NULL
4285 };
4286
4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
4288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4290 {
4291 arg2 = &temp2;
4292 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4293 }
4294 {
4295 PyThreadState* __tstate = wxPyBeginAllowThreads();
4296 {
4297 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4298 result = (wxRect *) &_result_ref;
4299 }
4300
4301 wxPyEndAllowThreads(__tstate);
4302 if (PyErr_Occurred()) SWIG_fail;
4303 }
4304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4305 return resultobj;
4306 fail:
4307 return NULL;
4308}
4309
4310
4311static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj;
4313 wxRect *arg1 = (wxRect *) 0 ;
4314 wxRect *arg2 = 0 ;
4315 bool result;
4316 wxRect temp2 ;
4317 PyObject * obj0 = 0 ;
4318 PyObject * obj1 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "self",(char *) "rect", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
4324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4326 {
4327 arg2 = &temp2;
4328 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4329 }
4330 {
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4333
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 {
4338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4339 }
4340 return resultobj;
4341 fail:
4342 return NULL;
4343}
4344
4345
4346static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj;
4348 wxRect *arg1 = (wxRect *) 0 ;
4349 wxRect *arg2 = 0 ;
4350 bool result;
4351 wxRect temp2 ;
4352 PyObject * obj0 = 0 ;
4353 PyObject * obj1 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self",(char *) "rect", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
4359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4361 {
4362 arg2 = &temp2;
4363 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4364 }
4365 {
4366 PyThreadState* __tstate = wxPyBeginAllowThreads();
4367 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4368
4369 wxPyEndAllowThreads(__tstate);
4370 if (PyErr_Occurred()) SWIG_fail;
4371 }
4372 {
4373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4374 }
4375 return resultobj;
4376 fail:
4377 return NULL;
4378}
4379
4380
4381static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj;
4383 wxRect *arg1 = (wxRect *) 0 ;
4384 int arg2 ;
4385 int arg3 ;
4386 bool result;
4387 PyObject * obj0 = 0 ;
4388 PyObject * obj1 = 0 ;
4389 PyObject * obj2 = 0 ;
4390 char *kwnames[] = {
4391 (char *) "self",(char *) "x",(char *) "y", NULL
4392 };
4393
4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4397 arg2 = (int) SWIG_AsInt(obj1);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 arg3 = (int) SWIG_AsInt(obj2);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 {
4409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4410 }
4411 return resultobj;
4412 fail:
4413 return NULL;
4414}
4415
4416
4417static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxRect *arg1 = (wxRect *) 0 ;
4420 wxPoint *arg2 = 0 ;
4421 bool result;
4422 wxPoint temp2 ;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 char *kwnames[] = {
4426 (char *) "self",(char *) "pt", NULL
4427 };
4428
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
4430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4432 {
4433 arg2 = &temp2;
4434 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4435 }
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4439
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 {
4444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4445 }
4446 return resultobj;
4447 fail:
4448 return NULL;
4449}
4450
4451
4452static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxRect *arg1 = (wxRect *) 0 ;
4455 wxRect *arg2 = 0 ;
4456 bool result;
4457 wxRect temp2 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self",(char *) "rect", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
4465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4467 {
4468 arg2 = &temp2;
4469 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4470 }
4471 {
4472 PyThreadState* __tstate = wxPyBeginAllowThreads();
4473 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4474
4475 wxPyEndAllowThreads(__tstate);
4476 if (PyErr_Occurred()) SWIG_fail;
4477 }
4478 {
4479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4480 }
4481 return resultobj;
4482 fail:
4483 return NULL;
4484}
4485
4486
4487static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 wxRect *arg1 = (wxRect *) 0 ;
4490 int arg2 ;
4491 PyObject * obj0 = 0 ;
4492 PyObject * obj1 = 0 ;
4493 char *kwnames[] = {
4494 (char *) "self",(char *) "x", NULL
4495 };
4496
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
4498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4500 arg2 = (int) SWIG_AsInt(obj1);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 if (arg1) (arg1)->x = arg2;
4503
4504 Py_INCREF(Py_None); resultobj = Py_None;
4505 return resultobj;
4506 fail:
4507 return NULL;
4508}
4509
4510
4511static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4512 PyObject *resultobj;
4513 wxRect *arg1 = (wxRect *) 0 ;
4514 int result;
4515 PyObject * obj0 = 0 ;
4516 char *kwnames[] = {
4517 (char *) "self", NULL
4518 };
4519
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
4521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4523 result = (int) ((arg1)->x);
4524
4525 resultobj = SWIG_FromInt((int)result);
4526 return resultobj;
4527 fail:
4528 return NULL;
4529}
4530
4531
4532static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4533 PyObject *resultobj;
4534 wxRect *arg1 = (wxRect *) 0 ;
4535 int arg2 ;
4536 PyObject * obj0 = 0 ;
4537 PyObject * obj1 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self",(char *) "y", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
4543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4545 arg2 = (int) SWIG_AsInt(obj1);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 if (arg1) (arg1)->y = arg2;
4548
4549 Py_INCREF(Py_None); resultobj = Py_None;
4550 return resultobj;
4551 fail:
4552 return NULL;
4553}
4554
4555
4556static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4557 PyObject *resultobj;
4558 wxRect *arg1 = (wxRect *) 0 ;
4559 int result;
4560 PyObject * obj0 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4568 result = (int) ((arg1)->y);
4569
4570 resultobj = SWIG_FromInt((int)result);
4571 return resultobj;
4572 fail:
4573 return NULL;
4574}
4575
4576
4577static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxRect *arg1 = (wxRect *) 0 ;
4580 int arg2 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 char *kwnames[] = {
4584 (char *) "self",(char *) "width", NULL
4585 };
4586
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
4588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4590 arg2 = (int) SWIG_AsInt(obj1);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 if (arg1) (arg1)->width = arg2;
4593
4594 Py_INCREF(Py_None); resultobj = Py_None;
4595 return resultobj;
4596 fail:
4597 return NULL;
4598}
4599
4600
4601static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject *resultobj;
4603 wxRect *arg1 = (wxRect *) 0 ;
4604 int result;
4605 PyObject * obj0 = 0 ;
4606 char *kwnames[] = {
4607 (char *) "self", NULL
4608 };
4609
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
4611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4613 result = (int) ((arg1)->width);
4614
4615 resultobj = SWIG_FromInt((int)result);
4616 return resultobj;
4617 fail:
4618 return NULL;
4619}
4620
4621
4622static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxRect *arg1 = (wxRect *) 0 ;
4625 int arg2 ;
4626 PyObject * obj0 = 0 ;
4627 PyObject * obj1 = 0 ;
4628 char *kwnames[] = {
4629 (char *) "self",(char *) "height", NULL
4630 };
4631
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
4633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4635 arg2 = (int) SWIG_AsInt(obj1);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 if (arg1) (arg1)->height = arg2;
4638
4639 Py_INCREF(Py_None); resultobj = Py_None;
4640 return resultobj;
4641 fail:
4642 return NULL;
4643}
4644
4645
4646static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj;
4648 wxRect *arg1 = (wxRect *) 0 ;
4649 int result;
4650 PyObject * obj0 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "self", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
4656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4658 result = (int) ((arg1)->height);
4659
4660 resultobj = SWIG_FromInt((int)result);
4661 return resultobj;
4662 fail:
4663 return NULL;
4664}
4665
4666
4667static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj;
4669 wxRect *arg1 = (wxRect *) 0 ;
4670 int arg2 = (int) 0 ;
4671 int arg3 = (int) 0 ;
4672 int arg4 = (int) 0 ;
4673 int arg5 = (int) 0 ;
4674 PyObject * obj0 = 0 ;
4675 PyObject * obj1 = 0 ;
4676 PyObject * obj2 = 0 ;
4677 PyObject * obj3 = 0 ;
4678 PyObject * obj4 = 0 ;
4679 char *kwnames[] = {
4680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4686 if (obj1) {
4687 arg2 = (int) SWIG_AsInt(obj1);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 if (obj2) {
4691 arg3 = (int) SWIG_AsInt(obj2);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 if (obj3) {
4695 arg4 = (int) SWIG_AsInt(obj3);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 if (obj4) {
4699 arg5 = (int) SWIG_AsInt(obj4);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 Py_INCREF(Py_None); resultobj = Py_None;
4710 return resultobj;
4711 fail:
4712 return NULL;
4713}
4714
4715
4716static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxRect *arg1 = (wxRect *) 0 ;
4719 PyObject *result;
4720 PyObject * obj0 = 0 ;
4721 char *kwnames[] = {
4722 (char *) "self", NULL
4723 };
4724
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
4726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (PyObject *)wxRect_Get(arg1);
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = result;
4736 return resultobj;
4737 fail:
4738 return NULL;
4739}
4740
4741
4742static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4743 PyObject *obj;
4744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4745 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4746 Py_INCREF(obj);
4747 return Py_BuildValue((char *)"");
4748}
4749static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxRect *arg1 = (wxRect *) 0 ;
4752 wxRect *arg2 = (wxRect *) 0 ;
4753 PyObject *result;
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
4756 char *kwnames[] = {
4757 (char *) "r1",(char *) "r2", NULL
4758 };
4759
4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
4761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (PyObject *)wxIntersectRect(arg1,arg2);
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 resultobj = result;
4773 return resultobj;
4774 fail:
4775 return NULL;
4776}
4777
4778
4779static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4780 PyObject *resultobj;
4781 double arg1 = (double) 0.0 ;
4782 double arg2 = (double) 0.0 ;
4783 wxPoint2D *result;
4784 PyObject * obj0 = 0 ;
4785 PyObject * obj1 = 0 ;
4786 char *kwnames[] = {
4787 (char *) "x",(char *) "y", NULL
4788 };
4789
4790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4791 if (obj0) {
4792 arg1 = (double) SWIG_AsDouble(obj0);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 if (obj1) {
4796 arg2 = (double) SWIG_AsDouble(obj1);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 }
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4807 return resultobj;
4808 fail:
4809 return NULL;
4810}
4811
4812
4813static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4814 PyObject *resultobj;
4815 wxPoint2D *arg1 = 0 ;
4816 wxPoint2D *result;
4817 wxPoint2D temp1 ;
4818 PyObject * obj0 = 0 ;
4819 char *kwnames[] = {
4820 (char *) "pt", NULL
4821 };
4822
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4824 {
4825 arg1 = &temp1;
4826 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4827 }
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4836 return resultobj;
4837 fail:
4838 return NULL;
4839}
4840
4841
4842static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxPoint *arg1 = 0 ;
4845 wxPoint2D *result;
4846 wxPoint temp1 ;
4847 PyObject * obj0 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "pt", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4853 {
4854 arg1 = &temp1;
4855 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4856 }
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
4865 return resultobj;
4866 fail:
4867 return NULL;
4868}
4869
4870
4871static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4872 PyObject *resultobj;
4873 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4874 int *arg2 = (int *) 0 ;
4875 int *arg3 = (int *) 0 ;
4876 int temp2 ;
4877 int temp3 ;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self", NULL
4881 };
4882
4883 arg2 = &temp2;
4884 arg3 = &temp3;
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 Py_INCREF(Py_None); resultobj = Py_None;
4896 {
4897 PyObject *o = PyInt_FromLong((long) (*arg2));
4898 resultobj = t_output_helper(resultobj,o);
4899 }
4900 {
4901 PyObject *o = PyInt_FromLong((long) (*arg3));
4902 resultobj = t_output_helper(resultobj,o);
4903 }
4904 return resultobj;
4905 fail:
4906 return NULL;
4907}
4908
4909
4910static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4911 PyObject *resultobj;
4912 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4913 int *arg2 = (int *) 0 ;
4914 int *arg3 = (int *) 0 ;
4915 int temp2 ;
4916 int temp3 ;
4917 PyObject * obj0 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self", NULL
4920 };
4921
4922 arg2 = &temp2;
4923 arg3 = &temp3;
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
4925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 Py_INCREF(Py_None); resultobj = Py_None;
4935 {
4936 PyObject *o = PyInt_FromLong((long) (*arg2));
4937 resultobj = t_output_helper(resultobj,o);
4938 }
4939 {
4940 PyObject *o = PyInt_FromLong((long) (*arg3));
4941 resultobj = t_output_helper(resultobj,o);
4942 }
4943 return resultobj;
4944 fail:
4945 return NULL;
4946}
4947
4948
4949static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4952 double result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
4959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 resultobj = SWIG_FromDouble((double)result);
4969 return resultobj;
4970 fail:
4971 return NULL;
4972}
4973
4974
4975static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj;
4977 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4978 double result;
4979 PyObject * obj0 = 0 ;
4980 char *kwnames[] = {
4981 (char *) "self", NULL
4982 };
4983
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
4985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 resultobj = SWIG_FromDouble((double)result);
4995 return resultobj;
4996 fail:
4997 return NULL;
4998}
4999
5000
5001static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5002 PyObject *resultobj;
5003 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5004 double arg2 ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self",(char *) "length", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
5012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5014 arg2 = (double) SWIG_AsDouble(obj1);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 (arg1)->SetVectorLength(arg2);
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 Py_INCREF(Py_None); resultobj = Py_None;
5024 return resultobj;
5025 fail:
5026 return NULL;
5027}
5028
5029
5030static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj;
5032 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5033 double arg2 ;
5034 PyObject * obj0 = 0 ;
5035 PyObject * obj1 = 0 ;
5036 char *kwnames[] = {
5037 (char *) "self",(char *) "degrees", NULL
5038 };
5039
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
5041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5043 arg2 = (double) SWIG_AsDouble(obj1);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 (arg1)->SetVectorAngle(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 Py_INCREF(Py_None); resultobj = Py_None;
5053 return resultobj;
5054 fail:
5055 return NULL;
5056}
5057
5058
5059static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj;
5061 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5062 wxPoint2D *arg2 = 0 ;
5063 double result;
5064 wxPoint2D temp2 ;
5065 PyObject * obj0 = 0 ;
5066 PyObject * obj1 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self",(char *) "pt", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
5072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5074 {
5075 arg2 = &temp2;
5076 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5077 }
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 resultobj = SWIG_FromDouble((double)result);
5086 return resultobj;
5087 fail:
5088 return NULL;
5089}
5090
5091
5092static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj;
5094 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5095 wxPoint2D *arg2 = 0 ;
5096 double result;
5097 wxPoint2D temp2 ;
5098 PyObject * obj0 = 0 ;
5099 PyObject * obj1 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self",(char *) "pt", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
5105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5107 {
5108 arg2 = &temp2;
5109 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5110 }
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 resultobj = SWIG_FromDouble((double)result);
5119 return resultobj;
5120 fail:
5121 return NULL;
5122}
5123
5124
5125static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5126 PyObject *resultobj;
5127 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5128 wxPoint2D *arg2 = 0 ;
5129 double result;
5130 wxPoint2D temp2 ;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "vec", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
5138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5140 {
5141 arg2 = &temp2;
5142 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 resultobj = SWIG_FromDouble((double)result);
5152 return resultobj;
5153 fail:
5154 return NULL;
5155}
5156
5157
5158static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5161 wxPoint2D *arg2 = 0 ;
5162 double result;
5163 wxPoint2D temp2 ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "vec", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
5171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5173 {
5174 arg2 = &temp2;
5175 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5176 }
5177 {
5178 PyThreadState* __tstate = wxPyBeginAllowThreads();
5179 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5180
5181 wxPyEndAllowThreads(__tstate);
5182 if (PyErr_Occurred()) SWIG_fail;
5183 }
5184 resultobj = SWIG_FromDouble((double)result);
5185 return resultobj;
5186 fail:
5187 return NULL;
5188}
5189
5190
5191static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5192 PyObject *resultobj;
5193 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5194 wxPoint2D result;
5195 PyObject * obj0 = 0 ;
5196 char *kwnames[] = {
5197 (char *) "self", NULL
5198 };
5199
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
5201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 result = (arg1)->operator -();
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 {
5211 wxPoint2D * resultptr;
5212 resultptr = new wxPoint2D((wxPoint2D &) result);
5213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
5214 }
5215 return resultobj;
5216 fail:
5217 return NULL;
5218}
5219
5220
5221static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5224 wxPoint2D *arg2 = 0 ;
5225 wxPoint2D *result;
5226 wxPoint2D temp2 ;
5227 PyObject * obj0 = 0 ;
5228 PyObject * obj1 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self",(char *) "pt", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 {
5237 arg2 = &temp2;
5238 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5239 }
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 {
5243 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5244 result = (wxPoint2D *) &_result_ref;
5245 }
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5251 return resultobj;
5252 fail:
5253 return NULL;
5254}
5255
5256
5257static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5260 wxPoint2D *arg2 = 0 ;
5261 wxPoint2D *result;
5262 wxPoint2D temp2 ;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj1 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "pt", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5272 {
5273 arg2 = &temp2;
5274 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5275 }
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 {
5279 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5280 result = (wxPoint2D *) &_result_ref;
5281 }
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5287 return resultobj;
5288 fail:
5289 return NULL;
5290}
5291
5292
5293static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj;
5295 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5296 wxPoint2D *arg2 = 0 ;
5297 wxPoint2D *result;
5298 wxPoint2D temp2 ;
5299 PyObject * obj0 = 0 ;
5300 PyObject * obj1 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "self",(char *) "pt", NULL
5303 };
5304
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
5306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5308 {
5309 arg2 = &temp2;
5310 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5311 }
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 {
5315 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5316 result = (wxPoint2D *) &_result_ref;
5317 }
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5323 return resultobj;
5324 fail:
5325 return NULL;
5326}
5327
5328
5329static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5332 wxPoint2D *arg2 = 0 ;
5333 wxPoint2D *result;
5334 wxPoint2D temp2 ;
5335 PyObject * obj0 = 0 ;
5336 PyObject * obj1 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "self",(char *) "pt", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
5342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5344 {
5345 arg2 = &temp2;
5346 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5347 }
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 {
5351 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5352 result = (wxPoint2D *) &_result_ref;
5353 }
5354
5355 wxPyEndAllowThreads(__tstate);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
5359 return resultobj;
5360 fail:
5361 return NULL;
5362}
5363
5364
5365static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5368 wxPoint2D *arg2 = 0 ;
5369 bool result;
5370 wxPoint2D temp2 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 char *kwnames[] = {
5374 (char *) "self",(char *) "pt", NULL
5375 };
5376
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
5378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5380 {
5381 arg2 = &temp2;
5382 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 {
5392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5393 }
5394 return resultobj;
5395 fail:
5396 return NULL;
5397}
5398
5399
5400static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5403 wxPoint2D *arg2 = 0 ;
5404 bool result;
5405 wxPoint2D temp2 ;
5406 PyObject * obj0 = 0 ;
5407 PyObject * obj1 = 0 ;
5408 char *kwnames[] = {
5409 (char *) "self",(char *) "pt", NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
5413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5415 {
5416 arg2 = &temp2;
5417 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5418 }
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 {
5427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5438 double arg2 ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "m_x", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5448 arg2 = (double) SWIG_AsDouble(obj1);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 if (arg1) (arg1)->m_x = arg2;
5451
5452 Py_INCREF(Py_None); resultobj = Py_None;
5453 return resultobj;
5454 fail:
5455 return NULL;
5456}
5457
5458
5459static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj;
5461 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5462 double result;
5463 PyObject * obj0 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
5469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5471 result = (double) ((arg1)->m_x);
5472
5473 resultobj = SWIG_FromDouble((double)result);
5474 return resultobj;
5475 fail:
5476 return NULL;
5477}
5478
5479
5480static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj;
5482 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5483 double arg2 ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self",(char *) "m_y", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
5491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5493 arg2 = (double) SWIG_AsDouble(obj1);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 if (arg1) (arg1)->m_y = arg2;
5496
5497 Py_INCREF(Py_None); resultobj = Py_None;
5498 return resultobj;
5499 fail:
5500 return NULL;
5501}
5502
5503
5504static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj;
5506 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5507 double result;
5508 PyObject * obj0 = 0 ;
5509 char *kwnames[] = {
5510 (char *) "self", NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
5514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5516 result = (double) ((arg1)->m_y);
5517
5518 resultobj = SWIG_FromDouble((double)result);
5519 return resultobj;
5520 fail:
5521 return NULL;
5522}
5523
5524
5525static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5528 double arg2 = (double) 0 ;
5529 double arg3 = (double) 0 ;
5530 PyObject * obj0 = 0 ;
5531 PyObject * obj1 = 0 ;
5532 PyObject * obj2 = 0 ;
5533 char *kwnames[] = {
5534 (char *) "self",(char *) "x",(char *) "y", NULL
5535 };
5536
5537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
5538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 if (obj1) {
5541 arg2 = (double) SWIG_AsDouble(obj1);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 if (obj2) {
5545 arg3 = (double) SWIG_AsDouble(obj2);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 {
5549 PyThreadState* __tstate = wxPyBeginAllowThreads();
5550 wxPoint2D_Set(arg1,arg2,arg3);
5551
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 Py_INCREF(Py_None); resultobj = Py_None;
5556 return resultobj;
5557 fail:
5558 return NULL;
5559}
5560
5561
5562static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj;
5564 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5565 PyObject *result;
5566 PyObject * obj0 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "self", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
5572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 result = (PyObject *)wxPoint2D_Get(arg1);
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 resultobj = result;
5582 return resultobj;
5583 fail:
5584 return NULL;
5585}
5586
5587
5588static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5589 PyObject *obj;
5590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5591 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5592 Py_INCREF(obj);
5593 return Py_BuildValue((char *)"");
5594}
5595static int _wrap_DefaultPosition_set(PyObject *_val) {
5596 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5597 return 1;
5598}
5599
5600
5601static PyObject *_wrap_DefaultPosition_get() {
5602 PyObject *pyobj;
5603
5604 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
5605 return pyobj;
5606}
5607
5608
5609static int _wrap_DefaultSize_set(PyObject *_val) {
5610 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5611 return 1;
5612}
5613
5614
5615static PyObject *_wrap_DefaultSize_get() {
5616 PyObject *pyobj;
5617
5618 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
5619 return pyobj;
5620}
5621
5622
5623static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5624 PyObject *resultobj;
5625 PyObject *arg1 = (PyObject *) 0 ;
5626 wxPyInputStream *result;
5627 PyObject * obj0 = 0 ;
5628 char *kwnames[] = {
5629 (char *) "p", NULL
5630 };
5631
5632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5633 arg1 = obj0;
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5637
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
5642 return resultobj;
5643 fail:
5644 return NULL;
5645}
5646
5647
5648static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5649 PyObject *resultobj;
5650 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5651 PyObject * obj0 = 0 ;
5652 char *kwnames[] = {
5653 (char *) "self", NULL
5654 };
5655
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
5657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 (arg1)->close();
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 Py_INCREF(Py_None); resultobj = Py_None;
5667 return resultobj;
5668 fail:
5669 return NULL;
5670}
5671
5672
5673static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5674 PyObject *resultobj;
5675 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5676 PyObject * obj0 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
5682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5684 {
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 (arg1)->flush();
5687
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 Py_INCREF(Py_None); resultobj = Py_None;
5692 return resultobj;
5693 fail:
5694 return NULL;
5695}
5696
5697
5698static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5701 bool result;
5702 PyObject * obj0 = 0 ;
5703 char *kwnames[] = {
5704 (char *) "self", NULL
5705 };
5706
5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
5708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = (bool)(arg1)->eof();
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 {
5718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5719 }
5720 return resultobj;
5721 fail:
5722 return NULL;
5723}
5724
5725
5726static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5727 PyObject *resultobj;
5728 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5729 int arg2 = (int) -1 ;
5730 PyObject *result;
5731 PyObject * obj0 = 0 ;
5732 PyObject * obj1 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "size", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5740 if (obj1) {
5741 arg2 = (int) SWIG_AsInt(obj1);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = (PyObject *)(arg1)->read(arg2);
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 resultobj = result;
5752 return resultobj;
5753 fail:
5754 return NULL;
5755}
5756
5757
5758static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5761 int arg2 = (int) -1 ;
5762 PyObject *result;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 char *kwnames[] = {
5766 (char *) "self",(char *) "size", NULL
5767 };
5768
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
5770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5772 if (obj1) {
5773 arg2 = (int) SWIG_AsInt(obj1);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 result = (PyObject *)(arg1)->readline(arg2);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 resultobj = result;
5784 return resultobj;
5785 fail:
5786 return NULL;
5787}
5788
5789
5790static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5791 PyObject *resultobj;
5792 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5793 int arg2 = (int) -1 ;
5794 PyObject *result;
5795 PyObject * obj0 = 0 ;
5796 PyObject * obj1 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self",(char *) "sizehint", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
5802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5804 if (obj1) {
5805 arg2 = (int) SWIG_AsInt(obj1);
5806 if (PyErr_Occurred()) SWIG_fail;
5807 }
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (PyObject *)(arg1)->readlines(arg2);
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 resultobj = result;
5816 return resultobj;
5817 fail:
5818 return NULL;
5819}
5820
5821
5822static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5823 PyObject *resultobj;
5824 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5825 int arg2 ;
5826 int arg3 = (int) 0 ;
5827 PyObject * obj0 = 0 ;
5828 PyObject * obj1 = 0 ;
5829 PyObject * obj2 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self",(char *) "offset",(char *) "whence", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
5835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5837 arg2 = (int) SWIG_AsInt(obj1);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 if (obj2) {
5840 arg3 = (int) SWIG_AsInt(obj2);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 (arg1)->seek(arg2,arg3);
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 Py_INCREF(Py_None); resultobj = Py_None;
5851 return resultobj;
5852 fail:
5853 return NULL;
5854}
5855
5856
5857static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5860 int result;
5861 PyObject * obj0 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
5867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (int)(arg1)->tell();
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 resultobj = SWIG_FromInt((int)result);
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
5883static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5886 char result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (char)(arg1)->Peek();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = SWIG_FromChar((char)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906}
5907
5908
5909static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5912 char result;
5913 PyObject * obj0 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "self", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
5919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5921 {
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 result = (char)(arg1)->GetC();
5924
5925 wxPyEndAllowThreads(__tstate);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 }
5928 resultobj = SWIG_FromChar((char)result);
5929 return resultobj;
5930 fail:
5931 return NULL;
5932}
5933
5934
5935static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj;
5937 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5938 size_t result;
5939 PyObject * obj0 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "self", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
5945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (size_t)(arg1)->LastRead();
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
5955 return resultobj;
5956 fail:
5957 return NULL;
5958}
5959
5960
5961static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5964 bool result;
5965 PyObject * obj0 = 0 ;
5966 char *kwnames[] = {
5967 (char *) "self", NULL
5968 };
5969
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
5971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 result = (bool)(arg1)->CanRead();
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 {
5981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5982 }
5983 return resultobj;
5984 fail:
5985 return NULL;
5986}
5987
5988
5989static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5990 PyObject *resultobj;
5991 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5992 bool result;
5993 PyObject * obj0 = 0 ;
5994 char *kwnames[] = {
5995 (char *) "self", NULL
5996 };
5997
5998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
5999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6001 {
6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6003 result = (bool)(arg1)->Eof();
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 {
6009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6010 }
6011 return resultobj;
6012 fail:
6013 return NULL;
6014}
6015
6016
6017static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6020 char arg2 ;
6021 bool result;
6022 PyObject * obj0 = 0 ;
6023 PyObject * obj1 = 0 ;
6024 char *kwnames[] = {
6025 (char *) "self",(char *) "c", NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
6029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6031 arg2 = (char) SWIG_AsChar(obj1);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (bool)(arg1)->Ungetch(arg2);
6036
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 {
6041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6042 }
6043 return resultobj;
6044 fail:
6045 return NULL;
6046}
6047
6048
6049static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj;
6051 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6052 long arg2 ;
6053 int arg3 = (int) wxFromStart ;
6054 long result;
6055 PyObject * obj0 = 0 ;
6056 PyObject * obj1 = 0 ;
6057 PyObject * obj2 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "pos",(char *) "mode", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6065 arg2 = (long) SWIG_AsLong(obj1);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 if (obj2) {
6068 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 resultobj = SWIG_FromLong((long)result);
6079 return resultobj;
6080 fail:
6081 return NULL;
6082}
6083
6084
6085static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6088 long result;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
6095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 result = (long)(arg1)->TellI();
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 resultobj = SWIG_FromLong((long)result);
6105 return resultobj;
6106 fail:
6107 return NULL;
6108}
6109
6110
6111static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6112 PyObject *obj;
6113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6114 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6115 Py_INCREF(obj);
6116 return Py_BuildValue((char *)"");
6117}
6118static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj;
6120 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6121 PyObject *arg2 = (PyObject *) 0 ;
6122 PyObject * obj0 = 0 ;
6123 PyObject * obj1 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self",(char *) "obj", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6131 arg2 = obj1;
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 wxOutputStream_write(arg1,arg2);
6135
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 Py_INCREF(Py_None); resultobj = Py_None;
6140 return resultobj;
6141 fail:
6142 return NULL;
6143}
6144
6145
6146static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6147 PyObject *obj;
6148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6149 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6150 Py_INCREF(obj);
6151 return Py_BuildValue((char *)"");
6152}
6153static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxInputStream *arg1 = (wxInputStream *) 0 ;
6156 wxString *arg2 = 0 ;
6157 wxString *arg3 = 0 ;
6158 wxString *arg4 = 0 ;
6159 wxDateTime arg5 ;
6160 wxFSFile *result;
6161 wxPyInputStream *temp1 ;
6162 bool created1 ;
6163 bool temp2 = False ;
6164 bool temp3 = False ;
6165 bool temp4 = False ;
6166 wxDateTime *argp5 ;
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169 PyObject * obj2 = 0 ;
6170 PyObject * obj3 = 0 ;
6171 PyObject * obj4 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6177 {
6178 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6179 arg1 = temp1->m_wxis;
6180 created1 = False;
6181 } else {
6182 PyErr_Clear(); // clear the failure of the wxPyConvert above
6183 arg1 = wxPyCBInputStream_create(obj0, False);
6184 if (arg1 == NULL) {
6185 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6186 SWIG_fail;
6187 }
6188 created1 = True;
6189 }
6190 }
6191 {
6192 arg2 = wxString_in_helper(obj1);
6193 if (arg2 == NULL) SWIG_fail;
6194 temp2 = True;
6195 }
6196 {
6197 arg3 = wxString_in_helper(obj2);
6198 if (arg3 == NULL) SWIG_fail;
6199 temp3 = True;
6200 }
6201 {
6202 arg4 = wxString_in_helper(obj3);
6203 if (arg4 == NULL) SWIG_fail;
6204 temp4 = True;
6205 }
6206 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6207 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6208 arg5 = *argp5;
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 {
6217 resultobj = wxPyMake_wxObject(result);
6218 }
6219 {
6220 if (created1)
6221 delete arg1;
6222 }
6223 {
6224 if (temp2)
6225 delete arg2;
6226 }
6227 {
6228 if (temp3)
6229 delete arg3;
6230 }
6231 {
6232 if (temp4)
6233 delete arg4;
6234 }
6235 return resultobj;
6236 fail:
6237 {
6238 if (created1)
6239 delete arg1;
6240 }
6241 {
6242 if (temp2)
6243 delete arg2;
6244 }
6245 {
6246 if (temp3)
6247 delete arg3;
6248 }
6249 {
6250 if (temp4)
6251 delete arg4;
6252 }
6253 return NULL;
6254}
6255
6256
6257static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxFSFile *arg1 = (wxFSFile *) 0 ;
6260 PyObject * obj0 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 delete arg1;
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 Py_INCREF(Py_None); resultobj = Py_None;
6276 return resultobj;
6277 fail:
6278 return NULL;
6279}
6280
6281
6282static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxFSFile *arg1 = (wxFSFile *) 0 ;
6285 wxInputStream *result;
6286 PyObject * obj0 = 0 ;
6287 char *kwnames[] = {
6288 (char *) "self", NULL
6289 };
6290
6291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
6292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (wxInputStream *)(arg1)->GetStream();
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 {
6302 wxPyInputStream * _ptr = NULL;
6303
6304 if (result) {
6305 _ptr = new wxPyInputStream(result);
6306 }
6307 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
6308 }
6309 return resultobj;
6310 fail:
6311 return NULL;
6312}
6313
6314
6315static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj;
6317 wxFSFile *arg1 = (wxFSFile *) 0 ;
6318 wxString *result;
6319 PyObject * obj0 = 0 ;
6320 char *kwnames[] = {
6321 (char *) "self", NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
6325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 {
6330 wxString const &_result_ref = (arg1)->GetMimeType();
6331 result = (wxString *) &_result_ref;
6332 }
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 {
6338#if wxUSE_UNICODE
6339 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6340#else
6341 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6342#endif
6343 }
6344 return resultobj;
6345 fail:
6346 return NULL;
6347}
6348
6349
6350static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6351 PyObject *resultobj;
6352 wxFSFile *arg1 = (wxFSFile *) 0 ;
6353 wxString *result;
6354 PyObject * obj0 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
6360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 {
6365 wxString const &_result_ref = (arg1)->GetLocation();
6366 result = (wxString *) &_result_ref;
6367 }
6368
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
6372 {
6373#if wxUSE_UNICODE
6374 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6375#else
6376 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6377#endif
6378 }
6379 return resultobj;
6380 fail:
6381 return NULL;
6382}
6383
6384
6385static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 wxFSFile *arg1 = (wxFSFile *) 0 ;
6388 wxString *result;
6389 PyObject * obj0 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "self", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
6395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 {
6400 wxString const &_result_ref = (arg1)->GetAnchor();
6401 result = (wxString *) &_result_ref;
6402 }
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 {
6408#if wxUSE_UNICODE
6409 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6410#else
6411 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6412#endif
6413 }
6414 return resultobj;
6415 fail:
6416 return NULL;
6417}
6418
6419
6420static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj;
6422 wxFSFile *arg1 = (wxFSFile *) 0 ;
6423 wxDateTime result;
6424 PyObject * obj0 = 0 ;
6425 char *kwnames[] = {
6426 (char *) "self", NULL
6427 };
6428
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
6430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6432 {
6433 PyThreadState* __tstate = wxPyBeginAllowThreads();
6434 result = (arg1)->GetModificationTime();
6435
6436 wxPyEndAllowThreads(__tstate);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
6439 {
6440 wxDateTime * resultptr;
6441 resultptr = new wxDateTime((wxDateTime &) result);
6442 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
6443 }
6444 return resultobj;
6445 fail:
6446 return NULL;
6447}
6448
6449
6450static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6451 PyObject *obj;
6452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6454 Py_INCREF(obj);
6455 return Py_BuildValue((char *)"");
6456}
6457static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6458 PyObject *obj;
6459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6460 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6461 Py_INCREF(obj);
6462 return Py_BuildValue((char *)"");
6463}
6464static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj;
6466 wxPyFileSystemHandler *result;
6467 char *kwnames[] = {
6468 NULL
6469 };
6470
6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
6480 return resultobj;
6481 fail:
6482 return NULL;
6483}
6484
6485
6486static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6489 PyObject *arg2 = (PyObject *) 0 ;
6490 PyObject *arg3 = (PyObject *) 0 ;
6491 PyObject * obj0 = 0 ;
6492 PyObject * obj1 = 0 ;
6493 PyObject * obj2 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self",(char *) "self",(char *) "_class", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6501 arg2 = obj1;
6502 arg3 = obj2;
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 (arg1)->_setCallbackInfo(arg2,arg3);
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 Py_INCREF(Py_None); resultobj = Py_None;
6511 return resultobj;
6512 fail:
6513 return NULL;
6514}
6515
6516
6517static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6520 wxString *arg2 = 0 ;
6521 bool result;
6522 bool temp2 = False ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "location", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6532 {
6533 arg2 = wxString_in_helper(obj1);
6534 if (arg2 == NULL) SWIG_fail;
6535 temp2 = True;
6536 }
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 {
6545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6546 }
6547 {
6548 if (temp2)
6549 delete arg2;
6550 }
6551 return resultobj;
6552 fail:
6553 {
6554 if (temp2)
6555 delete arg2;
6556 }
6557 return NULL;
6558}
6559
6560
6561static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6564 wxFileSystem *arg2 = 0 ;
6565 wxString *arg3 = 0 ;
6566 wxFSFile *result;
6567 bool temp3 = False ;
6568 PyObject * obj0 = 0 ;
6569 PyObject * obj1 = 0 ;
6570 PyObject * obj2 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self",(char *) "fs",(char *) "location", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6579 SWIG_POINTER_EXCEPTION | 0)) == -1)
6580 SWIG_fail;
6581 if (arg2 == NULL) {
6582 PyErr_SetString(PyExc_TypeError,"null reference");
6583 SWIG_fail;
6584 }
6585 {
6586 arg3 = wxString_in_helper(obj2);
6587 if (arg3 == NULL) SWIG_fail;
6588 temp3 = True;
6589 }
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 {
6598 resultobj = wxPyMake_wxObject(result);
6599 }
6600 {
6601 if (temp3)
6602 delete arg3;
6603 }
6604 return resultobj;
6605 fail:
6606 {
6607 if (temp3)
6608 delete arg3;
6609 }
6610 return NULL;
6611}
6612
6613
6614static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6617 wxString *arg2 = 0 ;
6618 int arg3 = (int) 0 ;
6619 wxString result;
6620 bool temp2 = False ;
6621 PyObject * obj0 = 0 ;
6622 PyObject * obj1 = 0 ;
6623 PyObject * obj2 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self",(char *) "spec",(char *) "flags", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
6629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6631 {
6632 arg2 = wxString_in_helper(obj1);
6633 if (arg2 == NULL) SWIG_fail;
6634 temp2 = True;
6635 }
6636 if (obj2) {
6637 arg3 = (int) SWIG_AsInt(obj2);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 {
6648#if wxUSE_UNICODE
6649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6650#else
6651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6652#endif
6653 }
6654 {
6655 if (temp2)
6656 delete arg2;
6657 }
6658 return resultobj;
6659 fail:
6660 {
6661 if (temp2)
6662 delete arg2;
6663 }
6664 return NULL;
6665}
6666
6667
6668static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj;
6670 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6671 wxString result;
6672 PyObject * obj0 = 0 ;
6673 char *kwnames[] = {
6674 (char *) "self", NULL
6675 };
6676
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
6678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = (arg1)->FindNext();
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 {
6688#if wxUSE_UNICODE
6689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6690#else
6691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6692#endif
6693 }
6694 return resultobj;
6695 fail:
6696 return NULL;
6697}
6698
6699
6700static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6703 wxString *arg2 = 0 ;
6704 wxString result;
6705 bool temp2 = False ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self",(char *) "location", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6715 {
6716 arg2 = wxString_in_helper(obj1);
6717 if (arg2 == NULL) SWIG_fail;
6718 temp2 = True;
6719 }
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (arg1)->GetProtocol((wxString const &)*arg2);
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 {
6728#if wxUSE_UNICODE
6729 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6730#else
6731 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6732#endif
6733 }
6734 {
6735 if (temp2)
6736 delete arg2;
6737 }
6738 return resultobj;
6739 fail:
6740 {
6741 if (temp2)
6742 delete arg2;
6743 }
6744 return NULL;
6745}
6746
6747
6748static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6751 wxString *arg2 = 0 ;
6752 wxString result;
6753 bool temp2 = False ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self",(char *) "location", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6763 {
6764 arg2 = wxString_in_helper(obj1);
6765 if (arg2 == NULL) SWIG_fail;
6766 temp2 = True;
6767 }
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6771
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 {
6776#if wxUSE_UNICODE
6777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6778#else
6779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6780#endif
6781 }
6782 {
6783 if (temp2)
6784 delete arg2;
6785 }
6786 return resultobj;
6787 fail:
6788 {
6789 if (temp2)
6790 delete arg2;
6791 }
6792 return NULL;
6793}
6794
6795
6796static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6799 wxString *arg2 = 0 ;
6800 wxString result;
6801 bool temp2 = False ;
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "location", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
6809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6811 {
6812 arg2 = wxString_in_helper(obj1);
6813 if (arg2 == NULL) SWIG_fail;
6814 temp2 = True;
6815 }
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (arg1)->GetAnchor((wxString const &)*arg2);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 {
6824#if wxUSE_UNICODE
6825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6826#else
6827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6828#endif
6829 }
6830 {
6831 if (temp2)
6832 delete arg2;
6833 }
6834 return resultobj;
6835 fail:
6836 {
6837 if (temp2)
6838 delete arg2;
6839 }
6840 return NULL;
6841}
6842
6843
6844static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject *resultobj;
6846 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6847 wxString *arg2 = 0 ;
6848 wxString result;
6849 bool temp2 = False ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "self",(char *) "location", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
6857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6859 {
6860 arg2 = wxString_in_helper(obj1);
6861 if (arg2 == NULL) SWIG_fail;
6862 temp2 = True;
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 {
6872#if wxUSE_UNICODE
6873 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6874#else
6875 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6876#endif
6877 }
6878 {
6879 if (temp2)
6880 delete arg2;
6881 }
6882 return resultobj;
6883 fail:
6884 {
6885 if (temp2)
6886 delete arg2;
6887 }
6888 return NULL;
6889}
6890
6891
6892static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6895 wxString *arg2 = 0 ;
6896 wxString result;
6897 bool temp2 = False ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "location", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
6905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6907 {
6908 arg2 = wxString_in_helper(obj1);
6909 if (arg2 == NULL) SWIG_fail;
6910 temp2 = True;
6911 }
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 {
6920#if wxUSE_UNICODE
6921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6922#else
6923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6924#endif
6925 }
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return resultobj;
6931 fail:
6932 {
6933 if (temp2)
6934 delete arg2;
6935 }
6936 return NULL;
6937}
6938
6939
6940static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6941 PyObject *obj;
6942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6943 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6944 Py_INCREF(obj);
6945 return Py_BuildValue((char *)"");
6946}
6947static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxFileSystem *result;
6950 char *kwnames[] = {
6951 NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (wxFileSystem *)new wxFileSystem();
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 {
6963 resultobj = wxPyMake_wxObject(result);
6964 }
6965 return resultobj;
6966 fail:
6967 return NULL;
6968}
6969
6970
6971static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj;
6973 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 delete arg1;
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 Py_INCREF(Py_None); resultobj = Py_None;
6990 return resultobj;
6991 fail:
6992 return NULL;
6993}
6994
6995
6996static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6997 PyObject *resultobj;
6998 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6999 wxString *arg2 = 0 ;
7000 bool arg3 = (bool) False ;
7001 bool temp2 = False ;
7002 PyObject * obj0 = 0 ;
7003 PyObject * obj1 = 0 ;
7004 PyObject * obj2 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7012 {
7013 arg2 = wxString_in_helper(obj1);
7014 if (arg2 == NULL) SWIG_fail;
7015 temp2 = True;
7016 }
7017 if (obj2) {
7018 arg3 = (bool) SWIG_AsBool(obj2);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 Py_INCREF(Py_None); resultobj = Py_None;
7029 {
7030 if (temp2)
7031 delete arg2;
7032 }
7033 return resultobj;
7034 fail:
7035 {
7036 if (temp2)
7037 delete arg2;
7038 }
7039 return NULL;
7040}
7041
7042
7043static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7046 wxString result;
7047 PyObject * obj0 = 0 ;
7048 char *kwnames[] = {
7049 (char *) "self", NULL
7050 };
7051
7052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
7053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 result = (arg1)->GetPath();
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 {
7063#if wxUSE_UNICODE
7064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7065#else
7066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7067#endif
7068 }
7069 return resultobj;
7070 fail:
7071 return NULL;
7072}
7073
7074
7075static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj;
7077 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7078 wxString *arg2 = 0 ;
7079 wxFSFile *result;
7080 bool temp2 = False ;
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self",(char *) "location", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7090 {
7091 arg2 = wxString_in_helper(obj1);
7092 if (arg2 == NULL) SWIG_fail;
7093 temp2 = True;
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7098
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 {
7103 resultobj = wxPyMake_wxObject(result);
7104 }
7105 {
7106 if (temp2)
7107 delete arg2;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp2)
7113 delete arg2;
7114 }
7115 return NULL;
7116}
7117
7118
7119static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7122 wxString *arg2 = 0 ;
7123 int arg3 = (int) 0 ;
7124 wxString result;
7125 bool temp2 = False ;
7126 PyObject * obj0 = 0 ;
7127 PyObject * obj1 = 0 ;
7128 PyObject * obj2 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self",(char *) "spec",(char *) "flags", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7136 {
7137 arg2 = wxString_in_helper(obj1);
7138 if (arg2 == NULL) SWIG_fail;
7139 temp2 = True;
7140 }
7141 if (obj2) {
7142 arg3 = (int) SWIG_AsInt(obj2);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 {
7153#if wxUSE_UNICODE
7154 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7155#else
7156 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7157#endif
7158 }
7159 {
7160 if (temp2)
7161 delete arg2;
7162 }
7163 return resultobj;
7164 fail:
7165 {
7166 if (temp2)
7167 delete arg2;
7168 }
7169 return NULL;
7170}
7171
7172
7173static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7176 wxString result;
7177 PyObject * obj0 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (arg1)->FindNext();
7188
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 {
7193#if wxUSE_UNICODE
7194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7195#else
7196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7197#endif
7198 }
7199 return resultobj;
7200 fail:
7201 return NULL;
7202}
7203
7204
7205static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7206 PyObject *resultobj;
7207 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7208 PyObject * obj0 = 0 ;
7209 char *kwnames[] = {
7210 (char *) "handler", NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
7214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 wxFileSystem::AddHandler(arg1);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 Py_INCREF(Py_None); resultobj = Py_None;
7224 return resultobj;
7225 fail:
7226 return NULL;
7227}
7228
7229
7230static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 char *kwnames[] = {
7233 NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 wxFileSystem::CleanUpHandlers();
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 Py_INCREF(Py_None); resultobj = Py_None;
7245 return resultobj;
7246 fail:
7247 return NULL;
7248}
7249
7250
7251static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxString *arg1 = 0 ;
7254 wxString result;
7255 bool temp1 = False ;
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "filename", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7262 {
7263 arg1 = wxString_in_helper(obj0);
7264 if (arg1 == NULL) SWIG_fail;
7265 temp1 = True;
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 {
7275#if wxUSE_UNICODE
7276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7277#else
7278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7279#endif
7280 }
7281 {
7282 if (temp1)
7283 delete arg1;
7284 }
7285 return resultobj;
7286 fail:
7287 {
7288 if (temp1)
7289 delete arg1;
7290 }
7291 return NULL;
7292}
7293
7294
7295static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7296 PyObject *obj;
7297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7298 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7299 Py_INCREF(obj);
7300 return Py_BuildValue((char *)"");
7301}
7302static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxString *arg1 = 0 ;
7305 wxString result;
7306 bool temp1 = False ;
7307 PyObject * obj0 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "url", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7313 {
7314 arg1 = wxString_in_helper(obj0);
7315 if (arg1 == NULL) SWIG_fail;
7316 temp1 = True;
7317 }
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7321
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 {
7326#if wxUSE_UNICODE
7327 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7328#else
7329 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7330#endif
7331 }
7332 {
7333 if (temp1)
7334 delete arg1;
7335 }
7336 return resultobj;
7337 fail:
7338 {
7339 if (temp1)
7340 delete arg1;
7341 }
7342 return NULL;
7343}
7344
7345
7346static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxInternetFSHandler *result;
7349 char *kwnames[] = {
7350 NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
7362 return resultobj;
7363 fail:
7364 return NULL;
7365}
7366
7367
7368static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject *resultobj;
7370 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7371 wxString *arg2 = 0 ;
7372 bool result;
7373 bool temp2 = False ;
7374 PyObject * obj0 = 0 ;
7375 PyObject * obj1 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self",(char *) "location", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7383 {
7384 arg2 = wxString_in_helper(obj1);
7385 if (arg2 == NULL) SWIG_fail;
7386 temp2 = True;
7387 }
7388 {
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 {
7396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7397 }
7398 {
7399 if (temp2)
7400 delete arg2;
7401 }
7402 return resultobj;
7403 fail:
7404 {
7405 if (temp2)
7406 delete arg2;
7407 }
7408 return NULL;
7409}
7410
7411
7412static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7415 wxFileSystem *arg2 = 0 ;
7416 wxString *arg3 = 0 ;
7417 wxFSFile *result;
7418 bool temp3 = False ;
7419 PyObject * obj0 = 0 ;
7420 PyObject * obj1 = 0 ;
7421 PyObject * obj2 = 0 ;
7422 char *kwnames[] = {
7423 (char *) "self",(char *) "fs",(char *) "location", NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7430 SWIG_POINTER_EXCEPTION | 0)) == -1)
7431 SWIG_fail;
7432 if (arg2 == NULL) {
7433 PyErr_SetString(PyExc_TypeError,"null reference");
7434 SWIG_fail;
7435 }
7436 {
7437 arg3 = wxString_in_helper(obj2);
7438 if (arg3 == NULL) SWIG_fail;
7439 temp3 = True;
7440 }
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 {
7449 resultobj = wxPyMake_wxObject(result);
7450 }
7451 {
7452 if (temp3)
7453 delete arg3;
7454 }
7455 return resultobj;
7456 fail:
7457 {
7458 if (temp3)
7459 delete arg3;
7460 }
7461 return NULL;
7462}
7463
7464
7465static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7466 PyObject *obj;
7467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7468 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7469 Py_INCREF(obj);
7470 return Py_BuildValue((char *)"");
7471}
7472static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxZipFSHandler *result;
7475 char *kwnames[] = {
7476 NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (wxZipFSHandler *)new wxZipFSHandler();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
7488 return resultobj;
7489 fail:
7490 return NULL;
7491}
7492
7493
7494static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7497 wxString *arg2 = 0 ;
7498 bool result;
7499 bool temp2 = False ;
7500 PyObject * obj0 = 0 ;
7501 PyObject * obj1 = 0 ;
7502 char *kwnames[] = {
7503 (char *) "self",(char *) "location", NULL
7504 };
7505
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7509 {
7510 arg2 = wxString_in_helper(obj1);
7511 if (arg2 == NULL) SWIG_fail;
7512 temp2 = True;
7513 }
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 {
7522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7523 }
7524 {
7525 if (temp2)
7526 delete arg2;
7527 }
7528 return resultobj;
7529 fail:
7530 {
7531 if (temp2)
7532 delete arg2;
7533 }
7534 return NULL;
7535}
7536
7537
7538static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7541 wxFileSystem *arg2 = 0 ;
7542 wxString *arg3 = 0 ;
7543 wxFSFile *result;
7544 bool temp3 = False ;
7545 PyObject * obj0 = 0 ;
7546 PyObject * obj1 = 0 ;
7547 PyObject * obj2 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self",(char *) "fs",(char *) "location", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7556 SWIG_POINTER_EXCEPTION | 0)) == -1)
7557 SWIG_fail;
7558 if (arg2 == NULL) {
7559 PyErr_SetString(PyExc_TypeError,"null reference");
7560 SWIG_fail;
7561 }
7562 {
7563 arg3 = wxString_in_helper(obj2);
7564 if (arg3 == NULL) SWIG_fail;
7565 temp3 = True;
7566 }
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 {
7575 resultobj = wxPyMake_wxObject(result);
7576 }
7577 {
7578 if (temp3)
7579 delete arg3;
7580 }
7581 return resultobj;
7582 fail:
7583 {
7584 if (temp3)
7585 delete arg3;
7586 }
7587 return NULL;
7588}
7589
7590
7591static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj;
7593 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7594 wxString *arg2 = 0 ;
7595 int arg3 = (int) 0 ;
7596 wxString result;
7597 bool temp2 = False ;
7598 PyObject * obj0 = 0 ;
7599 PyObject * obj1 = 0 ;
7600 PyObject * obj2 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "spec",(char *) "flags", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7608 {
7609 arg2 = wxString_in_helper(obj1);
7610 if (arg2 == NULL) SWIG_fail;
7611 temp2 = True;
7612 }
7613 if (obj2) {
7614 arg3 = (int) SWIG_AsInt(obj2);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 {
7625#if wxUSE_UNICODE
7626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7627#else
7628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7629#endif
7630 }
7631 {
7632 if (temp2)
7633 delete arg2;
7634 }
7635 return resultobj;
7636 fail:
7637 {
7638 if (temp2)
7639 delete arg2;
7640 }
7641 return NULL;
7642}
7643
7644
7645static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7648 wxString result;
7649 PyObject * obj0 = 0 ;
7650 char *kwnames[] = {
7651 (char *) "self", NULL
7652 };
7653
7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
7655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 result = (arg1)->FindNext();
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 {
7665#if wxUSE_UNICODE
7666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7667#else
7668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7669#endif
7670 }
7671 return resultobj;
7672 fail:
7673 return NULL;
7674}
7675
7676
7677static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7678 PyObject *obj;
7679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7680 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7681 Py_INCREF(obj);
7682 return Py_BuildValue((char *)"");
7683}
7684static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxString *arg1 = 0 ;
7687 wxImage *arg2 = 0 ;
7688 long arg3 ;
7689 bool temp1 = False ;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 PyObject * obj2 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "filename",(char *) "image",(char *) "type", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
7698 {
7699 arg1 = wxString_in_helper(obj0);
7700 if (arg1 == NULL) SWIG_fail;
7701 temp1 = True;
7702 }
7703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7704 SWIG_POINTER_EXCEPTION | 0)) == -1)
7705 SWIG_fail;
7706 if (arg2 == NULL) {
7707 PyErr_SetString(PyExc_TypeError,"null reference");
7708 SWIG_fail;
7709 }
7710 arg3 = (long) SWIG_AsLong(obj2);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 Py_INCREF(Py_None); resultobj = Py_None;
7720 {
7721 if (temp1)
7722 delete arg1;
7723 }
7724 return resultobj;
7725 fail:
7726 {
7727 if (temp1)
7728 delete arg1;
7729 }
7730 return NULL;
7731}
7732
7733
7734static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxString *arg1 = 0 ;
7737 wxBitmap *arg2 = 0 ;
7738 long arg3 ;
7739 bool temp1 = False ;
7740 PyObject * obj0 = 0 ;
7741 PyObject * obj1 = 0 ;
7742 PyObject * obj2 = 0 ;
7743 char *kwnames[] = {
7744 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7745 };
7746
7747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
7748 {
7749 arg1 = wxString_in_helper(obj0);
7750 if (arg1 == NULL) SWIG_fail;
7751 temp1 = True;
7752 }
7753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7754 SWIG_POINTER_EXCEPTION | 0)) == -1)
7755 SWIG_fail;
7756 if (arg2 == NULL) {
7757 PyErr_SetString(PyExc_TypeError,"null reference");
7758 SWIG_fail;
7759 }
7760 arg3 = (long) SWIG_AsLong(obj2);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 Py_INCREF(Py_None); resultobj = Py_None;
7770 {
7771 if (temp1)
7772 delete arg1;
7773 }
7774 return resultobj;
7775 fail:
7776 {
7777 if (temp1)
7778 delete arg1;
7779 }
7780 return NULL;
7781}
7782
7783
7784static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxString *arg1 = 0 ;
7787 PyObject *arg2 = (PyObject *) 0 ;
7788 bool temp1 = False ;
7789 PyObject * obj0 = 0 ;
7790 PyObject * obj1 = 0 ;
7791 char *kwnames[] = {
7792 (char *) "filename",(char *) "data", NULL
7793 };
7794
7795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7796 {
7797 arg1 = wxString_in_helper(obj0);
7798 if (arg1 == NULL) SWIG_fail;
7799 temp1 = True;
7800 }
7801 arg2 = obj1;
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 Py_INCREF(Py_None); resultobj = Py_None;
7810 {
7811 if (temp1)
7812 delete arg1;
7813 }
7814 return resultobj;
7815 fail:
7816 {
7817 if (temp1)
7818 delete arg1;
7819 }
7820 return NULL;
7821}
7822
7823
7824static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxMemoryFSHandler *result;
7827 char *kwnames[] = {
7828 NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
7840 return resultobj;
7841 fail:
7842 return NULL;
7843}
7844
7845
7846static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj;
7848 wxString *arg1 = 0 ;
7849 bool temp1 = False ;
7850 PyObject * obj0 = 0 ;
7851 char *kwnames[] = {
7852 (char *) "filename", NULL
7853 };
7854
7855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7856 {
7857 arg1 = wxString_in_helper(obj0);
7858 if (arg1 == NULL) SWIG_fail;
7859 temp1 = True;
7860 }
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 {
7870 if (temp1)
7871 delete arg1;
7872 }
7873 return resultobj;
7874 fail:
7875 {
7876 if (temp1)
7877 delete arg1;
7878 }
7879 return NULL;
7880}
7881
7882
7883static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7886 wxString *arg2 = 0 ;
7887 bool result;
7888 bool temp2 = False ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 char *kwnames[] = {
7892 (char *) "self",(char *) "location", NULL
7893 };
7894
7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7898 {
7899 arg2 = wxString_in_helper(obj1);
7900 if (arg2 == NULL) SWIG_fail;
7901 temp2 = True;
7902 }
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 {
7911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7912 }
7913 {
7914 if (temp2)
7915 delete arg2;
7916 }
7917 return resultobj;
7918 fail:
7919 {
7920 if (temp2)
7921 delete arg2;
7922 }
7923 return NULL;
7924}
7925
7926
7927static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7930 wxFileSystem *arg2 = 0 ;
7931 wxString *arg3 = 0 ;
7932 wxFSFile *result;
7933 bool temp3 = False ;
7934 PyObject * obj0 = 0 ;
7935 PyObject * obj1 = 0 ;
7936 PyObject * obj2 = 0 ;
7937 char *kwnames[] = {
7938 (char *) "self",(char *) "fs",(char *) "location", NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7945 SWIG_POINTER_EXCEPTION | 0)) == -1)
7946 SWIG_fail;
7947 if (arg2 == NULL) {
7948 PyErr_SetString(PyExc_TypeError,"null reference");
7949 SWIG_fail;
7950 }
7951 {
7952 arg3 = wxString_in_helper(obj2);
7953 if (arg3 == NULL) SWIG_fail;
7954 temp3 = True;
7955 }
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7959
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 {
7964 resultobj = wxPyMake_wxObject(result);
7965 }
7966 {
7967 if (temp3)
7968 delete arg3;
7969 }
7970 return resultobj;
7971 fail:
7972 {
7973 if (temp3)
7974 delete arg3;
7975 }
7976 return NULL;
7977}
7978
7979
7980static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj;
7982 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7983 wxString *arg2 = 0 ;
7984 int arg3 = (int) 0 ;
7985 wxString result;
7986 bool temp2 = False ;
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 PyObject * obj2 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self",(char *) "spec",(char *) "flags", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7997 {
7998 arg2 = wxString_in_helper(obj1);
7999 if (arg2 == NULL) SWIG_fail;
8000 temp2 = True;
8001 }
8002 if (obj2) {
8003 arg3 = (int) SWIG_AsInt(obj2);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 {
8014#if wxUSE_UNICODE
8015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8016#else
8017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8018#endif
8019 }
8020 {
8021 if (temp2)
8022 delete arg2;
8023 }
8024 return resultobj;
8025 fail:
8026 {
8027 if (temp2)
8028 delete arg2;
8029 }
8030 return NULL;
8031}
8032
8033
8034static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8037 wxString result;
8038 PyObject * obj0 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
8044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (arg1)->FindNext();
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 {
8054#if wxUSE_UNICODE
8055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8056#else
8057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8058#endif
8059 }
8060 return resultobj;
8061 fail:
8062 return NULL;
8063}
8064
8065
8066static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
8067 PyObject *obj;
8068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8069 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8070 Py_INCREF(obj);
8071 return Py_BuildValue((char *)"");
8072}
8073static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject *resultobj;
8075 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8076 wxString result;
8077 PyObject * obj0 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "self", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
8083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (arg1)->GetName();
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 {
8093#if wxUSE_UNICODE
8094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8095#else
8096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8097#endif
8098 }
8099 return resultobj;
8100 fail:
8101 return NULL;
8102}
8103
8104
8105static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8108 wxString result;
8109 PyObject * obj0 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (arg1)->GetExtension();
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 {
8125#if wxUSE_UNICODE
8126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8127#else
8128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8129#endif
8130 }
8131 return resultobj;
8132 fail:
8133 return NULL;
8134}
8135
8136
8137static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8140 long result;
8141 PyObject * obj0 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (long)(arg1)->GetType();
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 resultobj = SWIG_FromLong((long)result);
8157 return resultobj;
8158 fail:
8159 return NULL;
8160}
8161
8162
8163static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8166 wxString result;
8167 PyObject * obj0 = 0 ;
8168 char *kwnames[] = {
8169 (char *) "self", NULL
8170 };
8171
8172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
8173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (arg1)->GetMimeType();
8178
8179 wxPyEndAllowThreads(__tstate);
8180 if (PyErr_Occurred()) SWIG_fail;
8181 }
8182 {
8183#if wxUSE_UNICODE
8184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8185#else
8186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8187#endif
8188 }
8189 return resultobj;
8190 fail:
8191 return NULL;
8192}
8193
8194
8195static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8198 wxString *arg2 = 0 ;
8199 bool result;
8200 bool temp2 = False ;
8201 PyObject * obj0 = 0 ;
8202 PyObject * obj1 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self",(char *) "name", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
8208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8210 {
8211 arg2 = wxString_in_helper(obj1);
8212 if (arg2 == NULL) SWIG_fail;
8213 temp2 = True;
8214 }
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 {
8223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8224 }
8225 {
8226 if (temp2)
8227 delete arg2;
8228 }
8229 return resultobj;
8230 fail:
8231 {
8232 if (temp2)
8233 delete arg2;
8234 }
8235 return NULL;
8236}
8237
8238
8239static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8240 PyObject *resultobj;
8241 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8242 wxString *arg2 = 0 ;
8243 bool temp2 = False ;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self",(char *) "name", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8253 {
8254 arg2 = wxString_in_helper(obj1);
8255 if (arg2 == NULL) SWIG_fail;
8256 temp2 = True;
8257 }
8258 {
8259 PyThreadState* __tstate = wxPyBeginAllowThreads();
8260 (arg1)->SetName((wxString const &)*arg2);
8261
8262 wxPyEndAllowThreads(__tstate);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 Py_INCREF(Py_None); resultobj = Py_None;
8266 {
8267 if (temp2)
8268 delete arg2;
8269 }
8270 return resultobj;
8271 fail:
8272 {
8273 if (temp2)
8274 delete arg2;
8275 }
8276 return NULL;
8277}
8278
8279
8280static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8283 wxString *arg2 = 0 ;
8284 bool temp2 = False ;
8285 PyObject * obj0 = 0 ;
8286 PyObject * obj1 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "extension", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8294 {
8295 arg2 = wxString_in_helper(obj1);
8296 if (arg2 == NULL) SWIG_fail;
8297 temp2 = True;
8298 }
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 (arg1)->SetExtension((wxString const &)*arg2);
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 Py_INCREF(Py_None); resultobj = Py_None;
8307 {
8308 if (temp2)
8309 delete arg2;
8310 }
8311 return resultobj;
8312 fail:
8313 {
8314 if (temp2)
8315 delete arg2;
8316 }
8317 return NULL;
8318}
8319
8320
8321static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8322 PyObject *resultobj;
8323 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8324 long arg2 ;
8325 PyObject * obj0 = 0 ;
8326 PyObject * obj1 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "self",(char *) "type", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8334 arg2 = (long) SWIG_AsLong(obj1);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 (arg1)->SetType(arg2);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 return resultobj;
8345 fail:
8346 return NULL;
8347}
8348
8349
8350static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8353 wxString *arg2 = 0 ;
8354 bool temp2 = False ;
8355 PyObject * obj0 = 0 ;
8356 PyObject * obj1 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self",(char *) "mimetype", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
8362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 {
8365 arg2 = wxString_in_helper(obj1);
8366 if (arg2 == NULL) SWIG_fail;
8367 temp2 = True;
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 (arg1)->SetMimeType((wxString const &)*arg2);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 Py_INCREF(Py_None); resultobj = Py_None;
8377 {
8378 if (temp2)
8379 delete arg2;
8380 }
8381 return resultobj;
8382 fail:
8383 {
8384 if (temp2)
8385 delete arg2;
8386 }
8387 return NULL;
8388}
8389
8390
8391static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8392 PyObject *obj;
8393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8394 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8395 Py_INCREF(obj);
8396 return Py_BuildValue((char *)"");
8397}
8398static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxImageHistogram *result;
8401 char *kwnames[] = {
8402 NULL
8403 };
8404
8405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (wxImageHistogram *)new wxImageHistogram();
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
8414 return resultobj;
8415 fail:
8416 return NULL;
8417}
8418
8419
8420static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8421 PyObject *resultobj;
8422 unsigned char arg1 ;
8423 unsigned char arg2 ;
8424 unsigned char arg3 ;
8425 unsigned long result;
8426 PyObject * obj0 = 0 ;
8427 PyObject * obj1 = 0 ;
8428 PyObject * obj2 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "r",(char *) "g",(char *) "b", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
8434 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
8448 return resultobj;
8449 fail:
8450 return NULL;
8451}
8452
8453
8454static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8457 unsigned char *arg2 = (unsigned char *) 0 ;
8458 unsigned char *arg3 = (unsigned char *) 0 ;
8459 unsigned char *arg4 = (unsigned char *) 0 ;
8460 unsigned char arg5 = (unsigned char) 1 ;
8461 unsigned char arg6 = (unsigned char) 0 ;
8462 unsigned char arg7 = (unsigned char) 0 ;
8463 bool result;
8464 unsigned char temp2 ;
8465 unsigned char temp3 ;
8466 unsigned char temp4 ;
8467 PyObject * obj0 = 0 ;
8468 PyObject * obj1 = 0 ;
8469 PyObject * obj2 = 0 ;
8470 PyObject * obj3 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8473 };
8474
8475 arg2 = &temp2;
8476 arg3 = &temp3;
8477 arg4 = &temp4;
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8481 if (obj1) {
8482 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 if (obj2) {
8486 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 if (obj3) {
8490 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 {
8494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8495 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8496
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 {
8501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8502 }
8503 {
8504 PyObject *o = PyInt_FromLong((long) (*arg2));
8505 resultobj = t_output_helper(resultobj,o);
8506 }
8507 {
8508 PyObject *o = PyInt_FromLong((long) (*arg3));
8509 resultobj = t_output_helper(resultobj,o);
8510 }
8511 {
8512 PyObject *o = PyInt_FromLong((long) (*arg4));
8513 resultobj = t_output_helper(resultobj,o);
8514 }
8515 return resultobj;
8516 fail:
8517 return NULL;
8518}
8519
8520
8521static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8522 PyObject *obj;
8523 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8524 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8525 Py_INCREF(obj);
8526 return Py_BuildValue((char *)"");
8527}
8528static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxString *arg1 = 0 ;
8531 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8532 int arg3 = (int) -1 ;
8533 wxImage *result;
8534 bool temp1 = False ;
8535 PyObject * obj0 = 0 ;
8536 PyObject * obj1 = 0 ;
8537 PyObject * obj2 = 0 ;
8538 char *kwnames[] = {
8539 (char *) "name",(char *) "type",(char *) "index", NULL
8540 };
8541
8542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
8543 {
8544 arg1 = wxString_in_helper(obj0);
8545 if (arg1 == NULL) SWIG_fail;
8546 temp1 = True;
8547 }
8548 if (obj1) {
8549 arg2 = (long) SWIG_AsLong(obj1);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 if (obj2) {
8553 arg3 = (int) SWIG_AsInt(obj2);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8564 {
8565 if (temp1)
8566 delete arg1;
8567 }
8568 return resultobj;
8569 fail:
8570 {
8571 if (temp1)
8572 delete arg1;
8573 }
8574 return NULL;
8575}
8576
8577
8578static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj;
8580 wxImage *arg1 = (wxImage *) 0 ;
8581 PyObject * obj0 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
8587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 delete arg1;
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 Py_INCREF(Py_None); resultobj = Py_None;
8597 return resultobj;
8598 fail:
8599 return NULL;
8600}
8601
8602
8603static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxString *arg1 = 0 ;
8606 wxString *arg2 = 0 ;
8607 int arg3 = (int) -1 ;
8608 wxImage *result;
8609 bool temp1 = False ;
8610 bool temp2 = False ;
8611 PyObject * obj0 = 0 ;
8612 PyObject * obj1 = 0 ;
8613 PyObject * obj2 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8619 {
8620 arg1 = wxString_in_helper(obj0);
8621 if (arg1 == NULL) SWIG_fail;
8622 temp1 = True;
8623 }
8624 {
8625 arg2 = wxString_in_helper(obj1);
8626 if (arg2 == NULL) SWIG_fail;
8627 temp2 = True;
8628 }
8629 if (obj2) {
8630 arg3 = (int) SWIG_AsInt(obj2);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8641 {
8642 if (temp1)
8643 delete arg1;
8644 }
8645 {
8646 if (temp2)
8647 delete arg2;
8648 }
8649 return resultobj;
8650 fail:
8651 {
8652 if (temp1)
8653 delete arg1;
8654 }
8655 {
8656 if (temp2)
8657 delete arg2;
8658 }
8659 return NULL;
8660}
8661
8662
8663static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxInputStream *arg1 = 0 ;
8666 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8667 int arg3 = (int) -1 ;
8668 wxImage *result;
8669 wxPyInputStream *temp1 ;
8670 bool created1 ;
8671 PyObject * obj0 = 0 ;
8672 PyObject * obj1 = 0 ;
8673 PyObject * obj2 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "stream",(char *) "type",(char *) "index", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
8679 {
8680 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8681 arg1 = temp1->m_wxis;
8682 created1 = False;
8683 } else {
8684 PyErr_Clear(); // clear the failure of the wxPyConvert above
8685 arg1 = wxPyCBInputStream_create(obj0, False);
8686 if (arg1 == NULL) {
8687 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8688 SWIG_fail;
8689 }
8690 created1 = True;
8691 }
8692 }
8693 if (obj1) {
8694 arg2 = (long) SWIG_AsLong(obj1);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 if (obj2) {
8698 arg3 = (int) SWIG_AsInt(obj2);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8709 {
8710 if (created1)
8711 delete arg1;
8712 }
8713 return resultobj;
8714 fail:
8715 {
8716 if (created1)
8717 delete arg1;
8718 }
8719 return NULL;
8720}
8721
8722
8723static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 wxInputStream *arg1 = 0 ;
8726 wxString *arg2 = 0 ;
8727 int arg3 = (int) -1 ;
8728 wxImage *result;
8729 wxPyInputStream *temp1 ;
8730 bool created1 ;
8731 bool temp2 = False ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 PyObject * obj2 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8740 {
8741 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8742 arg1 = temp1->m_wxis;
8743 created1 = False;
8744 } else {
8745 PyErr_Clear(); // clear the failure of the wxPyConvert above
8746 arg1 = wxPyCBInputStream_create(obj0, False);
8747 if (arg1 == NULL) {
8748 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8749 SWIG_fail;
8750 }
8751 created1 = True;
8752 }
8753 }
8754 {
8755 arg2 = wxString_in_helper(obj1);
8756 if (arg2 == NULL) SWIG_fail;
8757 temp2 = True;
8758 }
8759 if (obj2) {
8760 arg3 = (int) SWIG_AsInt(obj2);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8771 {
8772 if (created1)
8773 delete arg1;
8774 }
8775 {
8776 if (temp2)
8777 delete arg2;
8778 }
8779 return resultobj;
8780 fail:
8781 {
8782 if (created1)
8783 delete arg1;
8784 }
8785 {
8786 if (temp2)
8787 delete arg2;
8788 }
8789 return NULL;
8790}
8791
8792
8793static PyObject *_wrap_new_EmptyImage__SWIG_0(PyObject *self, PyObject *args) {
8794 PyObject *resultobj;
8795 int arg1 = (int) 0 ;
8796 int arg2 = (int) 0 ;
8797 bool arg3 = (bool) True ;
8798 wxImage *result;
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj1 = 0 ;
8801 PyObject * obj2 = 0 ;
8802
8803 if(!PyArg_ParseTuple(args,(char *)"|OOO:new_EmptyImage",&obj0,&obj1,&obj2)) goto fail;
8804 if (obj0) {
8805 arg1 = (int) SWIG_AsInt(obj0);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 if (obj1) {
8809 arg2 = (int) SWIG_AsInt(obj1);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 if (obj2) {
8813 arg3 = (bool) SWIG_AsBool(obj2);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 result = (wxImage *)new_wxImage__SWIG_0(arg1,arg2,arg3);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8824 return resultobj;
8825 fail:
8826 return NULL;
8827}
8828
8829
8830static PyObject *_wrap_new_EmptyImage__SWIG_1(PyObject *self, PyObject *args) {
8831 PyObject *resultobj;
8832 wxSize *arg1 = 0 ;
8833 bool arg2 = (bool) True ;
8834 wxImage *result;
8835 wxSize temp1 ;
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838
8839 if(!PyArg_ParseTuple(args,(char *)"O|O:new_EmptyImage",&obj0,&obj1)) goto fail;
8840 {
8841 arg1 = &temp1;
8842 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
8843 }
8844 if (obj1) {
8845 arg2 = (bool) SWIG_AsBool(obj1);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (wxImage *)new_wxImage__SWIG_1((wxSize const &)*arg1,arg2);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8856 return resultobj;
8857 fail:
8858 return NULL;
8859}
8860
8861
8862static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args) {
8863 int argc;
8864 PyObject *argv[4];
8865 int ii;
8866
8867 argc = PyObject_Length(args);
8868 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8869 argv[ii] = PyTuple_GetItem(args,ii);
8870 }
8871 if ((argc >= 0) && (argc <= 3)) {
8872 int _v;
8873 if (argc <= 0) {
8874 return _wrap_new_EmptyImage__SWIG_0(self,args);
8875 }
8876 _v = SWIG_CheckInt(argv[0]);
8877 if (_v) {
8878 if (argc <= 1) {
8879 return _wrap_new_EmptyImage__SWIG_0(self,args);
8880 }
8881 _v = SWIG_CheckInt(argv[1]);
8882 if (_v) {
8883 if (argc <= 2) {
8884 return _wrap_new_EmptyImage__SWIG_0(self,args);
8885 }
8886 _v = SWIG_CheckBool(argv[2]);
8887 if (_v) {
8888 return _wrap_new_EmptyImage__SWIG_0(self,args);
8889 }
8890 }
8891 }
8892 }
8893 if ((argc >= 1) && (argc <= 2)) {
8894 int _v;
8895 {
8896 _v = wxPySimple_typecheck(argv[0], wxT("wxSize"), 2);
8897 }
8898 if (_v) {
8899 if (argc <= 1) {
8900 return _wrap_new_EmptyImage__SWIG_1(self,args);
8901 }
8902 _v = SWIG_CheckBool(argv[1]);
8903 if (_v) {
8904 return _wrap_new_EmptyImage__SWIG_1(self,args);
8905 }
8906 }
8907 }
8908
8909 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_EmptyImage'");
8910 return NULL;
8911}
8912
8913
8914static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject *resultobj;
8916 wxBitmap *arg1 = 0 ;
8917 wxImage *result;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "bitmap", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8925 SWIG_POINTER_EXCEPTION | 0)) == -1)
8926 SWIG_fail;
8927 if (arg1 == NULL) {
8928 PyErr_SetString(PyExc_TypeError,"null reference");
8929 SWIG_fail;
8930 }
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8939 return resultobj;
8940 fail:
8941 return NULL;
8942}
8943
8944
8945static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 int arg1 ;
8948 int arg2 ;
8949 unsigned char *arg3 = (unsigned char *) 0 ;
8950 wxImage *result;
8951 PyObject * obj0 = 0 ;
8952 PyObject * obj1 = 0 ;
8953 PyObject * obj2 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "width",(char *) "height",(char *) "data", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
8959 arg1 = (int) SWIG_AsInt(obj0);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 arg2 = (int) SWIG_AsInt(obj1);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
8979static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxImage *arg1 = (wxImage *) 0 ;
8982 int arg2 ;
8983 int arg3 ;
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 PyObject * obj2 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self",(char *) "width",(char *) "height", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8994 arg2 = (int) SWIG_AsInt(obj1);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 arg3 = (int) SWIG_AsInt(obj2);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 (arg1)->Create(arg2,arg3);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 Py_INCREF(Py_None); resultobj = Py_None;
9006 return resultobj;
9007 fail:
9008 return NULL;
9009}
9010
9011
9012static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxImage *arg1 = (wxImage *) 0 ;
9015 PyObject * obj0 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
9021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 (arg1)->Destroy();
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 Py_INCREF(Py_None); resultobj = Py_None;
9031 return resultobj;
9032 fail:
9033 return NULL;
9034}
9035
9036
9037static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxImage *arg1 = (wxImage *) 0 ;
9040 int arg2 ;
9041 int arg3 ;
9042 SwigValueWrapper< wxImage > result;
9043 PyObject * obj0 = 0 ;
9044 PyObject * obj1 = 0 ;
9045 PyObject * obj2 = 0 ;
9046 char *kwnames[] = {
9047 (char *) "self",(char *) "width",(char *) "height", NULL
9048 };
9049
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9053 arg2 = (int) SWIG_AsInt(obj1);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 arg3 = (int) SWIG_AsInt(obj2);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
9059 result = (arg1)->Scale(arg2,arg3);
9060
9061 wxPyEndAllowThreads(__tstate);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 }
9064 {
9065 wxImage * resultptr;
9066 resultptr = new wxImage((wxImage &) result);
9067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9068 }
9069 return resultobj;
9070 fail:
9071 return NULL;
9072}
9073
9074
9075static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxImage *arg1 = (wxImage *) 0 ;
9078 int arg2 ;
9079 int arg3 ;
9080 SwigValueWrapper< wxImage > result;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 PyObject * obj2 = 0 ;
9084 char *kwnames[] = {
9085 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9086 };
9087
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9091 arg2 = (int) SWIG_AsInt(obj1);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 arg3 = (int) SWIG_AsInt(obj2);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9098
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 {
9103 wxImage * resultptr;
9104 resultptr = new wxImage((wxImage &) result);
9105 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9106 }
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
9113static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxImage *arg1 = (wxImage *) 0 ;
9116 int arg2 ;
9117 int arg3 ;
9118 wxImage *result;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 PyObject * obj2 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "width",(char *) "height", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 arg2 = (int) SWIG_AsInt(obj1);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 arg3 = (int) SWIG_AsInt(obj2);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 {
9136 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9137 result = (wxImage *) &_result_ref;
9138 }
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
9144 return resultobj;
9145 fail:
9146 return NULL;
9147}
9148
9149
9150static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxImage *arg1 = (wxImage *) 0 ;
9153 int arg2 ;
9154 int arg3 ;
9155 unsigned char arg4 ;
9156 unsigned char arg5 ;
9157 unsigned char arg6 ;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 PyObject * obj2 = 0 ;
9161 PyObject * obj3 = 0 ;
9162 PyObject * obj4 = 0 ;
9163 PyObject * obj5 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9171 arg2 = (int) SWIG_AsInt(obj1);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 arg3 = (int) SWIG_AsInt(obj2);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 Py_INCREF(Py_None); resultobj = Py_None;
9189 return resultobj;
9190 fail:
9191 return NULL;
9192}
9193
9194
9195static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxImage *arg1 = (wxImage *) 0 ;
9198 int arg2 ;
9199 int arg3 ;
9200 unsigned char result;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 PyObject * obj2 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self",(char *) "x",(char *) "y", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
9209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9211 arg2 = (int) SWIG_AsInt(obj1);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 arg3 = (int) SWIG_AsInt(obj2);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 {
9216 PyThreadState* __tstate = wxPyBeginAllowThreads();
9217 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9218
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9223 return resultobj;
9224 fail:
9225 return NULL;
9226}
9227
9228
9229static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj;
9231 wxImage *arg1 = (wxImage *) 0 ;
9232 int arg2 ;
9233 int arg3 ;
9234 unsigned char result;
9235 PyObject * obj0 = 0 ;
9236 PyObject * obj1 = 0 ;
9237 PyObject * obj2 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self",(char *) "x",(char *) "y", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
9243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9245 arg2 = (int) SWIG_AsInt(obj1);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 arg3 = (int) SWIG_AsInt(obj2);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9257 return resultobj;
9258 fail:
9259 return NULL;
9260}
9261
9262
9263static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxImage *arg1 = (wxImage *) 0 ;
9266 int arg2 ;
9267 int arg3 ;
9268 unsigned char result;
9269 PyObject * obj0 = 0 ;
9270 PyObject * obj1 = 0 ;
9271 PyObject * obj2 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "self",(char *) "x",(char *) "y", NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9279 arg2 = (int) SWIG_AsInt(obj1);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 arg3 = (int) SWIG_AsInt(obj2);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9291 return resultobj;
9292 fail:
9293 return NULL;
9294}
9295
9296
9297static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxImage *arg1 = (wxImage *) 0 ;
9300 int arg2 ;
9301 int arg3 ;
9302 unsigned char arg4 ;
9303 PyObject * obj0 = 0 ;
9304 PyObject * obj1 = 0 ;
9305 PyObject * obj2 = 0 ;
9306 PyObject * obj3 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9314 arg2 = (int) SWIG_AsInt(obj1);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 arg3 = (int) SWIG_AsInt(obj2);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 (arg1)->SetAlpha(arg2,arg3,arg4);
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 Py_INCREF(Py_None); resultobj = Py_None;
9328 return resultobj;
9329 fail:
9330 return NULL;
9331}
9332
9333
9334static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9335 PyObject *resultobj;
9336 wxImage *arg1 = (wxImage *) 0 ;
9337 int arg2 ;
9338 int arg3 ;
9339 unsigned char result;
9340 PyObject * obj0 = 0 ;
9341 PyObject * obj1 = 0 ;
9342 PyObject * obj2 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self",(char *) "x",(char *) "y", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9350 arg2 = (int) SWIG_AsInt(obj1);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 arg3 = (int) SWIG_AsInt(obj2);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
9362 return resultobj;
9363 fail:
9364 return NULL;
9365}
9366
9367
9368static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxImage *arg1 = (wxImage *) 0 ;
9371 bool result;
9372 PyObject * obj0 = 0 ;
9373 char *kwnames[] = {
9374 (char *) "self", NULL
9375 };
9376
9377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
9378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = (bool)(arg1)->HasAlpha();
9383
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 {
9388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9389 }
9390 return resultobj;
9391 fail:
9392 return NULL;
9393}
9394
9395
9396static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj;
9398 wxImage *arg1 = (wxImage *) 0 ;
9399 byte *arg2 = (byte *) 0 ;
9400 byte *arg3 = (byte *) 0 ;
9401 byte *arg4 = (byte *) 0 ;
9402 byte arg5 = (byte) 0 ;
9403 byte arg6 = (byte) 0 ;
9404 byte arg7 = (byte) 0 ;
9405 bool result;
9406 byte temp2 ;
9407 byte temp3 ;
9408 byte temp4 ;
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
9411 PyObject * obj2 = 0 ;
9412 PyObject * obj3 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9415 };
9416
9417 arg2 = &temp2;
9418 arg3 = &temp3;
9419 arg4 = &temp4;
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9423 if (obj1) {
9424 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 if (obj2) {
9428 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 if (obj3) {
9432 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9438
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 }
9442 {
9443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9444 }
9445 {
9446 PyObject *o = PyInt_FromLong((long) (*arg2));
9447 resultobj = t_output_helper(resultobj,o);
9448 }
9449 {
9450 PyObject *o = PyInt_FromLong((long) (*arg3));
9451 resultobj = t_output_helper(resultobj,o);
9452 }
9453 {
9454 PyObject *o = PyInt_FromLong((long) (*arg4));
9455 resultobj = t_output_helper(resultobj,o);
9456 }
9457 return resultobj;
9458 fail:
9459 return NULL;
9460}
9461
9462
9463static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxImage *arg1 = (wxImage *) 0 ;
9466 wxImage *arg2 = 0 ;
9467 byte arg3 ;
9468 byte arg4 ;
9469 byte arg5 ;
9470 bool result;
9471 PyObject * obj0 = 0 ;
9472 PyObject * obj1 = 0 ;
9473 PyObject * obj2 = 0 ;
9474 PyObject * obj3 = 0 ;
9475 PyObject * obj4 = 0 ;
9476 char *kwnames[] = {
9477 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9478 };
9479
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9484 SWIG_POINTER_EXCEPTION | 0)) == -1)
9485 SWIG_fail;
9486 if (arg2 == NULL) {
9487 PyErr_SetString(PyExc_TypeError,"null reference");
9488 SWIG_fail;
9489 }
9490 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 {
9504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9505 }
9506 return resultobj;
9507 fail:
9508 return NULL;
9509}
9510
9511
9512static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj;
9514 wxString *arg1 = 0 ;
9515 bool result;
9516 bool temp1 = False ;
9517 PyObject * obj0 = 0 ;
9518 char *kwnames[] = {
9519 (char *) "name", NULL
9520 };
9521
9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9523 {
9524 arg1 = wxString_in_helper(obj0);
9525 if (arg1 == NULL) SWIG_fail;
9526 temp1 = True;
9527 }
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 {
9536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9537 }
9538 {
9539 if (temp1)
9540 delete arg1;
9541 }
9542 return resultobj;
9543 fail:
9544 {
9545 if (temp1)
9546 delete arg1;
9547 }
9548 return NULL;
9549}
9550
9551
9552static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxString *arg1 = 0 ;
9555 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9556 int result;
9557 bool temp1 = False ;
9558 PyObject * obj0 = 0 ;
9559 PyObject * obj1 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "name",(char *) "type", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
9565 {
9566 arg1 = wxString_in_helper(obj0);
9567 if (arg1 == NULL) SWIG_fail;
9568 temp1 = True;
9569 }
9570 if (obj1) {
9571 arg2 = (long) SWIG_AsLong(obj1);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 }
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9577
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 resultobj = SWIG_FromInt((int)result);
9582 {
9583 if (temp1)
9584 delete arg1;
9585 }
9586 return resultobj;
9587 fail:
9588 {
9589 if (temp1)
9590 delete arg1;
9591 }
9592 return NULL;
9593}
9594
9595
9596static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxImage *arg1 = (wxImage *) 0 ;
9599 wxString *arg2 = 0 ;
9600 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9601 int arg4 = (int) -1 ;
9602 bool result;
9603 bool temp2 = False ;
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 PyObject * obj2 = 0 ;
9607 PyObject * obj3 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9615 {
9616 arg2 = wxString_in_helper(obj1);
9617 if (arg2 == NULL) SWIG_fail;
9618 temp2 = True;
9619 }
9620 if (obj2) {
9621 arg3 = (long) SWIG_AsLong(obj2);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 if (obj3) {
9625 arg4 = (int) SWIG_AsInt(obj3);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 {
9636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9637 }
9638 {
9639 if (temp2)
9640 delete arg2;
9641 }
9642 return resultobj;
9643 fail:
9644 {
9645 if (temp2)
9646 delete arg2;
9647 }
9648 return NULL;
9649}
9650
9651
9652static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj;
9654 wxImage *arg1 = (wxImage *) 0 ;
9655 wxString *arg2 = 0 ;
9656 wxString *arg3 = 0 ;
9657 int arg4 = (int) -1 ;
9658 bool result;
9659 bool temp2 = False ;
9660 bool temp3 = False ;
9661 PyObject * obj0 = 0 ;
9662 PyObject * obj1 = 0 ;
9663 PyObject * obj2 = 0 ;
9664 PyObject * obj3 = 0 ;
9665 char *kwnames[] = {
9666 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9667 };
9668
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9672 {
9673 arg2 = wxString_in_helper(obj1);
9674 if (arg2 == NULL) SWIG_fail;
9675 temp2 = True;
9676 }
9677 {
9678 arg3 = wxString_in_helper(obj2);
9679 if (arg3 == NULL) SWIG_fail;
9680 temp3 = True;
9681 }
9682 if (obj3) {
9683 arg4 = (int) SWIG_AsInt(obj3);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 {
9694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9695 }
9696 {
9697 if (temp2)
9698 delete arg2;
9699 }
9700 {
9701 if (temp3)
9702 delete arg3;
9703 }
9704 return resultobj;
9705 fail:
9706 {
9707 if (temp2)
9708 delete arg2;
9709 }
9710 {
9711 if (temp3)
9712 delete arg3;
9713 }
9714 return NULL;
9715}
9716
9717
9718static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxImage *arg1 = (wxImage *) 0 ;
9721 wxString *arg2 = 0 ;
9722 int arg3 ;
9723 bool result;
9724 bool temp2 = False ;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 PyObject * obj2 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "name",(char *) "type", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9735 {
9736 arg2 = wxString_in_helper(obj1);
9737 if (arg2 == NULL) SWIG_fail;
9738 temp2 = True;
9739 }
9740 arg3 = (int) SWIG_AsInt(obj2);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 {
9750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9751 }
9752 {
9753 if (temp2)
9754 delete arg2;
9755 }
9756 return resultobj;
9757 fail:
9758 {
9759 if (temp2)
9760 delete arg2;
9761 }
9762 return NULL;
9763}
9764
9765
9766static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj;
9768 wxImage *arg1 = (wxImage *) 0 ;
9769 wxString *arg2 = 0 ;
9770 wxString *arg3 = 0 ;
9771 bool result;
9772 bool temp2 = False ;
9773 bool temp3 = False ;
9774 PyObject * obj0 = 0 ;
9775 PyObject * obj1 = 0 ;
9776 PyObject * obj2 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9784 {
9785 arg2 = wxString_in_helper(obj1);
9786 if (arg2 == NULL) SWIG_fail;
9787 temp2 = True;
9788 }
9789 {
9790 arg3 = wxString_in_helper(obj2);
9791 if (arg3 == NULL) SWIG_fail;
9792 temp3 = True;
9793 }
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 {
9802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9803 }
9804 {
9805 if (temp2)
9806 delete arg2;
9807 }
9808 {
9809 if (temp3)
9810 delete arg3;
9811 }
9812 return resultobj;
9813 fail:
9814 {
9815 if (temp2)
9816 delete arg2;
9817 }
9818 {
9819 if (temp3)
9820 delete arg3;
9821 }
9822 return NULL;
9823}
9824
9825
9826static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj;
9828 wxInputStream *arg1 = 0 ;
9829 bool result;
9830 wxPyInputStream *temp1 ;
9831 bool created1 ;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "stream", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9838 {
9839 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9840 arg1 = temp1->m_wxis;
9841 created1 = False;
9842 } else {
9843 PyErr_Clear(); // clear the failure of the wxPyConvert above
9844 arg1 = wxPyCBInputStream_create(obj0, False);
9845 if (arg1 == NULL) {
9846 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9847 SWIG_fail;
9848 }
9849 created1 = True;
9850 }
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (bool)wxImage::CanRead(*arg1);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 {
9860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9861 }
9862 {
9863 if (created1)
9864 delete arg1;
9865 }
9866 return resultobj;
9867 fail:
9868 {
9869 if (created1)
9870 delete arg1;
9871 }
9872 return NULL;
9873}
9874
9875
9876static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxImage *arg1 = (wxImage *) 0 ;
9879 wxInputStream *arg2 = 0 ;
9880 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9881 int arg4 = (int) -1 ;
9882 bool result;
9883 wxPyInputStream *temp2 ;
9884 bool created2 ;
9885 PyObject * obj0 = 0 ;
9886 PyObject * obj1 = 0 ;
9887 PyObject * obj2 = 0 ;
9888 PyObject * obj3 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9896 {
9897 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9898 arg2 = temp2->m_wxis;
9899 created2 = False;
9900 } else {
9901 PyErr_Clear(); // clear the failure of the wxPyConvert above
9902 arg2 = wxPyCBInputStream_create(obj1, False);
9903 if (arg2 == NULL) {
9904 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9905 SWIG_fail;
9906 }
9907 created2 = True;
9908 }
9909 }
9910 if (obj2) {
9911 arg3 = (long) SWIG_AsLong(obj2);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 if (obj3) {
9915 arg4 = (int) SWIG_AsInt(obj3);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 {
9926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9927 }
9928 {
9929 if (created2)
9930 delete arg2;
9931 }
9932 return resultobj;
9933 fail:
9934 {
9935 if (created2)
9936 delete arg2;
9937 }
9938 return NULL;
9939}
9940
9941
9942static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxImage *arg1 = (wxImage *) 0 ;
9945 wxInputStream *arg2 = 0 ;
9946 wxString *arg3 = 0 ;
9947 int arg4 = (int) -1 ;
9948 bool result;
9949 wxPyInputStream *temp2 ;
9950 bool created2 ;
9951 bool temp3 = False ;
9952 PyObject * obj0 = 0 ;
9953 PyObject * obj1 = 0 ;
9954 PyObject * obj2 = 0 ;
9955 PyObject * obj3 = 0 ;
9956 char *kwnames[] = {
9957 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9963 {
9964 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9965 arg2 = temp2->m_wxis;
9966 created2 = False;
9967 } else {
9968 PyErr_Clear(); // clear the failure of the wxPyConvert above
9969 arg2 = wxPyCBInputStream_create(obj1, False);
9970 if (arg2 == NULL) {
9971 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9972 SWIG_fail;
9973 }
9974 created2 = True;
9975 }
9976 }
9977 {
9978 arg3 = wxString_in_helper(obj2);
9979 if (arg3 == NULL) SWIG_fail;
9980 temp3 = True;
9981 }
9982 if (obj3) {
9983 arg4 = (int) SWIG_AsInt(obj3);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9995 }
9996 {
9997 if (created2)
9998 delete arg2;
9999 }
10000 {
10001 if (temp3)
10002 delete arg3;
10003 }
10004 return resultobj;
10005 fail:
10006 {
10007 if (created2)
10008 delete arg2;
10009 }
10010 {
10011 if (temp3)
10012 delete arg3;
10013 }
10014 return NULL;
10015}
10016
10017
10018static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxImage *arg1 = (wxImage *) 0 ;
10021 bool result;
10022 PyObject * obj0 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
10028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 result = (bool)(arg1)->Ok();
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 {
10038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10039 }
10040 return resultobj;
10041 fail:
10042 return NULL;
10043}
10044
10045
10046static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
10047 PyObject *resultobj;
10048 wxImage *arg1 = (wxImage *) 0 ;
10049 int result;
10050 PyObject * obj0 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "self", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 result = (int)(arg1)->GetWidth();
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 resultobj = SWIG_FromInt((int)result);
10066 return resultobj;
10067 fail:
10068 return NULL;
10069}
10070
10071
10072static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxImage *arg1 = (wxImage *) 0 ;
10075 int result;
10076 PyObject * obj0 = 0 ;
10077 char *kwnames[] = {
10078 (char *) "self", NULL
10079 };
10080
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
10082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 result = (int)(arg1)->GetHeight();
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_FromInt((int)result);
10092 return resultobj;
10093 fail:
10094 return NULL;
10095}
10096
10097
10098static PyObject *_wrap_Image_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxImage *arg1 = (wxImage *) 0 ;
10101 wxSize result;
10102 PyObject * obj0 = 0 ;
10103 char *kwnames[] = {
10104 (char *) "self", NULL
10105 };
10106
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = wxImage_GetSize(arg1);
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 {
10118 wxSize * resultptr;
10119 resultptr = new wxSize((wxSize &) result);
10120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10121 }
10122 return resultobj;
10123 fail:
10124 return NULL;
10125}
10126
10127
10128static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
10129 PyObject *resultobj;
10130 wxImage *arg1 = (wxImage *) 0 ;
10131 wxRect *arg2 = 0 ;
10132 SwigValueWrapper< wxImage > result;
10133 wxRect temp2 ;
10134 PyObject * obj0 = 0 ;
10135 PyObject * obj1 = 0 ;
10136 char *kwnames[] = {
10137 (char *) "self",(char *) "rect", NULL
10138 };
10139
10140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
10141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10143 {
10144 arg2 = &temp2;
10145 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10146 }
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 {
10155 wxImage * resultptr;
10156 resultptr = new wxImage((wxImage &) result);
10157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10158 }
10159 return resultobj;
10160 fail:
10161 return NULL;
10162}
10163
10164
10165static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxImage *arg1 = (wxImage *) 0 ;
10168 SwigValueWrapper< wxImage > result;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
10175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (arg1)->Copy();
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 {
10185 wxImage * resultptr;
10186 resultptr = new wxImage((wxImage &) result);
10187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10188 }
10189 return resultobj;
10190 fail:
10191 return NULL;
10192}
10193
10194
10195static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxImage *arg1 = (wxImage *) 0 ;
10198 wxImage *arg2 = 0 ;
10199 int arg3 ;
10200 int arg4 ;
10201 PyObject * obj0 = 0 ;
10202 PyObject * obj1 = 0 ;
10203 PyObject * obj2 = 0 ;
10204 PyObject * obj3 = 0 ;
10205 char *kwnames[] = {
10206 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10207 };
10208
10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10213 SWIG_POINTER_EXCEPTION | 0)) == -1)
10214 SWIG_fail;
10215 if (arg2 == NULL) {
10216 PyErr_SetString(PyExc_TypeError,"null reference");
10217 SWIG_fail;
10218 }
10219 arg3 = (int) SWIG_AsInt(obj2);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 arg4 = (int) SWIG_AsInt(obj3);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 Py_INCREF(Py_None); resultobj = Py_None;
10231 return resultobj;
10232 fail:
10233 return NULL;
10234}
10235
10236
10237static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10238 PyObject *resultobj;
10239 wxImage *arg1 = (wxImage *) 0 ;
10240 PyObject *result;
10241 PyObject * obj0 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 result = (PyObject *)wxImage_GetData(arg1);
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 resultobj = result;
10257 return resultobj;
10258 fail:
10259 return NULL;
10260}
10261
10262
10263static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10264 PyObject *resultobj;
10265 wxImage *arg1 = (wxImage *) 0 ;
10266 PyObject *arg2 = (PyObject *) 0 ;
10267 PyObject * obj0 = 0 ;
10268 PyObject * obj1 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self",(char *) "data", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
10274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10276 arg2 = obj1;
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 wxImage_SetData(arg1,arg2);
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 Py_INCREF(Py_None); resultobj = Py_None;
10285 return resultobj;
10286 fail:
10287 return NULL;
10288}
10289
10290
10291static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxImage *arg1 = (wxImage *) 0 ;
10294 PyObject *result;
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
10301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 resultobj = result;
10311 return resultobj;
10312 fail:
10313 return NULL;
10314}
10315
10316
10317static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxImage *arg1 = (wxImage *) 0 ;
10320 PyObject *arg2 = (PyObject *) 0 ;
10321 PyObject * obj0 = 0 ;
10322 PyObject * obj1 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "self",(char *) "data", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
10328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10330 arg2 = obj1;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 wxImage_SetDataBuffer(arg1,arg2);
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 Py_INCREF(Py_None); resultobj = Py_None;
10339 return resultobj;
10340 fail:
10341 return NULL;
10342}
10343
10344
10345static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxImage *arg1 = (wxImage *) 0 ;
10348 PyObject *result;
10349 PyObject * obj0 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
10355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 result = (PyObject *)wxImage_GetAlphaData(arg1);
10360
10361 wxPyEndAllowThreads(__tstate);
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 resultobj = result;
10365 return resultobj;
10366 fail:
10367 return NULL;
10368}
10369
10370
10371static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxImage *arg1 = (wxImage *) 0 ;
10374 PyObject *arg2 = (PyObject *) 0 ;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self",(char *) "data", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10384 arg2 = obj1;
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 wxImage_SetAlphaData(arg1,arg2);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
10399static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxImage *arg1 = (wxImage *) 0 ;
10402 PyObject *result;
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "self", NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
10409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 resultobj = result;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422}
10423
10424
10425static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxImage *arg1 = (wxImage *) 0 ;
10428 PyObject *arg2 = (PyObject *) 0 ;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self",(char *) "data", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10438 arg2 = obj1;
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 wxImage_SetAlphaBuffer(arg1,arg2);
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 Py_INCREF(Py_None); resultobj = Py_None;
10447 return resultobj;
10448 fail:
10449 return NULL;
10450}
10451
10452
10453static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj;
10455 wxImage *arg1 = (wxImage *) 0 ;
10456 unsigned char arg2 ;
10457 unsigned char arg3 ;
10458 unsigned char arg4 ;
10459 PyObject * obj0 = 0 ;
10460 PyObject * obj1 = 0 ;
10461 PyObject * obj2 = 0 ;
10462 PyObject * obj3 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10470 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 (arg1)->SetMaskColour(arg2,arg3,arg4);
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 Py_INCREF(Py_None); resultobj = Py_None;
10484 return resultobj;
10485 fail:
10486 return NULL;
10487}
10488
10489
10490static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxImage *arg1 = (wxImage *) 0 ;
10493 unsigned char result;
10494 PyObject * obj0 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "self", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
10500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 result = (unsigned char)(arg1)->GetMaskRed();
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10510 return resultobj;
10511 fail:
10512 return NULL;
10513}
10514
10515
10516static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj;
10518 wxImage *arg1 = (wxImage *) 0 ;
10519 unsigned char result;
10520 PyObject * obj0 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = (unsigned char)(arg1)->GetMaskGreen();
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10536 return resultobj;
10537 fail:
10538 return NULL;
10539}
10540
10541
10542static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxImage *arg1 = (wxImage *) 0 ;
10545 unsigned char result;
10546 PyObject * obj0 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 result = (unsigned char)(arg1)->GetMaskBlue();
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
10562 return resultobj;
10563 fail:
10564 return NULL;
10565}
10566
10567
10568static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10569 PyObject *resultobj;
10570 wxImage *arg1 = (wxImage *) 0 ;
10571 bool arg2 = (bool) True ;
10572 PyObject * obj0 = 0 ;
10573 PyObject * obj1 = 0 ;
10574 char *kwnames[] = {
10575 (char *) "self",(char *) "mask", NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
10579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10581 if (obj1) {
10582 arg2 = (bool) SWIG_AsBool(obj1);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 (arg1)->SetMask(arg2);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
10599static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxImage *arg1 = (wxImage *) 0 ;
10602 bool result;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 result = (bool)(arg1)->HasMask();
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 {
10619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10620 }
10621 return resultobj;
10622 fail:
10623 return NULL;
10624}
10625
10626
10627static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj;
10629 wxImage *arg1 = (wxImage *) 0 ;
10630 double arg2 ;
10631 wxPoint *arg3 = 0 ;
10632 bool arg4 = (bool) True ;
10633 wxPoint *arg5 = (wxPoint *) NULL ;
10634 SwigValueWrapper< wxImage > result;
10635 wxPoint temp3 ;
10636 PyObject * obj0 = 0 ;
10637 PyObject * obj1 = 0 ;
10638 PyObject * obj2 = 0 ;
10639 PyObject * obj3 = 0 ;
10640 PyObject * obj4 = 0 ;
10641 char *kwnames[] = {
10642 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10643 };
10644
10645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10648 arg2 = (double) SWIG_AsDouble(obj1);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 {
10651 arg3 = &temp3;
10652 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10653 }
10654 if (obj3) {
10655 arg4 = (bool) SWIG_AsBool(obj3);
10656 if (PyErr_Occurred()) SWIG_fail;
10657 }
10658 if (obj4) {
10659 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10661 }
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10665
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 {
10670 wxImage * resultptr;
10671 resultptr = new wxImage((wxImage &) result);
10672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10673 }
10674 return resultobj;
10675 fail:
10676 return NULL;
10677}
10678
10679
10680static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxImage *arg1 = (wxImage *) 0 ;
10683 bool arg2 = (bool) True ;
10684 SwigValueWrapper< wxImage > result;
10685 PyObject * obj0 = 0 ;
10686 PyObject * obj1 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self",(char *) "clockwise", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
10692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10694 if (obj1) {
10695 arg2 = (bool) SWIG_AsBool(obj1);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 result = (arg1)->Rotate90(arg2);
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 {
10706 wxImage * resultptr;
10707 resultptr = new wxImage((wxImage &) result);
10708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10709 }
10710 return resultobj;
10711 fail:
10712 return NULL;
10713}
10714
10715
10716static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10717 PyObject *resultobj;
10718 wxImage *arg1 = (wxImage *) 0 ;
10719 bool arg2 = (bool) True ;
10720 SwigValueWrapper< wxImage > result;
10721 PyObject * obj0 = 0 ;
10722 PyObject * obj1 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self",(char *) "horizontally", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
10728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10730 if (obj1) {
10731 arg2 = (bool) SWIG_AsBool(obj1);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (arg1)->Mirror(arg2);
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 {
10742 wxImage * resultptr;
10743 resultptr = new wxImage((wxImage &) result);
10744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10745 }
10746 return resultobj;
10747 fail:
10748 return NULL;
10749}
10750
10751
10752static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxImage *arg1 = (wxImage *) 0 ;
10755 unsigned char arg2 ;
10756 unsigned char arg3 ;
10757 unsigned char arg4 ;
10758 unsigned char arg5 ;
10759 unsigned char arg6 ;
10760 unsigned char arg7 ;
10761 PyObject * obj0 = 0 ;
10762 PyObject * obj1 = 0 ;
10763 PyObject * obj2 = 0 ;
10764 PyObject * obj3 = 0 ;
10765 PyObject * obj4 = 0 ;
10766 PyObject * obj5 = 0 ;
10767 PyObject * obj6 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10775 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10790
10791 wxPyEndAllowThreads(__tstate);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 }
10794 Py_INCREF(Py_None); resultobj = Py_None;
10795 return resultobj;
10796 fail:
10797 return NULL;
10798}
10799
10800
10801static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxImage *arg1 = (wxImage *) 0 ;
10804 unsigned char arg2 ;
10805 unsigned char arg3 ;
10806 unsigned char arg4 ;
10807 SwigValueWrapper< wxImage > result;
10808 PyObject * obj0 = 0 ;
10809 PyObject * obj1 = 0 ;
10810 PyObject * obj2 = 0 ;
10811 PyObject * obj3 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10819 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10822 if (PyErr_Occurred()) SWIG_fail;
10823 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 {
10833 wxImage * resultptr;
10834 resultptr = new wxImage((wxImage &) result);
10835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10836 }
10837 return resultobj;
10838 fail:
10839 return NULL;
10840}
10841
10842
10843static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxImage *arg1 = (wxImage *) 0 ;
10846 wxString *arg2 = 0 ;
10847 wxString *arg3 = 0 ;
10848 bool temp2 = False ;
10849 bool temp3 = False ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 PyObject * obj2 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self",(char *) "name",(char *) "value", NULL
10855 };
10856
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
10858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10860 {
10861 arg2 = wxString_in_helper(obj1);
10862 if (arg2 == NULL) SWIG_fail;
10863 temp2 = True;
10864 }
10865 {
10866 arg3 = wxString_in_helper(obj2);
10867 if (arg3 == NULL) SWIG_fail;
10868 temp3 = True;
10869 }
10870 {
10871 PyThreadState* __tstate = wxPyBeginAllowThreads();
10872 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10873
10874 wxPyEndAllowThreads(__tstate);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 Py_INCREF(Py_None); resultobj = Py_None;
10878 {
10879 if (temp2)
10880 delete arg2;
10881 }
10882 {
10883 if (temp3)
10884 delete arg3;
10885 }
10886 return resultobj;
10887 fail:
10888 {
10889 if (temp2)
10890 delete arg2;
10891 }
10892 {
10893 if (temp3)
10894 delete arg3;
10895 }
10896 return NULL;
10897}
10898
10899
10900static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10901 PyObject *resultobj;
10902 wxImage *arg1 = (wxImage *) 0 ;
10903 wxString *arg2 = 0 ;
10904 int arg3 ;
10905 bool temp2 = False ;
10906 PyObject * obj0 = 0 ;
10907 PyObject * obj1 = 0 ;
10908 PyObject * obj2 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self",(char *) "name",(char *) "value", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10916 {
10917 arg2 = wxString_in_helper(obj1);
10918 if (arg2 == NULL) SWIG_fail;
10919 temp2 = True;
10920 }
10921 arg3 = (int) SWIG_AsInt(obj2);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->SetOption((wxString const &)*arg2,arg3);
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 Py_INCREF(Py_None); resultobj = Py_None;
10931 {
10932 if (temp2)
10933 delete arg2;
10934 }
10935 return resultobj;
10936 fail:
10937 {
10938 if (temp2)
10939 delete arg2;
10940 }
10941 return NULL;
10942}
10943
10944
10945static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj;
10947 wxImage *arg1 = (wxImage *) 0 ;
10948 wxString *arg2 = 0 ;
10949 wxString result;
10950 bool temp2 = False ;
10951 PyObject * obj0 = 0 ;
10952 PyObject * obj1 = 0 ;
10953 char *kwnames[] = {
10954 (char *) "self",(char *) "name", NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
10958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10960 {
10961 arg2 = wxString_in_helper(obj1);
10962 if (arg2 == NULL) SWIG_fail;
10963 temp2 = True;
10964 }
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) SWIG_fail;
10971 }
10972 {
10973#if wxUSE_UNICODE
10974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10975#else
10976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10977#endif
10978 }
10979 {
10980 if (temp2)
10981 delete arg2;
10982 }
10983 return resultobj;
10984 fail:
10985 {
10986 if (temp2)
10987 delete arg2;
10988 }
10989 return NULL;
10990}
10991
10992
10993static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10994 PyObject *resultobj;
10995 wxImage *arg1 = (wxImage *) 0 ;
10996 wxString *arg2 = 0 ;
10997 int result;
10998 bool temp2 = False ;
10999 PyObject * obj0 = 0 ;
11000 PyObject * obj1 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self",(char *) "name", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
11006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11008 {
11009 arg2 = wxString_in_helper(obj1);
11010 if (arg2 == NULL) SWIG_fail;
11011 temp2 = True;
11012 }
11013 {
11014 PyThreadState* __tstate = wxPyBeginAllowThreads();
11015 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11016
11017 wxPyEndAllowThreads(__tstate);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 resultobj = SWIG_FromInt((int)result);
11021 {
11022 if (temp2)
11023 delete arg2;
11024 }
11025 return resultobj;
11026 fail:
11027 {
11028 if (temp2)
11029 delete arg2;
11030 }
11031 return NULL;
11032}
11033
11034
11035static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxImage *arg1 = (wxImage *) 0 ;
11038 wxString *arg2 = 0 ;
11039 bool result;
11040 bool temp2 = False ;
11041 PyObject * obj0 = 0 ;
11042 PyObject * obj1 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self",(char *) "name", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
11048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11050 {
11051 arg2 = wxString_in_helper(obj1);
11052 if (arg2 == NULL) SWIG_fail;
11053 temp2 = True;
11054 }
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 {
11063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11064 }
11065 {
11066 if (temp2)
11067 delete arg2;
11068 }
11069 return resultobj;
11070 fail:
11071 {
11072 if (temp2)
11073 delete arg2;
11074 }
11075 return NULL;
11076}
11077
11078
11079static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
11080 PyObject *resultobj;
11081 wxImage *arg1 = (wxImage *) 0 ;
11082 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11083 unsigned long result;
11084 PyObject * obj0 = 0 ;
11085 PyObject * obj1 = 0 ;
11086 char *kwnames[] = {
11087 (char *) "self",(char *) "stopafter", NULL
11088 };
11089
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
11091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11093 if (obj1) {
11094 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = (unsigned long)(arg1)->CountColours(arg2);
11100
11101 wxPyEndAllowThreads(__tstate);
11102 if (PyErr_Occurred()) SWIG_fail;
11103 }
11104 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
11105 return resultobj;
11106 fail:
11107 return NULL;
11108}
11109
11110
11111static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj;
11113 wxImage *arg1 = (wxImage *) 0 ;
11114 wxImageHistogram *arg2 = 0 ;
11115 unsigned long result;
11116 PyObject * obj0 = 0 ;
11117 PyObject * obj1 = 0 ;
11118 char *kwnames[] = {
11119 (char *) "self",(char *) "h", NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
11123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11125 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11126 SWIG_POINTER_EXCEPTION | 0)) == -1)
11127 SWIG_fail;
11128 if (arg2 == NULL) {
11129 PyErr_SetString(PyExc_TypeError,"null reference");
11130 SWIG_fail;
11131 }
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11135
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
11140 return resultobj;
11141 fail:
11142 return NULL;
11143}
11144
11145
11146static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj;
11148 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11149 PyObject * obj0 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "handler", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
11155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 wxImage::AddHandler(arg1);
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 Py_INCREF(Py_None); resultobj = Py_None;
11165 return resultobj;
11166 fail:
11167 return NULL;
11168}
11169
11170
11171static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11174 PyObject * obj0 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "handler", NULL
11177 };
11178
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
11180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 wxImage::InsertHandler(arg1);
11185
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 Py_INCREF(Py_None); resultobj = Py_None;
11190 return resultobj;
11191 fail:
11192 return NULL;
11193}
11194
11195
11196static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11197 PyObject *resultobj;
11198 wxString *arg1 = 0 ;
11199 bool result;
11200 bool temp1 = False ;
11201 PyObject * obj0 = 0 ;
11202 char *kwnames[] = {
11203 (char *) "name", NULL
11204 };
11205
11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11207 {
11208 arg1 = wxString_in_helper(obj0);
11209 if (arg1 == NULL) SWIG_fail;
11210 temp1 = True;
11211 }
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 {
11220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11221 }
11222 {
11223 if (temp1)
11224 delete arg1;
11225 }
11226 return resultobj;
11227 fail:
11228 {
11229 if (temp1)
11230 delete arg1;
11231 }
11232 return NULL;
11233}
11234
11235
11236static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj;
11238 wxString result;
11239 char *kwnames[] = {
11240 NULL
11241 };
11242
11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 result = wxImage::GetImageExtWildcard();
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 {
11252#if wxUSE_UNICODE
11253 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11254#else
11255 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11256#endif
11257 }
11258 return resultobj;
11259 fail:
11260 return NULL;
11261}
11262
11263
11264static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxImage *arg1 = (wxImage *) 0 ;
11267 wxBitmap result;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = wxImage_ConvertToBitmap(arg1);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 wxBitmap * resultptr;
11285 resultptr = new wxBitmap((wxBitmap &) result);
11286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11287 }
11288 return resultobj;
11289 fail:
11290 return NULL;
11291}
11292
11293
11294static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxImage *arg1 = (wxImage *) 0 ;
11297 unsigned char arg2 ;
11298 unsigned char arg3 ;
11299 unsigned char arg4 ;
11300 wxBitmap result;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 PyObject * obj2 = 0 ;
11304 PyObject * obj3 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11312 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 {
11326 wxBitmap * resultptr;
11327 resultptr = new wxBitmap((wxBitmap &) result);
11328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11329 }
11330 return resultobj;
11331 fail:
11332 return NULL;
11333}
11334
11335
11336static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11337 PyObject *obj;
11338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11339 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11340 Py_INCREF(obj);
11341 return Py_BuildValue((char *)"");
11342}
11343static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
11344 PyObject *resultobj;
11345 char *kwnames[] = {
11346 NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11350 {
11351 PyThreadState* __tstate = wxPyBeginAllowThreads();
11352 wxInitAllImageHandlers();
11353
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 Py_INCREF(Py_None); resultobj = Py_None;
11358 return resultobj;
11359 fail:
11360 return NULL;
11361}
11362
11363
11364static int _wrap_NullImage_set(PyObject *_val) {
11365 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11366 return 1;
11367}
11368
11369
11370static PyObject *_wrap_NullImage_get() {
11371 PyObject *pyobj;
11372
11373 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
11374 return pyobj;
11375}
11376
11377
11378static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11379 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11380 return 1;
11381}
11382
11383
11384static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11385 PyObject *pyobj;
11386
11387 {
11388#if wxUSE_UNICODE
11389 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11390#else
11391 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11392#endif
11393 }
11394 return pyobj;
11395}
11396
11397
11398static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11399 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11400 return 1;
11401}
11402
11403
11404static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11405 PyObject *pyobj;
11406
11407 {
11408#if wxUSE_UNICODE
11409 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11410#else
11411 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11412#endif
11413 }
11414 return pyobj;
11415}
11416
11417
11418static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11419 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11420 return 1;
11421}
11422
11423
11424static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11425 PyObject *pyobj;
11426
11427 {
11428#if wxUSE_UNICODE
11429 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11430#else
11431 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11432#endif
11433 }
11434 return pyobj;
11435}
11436
11437
11438static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11439 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11440 return 1;
11441}
11442
11443
11444static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11445 PyObject *pyobj;
11446
11447 {
11448#if wxUSE_UNICODE
11449 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11450#else
11451 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11452#endif
11453 }
11454 return pyobj;
11455}
11456
11457
11458static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11459 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11460 return 1;
11461}
11462
11463
11464static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11465 PyObject *pyobj;
11466
11467 {
11468#if wxUSE_UNICODE
11469 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11470#else
11471 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11472#endif
11473 }
11474 return pyobj;
11475}
11476
11477
11478static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11479 PyObject *resultobj;
11480 wxBMPHandler *result;
11481 char *kwnames[] = {
11482 NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 result = (wxBMPHandler *)new wxBMPHandler();
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
11494 return resultobj;
11495 fail:
11496 return NULL;
11497}
11498
11499
11500static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11501 PyObject *obj;
11502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11503 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11504 Py_INCREF(obj);
11505 return Py_BuildValue((char *)"");
11506}
11507static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11508 PyObject *resultobj;
11509 wxICOHandler *result;
11510 char *kwnames[] = {
11511 NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 result = (wxICOHandler *)new wxICOHandler();
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
11523 return resultobj;
11524 fail:
11525 return NULL;
11526}
11527
11528
11529static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11530 PyObject *obj;
11531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11532 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11533 Py_INCREF(obj);
11534 return Py_BuildValue((char *)"");
11535}
11536static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj;
11538 wxCURHandler *result;
11539 char *kwnames[] = {
11540 NULL
11541 };
11542
11543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11544 {
11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
11546 result = (wxCURHandler *)new wxCURHandler();
11547
11548 wxPyEndAllowThreads(__tstate);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
11552 return resultobj;
11553 fail:
11554 return NULL;
11555}
11556
11557
11558static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11559 PyObject *obj;
11560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11561 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11562 Py_INCREF(obj);
11563 return Py_BuildValue((char *)"");
11564}
11565static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxANIHandler *result;
11568 char *kwnames[] = {
11569 NULL
11570 };
11571
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11573 {
11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
11575 result = (wxANIHandler *)new wxANIHandler();
11576
11577 wxPyEndAllowThreads(__tstate);
11578 if (PyErr_Occurred()) SWIG_fail;
11579 }
11580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
11581 return resultobj;
11582 fail:
11583 return NULL;
11584}
11585
11586
11587static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11588 PyObject *obj;
11589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11590 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11591 Py_INCREF(obj);
11592 return Py_BuildValue((char *)"");
11593}
11594static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11595 PyObject *resultobj;
11596 wxPNGHandler *result;
11597 char *kwnames[] = {
11598 NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (wxPNGHandler *)new wxPNGHandler();
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
11610 return resultobj;
11611 fail:
11612 return NULL;
11613}
11614
11615
11616static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11617 PyObject *obj;
11618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11619 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11620 Py_INCREF(obj);
11621 return Py_BuildValue((char *)"");
11622}
11623static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxGIFHandler *result;
11626 char *kwnames[] = {
11627 NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11631 {
11632 PyThreadState* __tstate = wxPyBeginAllowThreads();
11633 result = (wxGIFHandler *)new wxGIFHandler();
11634
11635 wxPyEndAllowThreads(__tstate);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 }
11638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
11639 return resultobj;
11640 fail:
11641 return NULL;
11642}
11643
11644
11645static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11646 PyObject *obj;
11647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11648 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11649 Py_INCREF(obj);
11650 return Py_BuildValue((char *)"");
11651}
11652static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxPCXHandler *result;
11655 char *kwnames[] = {
11656 NULL
11657 };
11658
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 result = (wxPCXHandler *)new wxPCXHandler();
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
11668 return resultobj;
11669 fail:
11670 return NULL;
11671}
11672
11673
11674static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11675 PyObject *obj;
11676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11677 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11678 Py_INCREF(obj);
11679 return Py_BuildValue((char *)"");
11680}
11681static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxJPEGHandler *result;
11684 char *kwnames[] = {
11685 NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 result = (wxJPEGHandler *)new wxJPEGHandler();
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
11697 return resultobj;
11698 fail:
11699 return NULL;
11700}
11701
11702
11703static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11704 PyObject *obj;
11705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11707 Py_INCREF(obj);
11708 return Py_BuildValue((char *)"");
11709}
11710static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11711 PyObject *resultobj;
11712 wxPNMHandler *result;
11713 char *kwnames[] = {
11714 NULL
11715 };
11716
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (wxPNMHandler *)new wxPNMHandler();
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
11726 return resultobj;
11727 fail:
11728 return NULL;
11729}
11730
11731
11732static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11733 PyObject *obj;
11734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11735 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11736 Py_INCREF(obj);
11737 return Py_BuildValue((char *)"");
11738}
11739static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxXPMHandler *result;
11742 char *kwnames[] = {
11743 NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 result = (wxXPMHandler *)new wxXPMHandler();
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
11755 return resultobj;
11756 fail:
11757 return NULL;
11758}
11759
11760
11761static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11762 PyObject *obj;
11763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11764 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11765 Py_INCREF(obj);
11766 return Py_BuildValue((char *)"");
11767}
11768static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxTIFFHandler *result;
11771 char *kwnames[] = {
11772 NULL
11773 };
11774
11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11776 {
11777 PyThreadState* __tstate = wxPyBeginAllowThreads();
11778 result = (wxTIFFHandler *)new wxTIFFHandler();
11779
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
11784 return resultobj;
11785 fail:
11786 return NULL;
11787}
11788
11789
11790static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11791 PyObject *obj;
11792 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11793 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11794 Py_INCREF(obj);
11795 return Py_BuildValue((char *)"");
11796}
11797static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11798 PyObject *resultobj;
11799 wxEvtHandler *result;
11800 char *kwnames[] = {
11801 NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 result = (wxEvtHandler *)new wxEvtHandler();
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 {
11813 resultobj = wxPyMake_wxObject(result);
11814 }
11815 return resultobj;
11816 fail:
11817 return NULL;
11818}
11819
11820
11821static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11824 wxEvtHandler *result;
11825 PyObject * obj0 = 0 ;
11826 char *kwnames[] = {
11827 (char *) "self", NULL
11828 };
11829
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
11831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 {
11841 resultobj = wxPyMake_wxObject(result);
11842 }
11843 return resultobj;
11844 fail:
11845 return NULL;
11846}
11847
11848
11849static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj;
11851 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11852 wxEvtHandler *result;
11853 PyObject * obj0 = 0 ;
11854 char *kwnames[] = {
11855 (char *) "self", NULL
11856 };
11857
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
11859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 {
11869 resultobj = wxPyMake_wxObject(result);
11870 }
11871 return resultobj;
11872 fail:
11873 return NULL;
11874}
11875
11876
11877static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11880 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11881 PyObject * obj0 = 0 ;
11882 PyObject * obj1 = 0 ;
11883 char *kwnames[] = {
11884 (char *) "self",(char *) "handler", NULL
11885 };
11886
11887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
11888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetNextHandler(arg2);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 Py_INCREF(Py_None); resultobj = Py_None;
11900 return resultobj;
11901 fail:
11902 return NULL;
11903}
11904
11905
11906static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11909 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11910 PyObject * obj0 = 0 ;
11911 PyObject * obj1 = 0 ;
11912 char *kwnames[] = {
11913 (char *) "self",(char *) "handler", NULL
11914 };
11915
11916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
11917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 (arg1)->SetPreviousHandler(arg2);
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 Py_INCREF(Py_None); resultobj = Py_None;
11929 return resultobj;
11930 fail:
11931 return NULL;
11932}
11933
11934
11935static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11936 PyObject *resultobj;
11937 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11938 bool result;
11939 PyObject * obj0 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (bool)(arg1)->GetEvtHandlerEnabled();
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 {
11955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11956 }
11957 return resultobj;
11958 fail:
11959 return NULL;
11960}
11961
11962
11963static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11966 bool arg2 ;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11969 char *kwnames[] = {
11970 (char *) "self",(char *) "enabled", NULL
11971 };
11972
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
11974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11976 arg2 = (bool) SWIG_AsBool(obj1);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 (arg1)->SetEvtHandlerEnabled(arg2);
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 Py_INCREF(Py_None); resultobj = Py_None;
11986 return resultobj;
11987 fail:
11988 return NULL;
11989}
11990
11991
11992static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11995 wxEvent *arg2 = 0 ;
11996 bool result;
11997 PyObject * obj0 = 0 ;
11998 PyObject * obj1 = 0 ;
11999 char *kwnames[] = {
12000 (char *) "self",(char *) "event", NULL
12001 };
12002
12003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
12004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12007 SWIG_POINTER_EXCEPTION | 0)) == -1)
12008 SWIG_fail;
12009 if (arg2 == NULL) {
12010 PyErr_SetString(PyExc_TypeError,"null reference");
12011 SWIG_fail;
12012 }
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 result = (bool)(arg1)->ProcessEvent(*arg2);
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 {
12021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12022 }
12023 return resultobj;
12024 fail:
12025 return NULL;
12026}
12027
12028
12029static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject *resultobj;
12031 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12032 wxEvent *arg2 = 0 ;
12033 PyObject * obj0 = 0 ;
12034 PyObject * obj1 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self",(char *) "event", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1)
12044 SWIG_fail;
12045 if (arg2 == NULL) {
12046 PyErr_SetString(PyExc_TypeError,"null reference");
12047 SWIG_fail;
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 (arg1)->AddPendingEvent(*arg2);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 Py_INCREF(Py_None); resultobj = Py_None;
12057 return resultobj;
12058 fail:
12059 return NULL;
12060}
12061
12062
12063static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12066 PyObject * obj0 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
12072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 (arg1)->ProcessPendingEvents();
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 Py_INCREF(Py_None); resultobj = Py_None;
12082 return resultobj;
12083 fail:
12084 return NULL;
12085}
12086
12087
12088static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
12089 PyObject *resultobj;
12090 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12091 int arg2 ;
12092 int arg3 ;
12093 int arg4 ;
12094 PyObject *arg5 = (PyObject *) 0 ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 PyObject * obj2 = 0 ;
12098 PyObject * obj3 = 0 ;
12099 PyObject * obj4 = 0 ;
12100 char *kwnames[] = {
12101 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12102 };
12103
12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12107 arg2 = (int) SWIG_AsInt(obj1);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 arg3 = (int) SWIG_AsInt(obj2);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 arg4 = (int) SWIG_AsInt(obj3);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 arg5 = obj4;
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 Py_INCREF(Py_None); resultobj = Py_None;
12122 return resultobj;
12123 fail:
12124 return NULL;
12125}
12126
12127
12128static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj;
12130 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12131 int arg2 ;
12132 int arg3 = (int) -1 ;
12133 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12134 bool result;
12135 PyObject * obj0 = 0 ;
12136 PyObject * obj1 = 0 ;
12137 PyObject * obj2 = 0 ;
12138 PyObject * obj3 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12146 arg2 = (int) SWIG_AsInt(obj1);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 if (obj2) {
12149 arg3 = (int) SWIG_AsInt(obj2);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 if (obj3) {
12153 arg4 = (wxEventType) SWIG_AsInt(obj3);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 {
12164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12165 }
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
12172static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12175 PyObject *arg2 = (PyObject *) 0 ;
12176 PyObject * obj0 = 0 ;
12177 PyObject * obj1 = 0 ;
12178 char *kwnames[] = {
12179 (char *) "self",(char *) "_self", NULL
12180 };
12181
12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
12183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12185 arg2 = obj1;
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 wxEvtHandler__setOORInfo(arg1,arg2);
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 Py_INCREF(Py_None); resultobj = Py_None;
12194 return resultobj;
12195 fail:
12196 return NULL;
12197}
12198
12199
12200static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12201 PyObject *obj;
12202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12203 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12204 Py_INCREF(obj);
12205 return Py_BuildValue((char *)"");
12206}
12207static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12208 PyObject *resultobj;
12209 wxEventType result;
12210 char *kwnames[] = {
12211 NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (wxEventType)wxNewEventType();
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 resultobj = SWIG_FromInt((int)result);
12223 return resultobj;
12224 fail:
12225 return NULL;
12226}
12227
12228
12229static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12230 PyObject *resultobj;
12231 wxEvent *arg1 = (wxEvent *) 0 ;
12232 PyObject * obj0 = 0 ;
12233 char *kwnames[] = {
12234 (char *) "self", NULL
12235 };
12236
12237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
12238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 delete arg1;
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 Py_INCREF(Py_None); resultobj = Py_None;
12248 return resultobj;
12249 fail:
12250 return NULL;
12251}
12252
12253
12254static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12255 PyObject *resultobj;
12256 wxEvent *arg1 = (wxEvent *) 0 ;
12257 wxEventType arg2 ;
12258 PyObject * obj0 = 0 ;
12259 PyObject * obj1 = 0 ;
12260 char *kwnames[] = {
12261 (char *) "self",(char *) "typ", NULL
12262 };
12263
12264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
12265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12267 arg2 = (wxEventType) SWIG_AsInt(obj1);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 {
12270 PyThreadState* __tstate = wxPyBeginAllowThreads();
12271 (arg1)->SetEventType(arg2);
12272
12273 wxPyEndAllowThreads(__tstate);
12274 if (PyErr_Occurred()) SWIG_fail;
12275 }
12276 Py_INCREF(Py_None); resultobj = Py_None;
12277 return resultobj;
12278 fail:
12279 return NULL;
12280}
12281
12282
12283static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxEvent *arg1 = (wxEvent *) 0 ;
12286 wxEventType result;
12287 PyObject * obj0 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
12293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
12302 resultobj = SWIG_FromInt((int)result);
12303 return resultobj;
12304 fail:
12305 return NULL;
12306}
12307
12308
12309static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxEvent *arg1 = (wxEvent *) 0 ;
12312 wxObject *result;
12313 PyObject * obj0 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "self", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
12319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 {
12329 resultobj = wxPyMake_wxObject(result);
12330 }
12331 return resultobj;
12332 fail:
12333 return NULL;
12334}
12335
12336
12337static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12338 PyObject *resultobj;
12339 wxEvent *arg1 = (wxEvent *) 0 ;
12340 wxObject *arg2 = (wxObject *) 0 ;
12341 PyObject * obj0 = 0 ;
12342 PyObject * obj1 = 0 ;
12343 char *kwnames[] = {
12344 (char *) "self",(char *) "obj", NULL
12345 };
12346
12347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
12348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 (arg1)->SetEventObject(arg2);
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 Py_INCREF(Py_None); resultobj = Py_None;
12360 return resultobj;
12361 fail:
12362 return NULL;
12363}
12364
12365
12366static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxEvent *arg1 = (wxEvent *) 0 ;
12369 long result;
12370 PyObject * obj0 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 resultobj = SWIG_FromLong((long)result);
12386 return resultobj;
12387 fail:
12388 return NULL;
12389}
12390
12391
12392static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxEvent *arg1 = (wxEvent *) 0 ;
12395 long arg2 = (long) 0 ;
12396 PyObject * obj0 = 0 ;
12397 PyObject * obj1 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "ts", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
12403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12405 if (obj1) {
12406 arg2 = (long) SWIG_AsLong(obj1);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 (arg1)->SetTimestamp(arg2);
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 Py_INCREF(Py_None); resultobj = Py_None;
12417 return resultobj;
12418 fail:
12419 return NULL;
12420}
12421
12422
12423static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj;
12425 wxEvent *arg1 = (wxEvent *) 0 ;
12426 int result;
12427 PyObject * obj0 = 0 ;
12428 char *kwnames[] = {
12429 (char *) "self", NULL
12430 };
12431
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
12433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (int)((wxEvent const *)arg1)->GetId();
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 resultobj = SWIG_FromInt((int)result);
12443 return resultobj;
12444 fail:
12445 return NULL;
12446}
12447
12448
12449static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12450 PyObject *resultobj;
12451 wxEvent *arg1 = (wxEvent *) 0 ;
12452 int arg2 ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 char *kwnames[] = {
12456 (char *) "self",(char *) "Id", NULL
12457 };
12458
12459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
12460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12462 arg2 = (int) SWIG_AsInt(obj1);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 (arg1)->SetId(arg2);
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 Py_INCREF(Py_None); resultobj = Py_None;
12472 return resultobj;
12473 fail:
12474 return NULL;
12475}
12476
12477
12478static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12479 PyObject *resultobj;
12480 wxEvent *arg1 = (wxEvent *) 0 ;
12481 bool result;
12482 PyObject * obj0 = 0 ;
12483 char *kwnames[] = {
12484 (char *) "self", NULL
12485 };
12486
12487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
12488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12493
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 {
12498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12499 }
12500 return resultobj;
12501 fail:
12502 return NULL;
12503}
12504
12505
12506static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxEvent *arg1 = (wxEvent *) 0 ;
12509 bool arg2 = (bool) True ;
12510 PyObject * obj0 = 0 ;
12511 PyObject * obj1 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self",(char *) "skip", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
12517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12519 if (obj1) {
12520 arg2 = (bool) SWIG_AsBool(obj1);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 (arg1)->Skip(arg2);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 Py_INCREF(Py_None); resultobj = Py_None;
12531 return resultobj;
12532 fail:
12533 return NULL;
12534}
12535
12536
12537static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxEvent *arg1 = (wxEvent *) 0 ;
12540 bool result;
12541 PyObject * obj0 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12549 {
12550 PyThreadState* __tstate = wxPyBeginAllowThreads();
12551 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12552
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
12556 {
12557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12558 }
12559 return resultobj;
12560 fail:
12561 return NULL;
12562}
12563
12564
12565static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxEvent *arg1 = (wxEvent *) 0 ;
12568 bool result;
12569 PyObject * obj0 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
12575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 {
12585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12586 }
12587 return resultobj;
12588 fail:
12589 return NULL;
12590}
12591
12592
12593static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxEvent *arg1 = (wxEvent *) 0 ;
12596 int result;
12597 PyObject * obj0 = 0 ;
12598 char *kwnames[] = {
12599 (char *) "self", NULL
12600 };
12601
12602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
12603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 result = (int)(arg1)->StopPropagation();
12608
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 resultobj = SWIG_FromInt((int)result);
12613 return resultobj;
12614 fail:
12615 return NULL;
12616}
12617
12618
12619static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj;
12621 wxEvent *arg1 = (wxEvent *) 0 ;
12622 int arg2 ;
12623 PyObject * obj0 = 0 ;
12624 PyObject * obj1 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self",(char *) "propagationLevel", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12632 arg2 = (int) SWIG_AsInt(obj1);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 (arg1)->ResumePropagation(arg2);
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 Py_INCREF(Py_None); resultobj = Py_None;
12642 return resultobj;
12643 fail:
12644 return NULL;
12645}
12646
12647
12648static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12649 PyObject *resultobj;
12650 wxEvent *arg1 = (wxEvent *) 0 ;
12651 wxEvent *result;
12652 PyObject * obj0 = 0 ;
12653 char *kwnames[] = {
12654 (char *) "self", NULL
12655 };
12656
12657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
12658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12660 {
12661 PyThreadState* __tstate = wxPyBeginAllowThreads();
12662 result = (wxEvent *)(arg1)->Clone();
12663
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
12668 return resultobj;
12669 fail:
12670 return NULL;
12671}
12672
12673
12674static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12675 PyObject *obj;
12676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12677 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12678 Py_INCREF(obj);
12679 return Py_BuildValue((char *)"");
12680}
12681static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxEvent *arg1 = 0 ;
12684 wxPropagationDisabler *result;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "event", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12692 SWIG_POINTER_EXCEPTION | 0)) == -1)
12693 SWIG_fail;
12694 if (arg1 == NULL) {
12695 PyErr_SetString(PyExc_TypeError,"null reference");
12696 SWIG_fail;
12697 }
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
12706 return resultobj;
12707 fail:
12708 return NULL;
12709}
12710
12711
12712static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12715 PyObject * obj0 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self", NULL
12718 };
12719
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
12721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 delete arg1;
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 Py_INCREF(Py_None); resultobj = Py_None;
12731 return resultobj;
12732 fail:
12733 return NULL;
12734}
12735
12736
12737static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12738 PyObject *obj;
12739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12740 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12741 Py_INCREF(obj);
12742 return Py_BuildValue((char *)"");
12743}
12744static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12745 PyObject *resultobj;
12746 wxEvent *arg1 = 0 ;
12747 wxPropagateOnce *result;
12748 PyObject * obj0 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "event", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
12754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12755 SWIG_POINTER_EXCEPTION | 0)) == -1)
12756 SWIG_fail;
12757 if (arg1 == NULL) {
12758 PyErr_SetString(PyExc_TypeError,"null reference");
12759 SWIG_fail;
12760 }
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
12769 return resultobj;
12770 fail:
12771 return NULL;
12772}
12773
12774
12775static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12778 PyObject * obj0 = 0 ;
12779 char *kwnames[] = {
12780 (char *) "self", NULL
12781 };
12782
12783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
12784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 delete arg1;
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 Py_INCREF(Py_None); resultobj = Py_None;
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
12800static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12801 PyObject *obj;
12802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12804 Py_INCREF(obj);
12805 return Py_BuildValue((char *)"");
12806}
12807static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12810 int arg2 = (int) 0 ;
12811 wxCommandEvent *result;
12812 PyObject * obj0 = 0 ;
12813 PyObject * obj1 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "commandType",(char *) "winid", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12819 if (obj0) {
12820 arg1 = (wxEventType) SWIG_AsInt(obj0);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 if (obj1) {
12824 arg2 = (int) SWIG_AsInt(obj1);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
12835 return resultobj;
12836 fail:
12837 return NULL;
12838}
12839
12840
12841static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12844 int result;
12845 PyObject * obj0 = 0 ;
12846 char *kwnames[] = {
12847 (char *) "self", NULL
12848 };
12849
12850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
12851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 resultobj = SWIG_FromInt((int)result);
12861 return resultobj;
12862 fail:
12863 return NULL;
12864}
12865
12866
12867static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12870 wxString *arg2 = 0 ;
12871 bool temp2 = False ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 char *kwnames[] = {
12875 (char *) "self",(char *) "s", NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
12879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12881 {
12882 arg2 = wxString_in_helper(obj1);
12883 if (arg2 == NULL) SWIG_fail;
12884 temp2 = True;
12885 }
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 (arg1)->SetString((wxString const &)*arg2);
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 Py_INCREF(Py_None); resultobj = Py_None;
12894 {
12895 if (temp2)
12896 delete arg2;
12897 }
12898 return resultobj;
12899 fail:
12900 {
12901 if (temp2)
12902 delete arg2;
12903 }
12904 return NULL;
12905}
12906
12907
12908static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj;
12910 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12911 wxString result;
12912 PyObject * obj0 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
12918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 result = ((wxCommandEvent const *)arg1)->GetString();
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 {
12928#if wxUSE_UNICODE
12929 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12930#else
12931 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12932#endif
12933 }
12934 return resultobj;
12935 fail:
12936 return NULL;
12937}
12938
12939
12940static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12943 bool result;
12944 PyObject * obj0 = 0 ;
12945 char *kwnames[] = {
12946 (char *) "self", NULL
12947 };
12948
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
12950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 {
12960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12961 }
12962 return resultobj;
12963 fail:
12964 return NULL;
12965}
12966
12967
12968static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj;
12970 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12971 bool result;
12972 PyObject * obj0 = 0 ;
12973 char *kwnames[] = {
12974 (char *) "self", NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
12978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12980 {
12981 PyThreadState* __tstate = wxPyBeginAllowThreads();
12982 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 {
12988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12989 }
12990 return resultobj;
12991 fail:
12992 return NULL;
12993}
12994
12995
12996static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj;
12998 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12999 long arg2 ;
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self",(char *) "extraLong", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
13007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13009 arg2 = (long) SWIG_AsLong(obj1);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 (arg1)->SetExtraLong(arg2);
13014
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 Py_INCREF(Py_None); resultobj = Py_None;
13019 return resultobj;
13020 fail:
13021 return NULL;
13022}
13023
13024
13025static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13028 long result;
13029 PyObject * obj0 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = SWIG_FromLong((long)result);
13045 return resultobj;
13046 fail:
13047 return NULL;
13048}
13049
13050
13051static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj;
13053 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13054 int arg2 ;
13055 PyObject * obj0 = 0 ;
13056 PyObject * obj1 = 0 ;
13057 char *kwnames[] = {
13058 (char *) "self",(char *) "i", NULL
13059 };
13060
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
13062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13064 arg2 = (int) SWIG_AsInt(obj1);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 (arg1)->SetInt(arg2);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 Py_INCREF(Py_None); resultobj = Py_None;
13074 return resultobj;
13075 fail:
13076 return NULL;
13077}
13078
13079
13080static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13083 long result;
13084 PyObject * obj0 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
13090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 resultobj = SWIG_FromLong((long)result);
13100 return resultobj;
13101 fail:
13102 return NULL;
13103}
13104
13105
13106static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj;
13108 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13109 wxEvent *result;
13110 PyObject * obj0 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
13126 return resultobj;
13127 fail:
13128 return NULL;
13129}
13130
13131
13132static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
13133 PyObject *obj;
13134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13135 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13136 Py_INCREF(obj);
13137 return Py_BuildValue((char *)"");
13138}
13139static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj;
13141 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13142 int arg2 = (int) 0 ;
13143 wxNotifyEvent *result;
13144 PyObject * obj0 = 0 ;
13145 PyObject * obj1 = 0 ;
13146 char *kwnames[] = {
13147 (char *) "commandType",(char *) "winid", NULL
13148 };
13149
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13151 if (obj0) {
13152 arg1 = (wxEventType) SWIG_AsInt(obj0);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 if (obj1) {
13156 arg2 = (int) SWIG_AsInt(obj1);
13157 if (PyErr_Occurred()) SWIG_fail;
13158 }
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13162
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
13167 return resultobj;
13168 fail:
13169 return NULL;
13170}
13171
13172
13173static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13176 PyObject * obj0 = 0 ;
13177 char *kwnames[] = {
13178 (char *) "self", NULL
13179 };
13180
13181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
13182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13184 {
13185 PyThreadState* __tstate = wxPyBeginAllowThreads();
13186 (arg1)->Veto();
13187
13188 wxPyEndAllowThreads(__tstate);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 }
13191 Py_INCREF(Py_None); resultobj = Py_None;
13192 return resultobj;
13193 fail:
13194 return NULL;
13195}
13196
13197
13198static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13199 PyObject *resultobj;
13200 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13201 PyObject * obj0 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 (arg1)->Allow();
13212
13213 wxPyEndAllowThreads(__tstate);
13214 if (PyErr_Occurred()) SWIG_fail;
13215 }
13216 Py_INCREF(Py_None); resultobj = Py_None;
13217 return resultobj;
13218 fail:
13219 return NULL;
13220}
13221
13222
13223static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13226 bool result;
13227 PyObject * obj0 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
13233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (bool)(arg1)->IsAllowed();
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 {
13243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13244 }
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
13251static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13252 PyObject *obj;
13253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13254 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13255 Py_INCREF(obj);
13256 return Py_BuildValue((char *)"");
13257}
13258static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj;
13260 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13261 int arg2 = (int) 0 ;
13262 int arg3 = (int) 0 ;
13263 int arg4 = (int) 0 ;
13264 wxScrollEvent *result;
13265 PyObject * obj0 = 0 ;
13266 PyObject * obj1 = 0 ;
13267 PyObject * obj2 = 0 ;
13268 PyObject * obj3 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13274 if (obj0) {
13275 arg1 = (wxEventType) SWIG_AsInt(obj0);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 if (obj1) {
13279 arg2 = (int) SWIG_AsInt(obj1);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 if (obj2) {
13283 arg3 = (int) SWIG_AsInt(obj2);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 if (obj3) {
13287 arg4 = (int) SWIG_AsInt(obj3);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
13298 return resultobj;
13299 fail:
13300 return NULL;
13301}
13302
13303
13304static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13305 PyObject *resultobj;
13306 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13307 int result;
13308 PyObject * obj0 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 resultobj = SWIG_FromInt((int)result);
13324 return resultobj;
13325 fail:
13326 return NULL;
13327}
13328
13329
13330static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13333 int result;
13334 PyObject * obj0 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 resultobj = SWIG_FromInt((int)result);
13350 return resultobj;
13351 fail:
13352 return NULL;
13353}
13354
13355
13356static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13357 PyObject *resultobj;
13358 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13359 int arg2 ;
13360 PyObject * obj0 = 0 ;
13361 PyObject * obj1 = 0 ;
13362 char *kwnames[] = {
13363 (char *) "self",(char *) "orient", NULL
13364 };
13365
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13369 arg2 = (int) SWIG_AsInt(obj1);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 (arg1)->SetOrientation(arg2);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 Py_INCREF(Py_None); resultobj = Py_None;
13379 return resultobj;
13380 fail:
13381 return NULL;
13382}
13383
13384
13385static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13388 int arg2 ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "pos", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13398 arg2 = (int) SWIG_AsInt(obj1);
13399 if (PyErr_Occurred()) SWIG_fail;
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 (arg1)->SetPosition(arg2);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 Py_INCREF(Py_None); resultobj = Py_None;
13408 return resultobj;
13409 fail:
13410 return NULL;
13411}
13412
13413
13414static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13415 PyObject *obj;
13416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13417 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13418 Py_INCREF(obj);
13419 return Py_BuildValue((char *)"");
13420}
13421static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj;
13423 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13424 int arg2 = (int) 0 ;
13425 int arg3 = (int) 0 ;
13426 wxScrollWinEvent *result;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 PyObject * obj2 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13435 if (obj0) {
13436 arg1 = (wxEventType) SWIG_AsInt(obj0);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 if (obj1) {
13440 arg2 = (int) SWIG_AsInt(obj1);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 if (obj2) {
13444 arg3 = (int) SWIG_AsInt(obj2);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
13455 return resultobj;
13456 fail:
13457 return NULL;
13458}
13459
13460
13461static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13464 int result;
13465 PyObject * obj0 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
13471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 resultobj = SWIG_FromInt((int)result);
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13490 int result;
13491 PyObject * obj0 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
13497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_FromInt((int)result);
13507 return resultobj;
13508 fail:
13509 return NULL;
13510}
13511
13512
13513static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13516 int arg2 ;
13517 PyObject * obj0 = 0 ;
13518 PyObject * obj1 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self",(char *) "orient", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13526 arg2 = (int) SWIG_AsInt(obj1);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 {
13529 PyThreadState* __tstate = wxPyBeginAllowThreads();
13530 (arg1)->SetOrientation(arg2);
13531
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 Py_INCREF(Py_None); resultobj = Py_None;
13536 return resultobj;
13537 fail:
13538 return NULL;
13539}
13540
13541
13542static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj;
13544 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13545 int arg2 ;
13546 PyObject * obj0 = 0 ;
13547 PyObject * obj1 = 0 ;
13548 char *kwnames[] = {
13549 (char *) "self",(char *) "pos", NULL
13550 };
13551
13552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13555 arg2 = (int) SWIG_AsInt(obj1);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 (arg1)->SetPosition(arg2);
13560
13561 wxPyEndAllowThreads(__tstate);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 Py_INCREF(Py_None); resultobj = Py_None;
13565 return resultobj;
13566 fail:
13567 return NULL;
13568}
13569
13570
13571static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13572 PyObject *obj;
13573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13574 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13575 Py_INCREF(obj);
13576 return Py_BuildValue((char *)"");
13577}
13578static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13579 PyObject *resultobj;
13580 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13581 wxMouseEvent *result;
13582 PyObject * obj0 = 0 ;
13583 char *kwnames[] = {
13584 (char *) "mouseType", NULL
13585 };
13586
13587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13588 if (obj0) {
13589 arg1 = (wxEventType) SWIG_AsInt(obj0);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 {
13593 PyThreadState* __tstate = wxPyBeginAllowThreads();
13594 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13595
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 {
13600 resultobj = wxPyMake_wxObject(result);
13601 }
13602 return resultobj;
13603 fail:
13604 return NULL;
13605}
13606
13607
13608static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13609 PyObject *resultobj;
13610 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13611 bool result;
13612 PyObject * obj0 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
13618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 {
13628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13629 }
13630 return resultobj;
13631 fail:
13632 return NULL;
13633}
13634
13635
13636static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13637 PyObject *resultobj;
13638 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13639 int arg2 = (int) wxMOUSE_BTN_ANY ;
13640 bool result;
13641 PyObject * obj0 = 0 ;
13642 PyObject * obj1 = 0 ;
13643 char *kwnames[] = {
13644 (char *) "self",(char *) "but", NULL
13645 };
13646
13647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
13648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13650 if (obj1) {
13651 arg2 = (int) SWIG_AsInt(obj1);
13652 if (PyErr_Occurred()) SWIG_fail;
13653 }
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13657
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 {
13662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13663 }
13664 return resultobj;
13665 fail:
13666 return NULL;
13667}
13668
13669
13670static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13671 PyObject *resultobj;
13672 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13673 int arg2 = (int) wxMOUSE_BTN_ANY ;
13674 bool result;
13675 PyObject * obj0 = 0 ;
13676 PyObject * obj1 = 0 ;
13677 char *kwnames[] = {
13678 (char *) "self",(char *) "but", NULL
13679 };
13680
13681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
13682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13684 if (obj1) {
13685 arg2 = (int) SWIG_AsInt(obj1);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 {
13696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13697 }
13698 return resultobj;
13699 fail:
13700 return NULL;
13701}
13702
13703
13704static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj;
13706 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13707 int arg2 = (int) wxMOUSE_BTN_ANY ;
13708 bool result;
13709 PyObject * obj0 = 0 ;
13710 PyObject * obj1 = 0 ;
13711 char *kwnames[] = {
13712 (char *) "self",(char *) "but", NULL
13713 };
13714
13715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
13716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13718 if (obj1) {
13719 arg2 = (int) SWIG_AsInt(obj1);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 {
13730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13731 }
13732 return resultobj;
13733 fail:
13734 return NULL;
13735}
13736
13737
13738static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13739 PyObject *resultobj;
13740 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13741 int arg2 ;
13742 bool result;
13743 PyObject * obj0 = 0 ;
13744 PyObject * obj1 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "but", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
13750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13752 arg2 = (int) SWIG_AsInt(obj1);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 {
13762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13763 }
13764 return resultobj;
13765 fail:
13766 return NULL;
13767}
13768
13769
13770static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13771 PyObject *resultobj;
13772 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13773 int arg2 ;
13774 bool result;
13775 PyObject * obj0 = 0 ;
13776 PyObject * obj1 = 0 ;
13777 char *kwnames[] = {
13778 (char *) "self",(char *) "but", NULL
13779 };
13780
13781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
13782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13784 arg2 = (int) SWIG_AsInt(obj1);
13785 if (PyErr_Occurred()) SWIG_fail;
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
13793 {
13794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13795 }
13796 return resultobj;
13797 fail:
13798 return NULL;
13799}
13800
13801
13802static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13803 PyObject *resultobj;
13804 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13805 int result;
13806 PyObject * obj0 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 resultobj = SWIG_FromInt((int)result);
13822 return resultobj;
13823 fail:
13824 return NULL;
13825}
13826
13827
13828static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13831 bool result;
13832 PyObject * obj0 = 0 ;
13833 char *kwnames[] = {
13834 (char *) "self", NULL
13835 };
13836
13837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
13838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 {
13848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13849 }
13850 return resultobj;
13851 fail:
13852 return NULL;
13853}
13854
13855
13856static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13857 PyObject *resultobj;
13858 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13859 bool result;
13860 PyObject * obj0 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
13866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 {
13876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13877 }
13878 return resultobj;
13879 fail:
13880 return NULL;
13881}
13882
13883
13884static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13885 PyObject *resultobj;
13886 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13887 bool result;
13888 PyObject * obj0 = 0 ;
13889 char *kwnames[] = {
13890 (char *) "self", NULL
13891 };
13892
13893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
13894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 {
13904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13905 }
13906 return resultobj;
13907 fail:
13908 return NULL;
13909}
13910
13911
13912static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj;
13914 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13915 bool result;
13916 PyObject * obj0 = 0 ;
13917 char *kwnames[] = {
13918 (char *) "self", NULL
13919 };
13920
13921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
13922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13927
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 {
13932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13933 }
13934 return resultobj;
13935 fail:
13936 return NULL;
13937}
13938
13939
13940static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13941 PyObject *resultobj;
13942 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13943 bool result;
13944 PyObject * obj0 = 0 ;
13945 char *kwnames[] = {
13946 (char *) "self", NULL
13947 };
13948
13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
13950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
13954 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13955
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 {
13960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13961 }
13962 return resultobj;
13963 fail:
13964 return NULL;
13965}
13966
13967
13968static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13969 PyObject *resultobj;
13970 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13971 bool result;
13972 PyObject * obj0 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
13978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 {
13988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13989 }
13990 return resultobj;
13991 fail:
13992 return NULL;
13993}
13994
13995
13996static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13999 bool result;
14000 PyObject * obj0 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
14006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 {
14016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14017 }
14018 return resultobj;
14019 fail:
14020 return NULL;
14021}
14022
14023
14024static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14027 bool result;
14028 PyObject * obj0 = 0 ;
14029 char *kwnames[] = {
14030 (char *) "self", NULL
14031 };
14032
14033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
14034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 {
14044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14045 }
14046 return resultobj;
14047 fail:
14048 return NULL;
14049}
14050
14051
14052static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14053 PyObject *resultobj;
14054 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14055 bool result;
14056 PyObject * obj0 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
14062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14073 }
14074 return resultobj;
14075 fail:
14076 return NULL;
14077}
14078
14079
14080static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14083 bool result;
14084 PyObject * obj0 = 0 ;
14085 char *kwnames[] = {
14086 (char *) "self", NULL
14087 };
14088
14089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
14090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 {
14100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14101 }
14102 return resultobj;
14103 fail:
14104 return NULL;
14105}
14106
14107
14108static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14109 PyObject *resultobj;
14110 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14111 bool result;
14112 PyObject * obj0 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "self", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
14118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 {
14128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14129 }
14130 return resultobj;
14131 fail:
14132 return NULL;
14133}
14134
14135
14136static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14139 bool result;
14140 PyObject * obj0 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "self", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
14146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 {
14156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14157 }
14158 return resultobj;
14159 fail:
14160 return NULL;
14161}
14162
14163
14164static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj;
14166 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14167 bool result;
14168 PyObject * obj0 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "self", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
14174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 {
14184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14185 }
14186 return resultobj;
14187 fail:
14188 return NULL;
14189}
14190
14191
14192static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14193 PyObject *resultobj;
14194 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14195 bool result;
14196 PyObject * obj0 = 0 ;
14197 char *kwnames[] = {
14198 (char *) "self", NULL
14199 };
14200
14201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
14202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (bool)(arg1)->LeftIsDown();
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 {
14212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14213 }
14214 return resultobj;
14215 fail:
14216 return NULL;
14217}
14218
14219
14220static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj;
14222 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14223 bool result;
14224 PyObject * obj0 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
14230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = (bool)(arg1)->MiddleIsDown();
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 {
14240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14241 }
14242 return resultobj;
14243 fail:
14244 return NULL;
14245}
14246
14247
14248static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14249 PyObject *resultobj;
14250 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14251 bool result;
14252 PyObject * obj0 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "self", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14260 {
14261 PyThreadState* __tstate = wxPyBeginAllowThreads();
14262 result = (bool)(arg1)->RightIsDown();
14263
14264 wxPyEndAllowThreads(__tstate);
14265 if (PyErr_Occurred()) SWIG_fail;
14266 }
14267 {
14268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14269 }
14270 return resultobj;
14271 fail:
14272 return NULL;
14273}
14274
14275
14276static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14277 PyObject *resultobj;
14278 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14279 bool result;
14280 PyObject * obj0 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
14286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 {
14296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14297 }
14298 return resultobj;
14299 fail:
14300 return NULL;
14301}
14302
14303
14304static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14307 bool result;
14308 PyObject * obj0 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14316 {
14317 PyThreadState* __tstate = wxPyBeginAllowThreads();
14318 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14319
14320 wxPyEndAllowThreads(__tstate);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 {
14324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14325 }
14326 return resultobj;
14327 fail:
14328 return NULL;
14329}
14330
14331
14332static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14333 PyObject *resultobj;
14334 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14335 bool result;
14336 PyObject * obj0 = 0 ;
14337 char *kwnames[] = {
14338 (char *) "self", NULL
14339 };
14340
14341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
14342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14347
14348 wxPyEndAllowThreads(__tstate);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 {
14352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14353 }
14354 return resultobj;
14355 fail:
14356 return NULL;
14357}
14358
14359
14360static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14361 PyObject *resultobj;
14362 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14363 bool result;
14364 PyObject * obj0 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "self", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
14370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 {
14380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14381 }
14382 return resultobj;
14383 fail:
14384 return NULL;
14385}
14386
14387
14388static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14389 PyObject *resultobj;
14390 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14391 wxPoint result;
14392 PyObject * obj0 = 0 ;
14393 char *kwnames[] = {
14394 (char *) "self", NULL
14395 };
14396
14397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
14398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14400 {
14401 PyThreadState* __tstate = wxPyBeginAllowThreads();
14402 result = (arg1)->GetPosition();
14403
14404 wxPyEndAllowThreads(__tstate);
14405 if (PyErr_Occurred()) SWIG_fail;
14406 }
14407 {
14408 wxPoint * resultptr;
14409 resultptr = new wxPoint((wxPoint &) result);
14410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14411 }
14412 return resultobj;
14413 fail:
14414 return NULL;
14415}
14416
14417
14418static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14421 long *arg2 = (long *) 0 ;
14422 long *arg3 = (long *) 0 ;
14423 long temp2 ;
14424 long temp3 ;
14425 PyObject * obj0 = 0 ;
14426 char *kwnames[] = {
14427 (char *) "self", NULL
14428 };
14429
14430 arg2 = &temp2;
14431 arg3 = &temp3;
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
14433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 (arg1)->GetPosition(arg2,arg3);
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 Py_INCREF(Py_None); resultobj = Py_None;
14443 {
14444 PyObject *o = PyInt_FromLong((long) (*arg2));
14445 resultobj = t_output_helper(resultobj,o);
14446 }
14447 {
14448 PyObject *o = PyInt_FromLong((long) (*arg3));
14449 resultobj = t_output_helper(resultobj,o);
14450 }
14451 return resultobj;
14452 fail:
14453 return NULL;
14454}
14455
14456
14457static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14460 wxDC *arg2 = 0 ;
14461 wxPoint result;
14462 PyObject * obj0 = 0 ;
14463 PyObject * obj1 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self",(char *) "dc", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14472 SWIG_POINTER_EXCEPTION | 0)) == -1)
14473 SWIG_fail;
14474 if (arg2 == NULL) {
14475 PyErr_SetString(PyExc_TypeError,"null reference");
14476 SWIG_fail;
14477 }
14478 {
14479 PyThreadState* __tstate = wxPyBeginAllowThreads();
14480 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14481
14482 wxPyEndAllowThreads(__tstate);
14483 if (PyErr_Occurred()) SWIG_fail;
14484 }
14485 {
14486 wxPoint * resultptr;
14487 resultptr = new wxPoint((wxPoint &) result);
14488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14489 }
14490 return resultobj;
14491 fail:
14492 return NULL;
14493}
14494
14495
14496static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14497 PyObject *resultobj;
14498 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14499 int result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
14506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (int)((wxMouseEvent const *)arg1)->GetX();
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = SWIG_FromInt((int)result);
14516 return resultobj;
14517 fail:
14518 return NULL;
14519}
14520
14521
14522static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14525 int result;
14526 PyObject * obj0 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "self", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
14532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (int)((wxMouseEvent const *)arg1)->GetY();
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = SWIG_FromInt((int)result);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545}
14546
14547
14548static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14551 int result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
14558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 resultobj = SWIG_FromInt((int)result);
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
14574static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14577 int result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 resultobj = SWIG_FromInt((int)result);
14594 return resultobj;
14595 fail:
14596 return NULL;
14597}
14598
14599
14600static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14603 int result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 resultobj = SWIG_FromInt((int)result);
14620 return resultobj;
14621 fail:
14622 return NULL;
14623}
14624
14625
14626static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14629 bool result;
14630 PyObject * obj0 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "self", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
14636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 {
14646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14647 }
14648 return resultobj;
14649 fail:
14650 return NULL;
14651}
14652
14653
14654static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14657 int arg2 ;
14658 PyObject * obj0 = 0 ;
14659 PyObject * obj1 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "self",(char *) "m_x", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
14665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14667 arg2 = (int) SWIG_AsInt(obj1);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 if (arg1) (arg1)->m_x = arg2;
14670
14671 Py_INCREF(Py_None); resultobj = Py_None;
14672 return resultobj;
14673 fail:
14674 return NULL;
14675}
14676
14677
14678static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj;
14680 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14681 int result;
14682 PyObject * obj0 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14690 result = (int) ((arg1)->m_x);
14691
14692 resultobj = SWIG_FromInt((int)result);
14693 return resultobj;
14694 fail:
14695 return NULL;
14696}
14697
14698
14699static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14702 int arg2 ;
14703 PyObject * obj0 = 0 ;
14704 PyObject * obj1 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self",(char *) "m_y", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
14710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14712 arg2 = (int) SWIG_AsInt(obj1);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 if (arg1) (arg1)->m_y = arg2;
14715
14716 Py_INCREF(Py_None); resultobj = Py_None;
14717 return resultobj;
14718 fail:
14719 return NULL;
14720}
14721
14722
14723static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14726 int result;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
14733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14735 result = (int) ((arg1)->m_y);
14736
14737 resultobj = SWIG_FromInt((int)result);
14738 return resultobj;
14739 fail:
14740 return NULL;
14741}
14742
14743
14744static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj;
14746 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14747 bool arg2 ;
14748 PyObject * obj0 = 0 ;
14749 PyObject * obj1 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "self",(char *) "m_leftDown", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
14755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14757 arg2 = (bool) SWIG_AsBool(obj1);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 if (arg1) (arg1)->m_leftDown = arg2;
14760
14761 Py_INCREF(Py_None); resultobj = Py_None;
14762 return resultobj;
14763 fail:
14764 return NULL;
14765}
14766
14767
14768static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj;
14770 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14771 bool result;
14772 PyObject * obj0 = 0 ;
14773 char *kwnames[] = {
14774 (char *) "self", NULL
14775 };
14776
14777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
14778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14780 result = (bool) ((arg1)->m_leftDown);
14781
14782 {
14783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14784 }
14785 return resultobj;
14786 fail:
14787 return NULL;
14788}
14789
14790
14791static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14794 bool arg2 ;
14795 PyObject * obj0 = 0 ;
14796 PyObject * obj1 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self",(char *) "m_middleDown", NULL
14799 };
14800
14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
14802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14804 arg2 = (bool) SWIG_AsBool(obj1);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 if (arg1) (arg1)->m_middleDown = arg2;
14807
14808 Py_INCREF(Py_None); resultobj = Py_None;
14809 return resultobj;
14810 fail:
14811 return NULL;
14812}
14813
14814
14815static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14816 PyObject *resultobj;
14817 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14818 bool result;
14819 PyObject * obj0 = 0 ;
14820 char *kwnames[] = {
14821 (char *) "self", NULL
14822 };
14823
14824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
14825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14827 result = (bool) ((arg1)->m_middleDown);
14828
14829 {
14830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14831 }
14832 return resultobj;
14833 fail:
14834 return NULL;
14835}
14836
14837
14838static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14841 bool arg2 ;
14842 PyObject * obj0 = 0 ;
14843 PyObject * obj1 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self",(char *) "m_rightDown", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
14849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14851 arg2 = (bool) SWIG_AsBool(obj1);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 if (arg1) (arg1)->m_rightDown = arg2;
14854
14855 Py_INCREF(Py_None); resultobj = Py_None;
14856 return resultobj;
14857 fail:
14858 return NULL;
14859}
14860
14861
14862static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj;
14864 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14865 bool result;
14866 PyObject * obj0 = 0 ;
14867 char *kwnames[] = {
14868 (char *) "self", NULL
14869 };
14870
14871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
14872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14874 result = (bool) ((arg1)->m_rightDown);
14875
14876 {
14877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14878 }
14879 return resultobj;
14880 fail:
14881 return NULL;
14882}
14883
14884
14885static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14886 PyObject *resultobj;
14887 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14888 bool arg2 ;
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 char *kwnames[] = {
14892 (char *) "self",(char *) "m_controlDown", NULL
14893 };
14894
14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14898 arg2 = (bool) SWIG_AsBool(obj1);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 if (arg1) (arg1)->m_controlDown = arg2;
14901
14902 Py_INCREF(Py_None); resultobj = Py_None;
14903 return resultobj;
14904 fail:
14905 return NULL;
14906}
14907
14908
14909static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14912 bool result;
14913 PyObject * obj0 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
14919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14921 result = (bool) ((arg1)->m_controlDown);
14922
14923 {
14924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14925 }
14926 return resultobj;
14927 fail:
14928 return NULL;
14929}
14930
14931
14932static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14935 bool arg2 ;
14936 PyObject * obj0 = 0 ;
14937 PyObject * obj1 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self",(char *) "m_shiftDown", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14945 arg2 = (bool) SWIG_AsBool(obj1);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 if (arg1) (arg1)->m_shiftDown = arg2;
14948
14949 Py_INCREF(Py_None); resultobj = Py_None;
14950 return resultobj;
14951 fail:
14952 return NULL;
14953}
14954
14955
14956static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14959 bool result;
14960 PyObject * obj0 = 0 ;
14961 char *kwnames[] = {
14962 (char *) "self", NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
14966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14968 result = (bool) ((arg1)->m_shiftDown);
14969
14970 {
14971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14972 }
14973 return resultobj;
14974 fail:
14975 return NULL;
14976}
14977
14978
14979static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14980 PyObject *resultobj;
14981 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14982 bool arg2 ;
14983 PyObject * obj0 = 0 ;
14984 PyObject * obj1 = 0 ;
14985 char *kwnames[] = {
14986 (char *) "self",(char *) "m_altDown", NULL
14987 };
14988
14989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
14990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14992 arg2 = (bool) SWIG_AsBool(obj1);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 if (arg1) (arg1)->m_altDown = arg2;
14995
14996 Py_INCREF(Py_None); resultobj = Py_None;
14997 return resultobj;
14998 fail:
14999 return NULL;
15000}
15001
15002
15003static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15004 PyObject *resultobj;
15005 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15006 bool result;
15007 PyObject * obj0 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15015 result = (bool) ((arg1)->m_altDown);
15016
15017 {
15018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15019 }
15020 return resultobj;
15021 fail:
15022 return NULL;
15023}
15024
15025
15026static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15027 PyObject *resultobj;
15028 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15029 bool arg2 ;
15030 PyObject * obj0 = 0 ;
15031 PyObject * obj1 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self",(char *) "m_metaDown", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15039 arg2 = (bool) SWIG_AsBool(obj1);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 if (arg1) (arg1)->m_metaDown = arg2;
15042
15043 Py_INCREF(Py_None); resultobj = Py_None;
15044 return resultobj;
15045 fail:
15046 return NULL;
15047}
15048
15049
15050static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15053 bool result;
15054 PyObject * obj0 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "self", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15062 result = (bool) ((arg1)->m_metaDown);
15063
15064 {
15065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15066 }
15067 return resultobj;
15068 fail:
15069 return NULL;
15070}
15071
15072
15073static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15076 int arg2 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self",(char *) "m_wheelRotation", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15086 arg2 = (int) SWIG_AsInt(obj1);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 if (arg1) (arg1)->m_wheelRotation = arg2;
15089
15090 Py_INCREF(Py_None); resultobj = Py_None;
15091 return resultobj;
15092 fail:
15093 return NULL;
15094}
15095
15096
15097static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj;
15099 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15100 int result;
15101 PyObject * obj0 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15109 result = (int) ((arg1)->m_wheelRotation);
15110
15111 resultobj = SWIG_FromInt((int)result);
15112 return resultobj;
15113 fail:
15114 return NULL;
15115}
15116
15117
15118static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15121 int arg2 ;
15122 PyObject * obj0 = 0 ;
15123 PyObject * obj1 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self",(char *) "m_wheelDelta", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15131 arg2 = (int) SWIG_AsInt(obj1);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 if (arg1) (arg1)->m_wheelDelta = arg2;
15134
15135 Py_INCREF(Py_None); resultobj = Py_None;
15136 return resultobj;
15137 fail:
15138 return NULL;
15139}
15140
15141
15142static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15145 int result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15154 result = (int) ((arg1)->m_wheelDelta);
15155
15156 resultobj = SWIG_FromInt((int)result);
15157 return resultobj;
15158 fail:
15159 return NULL;
15160}
15161
15162
15163static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15166 int arg2 ;
15167 PyObject * obj0 = 0 ;
15168 PyObject * obj1 = 0 ;
15169 char *kwnames[] = {
15170 (char *) "self",(char *) "m_linesPerAction", NULL
15171 };
15172
15173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15176 arg2 = (int) SWIG_AsInt(obj1);
15177 if (PyErr_Occurred()) SWIG_fail;
15178 if (arg1) (arg1)->m_linesPerAction = arg2;
15179
15180 Py_INCREF(Py_None); resultobj = Py_None;
15181 return resultobj;
15182 fail:
15183 return NULL;
15184}
15185
15186
15187static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15188 PyObject *resultobj;
15189 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15190 int result;
15191 PyObject * obj0 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "self", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15199 result = (int) ((arg1)->m_linesPerAction);
15200
15201 resultobj = SWIG_FromInt((int)result);
15202 return resultobj;
15203 fail:
15204 return NULL;
15205}
15206
15207
15208static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15209 PyObject *obj;
15210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15211 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15212 Py_INCREF(obj);
15213 return Py_BuildValue((char *)"");
15214}
15215static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 int arg1 = (int) 0 ;
15218 int arg2 = (int) 0 ;
15219 wxSetCursorEvent *result;
15220 PyObject * obj0 = 0 ;
15221 PyObject * obj1 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "x",(char *) "y", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15227 if (obj0) {
15228 arg1 = (int) SWIG_AsInt(obj0);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 if (obj1) {
15232 arg2 = (int) SWIG_AsInt(obj1);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
15243 return resultobj;
15244 fail:
15245 return NULL;
15246}
15247
15248
15249static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15252 int result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_FromInt((int)result);
15269 return resultobj;
15270 fail:
15271 return NULL;
15272}
15273
15274
15275static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15278 int result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 resultobj = SWIG_FromInt((int)result);
15295 return resultobj;
15296 fail:
15297 return NULL;
15298}
15299
15300
15301static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15304 wxCursor *arg2 = 0 ;
15305 PyObject * obj0 = 0 ;
15306 PyObject * obj1 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self",(char *) "cursor", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15314 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15315 SWIG_POINTER_EXCEPTION | 0)) == -1)
15316 SWIG_fail;
15317 if (arg2 == NULL) {
15318 PyErr_SetString(PyExc_TypeError,"null reference");
15319 SWIG_fail;
15320 }
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 (arg1)->SetCursor((wxCursor const &)*arg2);
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 Py_INCREF(Py_None); resultobj = Py_None;
15329 return resultobj;
15330 fail:
15331 return NULL;
15332}
15333
15334
15335static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15336 PyObject *resultobj;
15337 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15338 wxCursor *result;
15339 PyObject * obj0 = 0 ;
15340 char *kwnames[] = {
15341 (char *) "self", NULL
15342 };
15343
15344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 {
15350 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15351 result = (wxCursor *) &_result_ref;
15352 }
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 {
15358 wxCursor* resultptr = new wxCursor(*result);
15359 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15360 }
15361 return resultobj;
15362 fail:
15363 return NULL;
15364}
15365
15366
15367static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15368 PyObject *resultobj;
15369 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15370 bool result;
15371 PyObject * obj0 = 0 ;
15372 char *kwnames[] = {
15373 (char *) "self", NULL
15374 };
15375
15376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15382
15383 wxPyEndAllowThreads(__tstate);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 {
15387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15388 }
15389 return resultobj;
15390 fail:
15391 return NULL;
15392}
15393
15394
15395static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15396 PyObject *obj;
15397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15398 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15399 Py_INCREF(obj);
15400 return Py_BuildValue((char *)"");
15401}
15402static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15403 PyObject *resultobj;
15404 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15405 wxKeyEvent *result;
15406 PyObject * obj0 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "keyType", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15412 if (obj0) {
15413 arg1 = (wxEventType) SWIG_AsInt(obj0);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
15424 return resultobj;
15425 fail:
15426 return NULL;
15427}
15428
15429
15430static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15433 bool result;
15434 PyObject * obj0 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15451 }
15452 return resultobj;
15453 fail:
15454 return NULL;
15455}
15456
15457
15458static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15461 bool result;
15462 PyObject * obj0 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 {
15478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15479 }
15480 return resultobj;
15481 fail:
15482 return NULL;
15483}
15484
15485
15486static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15487 PyObject *resultobj;
15488 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15489 bool result;
15490 PyObject * obj0 = 0 ;
15491 char *kwnames[] = {
15492 (char *) "self", NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15498 {
15499 PyThreadState* __tstate = wxPyBeginAllowThreads();
15500 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15501
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 {
15506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15507 }
15508 return resultobj;
15509 fail:
15510 return NULL;
15511}
15512
15513
15514static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15517 bool result;
15518 PyObject * obj0 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "self", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 {
15534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15535 }
15536 return resultobj;
15537 fail:
15538 return NULL;
15539}
15540
15541
15542static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15543 PyObject *resultobj;
15544 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15545 bool result;
15546 PyObject * obj0 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15554 {
15555 PyThreadState* __tstate = wxPyBeginAllowThreads();
15556 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15557
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 {
15562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15563 }
15564 return resultobj;
15565 fail:
15566 return NULL;
15567}
15568
15569
15570static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15573 int result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 resultobj = SWIG_FromInt((int)result);
15590 return resultobj;
15591 fail:
15592 return NULL;
15593}
15594
15595
15596static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15597 PyObject *resultobj;
15598 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15599 int result;
15600 PyObject * obj0 = 0 ;
15601 char *kwnames[] = {
15602 (char *) "self", NULL
15603 };
15604
15605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
15606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 result = (int)wxKeyEvent_GetUniChar(arg1);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 resultobj = SWIG_FromInt((int)result);
15616 return resultobj;
15617 fail:
15618 return NULL;
15619}
15620
15621
15622static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15625 unsigned int result;
15626 PyObject * obj0 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15642 return resultobj;
15643 fail:
15644 return NULL;
15645}
15646
15647
15648static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj;
15650 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15651 unsigned int result;
15652 PyObject * obj0 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
15663
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
15668 return resultobj;
15669 fail:
15670 return NULL;
15671}
15672
15673
15674static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15675 PyObject *resultobj;
15676 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15677 wxPoint result;
15678 PyObject * obj0 = 0 ;
15679 char *kwnames[] = {
15680 (char *) "self", NULL
15681 };
15682
15683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 result = (arg1)->GetPosition();
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 {
15694 wxPoint * resultptr;
15695 resultptr = new wxPoint((wxPoint &) result);
15696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
15697 }
15698 return resultobj;
15699 fail:
15700 return NULL;
15701}
15702
15703
15704static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15707 long *arg2 = (long *) 0 ;
15708 long *arg3 = (long *) 0 ;
15709 long temp2 ;
15710 long temp3 ;
15711 PyObject * obj0 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self", NULL
15714 };
15715
15716 arg2 = &temp2;
15717 arg3 = &temp3;
15718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->GetPosition(arg2,arg3);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 {
15730 PyObject *o = PyInt_FromLong((long) (*arg2));
15731 resultobj = t_output_helper(resultobj,o);
15732 }
15733 {
15734 PyObject *o = PyInt_FromLong((long) (*arg3));
15735 resultobj = t_output_helper(resultobj,o);
15736 }
15737 return resultobj;
15738 fail:
15739 return NULL;
15740}
15741
15742
15743static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15744 PyObject *resultobj;
15745 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15746 int result;
15747 PyObject * obj0 = 0 ;
15748 char *kwnames[] = {
15749 (char *) "self", NULL
15750 };
15751
15752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 result = (int)((wxKeyEvent const *)arg1)->GetX();
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 resultobj = SWIG_FromInt((int)result);
15763 return resultobj;
15764 fail:
15765 return NULL;
15766}
15767
15768
15769static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15772 int result;
15773 PyObject * obj0 = 0 ;
15774 char *kwnames[] = {
15775 (char *) "self", NULL
15776 };
15777
15778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15781 {
15782 PyThreadState* __tstate = wxPyBeginAllowThreads();
15783 result = (int)((wxKeyEvent const *)arg1)->GetY();
15784
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 resultobj = SWIG_FromInt((int)result);
15789 return resultobj;
15790 fail:
15791 return NULL;
15792}
15793
15794
15795static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15796 PyObject *resultobj;
15797 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15798 int arg2 ;
15799 PyObject * obj0 = 0 ;
15800 PyObject * obj1 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "self",(char *) "m_x", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15808 arg2 = (int) SWIG_AsInt(obj1);
15809 if (PyErr_Occurred()) SWIG_fail;
15810 if (arg1) (arg1)->m_x = arg2;
15811
15812 Py_INCREF(Py_None); resultobj = Py_None;
15813 return resultobj;
15814 fail:
15815 return NULL;
15816}
15817
15818
15819static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15820 PyObject *resultobj;
15821 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15822 int result;
15823 PyObject * obj0 = 0 ;
15824 char *kwnames[] = {
15825 (char *) "self", NULL
15826 };
15827
15828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15831 result = (int) ((arg1)->m_x);
15832
15833 resultobj = SWIG_FromInt((int)result);
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
15840static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj;
15842 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15843 int arg2 ;
15844 PyObject * obj0 = 0 ;
15845 PyObject * obj1 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self",(char *) "m_y", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15853 arg2 = (int) SWIG_AsInt(obj1);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 if (arg1) (arg1)->m_y = arg2;
15856
15857 Py_INCREF(Py_None); resultobj = Py_None;
15858 return resultobj;
15859 fail:
15860 return NULL;
15861}
15862
15863
15864static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj;
15866 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15867 int result;
15868 PyObject * obj0 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15876 result = (int) ((arg1)->m_y);
15877
15878 resultobj = SWIG_FromInt((int)result);
15879 return resultobj;
15880 fail:
15881 return NULL;
15882}
15883
15884
15885static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15888 long arg2 ;
15889 PyObject * obj0 = 0 ;
15890 PyObject * obj1 = 0 ;
15891 char *kwnames[] = {
15892 (char *) "self",(char *) "m_keyCode", NULL
15893 };
15894
15895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15898 arg2 = (long) SWIG_AsLong(obj1);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 if (arg1) (arg1)->m_keyCode = arg2;
15901
15902 Py_INCREF(Py_None); resultobj = Py_None;
15903 return resultobj;
15904 fail:
15905 return NULL;
15906}
15907
15908
15909static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15912 long result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15921 result = (long) ((arg1)->m_keyCode);
15922
15923 resultobj = SWIG_FromLong((long)result);
15924 return resultobj;
15925 fail:
15926 return NULL;
15927}
15928
15929
15930static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15931 PyObject *resultobj;
15932 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15933 bool arg2 ;
15934 PyObject * obj0 = 0 ;
15935 PyObject * obj1 = 0 ;
15936 char *kwnames[] = {
15937 (char *) "self",(char *) "m_controlDown", NULL
15938 };
15939
15940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15943 arg2 = (bool) SWIG_AsBool(obj1);
15944 if (PyErr_Occurred()) SWIG_fail;
15945 if (arg1) (arg1)->m_controlDown = arg2;
15946
15947 Py_INCREF(Py_None); resultobj = Py_None;
15948 return resultobj;
15949 fail:
15950 return NULL;
15951}
15952
15953
15954static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15957 bool result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15966 result = (bool) ((arg1)->m_controlDown);
15967
15968 {
15969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15970 }
15971 return resultobj;
15972 fail:
15973 return NULL;
15974}
15975
15976
15977static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15980 bool arg2 ;
15981 PyObject * obj0 = 0 ;
15982 PyObject * obj1 = 0 ;
15983 char *kwnames[] = {
15984 (char *) "self",(char *) "m_shiftDown", NULL
15985 };
15986
15987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15990 arg2 = (bool) SWIG_AsBool(obj1);
15991 if (PyErr_Occurred()) SWIG_fail;
15992 if (arg1) (arg1)->m_shiftDown = arg2;
15993
15994 Py_INCREF(Py_None); resultobj = Py_None;
15995 return resultobj;
15996 fail:
15997 return NULL;
15998}
15999
16000
16001static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16002 PyObject *resultobj;
16003 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16004 bool result;
16005 PyObject * obj0 = 0 ;
16006 char *kwnames[] = {
16007 (char *) "self", NULL
16008 };
16009
16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
16011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16013 result = (bool) ((arg1)->m_shiftDown);
16014
16015 {
16016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16017 }
16018 return resultobj;
16019 fail:
16020 return NULL;
16021}
16022
16023
16024static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj;
16026 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16027 bool arg2 ;
16028 PyObject * obj0 = 0 ;
16029 PyObject * obj1 = 0 ;
16030 char *kwnames[] = {
16031 (char *) "self",(char *) "m_altDown", NULL
16032 };
16033
16034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
16035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16037 arg2 = (bool) SWIG_AsBool(obj1);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 if (arg1) (arg1)->m_altDown = arg2;
16040
16041 Py_INCREF(Py_None); resultobj = Py_None;
16042 return resultobj;
16043 fail:
16044 return NULL;
16045}
16046
16047
16048static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16049 PyObject *resultobj;
16050 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16051 bool result;
16052 PyObject * obj0 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
16058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16060 result = (bool) ((arg1)->m_altDown);
16061
16062 {
16063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16064 }
16065 return resultobj;
16066 fail:
16067 return NULL;
16068}
16069
16070
16071static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16074 bool arg2 ;
16075 PyObject * obj0 = 0 ;
16076 PyObject * obj1 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "self",(char *) "m_metaDown", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
16082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16084 arg2 = (bool) SWIG_AsBool(obj1);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 if (arg1) (arg1)->m_metaDown = arg2;
16087
16088 Py_INCREF(Py_None); resultobj = Py_None;
16089 return resultobj;
16090 fail:
16091 return NULL;
16092}
16093
16094
16095static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16096 PyObject *resultobj;
16097 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16098 bool result;
16099 PyObject * obj0 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
16105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16107 result = (bool) ((arg1)->m_metaDown);
16108
16109 {
16110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16111 }
16112 return resultobj;
16113 fail:
16114 return NULL;
16115}
16116
16117
16118static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16121 bool arg2 ;
16122 PyObject * obj0 = 0 ;
16123 PyObject * obj1 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self",(char *) "m_scanCode", NULL
16126 };
16127
16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
16129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16131 arg2 = (bool) SWIG_AsBool(obj1);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 if (arg1) (arg1)->m_scanCode = arg2;
16134
16135 Py_INCREF(Py_None); resultobj = Py_None;
16136 return resultobj;
16137 fail:
16138 return NULL;
16139}
16140
16141
16142static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16143 PyObject *resultobj;
16144 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16145 bool result;
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
16152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16154 result = (bool) ((arg1)->m_scanCode);
16155
16156 {
16157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16158 }
16159 return resultobj;
16160 fail:
16161 return NULL;
16162}
16163
16164
16165static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16168 unsigned int arg2 ;
16169 PyObject * obj0 = 0 ;
16170 PyObject * obj1 = 0 ;
16171 char *kwnames[] = {
16172 (char *) "self",(char *) "m_rawCode", NULL
16173 };
16174
16175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
16176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16178 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 if (arg1) (arg1)->m_rawCode = arg2;
16181
16182 Py_INCREF(Py_None); resultobj = Py_None;
16183 return resultobj;
16184 fail:
16185 return NULL;
16186}
16187
16188
16189static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16192 unsigned int result;
16193 PyObject * obj0 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
16199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16201 result = (unsigned int) ((arg1)->m_rawCode);
16202
16203 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16204 return resultobj;
16205 fail:
16206 return NULL;
16207}
16208
16209
16210static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16213 unsigned int arg2 ;
16214 PyObject * obj0 = 0 ;
16215 PyObject * obj1 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self",(char *) "m_rawFlags", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16223 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 if (arg1) (arg1)->m_rawFlags = arg2;
16226
16227 Py_INCREF(Py_None); resultobj = Py_None;
16228 return resultobj;
16229 fail:
16230 return NULL;
16231}
16232
16233
16234static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16235 PyObject *resultobj;
16236 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16237 unsigned int result;
16238 PyObject * obj0 = 0 ;
16239 char *kwnames[] = {
16240 (char *) "self", NULL
16241 };
16242
16243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
16244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16246 result = (unsigned int) ((arg1)->m_rawFlags);
16247
16248 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
16249 return resultobj;
16250 fail:
16251 return NULL;
16252}
16253
16254
16255static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16256 PyObject *obj;
16257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16258 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16259 Py_INCREF(obj);
16260 return Py_BuildValue((char *)"");
16261}
16262static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16263 PyObject *resultobj;
16264 wxSize const &arg1_defvalue = wxDefaultSize ;
16265 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16266 int arg2 = (int) 0 ;
16267 wxSizeEvent *result;
16268 wxSize temp1 ;
16269 PyObject * obj0 = 0 ;
16270 PyObject * obj1 = 0 ;
16271 char *kwnames[] = {
16272 (char *) "sz",(char *) "winid", NULL
16273 };
16274
16275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
16276 if (obj0) {
16277 {
16278 arg1 = &temp1;
16279 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16280 }
16281 }
16282 if (obj1) {
16283 arg2 = (int) SWIG_AsInt(obj1);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
16300static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16303 wxSize result;
16304 PyObject * obj0 = 0 ;
16305 char *kwnames[] = {
16306 (char *) "self", NULL
16307 };
16308
16309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
16310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16312 {
16313 PyThreadState* __tstate = wxPyBeginAllowThreads();
16314 result = ((wxSizeEvent const *)arg1)->GetSize();
16315
16316 wxPyEndAllowThreads(__tstate);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 }
16319 {
16320 wxSize * resultptr;
16321 resultptr = new wxSize((wxSize &) result);
16322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16323 }
16324 return resultobj;
16325 fail:
16326 return NULL;
16327}
16328
16329
16330static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16333 wxRect result;
16334 PyObject * obj0 = 0 ;
16335 char *kwnames[] = {
16336 (char *) "self", NULL
16337 };
16338
16339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
16340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 result = ((wxSizeEvent const *)arg1)->GetRect();
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 {
16350 wxRect * resultptr;
16351 resultptr = new wxRect((wxRect &) result);
16352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16353 }
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
16360static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16363 wxRect arg2 ;
16364 wxRect *argp2 ;
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self",(char *) "rect", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16374 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16375 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16376 arg2 = *argp2;
16377 {
16378 PyThreadState* __tstate = wxPyBeginAllowThreads();
16379 (arg1)->SetRect(arg2);
16380
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 Py_INCREF(Py_None); resultobj = Py_None;
16385 return resultobj;
16386 fail:
16387 return NULL;
16388}
16389
16390
16391static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16394 wxSize arg2 ;
16395 wxSize *argp2 ;
16396 PyObject * obj0 = 0 ;
16397 PyObject * obj1 = 0 ;
16398 char *kwnames[] = {
16399 (char *) "self",(char *) "size", NULL
16400 };
16401
16402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
16403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16405 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16406 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16407 arg2 = *argp2;
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 wxSizeEvent_SetSize(arg1,arg2);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 Py_INCREF(Py_None); resultobj = Py_None;
16416 return resultobj;
16417 fail:
16418 return NULL;
16419}
16420
16421
16422static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16425 wxSize *arg2 = (wxSize *) 0 ;
16426 PyObject * obj0 = 0 ;
16427 PyObject * obj1 = 0 ;
16428 char *kwnames[] = {
16429 (char *) "self",(char *) "m_size", NULL
16430 };
16431
16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
16433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16437 if (arg1) (arg1)->m_size = *arg2;
16438
16439 Py_INCREF(Py_None); resultobj = Py_None;
16440 return resultobj;
16441 fail:
16442 return NULL;
16443}
16444
16445
16446static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16447 PyObject *resultobj;
16448 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16449 wxSize *result;
16450 PyObject * obj0 = 0 ;
16451 char *kwnames[] = {
16452 (char *) "self", NULL
16453 };
16454
16455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
16456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16458 result = (wxSize *)& ((arg1)->m_size);
16459
16460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16461 return resultobj;
16462 fail:
16463 return NULL;
16464}
16465
16466
16467static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16470 wxRect *arg2 = (wxRect *) 0 ;
16471 PyObject * obj0 = 0 ;
16472 PyObject * obj1 = 0 ;
16473 char *kwnames[] = {
16474 (char *) "self",(char *) "m_rect", NULL
16475 };
16476
16477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16482 if (arg1) (arg1)->m_rect = *arg2;
16483
16484 Py_INCREF(Py_None); resultobj = Py_None;
16485 return resultobj;
16486 fail:
16487 return NULL;
16488}
16489
16490
16491static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16494 wxRect *result;
16495 PyObject * obj0 = 0 ;
16496 char *kwnames[] = {
16497 (char *) "self", NULL
16498 };
16499
16500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
16501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16503 result = (wxRect *)& ((arg1)->m_rect);
16504
16505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16506 return resultobj;
16507 fail:
16508 return NULL;
16509}
16510
16511
16512static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16513 PyObject *obj;
16514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16515 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16516 Py_INCREF(obj);
16517 return Py_BuildValue((char *)"");
16518}
16519static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16520 PyObject *resultobj;
16521 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16522 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16523 int arg2 = (int) 0 ;
16524 wxMoveEvent *result;
16525 wxPoint temp1 ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "pos",(char *) "winid", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
16533 if (obj0) {
16534 {
16535 arg1 = &temp1;
16536 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16537 }
16538 }
16539 if (obj1) {
16540 arg2 = (int) SWIG_AsInt(obj1);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16546
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
16551 return resultobj;
16552 fail:
16553 return NULL;
16554}
16555
16556
16557static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16560 wxPoint result;
16561 PyObject * obj0 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
16567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = ((wxMoveEvent const *)arg1)->GetPosition();
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 {
16577 wxPoint * resultptr;
16578 resultptr = new wxPoint((wxPoint &) result);
16579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16580 }
16581 return resultobj;
16582 fail:
16583 return NULL;
16584}
16585
16586
16587static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16590 wxRect result;
16591 PyObject * obj0 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
16597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 result = ((wxMoveEvent const *)arg1)->GetRect();
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 {
16607 wxRect * resultptr;
16608 resultptr = new wxRect((wxRect &) result);
16609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16610 }
16611 return resultobj;
16612 fail:
16613 return NULL;
16614}
16615
16616
16617static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16620 wxRect arg2 ;
16621 wxRect *argp2 ;
16622 PyObject * obj0 = 0 ;
16623 PyObject * obj1 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self",(char *) "rect", NULL
16626 };
16627
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16631 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16632 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16633 arg2 = *argp2;
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 (arg1)->SetRect(arg2);
16637
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 Py_INCREF(Py_None); resultobj = Py_None;
16642 return resultobj;
16643 fail:
16644 return NULL;
16645}
16646
16647
16648static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16651 wxPoint arg2 ;
16652 wxPoint *argp2 ;
16653 PyObject * obj0 = 0 ;
16654 PyObject * obj1 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "self",(char *) "pos", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
16660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16662 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16663 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16664 arg2 = *argp2;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 wxMoveEvent_SetPosition(arg1,arg2);
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 Py_INCREF(Py_None); resultobj = Py_None;
16673 return resultobj;
16674 fail:
16675 return NULL;
16676}
16677
16678
16679static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16682 wxPoint *arg2 = (wxPoint *) 0 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 char *kwnames[] = {
16686 (char *) "self",(char *) "m_pos", NULL
16687 };
16688
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
16690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16694 if (arg1) (arg1)->m_pos = *arg2;
16695
16696 Py_INCREF(Py_None); resultobj = Py_None;
16697 return resultobj;
16698 fail:
16699 return NULL;
16700}
16701
16702
16703static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj;
16705 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16706 wxPoint *result;
16707 PyObject * obj0 = 0 ;
16708 char *kwnames[] = {
16709 (char *) "self", NULL
16710 };
16711
16712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
16713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16715 result = (wxPoint *)& ((arg1)->m_pos);
16716
16717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
16718 return resultobj;
16719 fail:
16720 return NULL;
16721}
16722
16723
16724static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16725 PyObject *resultobj;
16726 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16727 wxRect *arg2 = (wxRect *) 0 ;
16728 PyObject * obj0 = 0 ;
16729 PyObject * obj1 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "self",(char *) "m_rect", NULL
16732 };
16733
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16739 if (arg1) (arg1)->m_rect = *arg2;
16740
16741 Py_INCREF(Py_None); resultobj = Py_None;
16742 return resultobj;
16743 fail:
16744 return NULL;
16745}
16746
16747
16748static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16749 PyObject *resultobj;
16750 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16751 wxRect *result;
16752 PyObject * obj0 = 0 ;
16753 char *kwnames[] = {
16754 (char *) "self", NULL
16755 };
16756
16757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
16758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16760 result = (wxRect *)& ((arg1)->m_rect);
16761
16762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16763 return resultobj;
16764 fail:
16765 return NULL;
16766}
16767
16768
16769static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16770 PyObject *obj;
16771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16772 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16773 Py_INCREF(obj);
16774 return Py_BuildValue((char *)"");
16775}
16776static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj;
16778 int arg1 = (int) 0 ;
16779 wxPaintEvent *result;
16780 PyObject * obj0 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "Id", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16786 if (obj0) {
16787 arg1 = (int) SWIG_AsInt(obj0);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
16798 return resultobj;
16799 fail:
16800 return NULL;
16801}
16802
16803
16804static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16805 PyObject *obj;
16806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16807 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16808 Py_INCREF(obj);
16809 return Py_BuildValue((char *)"");
16810}
16811static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16812 PyObject *resultobj;
16813 int arg1 = (int) 0 ;
16814 wxNcPaintEvent *result;
16815 PyObject * obj0 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "winid", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16821 if (obj0) {
16822 arg1 = (int) SWIG_AsInt(obj0);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 {
16826 PyThreadState* __tstate = wxPyBeginAllowThreads();
16827 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16828
16829 wxPyEndAllowThreads(__tstate);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
16833 return resultobj;
16834 fail:
16835 return NULL;
16836}
16837
16838
16839static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16840 PyObject *obj;
16841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16842 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16843 Py_INCREF(obj);
16844 return Py_BuildValue((char *)"");
16845}
16846static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 int arg1 = (int) 0 ;
16849 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16850 wxEraseEvent *result;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "Id",(char *) "dc", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16858 if (obj0) {
16859 arg1 = (int) SWIG_AsInt(obj0);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 if (obj1) {
16863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16865 }
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
16874 return resultobj;
16875 fail:
16876 return NULL;
16877}
16878
16879
16880static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj;
16882 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16883 wxDC *result;
16884 PyObject * obj0 = 0 ;
16885 char *kwnames[] = {
16886 (char *) "self", NULL
16887 };
16888
16889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
16890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16892 {
16893 PyThreadState* __tstate = wxPyBeginAllowThreads();
16894 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16895
16896 wxPyEndAllowThreads(__tstate);
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 {
16900 resultobj = wxPyMake_wxObject(result);
16901 }
16902 return resultobj;
16903 fail:
16904 return NULL;
16905}
16906
16907
16908static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16909 PyObject *obj;
16910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16911 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16912 Py_INCREF(obj);
16913 return Py_BuildValue((char *)"");
16914}
16915static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj;
16917 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16918 int arg2 = (int) 0 ;
16919 wxFocusEvent *result;
16920 PyObject * obj0 = 0 ;
16921 PyObject * obj1 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "type",(char *) "winid", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16927 if (obj0) {
16928 arg1 = (wxEventType) SWIG_AsInt(obj0);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 if (obj1) {
16932 arg2 = (int) SWIG_AsInt(obj1);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 {
16936 PyThreadState* __tstate = wxPyBeginAllowThreads();
16937 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16938
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
16943 return resultobj;
16944 fail:
16945 return NULL;
16946}
16947
16948
16949static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16950 PyObject *resultobj;
16951 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16952 wxWindow *result;
16953 PyObject * obj0 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
16959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 {
16969 resultobj = wxPyMake_wxObject(result);
16970 }
16971 return resultobj;
16972 fail:
16973 return NULL;
16974}
16975
16976
16977static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16980 wxWindow *arg2 = (wxWindow *) 0 ;
16981 PyObject * obj0 = 0 ;
16982 PyObject * obj1 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self",(char *) "win", NULL
16985 };
16986
16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
16988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
16994 (arg1)->SetWindow(arg2);
16995
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 Py_INCREF(Py_None); resultobj = Py_None;
17000 return resultobj;
17001 fail:
17002 return NULL;
17003}
17004
17005
17006static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
17007 PyObject *obj;
17008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17009 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17010 Py_INCREF(obj);
17011 return Py_BuildValue((char *)"");
17012}
17013static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17014 PyObject *resultobj;
17015 wxWindow *arg1 = (wxWindow *) NULL ;
17016 wxChildFocusEvent *result;
17017 PyObject * obj0 = 0 ;
17018 char *kwnames[] = {
17019 (char *) "win", NULL
17020 };
17021
17022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17023 if (obj0) {
17024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17026 }
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
17035 return resultobj;
17036 fail:
17037 return NULL;
17038}
17039
17040
17041static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17042 PyObject *resultobj;
17043 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17044 wxWindow *result;
17045 PyObject * obj0 = 0 ;
17046 char *kwnames[] = {
17047 (char *) "self", NULL
17048 };
17049
17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
17051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17056
17057 wxPyEndAllowThreads(__tstate);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 {
17061 resultobj = wxPyMake_wxObject(result);
17062 }
17063 return resultobj;
17064 fail:
17065 return NULL;
17066}
17067
17068
17069static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
17070 PyObject *obj;
17071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17072 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17073 Py_INCREF(obj);
17074 return Py_BuildValue((char *)"");
17075}
17076static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj;
17078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17079 bool arg2 = (bool) True ;
17080 int arg3 = (int) 0 ;
17081 wxActivateEvent *result;
17082 PyObject * obj0 = 0 ;
17083 PyObject * obj1 = 0 ;
17084 PyObject * obj2 = 0 ;
17085 char *kwnames[] = {
17086 (char *) "type",(char *) "active",(char *) "Id", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17090 if (obj0) {
17091 arg1 = (wxEventType) SWIG_AsInt(obj0);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 if (obj1) {
17095 arg2 = (bool) SWIG_AsBool(obj1);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 if (obj2) {
17099 arg3 = (int) SWIG_AsInt(obj2);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 {
17103 PyThreadState* __tstate = wxPyBeginAllowThreads();
17104 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17105
17106 wxPyEndAllowThreads(__tstate);
17107 if (PyErr_Occurred()) SWIG_fail;
17108 }
17109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
17110 return resultobj;
17111 fail:
17112 return NULL;
17113}
17114
17115
17116static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
17117 PyObject *resultobj;
17118 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17119 bool result;
17120 PyObject * obj0 = 0 ;
17121 char *kwnames[] = {
17122 (char *) "self", NULL
17123 };
17124
17125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
17126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 {
17136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17137 }
17138 return resultobj;
17139 fail:
17140 return NULL;
17141}
17142
17143
17144static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
17145 PyObject *obj;
17146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17147 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17148 Py_INCREF(obj);
17149 return Py_BuildValue((char *)"");
17150}
17151static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17152 PyObject *resultobj;
17153 int arg1 = (int) 0 ;
17154 wxInitDialogEvent *result;
17155 PyObject * obj0 = 0 ;
17156 char *kwnames[] = {
17157 (char *) "Id", NULL
17158 };
17159
17160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17161 if (obj0) {
17162 arg1 = (int) SWIG_AsInt(obj0);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
17173 return resultobj;
17174 fail:
17175 return NULL;
17176}
17177
17178
17179static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17180 PyObject *obj;
17181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17182 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17183 Py_INCREF(obj);
17184 return Py_BuildValue((char *)"");
17185}
17186static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj;
17188 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17189 int arg2 = (int) 0 ;
17190 wxMenu *arg3 = (wxMenu *) NULL ;
17191 wxMenuEvent *result;
17192 PyObject * obj0 = 0 ;
17193 PyObject * obj1 = 0 ;
17194 PyObject * obj2 = 0 ;
17195 char *kwnames[] = {
17196 (char *) "type",(char *) "winid",(char *) "menu", NULL
17197 };
17198
17199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17200 if (obj0) {
17201 arg1 = (wxEventType) SWIG_AsInt(obj0);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 if (obj1) {
17205 arg2 = (int) SWIG_AsInt(obj1);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 if (obj2) {
17209 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17211 }
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
17220 return resultobj;
17221 fail:
17222 return NULL;
17223}
17224
17225
17226static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17229 int result;
17230 PyObject * obj0 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 resultobj = SWIG_FromInt((int)result);
17246 return resultobj;
17247 fail:
17248 return NULL;
17249}
17250
17251
17252static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17255 bool result;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 {
17272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17273 }
17274 return resultobj;
17275 fail:
17276 return NULL;
17277}
17278
17279
17280static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17283 wxMenu *result;
17284 PyObject * obj0 = 0 ;
17285 char *kwnames[] = {
17286 (char *) "self", NULL
17287 };
17288
17289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
17290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17295
17296 wxPyEndAllowThreads(__tstate);
17297 if (PyErr_Occurred()) SWIG_fail;
17298 }
17299 {
17300 resultobj = wxPyMake_wxObject(result);
17301 }
17302 return resultobj;
17303 fail:
17304 return NULL;
17305}
17306
17307
17308static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17309 PyObject *obj;
17310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17311 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17312 Py_INCREF(obj);
17313 return Py_BuildValue((char *)"");
17314}
17315static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17316 PyObject *resultobj;
17317 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17318 int arg2 = (int) 0 ;
17319 wxCloseEvent *result;
17320 PyObject * obj0 = 0 ;
17321 PyObject * obj1 = 0 ;
17322 char *kwnames[] = {
17323 (char *) "type",(char *) "winid", NULL
17324 };
17325
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17327 if (obj0) {
17328 arg1 = (wxEventType) SWIG_AsInt(obj0);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 if (obj1) {
17332 arg2 = (int) SWIG_AsInt(obj1);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17338
17339 wxPyEndAllowThreads(__tstate);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
17343 return resultobj;
17344 fail:
17345 return NULL;
17346}
17347
17348
17349static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj;
17351 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17352 bool arg2 ;
17353 PyObject * obj0 = 0 ;
17354 PyObject * obj1 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self",(char *) "logOff", NULL
17357 };
17358
17359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
17360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17362 arg2 = (bool) SWIG_AsBool(obj1);
17363 if (PyErr_Occurred()) SWIG_fail;
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 (arg1)->SetLoggingOff(arg2);
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 Py_INCREF(Py_None); resultobj = Py_None;
17372 return resultobj;
17373 fail:
17374 return NULL;
17375}
17376
17377
17378static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj;
17380 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17381 bool result;
17382 PyObject * obj0 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
17388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 {
17398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17399 }
17400 return resultobj;
17401 fail:
17402 return NULL;
17403}
17404
17405
17406static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17407 PyObject *resultobj;
17408 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17409 bool arg2 = (bool) True ;
17410 PyObject * obj0 = 0 ;
17411 PyObject * obj1 = 0 ;
17412 char *kwnames[] = {
17413 (char *) "self",(char *) "veto", NULL
17414 };
17415
17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
17417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17419 if (obj1) {
17420 arg2 = (bool) SWIG_AsBool(obj1);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 {
17424 PyThreadState* __tstate = wxPyBeginAllowThreads();
17425 (arg1)->Veto(arg2);
17426
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 Py_INCREF(Py_None); resultobj = Py_None;
17431 return resultobj;
17432 fail:
17433 return NULL;
17434}
17435
17436
17437static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj;
17439 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17440 bool arg2 ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "self",(char *) "canVeto", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
17448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17450 arg2 = (bool) SWIG_AsBool(obj1);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 {
17453 PyThreadState* __tstate = wxPyBeginAllowThreads();
17454 (arg1)->SetCanVeto(arg2);
17455
17456 wxPyEndAllowThreads(__tstate);
17457 if (PyErr_Occurred()) SWIG_fail;
17458 }
17459 Py_INCREF(Py_None); resultobj = Py_None;
17460 return resultobj;
17461 fail:
17462 return NULL;
17463}
17464
17465
17466static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17467 PyObject *resultobj;
17468 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17469 bool result;
17470 PyObject * obj0 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "self", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
17476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17478 {
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17481
17482 wxPyEndAllowThreads(__tstate);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
17485 {
17486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17487 }
17488 return resultobj;
17489 fail:
17490 return NULL;
17491}
17492
17493
17494static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17495 PyObject *resultobj;
17496 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17497 bool result;
17498 PyObject * obj0 = 0 ;
17499 char *kwnames[] = {
17500 (char *) "self", NULL
17501 };
17502
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
17504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17509
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
17513 {
17514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17515 }
17516 return resultobj;
17517 fail:
17518 return NULL;
17519}
17520
17521
17522static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17523 PyObject *obj;
17524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17525 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17526 Py_INCREF(obj);
17527 return Py_BuildValue((char *)"");
17528}
17529static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17530 PyObject *resultobj;
17531 int arg1 = (int) 0 ;
17532 bool arg2 = (bool) False ;
17533 wxShowEvent *result;
17534 PyObject * obj0 = 0 ;
17535 PyObject * obj1 = 0 ;
17536 char *kwnames[] = {
17537 (char *) "winid",(char *) "show", NULL
17538 };
17539
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17541 if (obj0) {
17542 arg1 = (int) SWIG_AsInt(obj0);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 if (obj1) {
17546 arg2 = (bool) SWIG_AsBool(obj1);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
17557 return resultobj;
17558 fail:
17559 return NULL;
17560}
17561
17562
17563static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17566 bool arg2 ;
17567 PyObject * obj0 = 0 ;
17568 PyObject * obj1 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self",(char *) "show", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17576 arg2 = (bool) SWIG_AsBool(obj1);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 (arg1)->SetShow(arg2);
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 Py_INCREF(Py_None); resultobj = Py_None;
17586 return resultobj;
17587 fail:
17588 return NULL;
17589}
17590
17591
17592static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17595 bool result;
17596 PyObject * obj0 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
17602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 {
17612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17613 }
17614 return resultobj;
17615 fail:
17616 return NULL;
17617}
17618
17619
17620static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17621 PyObject *obj;
17622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17623 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17624 Py_INCREF(obj);
17625 return Py_BuildValue((char *)"");
17626}
17627static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 int arg1 = (int) 0 ;
17630 bool arg2 = (bool) True ;
17631 wxIconizeEvent *result;
17632 PyObject * obj0 = 0 ;
17633 PyObject * obj1 = 0 ;
17634 char *kwnames[] = {
17635 (char *) "id",(char *) "iconized", NULL
17636 };
17637
17638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17639 if (obj0) {
17640 arg1 = (int) SWIG_AsInt(obj0);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 if (obj1) {
17644 arg2 = (bool) SWIG_AsBool(obj1);
17645 if (PyErr_Occurred()) SWIG_fail;
17646 }
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
17655 return resultobj;
17656 fail:
17657 return NULL;
17658}
17659
17660
17661static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17664 bool result;
17665 PyObject * obj0 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "self", NULL
17668 };
17669
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
17671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = (bool)(arg1)->Iconized();
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 {
17681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17682 }
17683 return resultobj;
17684 fail:
17685 return NULL;
17686}
17687
17688
17689static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17690 PyObject *obj;
17691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17692 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17693 Py_INCREF(obj);
17694 return Py_BuildValue((char *)"");
17695}
17696static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 int arg1 = (int) 0 ;
17699 wxMaximizeEvent *result;
17700 PyObject * obj0 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "id", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17706 if (obj0) {
17707 arg1 = (int) SWIG_AsInt(obj0);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
17718 return resultobj;
17719 fail:
17720 return NULL;
17721}
17722
17723
17724static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17725 PyObject *obj;
17726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17727 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17728 Py_INCREF(obj);
17729 return Py_BuildValue((char *)"");
17730}
17731static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17732 PyObject *resultobj;
17733 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17734 wxPoint result;
17735 PyObject * obj0 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 result = (arg1)->GetPosition();
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 {
17751 wxPoint * resultptr;
17752 resultptr = new wxPoint((wxPoint &) result);
17753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
17754 }
17755 return resultobj;
17756 fail:
17757 return NULL;
17758}
17759
17760
17761static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17764 int result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (int)(arg1)->GetNumberOfFiles();
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 resultobj = SWIG_FromInt((int)result);
17781 return resultobj;
17782 fail:
17783 return NULL;
17784}
17785
17786
17787static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17790 PyObject *result;
17791 PyObject * obj0 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = result;
17807 return resultobj;
17808 fail:
17809 return NULL;
17810}
17811
17812
17813static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17814 PyObject *obj;
17815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17816 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17817 Py_INCREF(obj);
17818 return Py_BuildValue((char *)"");
17819}
17820static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 int arg1 = (int) 0 ;
17823 wxUpdateUIEvent *result;
17824 PyObject * obj0 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "commandId", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17830 if (obj0) {
17831 arg1 = (int) SWIG_AsInt(obj0);
17832 if (PyErr_Occurred()) SWIG_fail;
17833 }
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
17842 return resultobj;
17843 fail:
17844 return NULL;
17845}
17846
17847
17848static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17849 PyObject *resultobj;
17850 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17851 bool result;
17852 PyObject * obj0 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 {
17868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17869 }
17870 return resultobj;
17871 fail:
17872 return NULL;
17873}
17874
17875
17876static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17879 bool result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 {
17896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17897 }
17898 return resultobj;
17899 fail:
17900 return NULL;
17901}
17902
17903
17904static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17905 PyObject *resultobj;
17906 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17907 wxString result;
17908 PyObject * obj0 = 0 ;
17909 char *kwnames[] = {
17910 (char *) "self", NULL
17911 };
17912
17913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
17914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 {
17924#if wxUSE_UNICODE
17925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17926#else
17927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17928#endif
17929 }
17930 return resultobj;
17931 fail:
17932 return NULL;
17933}
17934
17935
17936static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17939 bool result;
17940 PyObject * obj0 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17951
17952 wxPyEndAllowThreads(__tstate);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 }
17955 {
17956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17957 }
17958 return resultobj;
17959 fail:
17960 return NULL;
17961}
17962
17963
17964static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17967 bool result;
17968 PyObject * obj0 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 {
17984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17985 }
17986 return resultobj;
17987 fail:
17988 return NULL;
17989}
17990
17991
17992static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17995 bool result;
17996 PyObject * obj0 = 0 ;
17997 char *kwnames[] = {
17998 (char *) "self", NULL
17999 };
18000
18001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
18002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18007
18008 wxPyEndAllowThreads(__tstate);
18009 if (PyErr_Occurred()) SWIG_fail;
18010 }
18011 {
18012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18013 }
18014 return resultobj;
18015 fail:
18016 return NULL;
18017}
18018
18019
18020static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
18021 PyObject *resultobj;
18022 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18023 bool arg2 ;
18024 PyObject * obj0 = 0 ;
18025 PyObject * obj1 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self",(char *) "check", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18033 arg2 = (bool) SWIG_AsBool(obj1);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 {
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 (arg1)->Check(arg2);
18038
18039 wxPyEndAllowThreads(__tstate);
18040 if (PyErr_Occurred()) SWIG_fail;
18041 }
18042 Py_INCREF(Py_None); resultobj = Py_None;
18043 return resultobj;
18044 fail:
18045 return NULL;
18046}
18047
18048
18049static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj;
18051 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18052 bool arg2 ;
18053 PyObject * obj0 = 0 ;
18054 PyObject * obj1 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self",(char *) "enable", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
18060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18062 arg2 = (bool) SWIG_AsBool(obj1);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 (arg1)->Enable(arg2);
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 Py_INCREF(Py_None); resultobj = Py_None;
18072 return resultobj;
18073 fail:
18074 return NULL;
18075}
18076
18077
18078static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18081 wxString *arg2 = 0 ;
18082 bool temp2 = False ;
18083 PyObject * obj0 = 0 ;
18084 PyObject * obj1 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self",(char *) "text", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18092 {
18093 arg2 = wxString_in_helper(obj1);
18094 if (arg2 == NULL) SWIG_fail;
18095 temp2 = True;
18096 }
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 (arg1)->SetText((wxString const &)*arg2);
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 Py_INCREF(Py_None); resultobj = Py_None;
18105 {
18106 if (temp2)
18107 delete arg2;
18108 }
18109 return resultobj;
18110 fail:
18111 {
18112 if (temp2)
18113 delete arg2;
18114 }
18115 return NULL;
18116}
18117
18118
18119static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 long arg1 ;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "updateInterval", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
18128 arg1 = (long) SWIG_AsLong(obj0);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 wxUpdateUIEvent::SetUpdateInterval(arg1);
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 Py_INCREF(Py_None); resultobj = Py_None;
18138 return resultobj;
18139 fail:
18140 return NULL;
18141}
18142
18143
18144static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 long result;
18147 char *kwnames[] = {
18148 NULL
18149 };
18150
18151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = SWIG_FromLong((long)result);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163}
18164
18165
18166static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxWindow *arg1 = (wxWindow *) 0 ;
18169 bool result;
18170 PyObject * obj0 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "win", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 {
18186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18187 }
18188 return resultobj;
18189 fail:
18190 return NULL;
18191}
18192
18193
18194static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18195 PyObject *resultobj;
18196 char *kwnames[] = {
18197 NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 wxUpdateUIEvent::ResetUpdateTime();
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 Py_INCREF(Py_None); resultobj = Py_None;
18209 return resultobj;
18210 fail:
18211 return NULL;
18212}
18213
18214
18215static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18216 PyObject *resultobj;
18217 int arg1 ;
18218 PyObject * obj0 = 0 ;
18219 char *kwnames[] = {
18220 (char *) "mode", NULL
18221 };
18222
18223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
18224 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 Py_INCREF(Py_None); resultobj = Py_None;
18234 return resultobj;
18235 fail:
18236 return NULL;
18237}
18238
18239
18240static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18241 PyObject *resultobj;
18242 int result;
18243 char *kwnames[] = {
18244 NULL
18245 };
18246
18247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 result = (int)wxUpdateUIEvent::GetMode();
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 resultobj = SWIG_FromInt((int)result);
18256 return resultobj;
18257 fail:
18258 return NULL;
18259}
18260
18261
18262static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18263 PyObject *obj;
18264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18265 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18266 Py_INCREF(obj);
18267 return Py_BuildValue((char *)"");
18268}
18269static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxSysColourChangedEvent *result;
18272 char *kwnames[] = {
18273 NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18277 {
18278 PyThreadState* __tstate = wxPyBeginAllowThreads();
18279 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18280
18281 wxPyEndAllowThreads(__tstate);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
18284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
18285 return resultobj;
18286 fail:
18287 return NULL;
18288}
18289
18290
18291static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18292 PyObject *obj;
18293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18294 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18295 Py_INCREF(obj);
18296 return Py_BuildValue((char *)"");
18297}
18298static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 int arg1 = (int) 0 ;
18301 wxWindow *arg2 = (wxWindow *) NULL ;
18302 wxMouseCaptureChangedEvent *result;
18303 PyObject * obj0 = 0 ;
18304 PyObject * obj1 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "winid",(char *) "gainedCapture", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18310 if (obj0) {
18311 arg1 = (int) SWIG_AsInt(obj0);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 if (obj1) {
18315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18317 }
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
18326 return resultobj;
18327 fail:
18328 return NULL;
18329}
18330
18331
18332static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18335 wxWindow *result;
18336 PyObject * obj0 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 {
18352 resultobj = wxPyMake_wxObject(result);
18353 }
18354 return resultobj;
18355 fail:
18356 return NULL;
18357}
18358
18359
18360static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18361 PyObject *obj;
18362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18363 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18364 Py_INCREF(obj);
18365 return Py_BuildValue((char *)"");
18366}
18367static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxDisplayChangedEvent *result;
18370 char *kwnames[] = {
18371 NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18375 {
18376 PyThreadState* __tstate = wxPyBeginAllowThreads();
18377 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18378
18379 wxPyEndAllowThreads(__tstate);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 }
18382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
18383 return resultobj;
18384 fail:
18385 return NULL;
18386}
18387
18388
18389static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18390 PyObject *obj;
18391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18392 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18393 Py_INCREF(obj);
18394 return Py_BuildValue((char *)"");
18395}
18396static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 int arg1 = (int) 0 ;
18399 wxPaletteChangedEvent *result;
18400 PyObject * obj0 = 0 ;
18401 char *kwnames[] = {
18402 (char *) "id", NULL
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18406 if (obj0) {
18407 arg1 = (int) SWIG_AsInt(obj0);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
18418 return resultobj;
18419 fail:
18420 return NULL;
18421}
18422
18423
18424static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj;
18426 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18427 wxWindow *arg2 = (wxWindow *) 0 ;
18428 PyObject * obj0 = 0 ;
18429 PyObject * obj1 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self",(char *) "win", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
18435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->SetChangedWindow(arg2);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 Py_INCREF(Py_None); resultobj = Py_None;
18447 return resultobj;
18448 fail:
18449 return NULL;
18450}
18451
18452
18453static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18456 wxWindow *result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
18463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 result = (wxWindow *)(arg1)->GetChangedWindow();
18468
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 {
18473 resultobj = wxPyMake_wxObject(result);
18474 }
18475 return resultobj;
18476 fail:
18477 return NULL;
18478}
18479
18480
18481static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18482 PyObject *obj;
18483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18484 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18485 Py_INCREF(obj);
18486 return Py_BuildValue((char *)"");
18487}
18488static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj;
18490 int arg1 = (int) 0 ;
18491 wxQueryNewPaletteEvent *result;
18492 PyObject * obj0 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "winid", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18498 if (obj0) {
18499 arg1 = (int) SWIG_AsInt(obj0);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
18510 return resultobj;
18511 fail:
18512 return NULL;
18513}
18514
18515
18516static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj;
18518 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18519 bool arg2 ;
18520 PyObject * obj0 = 0 ;
18521 PyObject * obj1 = 0 ;
18522 char *kwnames[] = {
18523 (char *) "self",(char *) "realized", NULL
18524 };
18525
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
18527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18529 arg2 = (bool) SWIG_AsBool(obj1);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 (arg1)->SetPaletteRealized(arg2);
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 Py_INCREF(Py_None); resultobj = Py_None;
18539 return resultobj;
18540 fail:
18541 return NULL;
18542}
18543
18544
18545static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj;
18547 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18548 bool result;
18549 PyObject * obj0 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
18555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 {
18565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18566 }
18567 return resultobj;
18568 fail:
18569 return NULL;
18570}
18571
18572
18573static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18574 PyObject *obj;
18575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18576 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18577 Py_INCREF(obj);
18578 return Py_BuildValue((char *)"");
18579}
18580static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxNavigationKeyEvent *result;
18583 char *kwnames[] = {
18584 NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
18596 return resultobj;
18597 fail:
18598 return NULL;
18599}
18600
18601
18602static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18605 bool result;
18606 PyObject * obj0 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
18612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18617
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 {
18622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18623 }
18624 return resultobj;
18625 fail:
18626 return NULL;
18627}
18628
18629
18630static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18633 bool arg2 ;
18634 PyObject * obj0 = 0 ;
18635 PyObject * obj1 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self",(char *) "bForward", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
18641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18643 arg2 = (bool) SWIG_AsBool(obj1);
18644 if (PyErr_Occurred()) SWIG_fail;
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 (arg1)->SetDirection(arg2);
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
18652 Py_INCREF(Py_None); resultobj = Py_None;
18653 return resultobj;
18654 fail:
18655 return NULL;
18656}
18657
18658
18659static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18662 bool result;
18663 PyObject * obj0 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
18669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 {
18679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18680 }
18681 return resultobj;
18682 fail:
18683 return NULL;
18684}
18685
18686
18687static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18688 PyObject *resultobj;
18689 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18690 bool arg2 ;
18691 PyObject * obj0 = 0 ;
18692 PyObject * obj1 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "bIs", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18700 arg2 = (bool) SWIG_AsBool(obj1);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 (arg1)->SetWindowChange(arg2);
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 Py_INCREF(Py_None); resultobj = Py_None;
18710 return resultobj;
18711 fail:
18712 return NULL;
18713}
18714
18715
18716static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18719 wxWindow *result;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 {
18736 resultobj = wxPyMake_wxObject(result);
18737 }
18738 return resultobj;
18739 fail:
18740 return NULL;
18741}
18742
18743
18744static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18747 wxWindow *arg2 = (wxWindow *) 0 ;
18748 PyObject * obj0 = 0 ;
18749 PyObject * obj1 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "win", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 (arg1)->SetCurrentFocus(arg2);
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 Py_INCREF(Py_None); resultobj = Py_None;
18767 return resultobj;
18768 fail:
18769 return NULL;
18770}
18771
18772
18773static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18774 PyObject *obj;
18775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18776 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18777 Py_INCREF(obj);
18778 return Py_BuildValue((char *)"");
18779}
18780static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxWindow *arg1 = (wxWindow *) NULL ;
18783 wxWindowCreateEvent *result;
18784 PyObject * obj0 = 0 ;
18785 char *kwnames[] = {
18786 (char *) "win", NULL
18787 };
18788
18789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18790 if (obj0) {
18791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18793 }
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
18802 return resultobj;
18803 fail:
18804 return NULL;
18805}
18806
18807
18808static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18811 wxWindow *result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 {
18828 resultobj = wxPyMake_wxObject(result);
18829 }
18830 return resultobj;
18831 fail:
18832 return NULL;
18833}
18834
18835
18836static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18837 PyObject *obj;
18838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18839 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18840 Py_INCREF(obj);
18841 return Py_BuildValue((char *)"");
18842}
18843static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxWindow *arg1 = (wxWindow *) NULL ;
18846 wxWindowDestroyEvent *result;
18847 PyObject * obj0 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "win", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18853 if (obj0) {
18854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18856 }
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
18865 return resultobj;
18866 fail:
18867 return NULL;
18868}
18869
18870
18871static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18872 PyObject *resultobj;
18873 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18874 wxWindow *result;
18875 PyObject * obj0 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "self", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
18881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 {
18891 resultobj = wxPyMake_wxObject(result);
18892 }
18893 return resultobj;
18894 fail:
18895 return NULL;
18896}
18897
18898
18899static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18900 PyObject *obj;
18901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18902 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18903 Py_INCREF(obj);
18904 return Py_BuildValue((char *)"");
18905}
18906static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18907 PyObject *resultobj;
18908 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18909 int arg2 = (int) 0 ;
18910 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18911 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18912 wxContextMenuEvent *result;
18913 wxPoint temp3 ;
18914 PyObject * obj0 = 0 ;
18915 PyObject * obj1 = 0 ;
18916 PyObject * obj2 = 0 ;
18917 char *kwnames[] = {
18918 (char *) "type",(char *) "winid",(char *) "pt", NULL
18919 };
18920
18921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18922 if (obj0) {
18923 arg1 = (wxEventType) SWIG_AsInt(obj0);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 if (obj1) {
18927 arg2 = (int) SWIG_AsInt(obj1);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 if (obj2) {
18931 {
18932 arg3 = &temp3;
18933 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18934 }
18935 }
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
18944 return resultobj;
18945 fail:
18946 return NULL;
18947}
18948
18949
18950static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj;
18952 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18953 wxPoint *result;
18954 PyObject * obj0 = 0 ;
18955 char *kwnames[] = {
18956 (char *) "self", NULL
18957 };
18958
18959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
18960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 {
18965 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18966 result = (wxPoint *) &_result_ref;
18967 }
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
18973 return resultobj;
18974 fail:
18975 return NULL;
18976}
18977
18978
18979static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18982 wxPoint *arg2 = 0 ;
18983 wxPoint temp2 ;
18984 PyObject * obj0 = 0 ;
18985 PyObject * obj1 = 0 ;
18986 char *kwnames[] = {
18987 (char *) "self",(char *) "pos", NULL
18988 };
18989
18990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
18991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18993 {
18994 arg2 = &temp2;
18995 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18996 }
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 (arg1)->SetPosition((wxPoint const &)*arg2);
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 Py_INCREF(Py_None); resultobj = Py_None;
19005 return resultobj;
19006 fail:
19007 return NULL;
19008}
19009
19010
19011static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
19012 PyObject *obj;
19013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19014 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19015 Py_INCREF(obj);
19016 return Py_BuildValue((char *)"");
19017}
19018static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxIdleEvent *result;
19021 char *kwnames[] = {
19022 NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19026 {
19027 PyThreadState* __tstate = wxPyBeginAllowThreads();
19028 result = (wxIdleEvent *)new wxIdleEvent();
19029
19030 wxPyEndAllowThreads(__tstate);
19031 if (PyErr_Occurred()) SWIG_fail;
19032 }
19033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
19034 return resultobj;
19035 fail:
19036 return NULL;
19037}
19038
19039
19040static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj;
19042 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19043 bool arg2 = (bool) True ;
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj1 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "needMore", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19053 if (obj1) {
19054 arg2 = (bool) SWIG_AsBool(obj1);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 (arg1)->RequestMore(arg2);
19060
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 Py_INCREF(Py_None); resultobj = Py_None;
19065 return resultobj;
19066 fail:
19067 return NULL;
19068}
19069
19070
19071static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
19072 PyObject *resultobj;
19073 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19074 bool result;
19075 PyObject * obj0 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 {
19091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19092 }
19093 return resultobj;
19094 fail:
19095 return NULL;
19096}
19097
19098
19099static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 int arg1 ;
19102 PyObject * obj0 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "mode", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
19108 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 wxIdleEvent::SetMode((wxIdleMode )arg1);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121}
19122
19123
19124static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 int result;
19127 char *kwnames[] = {
19128 NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 result = (int)wxIdleEvent::GetMode();
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 resultobj = SWIG_FromInt((int)result);
19140 return resultobj;
19141 fail:
19142 return NULL;
19143}
19144
19145
19146static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj;
19148 wxWindow *arg1 = (wxWindow *) 0 ;
19149 bool result;
19150 PyObject * obj0 = 0 ;
19151 char *kwnames[] = {
19152 (char *) "win", NULL
19153 };
19154
19155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
19156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 result = (bool)wxIdleEvent::CanSend(arg1);
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 {
19166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19167 }
19168 return resultobj;
19169 fail:
19170 return NULL;
19171}
19172
19173
19174static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
19175 PyObject *obj;
19176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19177 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19178 Py_INCREF(obj);
19179 return Py_BuildValue((char *)"");
19180}
19181static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 int arg1 = (int) 0 ;
19184 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19185 wxPyEvent *result;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "winid",(char *) "commandType", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19193 if (obj0) {
19194 arg1 = (int) SWIG_AsInt(obj0);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 if (obj1) {
19198 arg2 = (wxEventType) SWIG_AsInt(obj1);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
19209 return resultobj;
19210 fail:
19211 return NULL;
19212}
19213
19214
19215static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19218 PyObject * obj0 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 delete arg1;
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 Py_INCREF(Py_None); resultobj = Py_None;
19234 return resultobj;
19235 fail:
19236 return NULL;
19237}
19238
19239
19240static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19241 PyObject *resultobj;
19242 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19243 PyObject *arg2 = (PyObject *) 0 ;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self",(char *) "self", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19253 arg2 = obj1;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 (arg1)->SetSelf(arg2);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 Py_INCREF(Py_None); resultobj = Py_None;
19262 return resultobj;
19263 fail:
19264 return NULL;
19265}
19266
19267
19268static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj;
19270 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19271 PyObject *result;
19272 PyObject * obj0 = 0 ;
19273 char *kwnames[] = {
19274 (char *) "self", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
19278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 result = (PyObject *)(arg1)->GetSelf();
19283
19284 wxPyEndAllowThreads(__tstate);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 }
19287 resultobj = result;
19288 return resultobj;
19289 fail:
19290 return NULL;
19291}
19292
19293
19294static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19295 PyObject *obj;
19296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19297 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19298 Py_INCREF(obj);
19299 return Py_BuildValue((char *)"");
19300}
19301static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19304 int arg2 = (int) 0 ;
19305 wxPyCommandEvent *result;
19306 PyObject * obj0 = 0 ;
19307 PyObject * obj1 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "commandType",(char *) "id", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19313 if (obj0) {
19314 arg1 = (wxEventType) SWIG_AsInt(obj0);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 if (obj1) {
19318 arg2 = (int) SWIG_AsInt(obj1);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 {
19322 PyThreadState* __tstate = wxPyBeginAllowThreads();
19323 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19324
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
19329 return resultobj;
19330 fail:
19331 return NULL;
19332}
19333
19334
19335static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj;
19337 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19338 PyObject * obj0 = 0 ;
19339 char *kwnames[] = {
19340 (char *) "self", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
19344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 delete arg1;
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 Py_INCREF(Py_None); resultobj = Py_None;
19354 return resultobj;
19355 fail:
19356 return NULL;
19357}
19358
19359
19360static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19363 PyObject *arg2 = (PyObject *) 0 ;
19364 PyObject * obj0 = 0 ;
19365 PyObject * obj1 = 0 ;
19366 char *kwnames[] = {
19367 (char *) "self",(char *) "self", NULL
19368 };
19369
19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19373 arg2 = obj1;
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 (arg1)->SetSelf(arg2);
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 Py_INCREF(Py_None); resultobj = Py_None;
19382 return resultobj;
19383 fail:
19384 return NULL;
19385}
19386
19387
19388static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19391 PyObject *result;
19392 PyObject * obj0 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "self", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
19398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = (PyObject *)(arg1)->GetSelf();
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 resultobj = result;
19408 return resultobj;
19409 fail:
19410 return NULL;
19411}
19412
19413
19414static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19415 PyObject *obj;
19416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19417 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19418 Py_INCREF(obj);
19419 return Py_BuildValue((char *)"");
19420}
19421static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxPyApp *result;
19424 char *kwnames[] = {
19425 NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (wxPyApp *)new_wxPyApp();
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 {
19437 resultobj = wxPyMake_wxObject(result);
19438 }
19439 return resultobj;
19440 fail:
19441 return NULL;
19442}
19443
19444
19445static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxPyApp *arg1 = (wxPyApp *) 0 ;
19448 PyObject * obj0 = 0 ;
19449 char *kwnames[] = {
19450 (char *) "self", NULL
19451 };
19452
19453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
19454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 delete arg1;
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 Py_INCREF(Py_None); resultobj = Py_None;
19464 return resultobj;
19465 fail:
19466 return NULL;
19467}
19468
19469
19470static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxPyApp *arg1 = (wxPyApp *) 0 ;
19473 PyObject *arg2 = (PyObject *) 0 ;
19474 PyObject *arg3 = (PyObject *) 0 ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
19477 PyObject * obj2 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self",(char *) "self",(char *) "_class", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19485 arg2 = obj1;
19486 arg3 = obj2;
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->_setCallbackInfo(arg2,arg3);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 return resultobj;
19496 fail:
19497 return NULL;
19498}
19499
19500
19501static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxPyApp *arg1 = (wxPyApp *) 0 ;
19504 wxString result;
19505 PyObject * obj0 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
19511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = ((wxPyApp const *)arg1)->GetAppName();
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 {
19521#if wxUSE_UNICODE
19522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19523#else
19524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19525#endif
19526 }
19527 return resultobj;
19528 fail:
19529 return NULL;
19530}
19531
19532
19533static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxPyApp *arg1 = (wxPyApp *) 0 ;
19536 wxString *arg2 = 0 ;
19537 bool temp2 = False ;
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
19540 char *kwnames[] = {
19541 (char *) "self",(char *) "name", NULL
19542 };
19543
19544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
19545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19547 {
19548 arg2 = wxString_in_helper(obj1);
19549 if (arg2 == NULL) SWIG_fail;
19550 temp2 = True;
19551 }
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->SetAppName((wxString const &)*arg2);
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 Py_INCREF(Py_None); resultobj = Py_None;
19560 {
19561 if (temp2)
19562 delete arg2;
19563 }
19564 return resultobj;
19565 fail:
19566 {
19567 if (temp2)
19568 delete arg2;
19569 }
19570 return NULL;
19571}
19572
19573
19574static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxPyApp *arg1 = (wxPyApp *) 0 ;
19577 wxString result;
19578 PyObject * obj0 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
19584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = ((wxPyApp const *)arg1)->GetClassName();
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594#if wxUSE_UNICODE
19595 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19596#else
19597 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19598#endif
19599 }
19600 return resultobj;
19601 fail:
19602 return NULL;
19603}
19604
19605
19606static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 wxPyApp *arg1 = (wxPyApp *) 0 ;
19609 wxString *arg2 = 0 ;
19610 bool temp2 = False ;
19611 PyObject * obj0 = 0 ;
19612 PyObject * obj1 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self",(char *) "name", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19620 {
19621 arg2 = wxString_in_helper(obj1);
19622 if (arg2 == NULL) SWIG_fail;
19623 temp2 = True;
19624 }
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 (arg1)->SetClassName((wxString const &)*arg2);
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 Py_INCREF(Py_None); resultobj = Py_None;
19633 {
19634 if (temp2)
19635 delete arg2;
19636 }
19637 return resultobj;
19638 fail:
19639 {
19640 if (temp2)
19641 delete arg2;
19642 }
19643 return NULL;
19644}
19645
19646
19647static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19648 PyObject *resultobj;
19649 wxPyApp *arg1 = (wxPyApp *) 0 ;
19650 wxString *result;
19651 PyObject * obj0 = 0 ;
19652 char *kwnames[] = {
19653 (char *) "self", NULL
19654 };
19655
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
19657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 {
19662 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19663 result = (wxString *) &_result_ref;
19664 }
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 {
19670#if wxUSE_UNICODE
19671 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19672#else
19673 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19674#endif
19675 }
19676 return resultobj;
19677 fail:
19678 return NULL;
19679}
19680
19681
19682static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPyApp *arg1 = (wxPyApp *) 0 ;
19685 wxString *arg2 = 0 ;
19686 bool temp2 = False ;
19687 PyObject * obj0 = 0 ;
19688 PyObject * obj1 = 0 ;
19689 char *kwnames[] = {
19690 (char *) "self",(char *) "name", NULL
19691 };
19692
19693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
19694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19696 {
19697 arg2 = wxString_in_helper(obj1);
19698 if (arg2 == NULL) SWIG_fail;
19699 temp2 = True;
19700 }
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 (arg1)->SetVendorName((wxString const &)*arg2);
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 Py_INCREF(Py_None); resultobj = Py_None;
19709 {
19710 if (temp2)
19711 delete arg2;
19712 }
19713 return resultobj;
19714 fail:
19715 {
19716 if (temp2)
19717 delete arg2;
19718 }
19719 return NULL;
19720}
19721
19722
19723static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj;
19725 wxPyApp *arg1 = (wxPyApp *) 0 ;
19726 wxAppTraits *result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
19733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (wxAppTraits *)(arg1)->GetTraits();
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
19743 return resultobj;
19744 fail:
19745 return NULL;
19746}
19747
19748
19749static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxPyApp *arg1 = (wxPyApp *) 0 ;
19752 PyObject * obj0 = 0 ;
19753 char *kwnames[] = {
19754 (char *) "self", NULL
19755 };
19756
19757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
19758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 (arg1)->ProcessPendingEvents();
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 Py_INCREF(Py_None); resultobj = Py_None;
19768 return resultobj;
19769 fail:
19770 return NULL;
19771}
19772
19773
19774static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPyApp *arg1 = (wxPyApp *) 0 ;
19777 bool arg2 = (bool) False ;
19778 bool result;
19779 PyObject * obj0 = 0 ;
19780 PyObject * obj1 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self",(char *) "onlyIfNeeded", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
19786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19788 if (obj1) {
19789 arg2 = (bool) SWIG_AsBool(obj1);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 {
19793 PyThreadState* __tstate = wxPyBeginAllowThreads();
19794 result = (bool)(arg1)->Yield(arg2);
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 {
19800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19801 }
19802 return resultobj;
19803 fail:
19804 return NULL;
19805}
19806
19807
19808static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxPyApp *arg1 = (wxPyApp *) 0 ;
19811 PyObject * obj0 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 (arg1)->WakeUpIdle();
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 Py_INCREF(Py_None); resultobj = Py_None;
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
19833static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxPyApp *arg1 = (wxPyApp *) 0 ;
19836 int result;
19837 PyObject * obj0 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
19843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 result = (int)(arg1)->MainLoop();
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 resultobj = SWIG_FromInt((int)result);
19853 return resultobj;
19854 fail:
19855 return NULL;
19856}
19857
19858
19859static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19860 PyObject *resultobj;
19861 wxPyApp *arg1 = (wxPyApp *) 0 ;
19862 PyObject * obj0 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self", NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 (arg1)->Exit();
19873
19874 wxPyEndAllowThreads(__tstate);
19875 if (PyErr_Occurred()) SWIG_fail;
19876 }
19877 Py_INCREF(Py_None); resultobj = Py_None;
19878 return resultobj;
19879 fail:
19880 return NULL;
19881}
19882
19883
19884static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxPyApp *arg1 = (wxPyApp *) 0 ;
19887 PyObject * obj0 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 (arg1)->ExitMainLoop();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 Py_INCREF(Py_None); resultobj = Py_None;
19903 return resultobj;
19904 fail:
19905 return NULL;
19906}
19907
19908
19909static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj;
19911 wxPyApp *arg1 = (wxPyApp *) 0 ;
19912 bool result;
19913 PyObject * obj0 = 0 ;
19914 char *kwnames[] = {
19915 (char *) "self", NULL
19916 };
19917
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
19919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 result = (bool)(arg1)->Pending();
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 {
19929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19930 }
19931 return resultobj;
19932 fail:
19933 return NULL;
19934}
19935
19936
19937static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxPyApp *arg1 = (wxPyApp *) 0 ;
19940 bool result;
19941 PyObject * obj0 = 0 ;
19942 char *kwnames[] = {
19943 (char *) "self", NULL
19944 };
19945
19946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
19947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 result = (bool)(arg1)->Dispatch();
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 {
19957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19958 }
19959 return resultobj;
19960 fail:
19961 return NULL;
19962}
19963
19964
19965static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19966 PyObject *resultobj;
19967 wxPyApp *arg1 = (wxPyApp *) 0 ;
19968 bool result;
19969 PyObject * obj0 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 result = (bool)(arg1)->ProcessIdle();
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 {
19985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19986 }
19987 return resultobj;
19988 fail:
19989 return NULL;
19990}
19991
19992
19993static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19994 PyObject *resultobj;
19995 wxPyApp *arg1 = (wxPyApp *) 0 ;
19996 wxWindow *arg2 = (wxWindow *) 0 ;
19997 wxIdleEvent *arg3 = 0 ;
19998 bool result;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001 PyObject * obj2 = 0 ;
20002 char *kwnames[] = {
20003 (char *) "self",(char *) "win",(char *) "event", NULL
20004 };
20005
20006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
20007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20011 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20012 SWIG_POINTER_EXCEPTION | 0)) == -1)
20013 SWIG_fail;
20014 if (arg3 == NULL) {
20015 PyErr_SetString(PyExc_TypeError,"null reference");
20016 SWIG_fail;
20017 }
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20021
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 {
20026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20027 }
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
20034static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxPyApp *arg1 = (wxPyApp *) 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)((wxPyApp const *)arg1)->IsActive();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059}
20060
20061
20062static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPyApp *arg1 = (wxPyApp *) 0 ;
20065 wxWindow *arg2 = (wxWindow *) 0 ;
20066 PyObject * obj0 = 0 ;
20067 PyObject * obj1 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self",(char *) "win", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20075 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 (arg1)->SetTopWindow(arg2);
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 Py_INCREF(Py_None); resultobj = Py_None;
20085 return resultobj;
20086 fail:
20087 return NULL;
20088}
20089
20090
20091static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20092 PyObject *resultobj;
20093 wxPyApp *arg1 = (wxPyApp *) 0 ;
20094 wxWindow *result;
20095 PyObject * obj0 = 0 ;
20096 char *kwnames[] = {
20097 (char *) "self", NULL
20098 };
20099
20100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
20101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20103 {
20104 PyThreadState* __tstate = wxPyBeginAllowThreads();
20105 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
20110 {
20111 resultobj = wxPyMake_wxObject(result);
20112 }
20113 return resultobj;
20114 fail:
20115 return NULL;
20116}
20117
20118
20119static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj;
20121 wxPyApp *arg1 = (wxPyApp *) 0 ;
20122 bool arg2 ;
20123 PyObject * obj0 = 0 ;
20124 PyObject * obj1 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self",(char *) "flag", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
20130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20132 arg2 = (bool) SWIG_AsBool(obj1);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 (arg1)->SetExitOnFrameDelete(arg2);
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 Py_INCREF(Py_None); resultobj = Py_None;
20142 return resultobj;
20143 fail:
20144 return NULL;
20145}
20146
20147
20148static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPyApp *arg1 = (wxPyApp *) 0 ;
20151 bool result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173}
20174
20175
20176static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxPyApp *arg1 = (wxPyApp *) 0 ;
20179 bool arg2 ;
20180 PyObject * obj0 = 0 ;
20181 PyObject * obj1 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self",(char *) "flag", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
20187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20189 arg2 = (bool) SWIG_AsBool(obj1);
20190 if (PyErr_Occurred()) SWIG_fail;
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 (arg1)->SetUseBestVisual(arg2);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 Py_INCREF(Py_None); resultobj = Py_None;
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
20205static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxPyApp *arg1 = (wxPyApp *) 0 ;
20208 bool result;
20209 PyObject * obj0 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
20215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 {
20225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20226 }
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
20233static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20234 PyObject *resultobj;
20235 wxPyApp *arg1 = (wxPyApp *) 0 ;
20236 int arg2 ;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "mode", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20246 arg2 = (int) SWIG_AsInt(obj1);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 (arg1)->SetPrintMode(arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 Py_INCREF(Py_None); resultobj = Py_None;
20256 return resultobj;
20257 fail:
20258 return NULL;
20259}
20260
20261
20262static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPyApp *arg1 = (wxPyApp *) 0 ;
20265 int result;
20266 PyObject * obj0 = 0 ;
20267 char *kwnames[] = {
20268 (char *) "self", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
20272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 resultobj = SWIG_FromInt((int)result);
20282 return resultobj;
20283 fail:
20284 return NULL;
20285}
20286
20287
20288static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxPyApp *arg1 = (wxPyApp *) 0 ;
20291 int arg2 ;
20292 PyObject * obj0 = 0 ;
20293 PyObject * obj1 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self",(char *) "mode", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
20299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20301 arg2 = (int) SWIG_AsInt(obj1);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 (arg1)->SetAssertMode(arg2);
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 Py_INCREF(Py_None); resultobj = Py_None;
20311 return resultobj;
20312 fail:
20313 return NULL;
20314}
20315
20316
20317static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxPyApp *arg1 = (wxPyApp *) 0 ;
20320 int result;
20321 PyObject * obj0 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (int)(arg1)->GetAssertMode();
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 resultobj = SWIG_FromInt((int)result);
20337 return resultobj;
20338 fail:
20339 return NULL;
20340}
20341
20342
20343static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20344 PyObject *resultobj;
20345 bool result;
20346 char *kwnames[] = {
20347 NULL
20348 };
20349
20350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 {
20359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20360 }
20361 return resultobj;
20362 fail:
20363 return NULL;
20364}
20365
20366
20367static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 long result;
20370 char *kwnames[] = {
20371 NULL
20372 };
20373
20374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (long)wxPyApp::GetMacAboutMenuItemId();
20378
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = SWIG_FromLong((long)result);
20383 return resultobj;
20384 fail:
20385 return NULL;
20386}
20387
20388
20389static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj;
20391 long result;
20392 char *kwnames[] = {
20393 NULL
20394 };
20395
20396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 resultobj = SWIG_FromLong((long)result);
20405 return resultobj;
20406 fail:
20407 return NULL;
20408}
20409
20410
20411static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 long result;
20414 char *kwnames[] = {
20415 NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 result = (long)wxPyApp::GetMacExitMenuItemId();
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 resultobj = SWIG_FromLong((long)result);
20427 return resultobj;
20428 fail:
20429 return NULL;
20430}
20431
20432
20433static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxString result;
20436 char *kwnames[] = {
20437 NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20441 {
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = wxPyApp::GetMacHelpMenuTitleName();
20444
20445 wxPyEndAllowThreads(__tstate);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 }
20448 {
20449#if wxUSE_UNICODE
20450 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20451#else
20452 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20453#endif
20454 }
20455 return resultobj;
20456 fail:
20457 return NULL;
20458}
20459
20460
20461static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj;
20463 bool arg1 ;
20464 PyObject * obj0 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "val", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
20470 arg1 = (bool) SWIG_AsBool(obj0);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20475
20476 wxPyEndAllowThreads(__tstate);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 }
20479 Py_INCREF(Py_None); resultobj = Py_None;
20480 return resultobj;
20481 fail:
20482 return NULL;
20483}
20484
20485
20486static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj;
20488 long arg1 ;
20489 PyObject * obj0 = 0 ;
20490 char *kwnames[] = {
20491 (char *) "val", NULL
20492 };
20493
20494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
20495 arg1 = (long) SWIG_AsLong(obj0);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 {
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 wxPyApp::SetMacAboutMenuItemId(arg1);
20500
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 Py_INCREF(Py_None); resultobj = Py_None;
20505 return resultobj;
20506 fail:
20507 return NULL;
20508}
20509
20510
20511static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20512 PyObject *resultobj;
20513 long arg1 ;
20514 PyObject * obj0 = 0 ;
20515 char *kwnames[] = {
20516 (char *) "val", NULL
20517 };
20518
20519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
20520 arg1 = (long) SWIG_AsLong(obj0);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20525
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 Py_INCREF(Py_None); resultobj = Py_None;
20530 return resultobj;
20531 fail:
20532 return NULL;
20533}
20534
20535
20536static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20537 PyObject *resultobj;
20538 long arg1 ;
20539 PyObject * obj0 = 0 ;
20540 char *kwnames[] = {
20541 (char *) "val", NULL
20542 };
20543
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
20545 arg1 = (long) SWIG_AsLong(obj0);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 wxPyApp::SetMacExitMenuItemId(arg1);
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 Py_INCREF(Py_None); resultobj = Py_None;
20555 return resultobj;
20556 fail:
20557 return NULL;
20558}
20559
20560
20561static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20562 PyObject *resultobj;
20563 wxString *arg1 = 0 ;
20564 bool temp1 = False ;
20565 PyObject * obj0 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "val", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20571 {
20572 arg1 = wxString_in_helper(obj0);
20573 if (arg1 == NULL) SWIG_fail;
20574 temp1 = True;
20575 }
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 Py_INCREF(Py_None); resultobj = Py_None;
20584 {
20585 if (temp1)
20586 delete arg1;
20587 }
20588 return resultobj;
20589 fail:
20590 {
20591 if (temp1)
20592 delete arg1;
20593 }
20594 return NULL;
20595}
20596
20597
20598static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxPyApp *arg1 = (wxPyApp *) 0 ;
20601 PyObject * obj0 = 0 ;
20602 char *kwnames[] = {
20603 (char *) "self", NULL
20604 };
20605
20606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
20607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20609 {
20610 PyThreadState* __tstate = wxPyBeginAllowThreads();
20611 (arg1)->_BootstrapApp();
20612
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 Py_INCREF(Py_None); resultobj = Py_None;
20617 return resultobj;
20618 fail:
20619 return NULL;
20620}
20621
20622
20623static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20624 PyObject *resultobj;
20625 int result;
20626 char *kwnames[] = {
20627 NULL
20628 };
20629
20630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 result = (int)wxPyApp::GetComCtl32Version();
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 resultobj = SWIG_FromInt((int)result);
20639 return resultobj;
20640 fail:
20641 return NULL;
20642}
20643
20644
20645static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20646 PyObject *obj;
20647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20648 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20649 Py_INCREF(obj);
20650 return Py_BuildValue((char *)"");
20651}
20652static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 char *kwnames[] = {
20655 NULL
20656 };
20657
20658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 wxExit();
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 Py_INCREF(Py_None); resultobj = Py_None;
20667 return resultobj;
20668 fail:
20669 return NULL;
20670}
20671
20672
20673static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 bool result;
20676 char *kwnames[] = {
20677 NULL
20678 };
20679
20680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 result = (bool)wxYield();
20684
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 {
20689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20690 }
20691 return resultobj;
20692 fail:
20693 return NULL;
20694}
20695
20696
20697static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20698 PyObject *resultobj;
20699 bool result;
20700 char *kwnames[] = {
20701 NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20705 {
20706 PyThreadState* __tstate = wxPyBeginAllowThreads();
20707 result = (bool)wxYieldIfNeeded();
20708
20709 wxPyEndAllowThreads(__tstate);
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
20712 {
20713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20714 }
20715 return resultobj;
20716 fail:
20717 return NULL;
20718}
20719
20720
20721static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20722 PyObject *resultobj;
20723 wxWindow *arg1 = (wxWindow *) NULL ;
20724 bool arg2 = (bool) False ;
20725 bool result;
20726 PyObject * obj0 = 0 ;
20727 PyObject * obj1 = 0 ;
20728 char *kwnames[] = {
20729 (char *) "win",(char *) "onlyIfNeeded", NULL
20730 };
20731
20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20733 if (obj0) {
20734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20736 }
20737 if (obj1) {
20738 arg2 = (bool) SWIG_AsBool(obj1);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 result = (bool)wxSafeYield(arg1,arg2);
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 {
20749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20750 }
20751 return resultobj;
20752 fail:
20753 return NULL;
20754}
20755
20756
20757static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20758 PyObject *resultobj;
20759 char *kwnames[] = {
20760 NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 wxWakeUpIdle();
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 Py_INCREF(Py_None); resultobj = Py_None;
20772 return resultobj;
20773 fail:
20774 return NULL;
20775}
20776
20777
20778static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20781 wxEvent *arg2 = 0 ;
20782 PyObject * obj0 = 0 ;
20783 PyObject * obj1 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "dest",(char *) "event", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
20789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20792 SWIG_POINTER_EXCEPTION | 0)) == -1)
20793 SWIG_fail;
20794 if (arg2 == NULL) {
20795 PyErr_SetString(PyExc_TypeError,"null reference");
20796 SWIG_fail;
20797 }
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 wxPostEvent(arg1,*arg2);
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 Py_INCREF(Py_None); resultobj = Py_None;
20806 return resultobj;
20807 fail:
20808 return NULL;
20809}
20810
20811
20812static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 char *kwnames[] = {
20815 NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 wxApp_CleanUp();
20822
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 Py_INCREF(Py_None); resultobj = Py_None;
20827 return resultobj;
20828 fail:
20829 return NULL;
20830}
20831
20832
20833static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20834 PyObject *resultobj;
20835 wxPyApp *result;
20836 char *kwnames[] = {
20837 NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (wxPyApp *)wxGetApp();
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 {
20849 resultobj = wxPyMake_wxObject(result);
20850 }
20851 return resultobj;
20852 fail:
20853 return NULL;
20854}
20855
20856
20857static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20858 PyObject *resultobj;
20859 int arg1 = (int) 0 ;
20860 int arg2 = (int) 0 ;
20861 int arg3 = (int) 0 ;
20862 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20863 wxAcceleratorEntry *result;
20864 PyObject * obj0 = 0 ;
20865 PyObject * obj1 = 0 ;
20866 PyObject * obj2 = 0 ;
20867 PyObject * obj3 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20873 if (obj0) {
20874 arg1 = (int) SWIG_AsInt(obj0);
20875 if (PyErr_Occurred()) SWIG_fail;
20876 }
20877 if (obj1) {
20878 arg2 = (int) SWIG_AsInt(obj1);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 if (obj2) {
20882 arg3 = (int) SWIG_AsInt(obj2);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 if (obj3) {
20886 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
20887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20888 }
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
20903static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj;
20905 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 delete arg1;
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 Py_INCREF(Py_None); resultobj = Py_None;
20922 return resultobj;
20923 fail:
20924 return NULL;
20925}
20926
20927
20928static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20929 PyObject *resultobj;
20930 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20931 int arg2 ;
20932 int arg3 ;
20933 int arg4 ;
20934 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 PyObject * obj2 = 0 ;
20938 PyObject * obj3 = 0 ;
20939 PyObject * obj4 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20947 arg2 = (int) SWIG_AsInt(obj1);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 arg3 = (int) SWIG_AsInt(obj2);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 arg4 = (int) SWIG_AsInt(obj3);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 if (obj4) {
20954 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
20955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20956 }
20957 {
20958 PyThreadState* __tstate = wxPyBeginAllowThreads();
20959 (arg1)->Set(arg2,arg3,arg4,arg5);
20960
20961 wxPyEndAllowThreads(__tstate);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 Py_INCREF(Py_None); resultobj = Py_None;
20965 return resultobj;
20966 fail:
20967 return NULL;
20968}
20969
20970
20971static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj;
20973 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20974 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20975 PyObject * obj0 = 0 ;
20976 PyObject * obj1 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "item", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
20985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20986 {
20987 PyThreadState* __tstate = wxPyBeginAllowThreads();
20988 (arg1)->SetMenuItem(arg2);
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 Py_INCREF(Py_None); resultobj = Py_None;
20994 return resultobj;
20995 fail:
20996 return NULL;
20997}
20998
20999
21000static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21003 wxMenuItem *result;
21004 PyObject * obj0 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
21010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 {
21020 resultobj = wxPyMake_wxObject(result);
21021 }
21022 return resultobj;
21023 fail:
21024 return NULL;
21025}
21026
21027
21028static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
21029 PyObject *resultobj;
21030 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21031 int result;
21032 PyObject * obj0 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = (int)(arg1)->GetFlags();
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 resultobj = SWIG_FromInt((int)result);
21048 return resultobj;
21049 fail:
21050 return NULL;
21051}
21052
21053
21054static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21057 int result;
21058 PyObject * obj0 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = (int)(arg1)->GetKeyCode();
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 resultobj = SWIG_FromInt((int)result);
21074 return resultobj;
21075 fail:
21076 return NULL;
21077}
21078
21079
21080static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
21081 PyObject *resultobj;
21082 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21083 int result;
21084 PyObject * obj0 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
21090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 result = (int)(arg1)->GetCommand();
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 resultobj = SWIG_FromInt((int)result);
21100 return resultobj;
21101 fail:
21102 return NULL;
21103}
21104
21105
21106static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
21107 PyObject *obj;
21108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21109 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21110 Py_INCREF(obj);
21111 return Py_BuildValue((char *)"");
21112}
21113static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 int arg1 ;
21116 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21117 wxAcceleratorTable *result;
21118 PyObject * obj0 = 0 ;
21119 char *kwnames[] = {
21120 (char *) "n", NULL
21121 };
21122
21123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21124 {
21125 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21126 if (arg2) arg1 = PyList_Size(obj0);
21127 else arg1 = 0;
21128 }
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21132
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
21137 {
21138 delete [] arg2;
21139 }
21140 return resultobj;
21141 fail:
21142 {
21143 delete [] arg2;
21144 }
21145 return NULL;
21146}
21147
21148
21149static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21152 PyObject * obj0 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
21158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 delete arg1;
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 Py_INCREF(Py_None); resultobj = Py_None;
21168 return resultobj;
21169 fail:
21170 return NULL;
21171}
21172
21173
21174static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21175 PyObject *resultobj;
21176 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21177 bool result;
21178 PyObject * obj0 = 0 ;
21179 char *kwnames[] = {
21180 (char *) "self", NULL
21181 };
21182
21183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
21184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21186 {
21187 PyThreadState* __tstate = wxPyBeginAllowThreads();
21188 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21189
21190 wxPyEndAllowThreads(__tstate);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 }
21193 {
21194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21195 }
21196 return resultobj;
21197 fail:
21198 return NULL;
21199}
21200
21201
21202static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21203 PyObject *obj;
21204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21205 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21206 Py_INCREF(obj);
21207 return Py_BuildValue((char *)"");
21208}
21209static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21210 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21211 return 1;
21212}
21213
21214
21215static PyObject *_wrap_NullAcceleratorTable_get() {
21216 PyObject *pyobj;
21217
21218 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
21219 return pyobj;
21220}
21221
21222
21223static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxString *arg1 = 0 ;
21226 wxAcceleratorEntry *result;
21227 bool temp1 = False ;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "label", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21234 {
21235 arg1 = wxString_in_helper(obj0);
21236 if (arg1 == NULL) SWIG_fail;
21237 temp1 = True;
21238 }
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
21247 {
21248 if (temp1)
21249 delete arg1;
21250 }
21251 return resultobj;
21252 fail:
21253 {
21254 if (temp1)
21255 delete arg1;
21256 }
21257 return NULL;
21258}
21259
21260
21261static int _wrap_PanelNameStr_set(PyObject *_val) {
21262 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21263 return 1;
21264}
21265
21266
21267static PyObject *_wrap_PanelNameStr_get() {
21268 PyObject *pyobj;
21269
21270 {
21271#if wxUSE_UNICODE
21272 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21273#else
21274 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21275#endif
21276 }
21277 return pyobj;
21278}
21279
21280
21281static PyObject *_wrap_new_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj;
21283 wxVisualAttributes *result;
21284 char *kwnames[] = {
21285 NULL
21286 };
21287
21288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 result = (wxVisualAttributes *)new_wxVisualAttributes();
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21297 return resultobj;
21298 fail:
21299 return NULL;
21300}
21301
21302
21303static PyObject *_wrap_delete_VisualAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
21304 PyObject *resultobj;
21305 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21306 PyObject * obj0 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 delete_wxVisualAttributes(arg1);
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 Py_INCREF(Py_None); resultobj = Py_None;
21322 return resultobj;
21323 fail:
21324 return NULL;
21325}
21326
21327
21328static PyObject *_wrap_VisualAttributes_font_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21331 wxFont *arg2 = (wxFont *) 0 ;
21332 PyObject * obj0 = 0 ;
21333 PyObject * obj1 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self",(char *) "font", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21343 if (arg1) (arg1)->font = *arg2;
21344
21345 Py_INCREF(Py_None); resultobj = Py_None;
21346 return resultobj;
21347 fail:
21348 return NULL;
21349}
21350
21351
21352static PyObject *_wrap_VisualAttributes_font_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21355 wxFont *result;
21356 PyObject * obj0 = 0 ;
21357 char *kwnames[] = {
21358 (char *) "self", NULL
21359 };
21360
21361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21364 result = (wxFont *)& ((arg1)->font);
21365
21366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
21373static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21376 wxColour *arg2 = (wxColour *) 0 ;
21377 PyObject * obj0 = 0 ;
21378 PyObject * obj1 = 0 ;
21379 char *kwnames[] = {
21380 (char *) "self",(char *) "colFg", NULL
21381 };
21382
21383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21388 if (arg1) (arg1)->colFg = *arg2;
21389
21390 Py_INCREF(Py_None); resultobj = Py_None;
21391 return resultobj;
21392 fail:
21393 return NULL;
21394}
21395
21396
21397static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21398 PyObject *resultobj;
21399 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21400 wxColour *result;
21401 PyObject * obj0 = 0 ;
21402 char *kwnames[] = {
21403 (char *) "self", NULL
21404 };
21405
21406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21409 result = (wxColour *)& ((arg1)->colFg);
21410
21411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21412 return resultobj;
21413 fail:
21414 return NULL;
21415}
21416
21417
21418static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21421 wxColour *arg2 = (wxColour *) 0 ;
21422 PyObject * obj0 = 0 ;
21423 PyObject * obj1 = 0 ;
21424 char *kwnames[] = {
21425 (char *) "self",(char *) "colBg", NULL
21426 };
21427
21428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21431 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21433 if (arg1) (arg1)->colBg = *arg2;
21434
21435 Py_INCREF(Py_None); resultobj = Py_None;
21436 return resultobj;
21437 fail:
21438 return NULL;
21439}
21440
21441
21442static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *self, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21445 wxColour *result;
21446 PyObject * obj0 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21454 result = (wxColour *)& ((arg1)->colBg);
21455
21456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21457 return resultobj;
21458 fail:
21459 return NULL;
21460}
21461
21462
21463static PyObject * VisualAttributes_swigregister(PyObject *self, PyObject *args) {
21464 PyObject *obj;
21465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21466 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21467 Py_INCREF(obj);
21468 return Py_BuildValue((char *)"");
21469}
21470static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxWindow *arg1 = (wxWindow *) 0 ;
21473 int arg2 = (int) (int)-1 ;
21474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21476 wxSize const &arg4_defvalue = wxDefaultSize ;
21477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21478 long arg5 = (long) 0 ;
21479 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21480 wxString *arg6 = (wxString *) &arg6_defvalue ;
21481 wxWindow *result;
21482 wxPoint temp3 ;
21483 wxSize temp4 ;
21484 bool temp6 = False ;
21485 PyObject * obj0 = 0 ;
21486 PyObject * obj1 = 0 ;
21487 PyObject * obj2 = 0 ;
21488 PyObject * obj3 = 0 ;
21489 PyObject * obj4 = 0 ;
21490 PyObject * obj5 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21498 if (obj1) {
21499 arg2 = (int const) SWIG_AsInt(obj1);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 if (obj2) {
21503 {
21504 arg3 = &temp3;
21505 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21506 }
21507 }
21508 if (obj3) {
21509 {
21510 arg4 = &temp4;
21511 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21512 }
21513 }
21514 if (obj4) {
21515 arg5 = (long) SWIG_AsLong(obj4);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 if (obj5) {
21519 {
21520 arg6 = wxString_in_helper(obj5);
21521 if (arg6 == NULL) SWIG_fail;
21522 temp6 = True;
21523 }
21524 }
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 {
21533 resultobj = wxPyMake_wxObject(result);
21534 }
21535 {
21536 if (temp6)
21537 delete arg6;
21538 }
21539 return resultobj;
21540 fail:
21541 {
21542 if (temp6)
21543 delete arg6;
21544 }
21545 return NULL;
21546}
21547
21548
21549static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxWindow *result;
21552 char *kwnames[] = {
21553 NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 result = (wxWindow *)new wxWindow();
21560
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 {
21565 resultobj = wxPyMake_wxObject(result);
21566 }
21567 return resultobj;
21568 fail:
21569 return NULL;
21570}
21571
21572
21573static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxWindow *arg1 = (wxWindow *) 0 ;
21576 wxWindow *arg2 = (wxWindow *) 0 ;
21577 int arg3 = (int) (int)-1 ;
21578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21580 wxSize const &arg5_defvalue = wxDefaultSize ;
21581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21582 long arg6 = (long) 0 ;
21583 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21584 wxString *arg7 = (wxString *) &arg7_defvalue ;
21585 bool result;
21586 wxPoint temp4 ;
21587 wxSize temp5 ;
21588 bool temp7 = False ;
21589 PyObject * obj0 = 0 ;
21590 PyObject * obj1 = 0 ;
21591 PyObject * obj2 = 0 ;
21592 PyObject * obj3 = 0 ;
21593 PyObject * obj4 = 0 ;
21594 PyObject * obj5 = 0 ;
21595 PyObject * obj6 = 0 ;
21596 char *kwnames[] = {
21597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21598 };
21599
21600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21605 if (obj2) {
21606 arg3 = (int const) SWIG_AsInt(obj2);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 }
21609 if (obj3) {
21610 {
21611 arg4 = &temp4;
21612 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21613 }
21614 }
21615 if (obj4) {
21616 {
21617 arg5 = &temp5;
21618 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21619 }
21620 }
21621 if (obj5) {
21622 arg6 = (long) SWIG_AsLong(obj5);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 if (obj6) {
21626 {
21627 arg7 = wxString_in_helper(obj6);
21628 if (arg7 == NULL) SWIG_fail;
21629 temp7 = True;
21630 }
21631 }
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 {
21640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21641 }
21642 {
21643 if (temp7)
21644 delete arg7;
21645 }
21646 return resultobj;
21647 fail:
21648 {
21649 if (temp7)
21650 delete arg7;
21651 }
21652 return NULL;
21653}
21654
21655
21656static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21657 PyObject *resultobj;
21658 wxWindow *arg1 = (wxWindow *) 0 ;
21659 bool arg2 = (bool) False ;
21660 bool result;
21661 PyObject * obj0 = 0 ;
21662 PyObject * obj1 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "force", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
21668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21670 if (obj1) {
21671 arg2 = (bool) SWIG_AsBool(obj1);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 result = (bool)(arg1)->Close(arg2);
21677
21678 wxPyEndAllowThreads(__tstate);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 {
21682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21683 }
21684 return resultobj;
21685 fail:
21686 return NULL;
21687}
21688
21689
21690static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21691 PyObject *resultobj;
21692 wxWindow *arg1 = (wxWindow *) 0 ;
21693 bool result;
21694 PyObject * obj0 = 0 ;
21695 char *kwnames[] = {
21696 (char *) "self", NULL
21697 };
21698
21699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
21700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = (bool)(arg1)->Destroy();
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 {
21710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21711 }
21712 return resultobj;
21713 fail:
21714 return NULL;
21715}
21716
21717
21718static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21719 PyObject *resultobj;
21720 wxWindow *arg1 = (wxWindow *) 0 ;
21721 bool result;
21722 PyObject * obj0 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
21728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 result = (bool)(arg1)->DestroyChildren();
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 {
21738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21739 }
21740 return resultobj;
21741 fail:
21742 return NULL;
21743}
21744
21745
21746static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 wxWindow *arg1 = (wxWindow *) 0 ;
21749 bool result;
21750 PyObject * obj0 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 {
21766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21767 }
21768 return resultobj;
21769 fail:
21770 return NULL;
21771}
21772
21773
21774static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21775 PyObject *resultobj;
21776 wxWindow *arg1 = (wxWindow *) 0 ;
21777 wxString *arg2 = 0 ;
21778 bool temp2 = False ;
21779 PyObject * obj0 = 0 ;
21780 PyObject * obj1 = 0 ;
21781 char *kwnames[] = {
21782 (char *) "self",(char *) "title", NULL
21783 };
21784
21785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
21786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21788 {
21789 arg2 = wxString_in_helper(obj1);
21790 if (arg2 == NULL) SWIG_fail;
21791 temp2 = True;
21792 }
21793 {
21794 PyThreadState* __tstate = wxPyBeginAllowThreads();
21795 (arg1)->SetTitle((wxString const &)*arg2);
21796
21797 wxPyEndAllowThreads(__tstate);
21798 if (PyErr_Occurred()) SWIG_fail;
21799 }
21800 Py_INCREF(Py_None); resultobj = Py_None;
21801 {
21802 if (temp2)
21803 delete arg2;
21804 }
21805 return resultobj;
21806 fail:
21807 {
21808 if (temp2)
21809 delete arg2;
21810 }
21811 return NULL;
21812}
21813
21814
21815static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21816 PyObject *resultobj;
21817 wxWindow *arg1 = (wxWindow *) 0 ;
21818 wxString result;
21819 PyObject * obj0 = 0 ;
21820 char *kwnames[] = {
21821 (char *) "self", NULL
21822 };
21823
21824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
21825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21827 {
21828 PyThreadState* __tstate = wxPyBeginAllowThreads();
21829 result = ((wxWindow const *)arg1)->GetTitle();
21830
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 {
21835#if wxUSE_UNICODE
21836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21837#else
21838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21839#endif
21840 }
21841 return resultobj;
21842 fail:
21843 return NULL;
21844}
21845
21846
21847static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxWindow *arg1 = (wxWindow *) 0 ;
21850 wxString *arg2 = 0 ;
21851 bool temp2 = False ;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "label", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 {
21862 arg2 = wxString_in_helper(obj1);
21863 if (arg2 == NULL) SWIG_fail;
21864 temp2 = True;
21865 }
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetLabel((wxString const &)*arg2);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 {
21875 if (temp2)
21876 delete arg2;
21877 }
21878 return resultobj;
21879 fail:
21880 {
21881 if (temp2)
21882 delete arg2;
21883 }
21884 return NULL;
21885}
21886
21887
21888static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxWindow *arg1 = (wxWindow *) 0 ;
21891 wxString result;
21892 PyObject * obj0 = 0 ;
21893 char *kwnames[] = {
21894 (char *) "self", NULL
21895 };
21896
21897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
21898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 result = ((wxWindow const *)arg1)->GetLabel();
21903
21904 wxPyEndAllowThreads(__tstate);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 }
21907 {
21908#if wxUSE_UNICODE
21909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21910#else
21911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21912#endif
21913 }
21914 return resultobj;
21915 fail:
21916 return NULL;
21917}
21918
21919
21920static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21921 PyObject *resultobj;
21922 wxWindow *arg1 = (wxWindow *) 0 ;
21923 wxString *arg2 = 0 ;
21924 bool temp2 = False ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 char *kwnames[] = {
21928 (char *) "self",(char *) "name", NULL
21929 };
21930
21931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
21932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21934 {
21935 arg2 = wxString_in_helper(obj1);
21936 if (arg2 == NULL) SWIG_fail;
21937 temp2 = True;
21938 }
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 (arg1)->SetName((wxString const &)*arg2);
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 Py_INCREF(Py_None); resultobj = Py_None;
21947 {
21948 if (temp2)
21949 delete arg2;
21950 }
21951 return resultobj;
21952 fail:
21953 {
21954 if (temp2)
21955 delete arg2;
21956 }
21957 return NULL;
21958}
21959
21960
21961static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxWindow *arg1 = (wxWindow *) 0 ;
21964 wxString result;
21965 PyObject * obj0 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = ((wxWindow const *)arg1)->GetName();
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 {
21981#if wxUSE_UNICODE
21982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21983#else
21984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21985#endif
21986 }
21987 return resultobj;
21988 fail:
21989 return NULL;
21990}
21991
21992
21993static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxWindow *arg1 = (wxWindow *) 0 ;
21996 int arg2 ;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "variant", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
22004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22006 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 Py_INCREF(Py_None); resultobj = Py_None;
22016 return resultobj;
22017 fail:
22018 return NULL;
22019}
22020
22021
22022static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
22023 PyObject *resultobj;
22024 wxWindow *arg1 = (wxWindow *) 0 ;
22025 int result;
22026 PyObject * obj0 = 0 ;
22027 char *kwnames[] = {
22028 (char *) "self", NULL
22029 };
22030
22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 resultobj = SWIG_FromInt((int)result);
22042 return resultobj;
22043 fail:
22044 return NULL;
22045}
22046
22047
22048static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxWindow *arg1 = (wxWindow *) 0 ;
22051 int arg2 ;
22052 PyObject * obj0 = 0 ;
22053 PyObject * obj1 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self",(char *) "winid", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
22059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22061 arg2 = (int) SWIG_AsInt(obj1);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 (arg1)->SetId(arg2);
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 Py_INCREF(Py_None); resultobj = Py_None;
22071 return resultobj;
22072 fail:
22073 return NULL;
22074}
22075
22076
22077static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22078 PyObject *resultobj;
22079 wxWindow *arg1 = (wxWindow *) 0 ;
22080 int result;
22081 PyObject * obj0 = 0 ;
22082 char *kwnames[] = {
22083 (char *) "self", NULL
22084 };
22085
22086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
22087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 result = (int)((wxWindow const *)arg1)->GetId();
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 resultobj = SWIG_FromInt((int)result);
22097 return resultobj;
22098 fail:
22099 return NULL;
22100}
22101
22102
22103static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 int result;
22106 char *kwnames[] = {
22107 NULL
22108 };
22109
22110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 result = (int)wxWindow::NewControlId();
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 resultobj = SWIG_FromInt((int)result);
22119 return resultobj;
22120 fail:
22121 return NULL;
22122}
22123
22124
22125static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 int arg1 ;
22128 int result;
22129 PyObject * obj0 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "winid", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
22135 arg1 = (int) SWIG_AsInt(obj0);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = (int)wxWindow::NextControlId(arg1);
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 resultobj = SWIG_FromInt((int)result);
22145 return resultobj;
22146 fail:
22147 return NULL;
22148}
22149
22150
22151static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
22152 PyObject *resultobj;
22153 int arg1 ;
22154 int result;
22155 PyObject * obj0 = 0 ;
22156 char *kwnames[] = {
22157 (char *) "winid", NULL
22158 };
22159
22160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
22161 arg1 = (int) SWIG_AsInt(obj0);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 result = (int)wxWindow::PrevControlId(arg1);
22166
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 resultobj = SWIG_FromInt((int)result);
22171 return resultobj;
22172 fail:
22173 return NULL;
22174}
22175
22176
22177static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj;
22179 wxWindow *arg1 = (wxWindow *) 0 ;
22180 wxSize *arg2 = 0 ;
22181 wxSize temp2 ;
22182 PyObject * obj0 = 0 ;
22183 PyObject * obj1 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self",(char *) "size", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
22189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22191 {
22192 arg2 = &temp2;
22193 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22194 }
22195 {
22196 PyThreadState* __tstate = wxPyBeginAllowThreads();
22197 (arg1)->SetSize((wxSize const &)*arg2);
22198
22199 wxPyEndAllowThreads(__tstate);
22200 if (PyErr_Occurred()) SWIG_fail;
22201 }
22202 Py_INCREF(Py_None); resultobj = Py_None;
22203 return resultobj;
22204 fail:
22205 return NULL;
22206}
22207
22208
22209static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
22210 PyObject *resultobj;
22211 wxWindow *arg1 = (wxWindow *) 0 ;
22212 int arg2 ;
22213 int arg3 ;
22214 int arg4 ;
22215 int arg5 ;
22216 int arg6 = (int) wxSIZE_AUTO ;
22217 PyObject * obj0 = 0 ;
22218 PyObject * obj1 = 0 ;
22219 PyObject * obj2 = 0 ;
22220 PyObject * obj3 = 0 ;
22221 PyObject * obj4 = 0 ;
22222 PyObject * obj5 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22230 arg2 = (int) SWIG_AsInt(obj1);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 arg3 = (int) SWIG_AsInt(obj2);
22233 if (PyErr_Occurred()) SWIG_fail;
22234 arg4 = (int) SWIG_AsInt(obj3);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 arg5 = (int) SWIG_AsInt(obj4);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 if (obj5) {
22239 arg6 = (int) SWIG_AsInt(obj5);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 Py_INCREF(Py_None); resultobj = Py_None;
22250 return resultobj;
22251 fail:
22252 return NULL;
22253}
22254
22255
22256static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxWindow *arg1 = (wxWindow *) 0 ;
22259 wxRect *arg2 = 0 ;
22260 int arg3 = (int) wxSIZE_AUTO ;
22261 wxRect temp2 ;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 PyObject * obj2 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22272 {
22273 arg2 = &temp2;
22274 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22275 }
22276 if (obj2) {
22277 arg3 = (int) SWIG_AsInt(obj2);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 Py_INCREF(Py_None); resultobj = Py_None;
22288 return resultobj;
22289 fail:
22290 return NULL;
22291}
22292
22293
22294static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 wxWindow *arg1 = (wxWindow *) 0 ;
22297 int arg2 ;
22298 int arg3 ;
22299 PyObject * obj0 = 0 ;
22300 PyObject * obj1 = 0 ;
22301 PyObject * obj2 = 0 ;
22302 char *kwnames[] = {
22303 (char *) "self",(char *) "width",(char *) "height", NULL
22304 };
22305
22306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22309 arg2 = (int) SWIG_AsInt(obj1);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 arg3 = (int) SWIG_AsInt(obj2);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 (arg1)->SetSize(arg2,arg3);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 Py_INCREF(Py_None); resultobj = Py_None;
22321 return resultobj;
22322 fail:
22323 return NULL;
22324}
22325
22326
22327static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
22328 PyObject *resultobj;
22329 wxWindow *arg1 = (wxWindow *) 0 ;
22330 wxPoint *arg2 = 0 ;
22331 int arg3 = (int) wxSIZE_USE_EXISTING ;
22332 wxPoint temp2 ;
22333 PyObject * obj0 = 0 ;
22334 PyObject * obj1 = 0 ;
22335 PyObject * obj2 = 0 ;
22336 char *kwnames[] = {
22337 (char *) "self",(char *) "pt",(char *) "flags", NULL
22338 };
22339
22340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
22341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22343 {
22344 arg2 = &temp2;
22345 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22346 }
22347 if (obj2) {
22348 arg3 = (int) SWIG_AsInt(obj2);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 (arg1)->Move((wxPoint const &)*arg2,arg3);
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 Py_INCREF(Py_None); resultobj = Py_None;
22359 return resultobj;
22360 fail:
22361 return NULL;
22362}
22363
22364
22365static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxWindow *arg1 = (wxWindow *) 0 ;
22368 int arg2 ;
22369 int arg3 ;
22370 int arg4 = (int) wxSIZE_USE_EXISTING ;
22371 PyObject * obj0 = 0 ;
22372 PyObject * obj1 = 0 ;
22373 PyObject * obj2 = 0 ;
22374 PyObject * obj3 = 0 ;
22375 char *kwnames[] = {
22376 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22377 };
22378
22379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22382 arg2 = (int) SWIG_AsInt(obj1);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 arg3 = (int) SWIG_AsInt(obj2);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 if (obj3) {
22387 arg4 = (int) SWIG_AsInt(obj3);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 }
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 (arg1)->Move(arg2,arg3,arg4);
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 Py_INCREF(Py_None); resultobj = Py_None;
22398 return resultobj;
22399 fail:
22400 return NULL;
22401}
22402
22403
22404static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxWindow *arg1 = (wxWindow *) 0 ;
22407 PyObject * obj0 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22415 {
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 (arg1)->Raise();
22418
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 Py_INCREF(Py_None); resultobj = Py_None;
22423 return resultobj;
22424 fail:
22425 return NULL;
22426}
22427
22428
22429static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22430 PyObject *resultobj;
22431 wxWindow *arg1 = (wxWindow *) 0 ;
22432 PyObject * obj0 = 0 ;
22433 char *kwnames[] = {
22434 (char *) "self", NULL
22435 };
22436
22437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
22438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22440 {
22441 PyThreadState* __tstate = wxPyBeginAllowThreads();
22442 (arg1)->Lower();
22443
22444 wxPyEndAllowThreads(__tstate);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 }
22447 Py_INCREF(Py_None); resultobj = Py_None;
22448 return resultobj;
22449 fail:
22450 return NULL;
22451}
22452
22453
22454static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22455 PyObject *resultobj;
22456 wxWindow *arg1 = (wxWindow *) 0 ;
22457 wxSize *arg2 = 0 ;
22458 wxSize temp2 ;
22459 PyObject * obj0 = 0 ;
22460 PyObject * obj1 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "self",(char *) "size", NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
22466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22468 {
22469 arg2 = &temp2;
22470 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22471 }
22472 {
22473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22474 (arg1)->SetClientSize((wxSize const &)*arg2);
22475
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 Py_INCREF(Py_None); resultobj = Py_None;
22480 return resultobj;
22481 fail:
22482 return NULL;
22483}
22484
22485
22486static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22487 PyObject *resultobj;
22488 wxWindow *arg1 = (wxWindow *) 0 ;
22489 int arg2 ;
22490 int arg3 ;
22491 PyObject * obj0 = 0 ;
22492 PyObject * obj1 = 0 ;
22493 PyObject * obj2 = 0 ;
22494 char *kwnames[] = {
22495 (char *) "self",(char *) "width",(char *) "height", NULL
22496 };
22497
22498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22501 arg2 = (int) SWIG_AsInt(obj1);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 arg3 = (int) SWIG_AsInt(obj2);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 {
22506 PyThreadState* __tstate = wxPyBeginAllowThreads();
22507 (arg1)->SetClientSize(arg2,arg3);
22508
22509 wxPyEndAllowThreads(__tstate);
22510 if (PyErr_Occurred()) SWIG_fail;
22511 }
22512 Py_INCREF(Py_None); resultobj = Py_None;
22513 return resultobj;
22514 fail:
22515 return NULL;
22516}
22517
22518
22519static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22520 PyObject *resultobj;
22521 wxWindow *arg1 = (wxWindow *) 0 ;
22522 wxRect *arg2 = 0 ;
22523 wxRect temp2 ;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self",(char *) "rect", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
22531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22533 {
22534 arg2 = &temp2;
22535 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22536 }
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 (arg1)->SetClientSize((wxRect const &)*arg2);
22540
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 Py_INCREF(Py_None); resultobj = Py_None;
22545 return resultobj;
22546 fail:
22547 return NULL;
22548}
22549
22550
22551static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22552 PyObject *resultobj;
22553 wxWindow *arg1 = (wxWindow *) 0 ;
22554 wxPoint result;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = (arg1)->GetPosition();
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
22570 {
22571 wxPoint * resultptr;
22572 resultptr = new wxPoint((wxPoint &) result);
22573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22574 }
22575 return resultobj;
22576 fail:
22577 return NULL;
22578}
22579
22580
22581static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22582 PyObject *resultobj;
22583 wxWindow *arg1 = (wxWindow *) 0 ;
22584 int *arg2 = (int *) 0 ;
22585 int *arg3 = (int *) 0 ;
22586 int temp2 ;
22587 int temp3 ;
22588 PyObject * obj0 = 0 ;
22589 char *kwnames[] = {
22590 (char *) "self", NULL
22591 };
22592
22593 arg2 = &temp2;
22594 arg3 = &temp3;
22595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
22596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22598 {
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 (arg1)->GetPosition(arg2,arg3);
22601
22602 wxPyEndAllowThreads(__tstate);
22603 if (PyErr_Occurred()) SWIG_fail;
22604 }
22605 Py_INCREF(Py_None); resultobj = Py_None;
22606 {
22607 PyObject *o = PyInt_FromLong((long) (*arg2));
22608 resultobj = t_output_helper(resultobj,o);
22609 }
22610 {
22611 PyObject *o = PyInt_FromLong((long) (*arg3));
22612 resultobj = t_output_helper(resultobj,o);
22613 }
22614 return resultobj;
22615 fail:
22616 return NULL;
22617}
22618
22619
22620static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22621 PyObject *resultobj;
22622 wxWindow *arg1 = (wxWindow *) 0 ;
22623 wxSize result;
22624 PyObject * obj0 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
22630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = ((wxWindow const *)arg1)->GetSize();
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 {
22640 wxSize * resultptr;
22641 resultptr = new wxSize((wxSize &) result);
22642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22643 }
22644 return resultobj;
22645 fail:
22646 return NULL;
22647}
22648
22649
22650static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22651 PyObject *resultobj;
22652 wxWindow *arg1 = (wxWindow *) 0 ;
22653 int *arg2 = (int *) 0 ;
22654 int *arg3 = (int *) 0 ;
22655 int temp2 ;
22656 int temp3 ;
22657 PyObject * obj0 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self", NULL
22660 };
22661
22662 arg2 = &temp2;
22663 arg3 = &temp3;
22664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
22665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 Py_INCREF(Py_None); resultobj = Py_None;
22675 {
22676 PyObject *o = PyInt_FromLong((long) (*arg2));
22677 resultobj = t_output_helper(resultobj,o);
22678 }
22679 {
22680 PyObject *o = PyInt_FromLong((long) (*arg3));
22681 resultobj = t_output_helper(resultobj,o);
22682 }
22683 return resultobj;
22684 fail:
22685 return NULL;
22686}
22687
22688
22689static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxWindow *arg1 = (wxWindow *) 0 ;
22692 wxRect result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
22699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 result = ((wxWindow const *)arg1)->GetRect();
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 {
22709 wxRect * resultptr;
22710 resultptr = new wxRect((wxRect &) result);
22711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22712 }
22713 return resultobj;
22714 fail:
22715 return NULL;
22716}
22717
22718
22719static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxWindow *arg1 = (wxWindow *) 0 ;
22722 wxSize result;
22723 PyObject * obj0 = 0 ;
22724 char *kwnames[] = {
22725 (char *) "self", NULL
22726 };
22727
22728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
22729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22731 {
22732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22733 result = ((wxWindow const *)arg1)->GetClientSize();
22734
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 {
22739 wxSize * resultptr;
22740 resultptr = new wxSize((wxSize &) result);
22741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22742 }
22743 return resultobj;
22744 fail:
22745 return NULL;
22746}
22747
22748
22749static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22750 PyObject *resultobj;
22751 wxWindow *arg1 = (wxWindow *) 0 ;
22752 int *arg2 = (int *) 0 ;
22753 int *arg3 = (int *) 0 ;
22754 int temp2 ;
22755 int temp3 ;
22756 PyObject * obj0 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self", NULL
22759 };
22760
22761 arg2 = &temp2;
22762 arg3 = &temp3;
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
22764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 Py_INCREF(Py_None); resultobj = Py_None;
22774 {
22775 PyObject *o = PyInt_FromLong((long) (*arg2));
22776 resultobj = t_output_helper(resultobj,o);
22777 }
22778 {
22779 PyObject *o = PyInt_FromLong((long) (*arg3));
22780 resultobj = t_output_helper(resultobj,o);
22781 }
22782 return resultobj;
22783 fail:
22784 return NULL;
22785}
22786
22787
22788static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxWindow *arg1 = (wxWindow *) 0 ;
22791 wxPoint result;
22792 PyObject * obj0 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
22798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 {
22808 wxPoint * resultptr;
22809 resultptr = new wxPoint((wxPoint &) result);
22810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22811 }
22812 return resultobj;
22813 fail:
22814 return NULL;
22815}
22816
22817
22818static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22819 PyObject *resultobj;
22820 wxWindow *arg1 = (wxWindow *) 0 ;
22821 wxRect result;
22822 PyObject * obj0 = 0 ;
22823 char *kwnames[] = {
22824 (char *) "self", NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
22828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = ((wxWindow const *)arg1)->GetClientRect();
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 {
22838 wxRect * resultptr;
22839 resultptr = new wxRect((wxRect &) result);
22840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22841 }
22842 return resultobj;
22843 fail:
22844 return NULL;
22845}
22846
22847
22848static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22849 PyObject *resultobj;
22850 wxWindow *arg1 = (wxWindow *) 0 ;
22851 wxSize result;
22852 PyObject * obj0 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
22858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 result = ((wxWindow const *)arg1)->GetBestSize();
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 {
22868 wxSize * resultptr;
22869 resultptr = new wxSize((wxSize &) result);
22870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22871 }
22872 return resultobj;
22873 fail:
22874 return NULL;
22875}
22876
22877
22878static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22879 PyObject *resultobj;
22880 wxWindow *arg1 = (wxWindow *) 0 ;
22881 int *arg2 = (int *) 0 ;
22882 int *arg3 = (int *) 0 ;
22883 int temp2 ;
22884 int temp3 ;
22885 PyObject * obj0 = 0 ;
22886 char *kwnames[] = {
22887 (char *) "self", NULL
22888 };
22889
22890 arg2 = &temp2;
22891 arg3 = &temp3;
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
22893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 Py_INCREF(Py_None); resultobj = Py_None;
22903 {
22904 PyObject *o = PyInt_FromLong((long) (*arg2));
22905 resultobj = t_output_helper(resultobj,o);
22906 }
22907 {
22908 PyObject *o = PyInt_FromLong((long) (*arg3));
22909 resultobj = t_output_helper(resultobj,o);
22910 }
22911 return resultobj;
22912 fail:
22913 return NULL;
22914}
22915
22916
22917static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj;
22919 wxWindow *arg1 = (wxWindow *) 0 ;
22920 wxSize result;
22921 PyObject * obj0 = 0 ;
22922 char *kwnames[] = {
22923 (char *) "self", NULL
22924 };
22925
22926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
22927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22932
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 {
22937 wxSize * resultptr;
22938 resultptr = new wxSize((wxSize &) result);
22939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22940 }
22941 return resultobj;
22942 fail:
22943 return NULL;
22944}
22945
22946
22947static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxWindow *arg1 = (wxWindow *) 0 ;
22950 int arg2 = (int) wxBOTH ;
22951 PyObject * obj0 = 0 ;
22952 PyObject * obj1 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self",(char *) "direction", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
22958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22960 if (obj1) {
22961 arg2 = (int) SWIG_AsInt(obj1);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 (arg1)->Center(arg2);
22967
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 Py_INCREF(Py_None); resultobj = Py_None;
22972 return resultobj;
22973 fail:
22974 return NULL;
22975}
22976
22977
22978static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj;
22980 wxWindow *arg1 = (wxWindow *) 0 ;
22981 int arg2 = (int) wxBOTH ;
22982 PyObject * obj0 = 0 ;
22983 PyObject * obj1 = 0 ;
22984 char *kwnames[] = {
22985 (char *) "self",(char *) "dir", NULL
22986 };
22987
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
22989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22991 if (obj1) {
22992 arg2 = (int) SWIG_AsInt(obj1);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 (arg1)->CenterOnScreen(arg2);
22998
22999 wxPyEndAllowThreads(__tstate);
23000 if (PyErr_Occurred()) SWIG_fail;
23001 }
23002 Py_INCREF(Py_None); resultobj = Py_None;
23003 return resultobj;
23004 fail:
23005 return NULL;
23006}
23007
23008
23009static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23010 PyObject *resultobj;
23011 wxWindow *arg1 = (wxWindow *) 0 ;
23012 int arg2 = (int) wxBOTH ;
23013 PyObject * obj0 = 0 ;
23014 PyObject * obj1 = 0 ;
23015 char *kwnames[] = {
23016 (char *) "self",(char *) "dir", NULL
23017 };
23018
23019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
23020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 if (obj1) {
23023 arg2 = (int) SWIG_AsInt(obj1);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 (arg1)->CenterOnParent(arg2);
23029
23030 wxPyEndAllowThreads(__tstate);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
23033 Py_INCREF(Py_None); resultobj = Py_None;
23034 return resultobj;
23035 fail:
23036 return NULL;
23037}
23038
23039
23040static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
23041 PyObject *resultobj;
23042 wxWindow *arg1 = (wxWindow *) 0 ;
23043 PyObject * obj0 = 0 ;
23044 char *kwnames[] = {
23045 (char *) "self", NULL
23046 };
23047
23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
23049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23051 {
23052 PyThreadState* __tstate = wxPyBeginAllowThreads();
23053 (arg1)->Fit();
23054
23055 wxPyEndAllowThreads(__tstate);
23056 if (PyErr_Occurred()) SWIG_fail;
23057 }
23058 Py_INCREF(Py_None); resultobj = Py_None;
23059 return resultobj;
23060 fail:
23061 return NULL;
23062}
23063
23064
23065static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
23066 PyObject *resultobj;
23067 wxWindow *arg1 = (wxWindow *) 0 ;
23068 PyObject * obj0 = 0 ;
23069 char *kwnames[] = {
23070 (char *) "self", NULL
23071 };
23072
23073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
23074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23076 {
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 (arg1)->FitInside();
23079
23080 wxPyEndAllowThreads(__tstate);
23081 if (PyErr_Occurred()) SWIG_fail;
23082 }
23083 Py_INCREF(Py_None); resultobj = Py_None;
23084 return resultobj;
23085 fail:
23086 return NULL;
23087}
23088
23089
23090static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *self, PyObject *args) {
23091 PyObject *resultobj;
23092 wxWindow *arg1 = (wxWindow *) 0 ;
23093 int arg2 ;
23094 int arg3 ;
23095 int arg4 = (int) -1 ;
23096 int arg5 = (int) -1 ;
23097 int arg6 = (int) -1 ;
23098 int arg7 = (int) -1 ;
23099 PyObject * obj0 = 0 ;
23100 PyObject * obj1 = 0 ;
23101 PyObject * obj2 = 0 ;
23102 PyObject * obj3 = 0 ;
23103 PyObject * obj4 = 0 ;
23104 PyObject * obj5 = 0 ;
23105 PyObject * obj6 = 0 ;
23106
23107 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23110 arg2 = (int) SWIG_AsInt(obj1);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 arg3 = (int) SWIG_AsInt(obj2);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 if (obj3) {
23115 arg4 = (int) SWIG_AsInt(obj3);
23116 if (PyErr_Occurred()) SWIG_fail;
23117 }
23118 if (obj4) {
23119 arg5 = (int) SWIG_AsInt(obj4);
23120 if (PyErr_Occurred()) SWIG_fail;
23121 }
23122 if (obj5) {
23123 arg6 = (int) SWIG_AsInt(obj5);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 if (obj6) {
23127 arg7 = (int) SWIG_AsInt(obj6);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
23130 {
23131 PyThreadState* __tstate = wxPyBeginAllowThreads();
23132 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23133
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 Py_INCREF(Py_None); resultobj = Py_None;
23138 return resultobj;
23139 fail:
23140 return NULL;
23141}
23142
23143
23144static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23145 PyObject *resultobj;
23146 wxWindow *arg1 = (wxWindow *) 0 ;
23147 wxSize *arg2 = 0 ;
23148 wxSize const &arg3_defvalue = wxDefaultSize ;
23149 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23150 wxSize const &arg4_defvalue = wxDefaultSize ;
23151 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23152 wxSize temp2 ;
23153 wxSize temp3 ;
23154 wxSize temp4 ;
23155 PyObject * obj0 = 0 ;
23156 PyObject * obj1 = 0 ;
23157 PyObject * obj2 = 0 ;
23158 PyObject * obj3 = 0 ;
23159
23160 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23163 {
23164 arg2 = &temp2;
23165 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23166 }
23167 if (obj2) {
23168 {
23169 arg3 = &temp3;
23170 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23171 }
23172 }
23173 if (obj3) {
23174 {
23175 arg4 = &temp4;
23176 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23177 }
23178 }
23179 {
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23182
23183 wxPyEndAllowThreads(__tstate);
23184 if (PyErr_Occurred()) SWIG_fail;
23185 }
23186 Py_INCREF(Py_None); resultobj = Py_None;
23187 return resultobj;
23188 fail:
23189 return NULL;
23190}
23191
23192
23193static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23194 int argc;
23195 PyObject *argv[8];
23196 int ii;
23197
23198 argc = PyObject_Length(args);
23199 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23200 argv[ii] = PyTuple_GetItem(args,ii);
23201 }
23202 if ((argc >= 2) && (argc <= 4)) {
23203 int _v;
23204 {
23205 void *ptr;
23206 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23207 _v = 0;
23208 PyErr_Clear();
23209 } else {
23210 _v = 1;
23211 }
23212 }
23213 if (_v) {
23214 {
23215 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23216 }
23217 if (_v) {
23218 if (argc <= 2) {
23219 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23220 }
23221 {
23222 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23223 }
23224 if (_v) {
23225 if (argc <= 3) {
23226 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23227 }
23228 {
23229 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23230 }
23231 if (_v) {
23232 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23233 }
23234 }
23235 }
23236 }
23237 }
23238 if ((argc >= 3) && (argc <= 7)) {
23239 int _v;
23240 {
23241 void *ptr;
23242 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23243 _v = 0;
23244 PyErr_Clear();
23245 } else {
23246 _v = 1;
23247 }
23248 }
23249 if (_v) {
23250 _v = SWIG_CheckInt(argv[1]);
23251 if (_v) {
23252 _v = SWIG_CheckInt(argv[2]);
23253 if (_v) {
23254 if (argc <= 3) {
23255 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23256 }
23257 _v = SWIG_CheckInt(argv[3]);
23258 if (_v) {
23259 if (argc <= 4) {
23260 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23261 }
23262 _v = SWIG_CheckInt(argv[4]);
23263 if (_v) {
23264 if (argc <= 5) {
23265 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23266 }
23267 _v = SWIG_CheckInt(argv[5]);
23268 if (_v) {
23269 if (argc <= 6) {
23270 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23271 }
23272 _v = SWIG_CheckInt(argv[6]);
23273 if (_v) {
23274 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23275 }
23276 }
23277 }
23278 }
23279 }
23280 }
23281 }
23282 }
23283
23284 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23285 return NULL;
23286}
23287
23288
23289static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *self, PyObject *args) {
23290 PyObject *resultobj;
23291 wxWindow *arg1 = (wxWindow *) 0 ;
23292 int arg2 ;
23293 int arg3 ;
23294 int arg4 = (int) -1 ;
23295 int arg5 = (int) -1 ;
23296 PyObject * obj0 = 0 ;
23297 PyObject * obj1 = 0 ;
23298 PyObject * obj2 = 0 ;
23299 PyObject * obj3 = 0 ;
23300 PyObject * obj4 = 0 ;
23301
23302 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23305 arg2 = (int) SWIG_AsInt(obj1);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 arg3 = (int) SWIG_AsInt(obj2);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 if (obj3) {
23310 arg4 = (int) SWIG_AsInt(obj3);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 if (obj4) {
23314 arg5 = (int) SWIG_AsInt(obj4);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 Py_INCREF(Py_None); resultobj = Py_None;
23325 return resultobj;
23326 fail:
23327 return NULL;
23328}
23329
23330
23331static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *self, PyObject *args) {
23332 PyObject *resultobj;
23333 wxWindow *arg1 = (wxWindow *) 0 ;
23334 wxSize *arg2 = 0 ;
23335 wxSize const &arg3_defvalue = wxDefaultSize ;
23336 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23337 wxSize temp2 ;
23338 wxSize temp3 ;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 PyObject * obj2 = 0 ;
23342
23343 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
23344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23346 {
23347 arg2 = &temp2;
23348 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23349 }
23350 if (obj2) {
23351 {
23352 arg3 = &temp3;
23353 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23354 }
23355 }
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23359
23360 wxPyEndAllowThreads(__tstate);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 }
23363 Py_INCREF(Py_None); resultobj = Py_None;
23364 return resultobj;
23365 fail:
23366 return NULL;
23367}
23368
23369
23370static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23371 int argc;
23372 PyObject *argv[6];
23373 int ii;
23374
23375 argc = PyObject_Length(args);
23376 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23377 argv[ii] = PyTuple_GetItem(args,ii);
23378 }
23379 if ((argc >= 2) && (argc <= 3)) {
23380 int _v;
23381 {
23382 void *ptr;
23383 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23384 _v = 0;
23385 PyErr_Clear();
23386 } else {
23387 _v = 1;
23388 }
23389 }
23390 if (_v) {
23391 {
23392 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23393 }
23394 if (_v) {
23395 if (argc <= 2) {
23396 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23397 }
23398 {
23399 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23400 }
23401 if (_v) {
23402 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23403 }
23404 }
23405 }
23406 }
23407 if ((argc >= 3) && (argc <= 5)) {
23408 int _v;
23409 {
23410 void *ptr;
23411 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23412 _v = 0;
23413 PyErr_Clear();
23414 } else {
23415 _v = 1;
23416 }
23417 }
23418 if (_v) {
23419 _v = SWIG_CheckInt(argv[1]);
23420 if (_v) {
23421 _v = SWIG_CheckInt(argv[2]);
23422 if (_v) {
23423 if (argc <= 3) {
23424 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23425 }
23426 _v = SWIG_CheckInt(argv[3]);
23427 if (_v) {
23428 if (argc <= 4) {
23429 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23430 }
23431 _v = SWIG_CheckInt(argv[4]);
23432 if (_v) {
23433 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23434 }
23435 }
23436 }
23437 }
23438 }
23439 }
23440
23441 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23442 return NULL;
23443}
23444
23445
23446static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxWindow *arg1 = (wxWindow *) 0 ;
23449 int result;
23450 PyObject * obj0 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
23456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = (int)((wxWindow const *)arg1)->GetMinWidth();
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 resultobj = SWIG_FromInt((int)result);
23466 return resultobj;
23467 fail:
23468 return NULL;
23469}
23470
23471
23472static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23473 PyObject *resultobj;
23474 wxWindow *arg1 = (wxWindow *) 0 ;
23475 int result;
23476 PyObject * obj0 = 0 ;
23477 char *kwnames[] = {
23478 (char *) "self", NULL
23479 };
23480
23481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
23482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = (int)((wxWindow const *)arg1)->GetMinHeight();
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 resultobj = SWIG_FromInt((int)result);
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
23498static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
23499 PyObject *resultobj;
23500 wxWindow *arg1 = (wxWindow *) 0 ;
23501 int result;
23502 PyObject * obj0 = 0 ;
23503 char *kwnames[] = {
23504 (char *) "self", NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
23508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
23513
23514 wxPyEndAllowThreads(__tstate);
23515 if (PyErr_Occurred()) SWIG_fail;
23516 }
23517 resultobj = SWIG_FromInt((int)result);
23518 return resultobj;
23519 fail:
23520 return NULL;
23521}
23522
23523
23524static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
23525 PyObject *resultobj;
23526 wxWindow *arg1 = (wxWindow *) 0 ;
23527 int result;
23528 PyObject * obj0 = 0 ;
23529 char *kwnames[] = {
23530 (char *) "self", NULL
23531 };
23532
23533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
23534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 resultobj = SWIG_FromInt((int)result);
23544 return resultobj;
23545 fail:
23546 return NULL;
23547}
23548
23549
23550static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23551 PyObject *resultobj;
23552 wxWindow *arg1 = (wxWindow *) 0 ;
23553 wxSize result;
23554 PyObject * obj0 = 0 ;
23555 char *kwnames[] = {
23556 (char *) "self", NULL
23557 };
23558
23559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
23560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = ((wxWindow const *)arg1)->GetMaxSize();
23565
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
23569 {
23570 wxSize * resultptr;
23571 resultptr = new wxSize((wxSize &) result);
23572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23573 }
23574 return resultobj;
23575 fail:
23576 return NULL;
23577}
23578
23579
23580static PyObject *_wrap_Window_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23581 PyObject *resultobj;
23582 wxWindow *arg1 = (wxWindow *) 0 ;
23583 wxSize result;
23584 PyObject * obj0 = 0 ;
23585 char *kwnames[] = {
23586 (char *) "self", NULL
23587 };
23588
23589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
23590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23592 {
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 result = ((wxWindow const *)arg1)->GetMinSize();
23595
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 {
23600 wxSize * resultptr;
23601 resultptr = new wxSize((wxSize &) result);
23602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23603 }
23604 return resultobj;
23605 fail:
23606 return NULL;
23607}
23608
23609
23610static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23611 PyObject *resultobj;
23612 wxWindow *arg1 = (wxWindow *) 0 ;
23613 wxSize *arg2 = 0 ;
23614 wxSize temp2 ;
23615 PyObject * obj0 = 0 ;
23616 PyObject * obj1 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self",(char *) "size", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
23622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23624 {
23625 arg2 = &temp2;
23626 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23627 }
23628 {
23629 PyThreadState* __tstate = wxPyBeginAllowThreads();
23630 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23631
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 Py_INCREF(Py_None); resultobj = Py_None;
23636 return resultobj;
23637 fail:
23638 return NULL;
23639}
23640
23641
23642static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxWindow *arg1 = (wxWindow *) 0 ;
23645 int arg2 ;
23646 int arg3 ;
23647 PyObject * obj0 = 0 ;
23648 PyObject * obj1 = 0 ;
23649 PyObject * obj2 = 0 ;
23650 char *kwnames[] = {
23651 (char *) "self",(char *) "w",(char *) "h", NULL
23652 };
23653
23654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
23655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23657 arg2 = (int) SWIG_AsInt(obj1);
23658 if (PyErr_Occurred()) SWIG_fail;
23659 arg3 = (int) SWIG_AsInt(obj2);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 {
23662 PyThreadState* __tstate = wxPyBeginAllowThreads();
23663 (arg1)->SetVirtualSize(arg2,arg3);
23664
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 Py_INCREF(Py_None); resultobj = Py_None;
23669 return resultobj;
23670 fail:
23671 return NULL;
23672}
23673
23674
23675static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23676 PyObject *resultobj;
23677 wxWindow *arg1 = (wxWindow *) 0 ;
23678 wxSize result;
23679 PyObject * obj0 = 0 ;
23680 char *kwnames[] = {
23681 (char *) "self", NULL
23682 };
23683
23684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
23685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = ((wxWindow const *)arg1)->GetVirtualSize();
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
23694 {
23695 wxSize * resultptr;
23696 resultptr = new wxSize((wxSize &) result);
23697 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23698 }
23699 return resultobj;
23700 fail:
23701 return NULL;
23702}
23703
23704
23705static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23706 PyObject *resultobj;
23707 wxWindow *arg1 = (wxWindow *) 0 ;
23708 int *arg2 = (int *) 0 ;
23709 int *arg3 = (int *) 0 ;
23710 int temp2 ;
23711 int temp3 ;
23712 PyObject * obj0 = 0 ;
23713 char *kwnames[] = {
23714 (char *) "self", NULL
23715 };
23716
23717 arg2 = &temp2;
23718 arg3 = &temp3;
23719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
23720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23722 {
23723 PyThreadState* __tstate = wxPyBeginAllowThreads();
23724 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 Py_INCREF(Py_None); resultobj = Py_None;
23730 {
23731 PyObject *o = PyInt_FromLong((long) (*arg2));
23732 resultobj = t_output_helper(resultobj,o);
23733 }
23734 {
23735 PyObject *o = PyInt_FromLong((long) (*arg3));
23736 resultobj = t_output_helper(resultobj,o);
23737 }
23738 return resultobj;
23739 fail:
23740 return NULL;
23741}
23742
23743
23744static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxWindow *arg1 = (wxWindow *) 0 ;
23747 wxSize result;
23748 PyObject * obj0 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
23754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 {
23764 wxSize * resultptr;
23765 resultptr = new wxSize((wxSize &) result);
23766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23767 }
23768 return resultobj;
23769 fail:
23770 return NULL;
23771}
23772
23773
23774static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxWindow *arg1 = (wxWindow *) 0 ;
23777 bool arg2 = (bool) True ;
23778 bool result;
23779 PyObject * obj0 = 0 ;
23780 PyObject * obj1 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self",(char *) "show", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
23786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23788 if (obj1) {
23789 arg2 = (bool) SWIG_AsBool(obj1);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 result = (bool)(arg1)->Show(arg2);
23795
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 {
23800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23801 }
23802 return resultobj;
23803 fail:
23804 return NULL;
23805}
23806
23807
23808static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23809 PyObject *resultobj;
23810 wxWindow *arg1 = (wxWindow *) 0 ;
23811 bool result;
23812 PyObject * obj0 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (bool)(arg1)->Hide();
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 {
23828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23829 }
23830 return resultobj;
23831 fail:
23832 return NULL;
23833}
23834
23835
23836static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23837 PyObject *resultobj;
23838 wxWindow *arg1 = (wxWindow *) 0 ;
23839 bool arg2 = (bool) True ;
23840 bool result;
23841 PyObject * obj0 = 0 ;
23842 PyObject * obj1 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "enable", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
23848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23850 if (obj1) {
23851 arg2 = (bool) SWIG_AsBool(obj1);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 result = (bool)(arg1)->Enable(arg2);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 {
23862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23863 }
23864 return resultobj;
23865 fail:
23866 return NULL;
23867}
23868
23869
23870static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23871 PyObject *resultobj;
23872 wxWindow *arg1 = (wxWindow *) 0 ;
23873 bool result;
23874 PyObject * obj0 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "self", NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
23880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23882 {
23883 PyThreadState* __tstate = wxPyBeginAllowThreads();
23884 result = (bool)(arg1)->Disable();
23885
23886 wxPyEndAllowThreads(__tstate);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 {
23890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23891 }
23892 return resultobj;
23893 fail:
23894 return NULL;
23895}
23896
23897
23898static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23899 PyObject *resultobj;
23900 wxWindow *arg1 = (wxWindow *) 0 ;
23901 bool result;
23902 PyObject * obj0 = 0 ;
23903 char *kwnames[] = {
23904 (char *) "self", NULL
23905 };
23906
23907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
23908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 result = (bool)((wxWindow const *)arg1)->IsShown();
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 {
23918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23919 }
23920 return resultobj;
23921 fail:
23922 return NULL;
23923}
23924
23925
23926static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23927 PyObject *resultobj;
23928 wxWindow *arg1 = (wxWindow *) 0 ;
23929 bool result;
23930 PyObject * obj0 = 0 ;
23931 char *kwnames[] = {
23932 (char *) "self", NULL
23933 };
23934
23935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
23936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 {
23946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23947 }
23948 return resultobj;
23949 fail:
23950 return NULL;
23951}
23952
23953
23954static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj;
23956 wxWindow *arg1 = (wxWindow *) 0 ;
23957 long arg2 ;
23958 PyObject * obj0 = 0 ;
23959 PyObject * obj1 = 0 ;
23960 char *kwnames[] = {
23961 (char *) "self",(char *) "style", NULL
23962 };
23963
23964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
23965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23967 arg2 = (long) SWIG_AsLong(obj1);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 (arg1)->SetWindowStyleFlag(arg2);
23972
23973 wxPyEndAllowThreads(__tstate);
23974 if (PyErr_Occurred()) SWIG_fail;
23975 }
23976 Py_INCREF(Py_None); resultobj = Py_None;
23977 return resultobj;
23978 fail:
23979 return NULL;
23980}
23981
23982
23983static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23984 PyObject *resultobj;
23985 wxWindow *arg1 = (wxWindow *) 0 ;
23986 long result;
23987 PyObject * obj0 = 0 ;
23988 char *kwnames[] = {
23989 (char *) "self", NULL
23990 };
23991
23992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
23993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23995 {
23996 PyThreadState* __tstate = wxPyBeginAllowThreads();
23997 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23998
23999 wxPyEndAllowThreads(__tstate);
24000 if (PyErr_Occurred()) SWIG_fail;
24001 }
24002 resultobj = SWIG_FromLong((long)result);
24003 return resultobj;
24004 fail:
24005 return NULL;
24006}
24007
24008
24009static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
24010 PyObject *resultobj;
24011 wxWindow *arg1 = (wxWindow *) 0 ;
24012 int arg2 ;
24013 bool result;
24014 PyObject * obj0 = 0 ;
24015 PyObject * obj1 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self",(char *) "flag", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
24021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24023 arg2 = (int) SWIG_AsInt(obj1);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 {
24026 PyThreadState* __tstate = wxPyBeginAllowThreads();
24027 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24028
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 {
24033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24034 }
24035 return resultobj;
24036 fail:
24037 return NULL;
24038}
24039
24040
24041static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj;
24043 wxWindow *arg1 = (wxWindow *) 0 ;
24044 bool result;
24045 PyObject * obj0 = 0 ;
24046 char *kwnames[] = {
24047 (char *) "self", NULL
24048 };
24049
24050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
24051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24053 {
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 result = (bool)((wxWindow const *)arg1)->IsRetained();
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 {
24061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24062 }
24063 return resultobj;
24064 fail:
24065 return NULL;
24066}
24067
24068
24069static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24070 PyObject *resultobj;
24071 wxWindow *arg1 = (wxWindow *) 0 ;
24072 long arg2 ;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self",(char *) "exStyle", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
24080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24082 arg2 = (long) SWIG_AsLong(obj1);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 (arg1)->SetExtraStyle(arg2);
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 Py_INCREF(Py_None); resultobj = Py_None;
24092 return resultobj;
24093 fail:
24094 return NULL;
24095}
24096
24097
24098static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
24099 PyObject *resultobj;
24100 wxWindow *arg1 = (wxWindow *) 0 ;
24101 long result;
24102 PyObject * obj0 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24110 {
24111 PyThreadState* __tstate = wxPyBeginAllowThreads();
24112 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24113
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
24117 resultobj = SWIG_FromLong((long)result);
24118 return resultobj;
24119 fail:
24120 return NULL;
24121}
24122
24123
24124static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
24125 PyObject *resultobj;
24126 wxWindow *arg1 = (wxWindow *) 0 ;
24127 bool arg2 = (bool) True ;
24128 PyObject * obj0 = 0 ;
24129 PyObject * obj1 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self",(char *) "modal", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
24135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24137 if (obj1) {
24138 arg2 = (bool) SWIG_AsBool(obj1);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 (arg1)->MakeModal(arg2);
24144
24145 wxPyEndAllowThreads(__tstate);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
24148 Py_INCREF(Py_None); resultobj = Py_None;
24149 return resultobj;
24150 fail:
24151 return NULL;
24152}
24153
24154
24155static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24156 PyObject *resultobj;
24157 wxWindow *arg1 = (wxWindow *) 0 ;
24158 bool arg2 ;
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 char *kwnames[] = {
24162 (char *) "self",(char *) "enableTheme", NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
24166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24168 arg2 = (bool) SWIG_AsBool(obj1);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 (arg1)->SetThemeEnabled(arg2);
24173
24174 wxPyEndAllowThreads(__tstate);
24175 if (PyErr_Occurred()) SWIG_fail;
24176 }
24177 Py_INCREF(Py_None); resultobj = Py_None;
24178 return resultobj;
24179 fail:
24180 return NULL;
24181}
24182
24183
24184static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
24185 PyObject *resultobj;
24186 wxWindow *arg1 = (wxWindow *) 0 ;
24187 bool result;
24188 PyObject * obj0 = 0 ;
24189 char *kwnames[] = {
24190 (char *) "self", NULL
24191 };
24192
24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
24194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24196 {
24197 PyThreadState* __tstate = wxPyBeginAllowThreads();
24198 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24199
24200 wxPyEndAllowThreads(__tstate);
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 {
24204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24205 }
24206 return resultobj;
24207 fail:
24208 return NULL;
24209}
24210
24211
24212static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24213 PyObject *resultobj;
24214 wxWindow *arg1 = (wxWindow *) 0 ;
24215 PyObject * obj0 = 0 ;
24216 char *kwnames[] = {
24217 (char *) "self", NULL
24218 };
24219
24220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
24221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 (arg1)->SetFocus();
24226
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 Py_INCREF(Py_None); resultobj = Py_None;
24231 return resultobj;
24232 fail:
24233 return NULL;
24234}
24235
24236
24237static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
24238 PyObject *resultobj;
24239 wxWindow *arg1 = (wxWindow *) 0 ;
24240 PyObject * obj0 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
24246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 (arg1)->SetFocusFromKbd();
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 Py_INCREF(Py_None); resultobj = Py_None;
24256 return resultobj;
24257 fail:
24258 return NULL;
24259}
24260
24261
24262static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24263 PyObject *resultobj;
24264 wxWindow *result;
24265 char *kwnames[] = {
24266 NULL
24267 };
24268
24269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24270 {
24271 PyThreadState* __tstate = wxPyBeginAllowThreads();
24272 result = (wxWindow *)wxWindow::FindFocus();
24273
24274 wxPyEndAllowThreads(__tstate);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 }
24277 {
24278 resultobj = wxPyMake_wxObject(result);
24279 }
24280 return resultobj;
24281 fail:
24282 return NULL;
24283}
24284
24285
24286static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxWindow *arg1 = (wxWindow *) 0 ;
24289 bool result;
24290 PyObject * obj0 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
24296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24307 }
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
24314static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24315 PyObject *resultobj;
24316 wxWindow *arg1 = (wxWindow *) 0 ;
24317 bool result;
24318 PyObject * obj0 = 0 ;
24319 char *kwnames[] = {
24320 (char *) "self", NULL
24321 };
24322
24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 {
24334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24335 }
24336 return resultobj;
24337 fail:
24338 return NULL;
24339}
24340
24341
24342static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24343 PyObject *resultobj;
24344 wxWindow *arg1 = (wxWindow *) 0 ;
24345 wxWindow *result;
24346 PyObject * obj0 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "self", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
24352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 {
24362 resultobj = wxPyMake_wxObject(result);
24363 }
24364 return resultobj;
24365 fail:
24366 return NULL;
24367}
24368
24369
24370static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24371 PyObject *resultobj;
24372 wxWindow *arg1 = (wxWindow *) 0 ;
24373 wxWindow *arg2 = (wxWindow *) 0 ;
24374 wxWindow *result;
24375 PyObject * obj0 = 0 ;
24376 PyObject * obj1 = 0 ;
24377 char *kwnames[] = {
24378 (char *) "self",(char *) "child", NULL
24379 };
24380
24381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 {
24394 resultobj = wxPyMake_wxObject(result);
24395 }
24396 return resultobj;
24397 fail:
24398 return NULL;
24399}
24400
24401
24402static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj;
24404 wxWindow *arg1 = (wxWindow *) 0 ;
24405 wxWindow *arg2 = (wxWindow *) 0 ;
24406 PyObject * obj0 = 0 ;
24407 PyObject * obj1 = 0 ;
24408 char *kwnames[] = {
24409 (char *) "self",(char *) "win", NULL
24410 };
24411
24412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 (arg1)->SetTmpDefaultItem(arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 Py_INCREF(Py_None); resultobj = Py_None;
24425 return resultobj;
24426 fail:
24427 return NULL;
24428}
24429
24430
24431static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj;
24433 wxWindow *arg1 = (wxWindow *) 0 ;
24434 PyObject *result;
24435 PyObject * obj0 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 result = (PyObject *)wxWindow_GetChildren(arg1);
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 resultobj = result;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454}
24455
24456
24457static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj;
24459 wxWindow *arg1 = (wxWindow *) 0 ;
24460 wxWindow *result;
24461 PyObject * obj0 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
24467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 {
24477 resultobj = wxPyMake_wxObject(result);
24478 }
24479 return resultobj;
24480 fail:
24481 return NULL;
24482}
24483
24484
24485static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24486 PyObject *resultobj;
24487 wxWindow *arg1 = (wxWindow *) 0 ;
24488 wxWindow *result;
24489 PyObject * obj0 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
24495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 {
24505 resultobj = wxPyMake_wxObject(result);
24506 }
24507 return resultobj;
24508 fail:
24509 return NULL;
24510}
24511
24512
24513static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
24514 PyObject *resultobj;
24515 wxWindow *arg1 = (wxWindow *) 0 ;
24516 bool result;
24517 PyObject * obj0 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self", NULL
24520 };
24521
24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
24523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 {
24533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24534 }
24535 return resultobj;
24536 fail:
24537 return NULL;
24538}
24539
24540
24541static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
24542 PyObject *resultobj;
24543 wxWindow *arg1 = (wxWindow *) 0 ;
24544 wxWindow *arg2 = (wxWindow *) 0 ;
24545 bool result;
24546 PyObject * obj0 = 0 ;
24547 PyObject * obj1 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self",(char *) "newParent", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
24553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 result = (bool)(arg1)->Reparent(arg2);
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 {
24565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24566 }
24567 return resultobj;
24568 fail:
24569 return NULL;
24570}
24571
24572
24573static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxWindow *arg1 = (wxWindow *) 0 ;
24576 wxWindow *arg2 = (wxWindow *) 0 ;
24577 PyObject * obj0 = 0 ;
24578 PyObject * obj1 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self",(char *) "child", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
24584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 (arg1)->AddChild(arg2);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 Py_INCREF(Py_None); resultobj = Py_None;
24596 return resultobj;
24597 fail:
24598 return NULL;
24599}
24600
24601
24602static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24603 PyObject *resultobj;
24604 wxWindow *arg1 = (wxWindow *) 0 ;
24605 wxWindow *arg2 = (wxWindow *) 0 ;
24606 PyObject * obj0 = 0 ;
24607 PyObject * obj1 = 0 ;
24608 char *kwnames[] = {
24609 (char *) "self",(char *) "child", NULL
24610 };
24611
24612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 (arg1)->RemoveChild(arg2);
24620
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 Py_INCREF(Py_None); resultobj = Py_None;
24625 return resultobj;
24626 fail:
24627 return NULL;
24628}
24629
24630
24631static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj;
24633 wxWindow *arg1 = (wxWindow *) 0 ;
24634 long arg2 ;
24635 wxWindow *result;
24636 PyObject * obj0 = 0 ;
24637 PyObject * obj1 = 0 ;
24638 char *kwnames[] = {
24639 (char *) "self",(char *) "winid", NULL
24640 };
24641
24642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
24643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24645 arg2 = (long) SWIG_AsLong(obj1);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 result = (wxWindow *)(arg1)->FindWindow(arg2);
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 {
24655 resultobj = wxPyMake_wxObject(result);
24656 }
24657 return resultobj;
24658 fail:
24659 return NULL;
24660}
24661
24662
24663static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24664 PyObject *resultobj;
24665 wxWindow *arg1 = (wxWindow *) 0 ;
24666 wxString *arg2 = 0 ;
24667 wxWindow *result;
24668 bool temp2 = False ;
24669 PyObject * obj0 = 0 ;
24670 PyObject * obj1 = 0 ;
24671 char *kwnames[] = {
24672 (char *) "self",(char *) "name", NULL
24673 };
24674
24675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
24676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24678 {
24679 arg2 = wxString_in_helper(obj1);
24680 if (arg2 == NULL) SWIG_fail;
24681 temp2 = True;
24682 }
24683 {
24684 PyThreadState* __tstate = wxPyBeginAllowThreads();
24685 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24686
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 {
24691 resultobj = wxPyMake_wxObject(result);
24692 }
24693 {
24694 if (temp2)
24695 delete arg2;
24696 }
24697 return resultobj;
24698 fail:
24699 {
24700 if (temp2)
24701 delete arg2;
24702 }
24703 return NULL;
24704}
24705
24706
24707static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj;
24709 wxWindow *arg1 = (wxWindow *) 0 ;
24710 wxEvtHandler *result;
24711 PyObject * obj0 = 0 ;
24712 char *kwnames[] = {
24713 (char *) "self", NULL
24714 };
24715
24716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
24717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24719 {
24720 PyThreadState* __tstate = wxPyBeginAllowThreads();
24721 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24722
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
24726 {
24727 resultobj = wxPyMake_wxObject(result);
24728 }
24729 return resultobj;
24730 fail:
24731 return NULL;
24732}
24733
24734
24735static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxWindow *arg1 = (wxWindow *) 0 ;
24738 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24739 PyObject * obj0 = 0 ;
24740 PyObject * obj1 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self",(char *) "handler", NULL
24743 };
24744
24745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
24746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->SetEventHandler(arg2);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
24758 return resultobj;
24759 fail:
24760 return NULL;
24761}
24762
24763
24764static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24765 PyObject *resultobj;
24766 wxWindow *arg1 = (wxWindow *) 0 ;
24767 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24768 PyObject * obj0 = 0 ;
24769 PyObject * obj1 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "self",(char *) "handler", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
24775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 (arg1)->PushEventHandler(arg2);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 Py_INCREF(Py_None); resultobj = Py_None;
24787 return resultobj;
24788 fail:
24789 return NULL;
24790}
24791
24792
24793static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24794 PyObject *resultobj;
24795 wxWindow *arg1 = (wxWindow *) 0 ;
24796 bool arg2 = (bool) False ;
24797 wxEvtHandler *result;
24798 PyObject * obj0 = 0 ;
24799 PyObject * obj1 = 0 ;
24800 char *kwnames[] = {
24801 (char *) "self",(char *) "deleteHandler", NULL
24802 };
24803
24804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
24805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24807 if (obj1) {
24808 arg2 = (bool) SWIG_AsBool(obj1);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24814
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
24818 {
24819 resultobj = wxPyMake_wxObject(result);
24820 }
24821 return resultobj;
24822 fail:
24823 return NULL;
24824}
24825
24826
24827static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24828 PyObject *resultobj;
24829 wxWindow *arg1 = (wxWindow *) 0 ;
24830 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24831 bool result;
24832 PyObject * obj0 = 0 ;
24833 PyObject * obj1 = 0 ;
24834 char *kwnames[] = {
24835 (char *) "self",(char *) "handler", NULL
24836 };
24837
24838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
24839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 result = (bool)(arg1)->RemoveEventHandler(arg2);
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 {
24851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24852 }
24853 return resultobj;
24854 fail:
24855 return NULL;
24856}
24857
24858
24859static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24860 PyObject *resultobj;
24861 wxWindow *arg1 = (wxWindow *) 0 ;
24862 wxValidator *arg2 = 0 ;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self",(char *) "validator", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
24870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24873 SWIG_POINTER_EXCEPTION | 0)) == -1)
24874 SWIG_fail;
24875 if (arg2 == NULL) {
24876 PyErr_SetString(PyExc_TypeError,"null reference");
24877 SWIG_fail;
24878 }
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 (arg1)->SetValidator((wxValidator const &)*arg2);
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
24886 Py_INCREF(Py_None); resultobj = Py_None;
24887 return resultobj;
24888 fail:
24889 return NULL;
24890}
24891
24892
24893static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24894 PyObject *resultobj;
24895 wxWindow *arg1 = (wxWindow *) 0 ;
24896 wxValidator *result;
24897 PyObject * obj0 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
24903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = (wxValidator *)(arg1)->GetValidator();
24908
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 {
24913 resultobj = wxPyMake_wxObject(result);
24914 }
24915 return resultobj;
24916 fail:
24917 return NULL;
24918}
24919
24920
24921static PyObject *_wrap_Window_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24922 PyObject *resultobj;
24923 wxWindow *arg1 = (wxWindow *) 0 ;
24924 bool result;
24925 PyObject * obj0 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
24931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 result = (bool)(arg1)->Validate();
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 {
24941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24942 }
24943 return resultobj;
24944 fail:
24945 return NULL;
24946}
24947
24948
24949static PyObject *_wrap_Window_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj;
24951 wxWindow *arg1 = (wxWindow *) 0 ;
24952 bool result;
24953 PyObject * obj0 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
24959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 result = (bool)(arg1)->TransferDataToWindow();
24964
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 {
24969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24970 }
24971 return resultobj;
24972 fail:
24973 return NULL;
24974}
24975
24976
24977static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24978 PyObject *resultobj;
24979 wxWindow *arg1 = (wxWindow *) 0 ;
24980 bool result;
24981 PyObject * obj0 = 0 ;
24982 char *kwnames[] = {
24983 (char *) "self", NULL
24984 };
24985
24986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 result = (bool)(arg1)->TransferDataFromWindow();
24992
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 {
24997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24998 }
24999 return resultobj;
25000 fail:
25001 return NULL;
25002}
25003
25004
25005static PyObject *_wrap_Window_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxWindow *arg1 = (wxWindow *) 0 ;
25008 PyObject * obj0 = 0 ;
25009 char *kwnames[] = {
25010 (char *) "self", NULL
25011 };
25012
25013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 (arg1)->InitDialog();
25019
25020 wxPyEndAllowThreads(__tstate);
25021 if (PyErr_Occurred()) SWIG_fail;
25022 }
25023 Py_INCREF(Py_None); resultobj = Py_None;
25024 return resultobj;
25025 fail:
25026 return NULL;
25027}
25028
25029
25030static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj;
25032 wxWindow *arg1 = (wxWindow *) 0 ;
25033 wxAcceleratorTable *arg2 = 0 ;
25034 PyObject * obj0 = 0 ;
25035 PyObject * obj1 = 0 ;
25036 char *kwnames[] = {
25037 (char *) "self",(char *) "accel", NULL
25038 };
25039
25040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
25041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25044 SWIG_POINTER_EXCEPTION | 0)) == -1)
25045 SWIG_fail;
25046 if (arg2 == NULL) {
25047 PyErr_SetString(PyExc_TypeError,"null reference");
25048 SWIG_fail;
25049 }
25050 {
25051 PyThreadState* __tstate = wxPyBeginAllowThreads();
25052 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25053
25054 wxPyEndAllowThreads(__tstate);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 Py_INCREF(Py_None); resultobj = Py_None;
25058 return resultobj;
25059 fail:
25060 return NULL;
25061}
25062
25063
25064static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
25065 PyObject *resultobj;
25066 wxWindow *arg1 = (wxWindow *) 0 ;
25067 wxAcceleratorTable *result;
25068 PyObject * obj0 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "self", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
25074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
25084 return resultobj;
25085 fail:
25086 return NULL;
25087}
25088
25089
25090static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25091 PyObject *resultobj;
25092 wxWindow *arg1 = (wxWindow *) 0 ;
25093 int arg2 ;
25094 int arg3 ;
25095 int arg4 ;
25096 bool result;
25097 PyObject * obj0 = 0 ;
25098 PyObject * obj1 = 0 ;
25099 PyObject * obj2 = 0 ;
25100 PyObject * obj3 = 0 ;
25101 char *kwnames[] = {
25102 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25103 };
25104
25105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25108 arg2 = (int) SWIG_AsInt(obj1);
25109 if (PyErr_Occurred()) SWIG_fail;
25110 arg3 = (int) SWIG_AsInt(obj2);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 arg4 = (int) SWIG_AsInt(obj3);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 {
25115 PyThreadState* __tstate = wxPyBeginAllowThreads();
25116 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25117
25118 wxPyEndAllowThreads(__tstate);
25119 if (PyErr_Occurred()) SWIG_fail;
25120 }
25121 {
25122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25123 }
25124 return resultobj;
25125 fail:
25126 return NULL;
25127}
25128
25129
25130static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
25131 PyObject *resultobj;
25132 wxWindow *arg1 = (wxWindow *) 0 ;
25133 int arg2 ;
25134 bool result;
25135 PyObject * obj0 = 0 ;
25136 PyObject * obj1 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "self",(char *) "hotkeyId", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
25142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25144 arg2 = (int) SWIG_AsInt(obj1);
25145 if (PyErr_Occurred()) SWIG_fail;
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 {
25154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25155 }
25156 return resultobj;
25157 fail:
25158 return NULL;
25159}
25160
25161
25162static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25163 PyObject *resultobj;
25164 wxWindow *arg1 = (wxWindow *) 0 ;
25165 wxPoint *arg2 = 0 ;
25166 wxPoint result;
25167 wxPoint temp2 ;
25168 PyObject * obj0 = 0 ;
25169 PyObject * obj1 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self",(char *) "pt", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
25175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25177 {
25178 arg2 = &temp2;
25179 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25180 }
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25184
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 {
25189 wxPoint * resultptr;
25190 resultptr = new wxPoint((wxPoint &) result);
25191 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25192 }
25193 return resultobj;
25194 fail:
25195 return NULL;
25196}
25197
25198
25199static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
25200 PyObject *resultobj;
25201 wxWindow *arg1 = (wxWindow *) 0 ;
25202 wxSize *arg2 = 0 ;
25203 wxSize result;
25204 wxSize temp2 ;
25205 PyObject * obj0 = 0 ;
25206 PyObject * obj1 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self",(char *) "sz", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
25212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25214 {
25215 arg2 = &temp2;
25216 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25217 }
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 {
25226 wxSize * resultptr;
25227 resultptr = new wxSize((wxSize &) result);
25228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25229 }
25230 return resultobj;
25231 fail:
25232 return NULL;
25233}
25234
25235
25236static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
25237 PyObject *resultobj;
25238 wxWindow *arg1 = (wxWindow *) 0 ;
25239 wxPoint *arg2 = 0 ;
25240 wxPoint result;
25241 wxPoint temp2 ;
25242 PyObject * obj0 = 0 ;
25243 PyObject * obj1 = 0 ;
25244 char *kwnames[] = {
25245 (char *) "self",(char *) "pt", NULL
25246 };
25247
25248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
25249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25251 {
25252 arg2 = &temp2;
25253 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25254 }
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25258
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 {
25263 wxPoint * resultptr;
25264 resultptr = new wxPoint((wxPoint &) result);
25265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25266 }
25267 return resultobj;
25268 fail:
25269 return NULL;
25270}
25271
25272
25273static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxWindow *arg1 = (wxWindow *) 0 ;
25276 wxSize *arg2 = 0 ;
25277 wxSize result;
25278 wxSize temp2 ;
25279 PyObject * obj0 = 0 ;
25280 PyObject * obj1 = 0 ;
25281 char *kwnames[] = {
25282 (char *) "self",(char *) "sz", NULL
25283 };
25284
25285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
25286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25288 {
25289 arg2 = &temp2;
25290 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25291 }
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25295
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 {
25300 wxSize * resultptr;
25301 resultptr = new wxSize((wxSize &) result);
25302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25303 }
25304 return resultobj;
25305 fail:
25306 return NULL;
25307}
25308
25309
25310static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25311 PyObject *resultobj;
25312 wxWindow *arg1 = (wxWindow *) 0 ;
25313 wxPoint *arg2 = 0 ;
25314 wxPoint result;
25315 wxPoint temp2 ;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 char *kwnames[] = {
25319 (char *) "self",(char *) "pt", NULL
25320 };
25321
25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
25323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25325 {
25326 arg2 = &temp2;
25327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25328 }
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25332
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 {
25337 wxPoint * resultptr;
25338 resultptr = new wxPoint((wxPoint &) result);
25339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25340 }
25341 return resultobj;
25342 fail:
25343 return NULL;
25344}
25345
25346
25347static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj;
25349 wxWindow *arg1 = (wxWindow *) 0 ;
25350 wxSize *arg2 = 0 ;
25351 wxSize result;
25352 wxSize temp2 ;
25353 PyObject * obj0 = 0 ;
25354 PyObject * obj1 = 0 ;
25355 char *kwnames[] = {
25356 (char *) "self",(char *) "sz", NULL
25357 };
25358
25359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
25360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25362 {
25363 arg2 = &temp2;
25364 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25365 }
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25369
25370 wxPyEndAllowThreads(__tstate);
25371 if (PyErr_Occurred()) SWIG_fail;
25372 }
25373 {
25374 wxSize * resultptr;
25375 resultptr = new wxSize((wxSize &) result);
25376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25377 }
25378 return resultobj;
25379 fail:
25380 return NULL;
25381}
25382
25383
25384static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
25385 PyObject *resultobj;
25386 wxWindow *arg1 = (wxWindow *) 0 ;
25387 int arg2 ;
25388 int arg3 ;
25389 PyObject * obj0 = 0 ;
25390 PyObject * obj1 = 0 ;
25391 PyObject * obj2 = 0 ;
25392 char *kwnames[] = {
25393 (char *) "self",(char *) "x",(char *) "y", NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
25397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25399 arg2 = (int) SWIG_AsInt(obj1);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 arg3 = (int) SWIG_AsInt(obj2);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 (arg1)->WarpPointer(arg2,arg3);
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 Py_INCREF(Py_None); resultobj = Py_None;
25411 return resultobj;
25412 fail:
25413 return NULL;
25414}
25415
25416
25417static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxWindow *arg1 = (wxWindow *) 0 ;
25420 PyObject * obj0 = 0 ;
25421 char *kwnames[] = {
25422 (char *) "self", NULL
25423 };
25424
25425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
25426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25428 {
25429 PyThreadState* __tstate = wxPyBeginAllowThreads();
25430 (arg1)->CaptureMouse();
25431
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 Py_INCREF(Py_None); resultobj = Py_None;
25436 return resultobj;
25437 fail:
25438 return NULL;
25439}
25440
25441
25442static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxWindow *arg1 = (wxWindow *) 0 ;
25445 PyObject * obj0 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
25451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 (arg1)->ReleaseMouse();
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 Py_INCREF(Py_None); resultobj = Py_None;
25461 return resultobj;
25462 fail:
25463 return NULL;
25464}
25465
25466
25467static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25468 PyObject *resultobj;
25469 wxWindow *result;
25470 char *kwnames[] = {
25471 NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 result = (wxWindow *)wxWindow::GetCapture();
25478
25479 wxPyEndAllowThreads(__tstate);
25480 if (PyErr_Occurred()) SWIG_fail;
25481 }
25482 {
25483 resultobj = wxPyMake_wxObject(result);
25484 }
25485 return resultobj;
25486 fail:
25487 return NULL;
25488}
25489
25490
25491static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
25492 PyObject *resultobj;
25493 wxWindow *arg1 = (wxWindow *) 0 ;
25494 bool result;
25495 PyObject * obj0 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "self", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
25501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (bool)((wxWindow const *)arg1)->HasCapture();
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 {
25511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25512 }
25513 return resultobj;
25514 fail:
25515 return NULL;
25516}
25517
25518
25519static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
25520 PyObject *resultobj;
25521 wxWindow *arg1 = (wxWindow *) 0 ;
25522 bool arg2 = (bool) True ;
25523 wxRect *arg3 = (wxRect *) NULL ;
25524 PyObject * obj0 = 0 ;
25525 PyObject * obj1 = 0 ;
25526 PyObject * obj2 = 0 ;
25527 char *kwnames[] = {
25528 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25529 };
25530
25531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
25532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25534 if (obj1) {
25535 arg2 = (bool) SWIG_AsBool(obj1);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
25538 if (obj2) {
25539 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25541 }
25542 {
25543 PyThreadState* __tstate = wxPyBeginAllowThreads();
25544 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25545
25546 wxPyEndAllowThreads(__tstate);
25547 if (PyErr_Occurred()) SWIG_fail;
25548 }
25549 Py_INCREF(Py_None); resultobj = Py_None;
25550 return resultobj;
25551 fail:
25552 return NULL;
25553}
25554
25555
25556static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25557 PyObject *resultobj;
25558 wxWindow *arg1 = (wxWindow *) 0 ;
25559 wxRect *arg2 = 0 ;
25560 wxRect temp2 ;
25561 PyObject * obj0 = 0 ;
25562 PyObject * obj1 = 0 ;
25563 char *kwnames[] = {
25564 (char *) "self",(char *) "rect", NULL
25565 };
25566
25567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
25568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25570 {
25571 arg2 = &temp2;
25572 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25573 }
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 (arg1)->RefreshRect((wxRect const &)*arg2);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 Py_INCREF(Py_None); resultobj = Py_None;
25582 return resultobj;
25583 fail:
25584 return NULL;
25585}
25586
25587
25588static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
25589 PyObject *resultobj;
25590 wxWindow *arg1 = (wxWindow *) 0 ;
25591 PyObject * obj0 = 0 ;
25592 char *kwnames[] = {
25593 (char *) "self", NULL
25594 };
25595
25596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
25597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 (arg1)->Update();
25602
25603 wxPyEndAllowThreads(__tstate);
25604 if (PyErr_Occurred()) SWIG_fail;
25605 }
25606 Py_INCREF(Py_None); resultobj = Py_None;
25607 return resultobj;
25608 fail:
25609 return NULL;
25610}
25611
25612
25613static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
25614 PyObject *resultobj;
25615 wxWindow *arg1 = (wxWindow *) 0 ;
25616 PyObject * obj0 = 0 ;
25617 char *kwnames[] = {
25618 (char *) "self", NULL
25619 };
25620
25621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
25622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25624 {
25625 PyThreadState* __tstate = wxPyBeginAllowThreads();
25626 (arg1)->ClearBackground();
25627
25628 wxPyEndAllowThreads(__tstate);
25629 if (PyErr_Occurred()) SWIG_fail;
25630 }
25631 Py_INCREF(Py_None); resultobj = Py_None;
25632 return resultobj;
25633 fail:
25634 return NULL;
25635}
25636
25637
25638static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
25639 PyObject *resultobj;
25640 wxWindow *arg1 = (wxWindow *) 0 ;
25641 PyObject * obj0 = 0 ;
25642 char *kwnames[] = {
25643 (char *) "self", NULL
25644 };
25645
25646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
25647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 (arg1)->Freeze();
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 Py_INCREF(Py_None); resultobj = Py_None;
25657 return resultobj;
25658 fail:
25659 return NULL;
25660}
25661
25662
25663static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
25664 PyObject *resultobj;
25665 wxWindow *arg1 = (wxWindow *) 0 ;
25666 PyObject * obj0 = 0 ;
25667 char *kwnames[] = {
25668 (char *) "self", NULL
25669 };
25670
25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
25672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 (arg1)->Thaw();
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 Py_INCREF(Py_None); resultobj = Py_None;
25682 return resultobj;
25683 fail:
25684 return NULL;
25685}
25686
25687
25688static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj;
25690 wxWindow *arg1 = (wxWindow *) 0 ;
25691 wxDC *arg2 = 0 ;
25692 PyObject * obj0 = 0 ;
25693 PyObject * obj1 = 0 ;
25694 char *kwnames[] = {
25695 (char *) "self",(char *) "dc", NULL
25696 };
25697
25698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
25699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25702 SWIG_POINTER_EXCEPTION | 0)) == -1)
25703 SWIG_fail;
25704 if (arg2 == NULL) {
25705 PyErr_SetString(PyExc_TypeError,"null reference");
25706 SWIG_fail;
25707 }
25708 {
25709 PyThreadState* __tstate = wxPyBeginAllowThreads();
25710 (arg1)->PrepareDC(*arg2);
25711
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 Py_INCREF(Py_None); resultobj = Py_None;
25716 return resultobj;
25717 fail:
25718 return NULL;
25719}
25720
25721
25722static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
25723 PyObject *resultobj;
25724 wxWindow *arg1 = (wxWindow *) 0 ;
25725 wxRegion *result;
25726 PyObject * obj0 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
25732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 {
25737 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25738 result = (wxRegion *) &_result_ref;
25739 }
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
25745 return resultobj;
25746 fail:
25747 return NULL;
25748}
25749
25750
25751static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25752 PyObject *resultobj;
25753 wxWindow *arg1 = (wxWindow *) 0 ;
25754 wxRect result;
25755 PyObject * obj0 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
25761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25763 {
25764 PyThreadState* __tstate = wxPyBeginAllowThreads();
25765 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25766
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
25770 {
25771 wxRect * resultptr;
25772 resultptr = new wxRect((wxRect &) result);
25773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
25774 }
25775 return resultobj;
25776 fail:
25777 return NULL;
25778}
25779
25780
25781static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25782 PyObject *resultobj;
25783 wxWindow *arg1 = (wxWindow *) 0 ;
25784 int arg2 ;
25785 int arg3 ;
25786 int arg4 = (int) 1 ;
25787 int arg5 = (int) 1 ;
25788 bool result;
25789 PyObject * obj0 = 0 ;
25790 PyObject * obj1 = 0 ;
25791 PyObject * obj2 = 0 ;
25792 PyObject * obj3 = 0 ;
25793 PyObject * obj4 = 0 ;
25794 char *kwnames[] = {
25795 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25796 };
25797
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25801 arg2 = (int) SWIG_AsInt(obj1);
25802 if (PyErr_Occurred()) SWIG_fail;
25803 arg3 = (int) SWIG_AsInt(obj2);
25804 if (PyErr_Occurred()) SWIG_fail;
25805 if (obj3) {
25806 arg4 = (int) SWIG_AsInt(obj3);
25807 if (PyErr_Occurred()) SWIG_fail;
25808 }
25809 if (obj4) {
25810 arg5 = (int) SWIG_AsInt(obj4);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 {
25814 PyThreadState* __tstate = wxPyBeginAllowThreads();
25815 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25816
25817 wxPyEndAllowThreads(__tstate);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 {
25821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25822 }
25823 return resultobj;
25824 fail:
25825 return NULL;
25826}
25827
25828
25829static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj;
25831 wxWindow *arg1 = (wxWindow *) 0 ;
25832 wxPoint *arg2 = 0 ;
25833 bool result;
25834 wxPoint temp2 ;
25835 PyObject * obj0 = 0 ;
25836 PyObject * obj1 = 0 ;
25837 char *kwnames[] = {
25838 (char *) "self",(char *) "pt", NULL
25839 };
25840
25841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
25842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25844 {
25845 arg2 = &temp2;
25846 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25847 }
25848 {
25849 PyThreadState* __tstate = wxPyBeginAllowThreads();
25850 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25851
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 {
25856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25857 }
25858 return resultobj;
25859 fail:
25860 return NULL;
25861}
25862
25863
25864static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25865 PyObject *resultobj;
25866 wxWindow *arg1 = (wxWindow *) 0 ;
25867 wxRect *arg2 = 0 ;
25868 bool result;
25869 wxRect temp2 ;
25870 PyObject * obj0 = 0 ;
25871 PyObject * obj1 = 0 ;
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "rect", NULL
25874 };
25875
25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
25877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25879 {
25880 arg2 = &temp2;
25881 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25882 }
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 {
25891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25892 }
25893 return resultobj;
25894 fail:
25895 return NULL;
25896}
25897
25898
25899static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25900 PyObject *resultobj;
25901 wxWindow *arg1 = (wxWindow *) 0 ;
25902 wxVisualAttributes result;
25903 PyObject * obj0 = 0 ;
25904 char *kwnames[] = {
25905 (char *) "self", NULL
25906 };
25907
25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25911 {
25912 PyThreadState* __tstate = wxPyBeginAllowThreads();
25913 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25914
25915 wxPyEndAllowThreads(__tstate);
25916 if (PyErr_Occurred()) SWIG_fail;
25917 }
25918 {
25919 wxVisualAttributes * resultptr;
25920 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25922 }
25923 return resultobj;
25924 fail:
25925 return NULL;
25926}
25927
25928
25929static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
25932 wxVisualAttributes result;
25933 PyObject * obj0 = 0 ;
25934 char *kwnames[] = {
25935 (char *) "variant", NULL
25936 };
25937
25938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
25939 if (obj0) {
25940 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
25943 {
25944 PyThreadState* __tstate = wxPyBeginAllowThreads();
25945 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
25946
25947 wxPyEndAllowThreads(__tstate);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 }
25950 {
25951 wxVisualAttributes * resultptr;
25952 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25954 }
25955 return resultobj;
25956 fail:
25957 return NULL;
25958}
25959
25960
25961static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj;
25963 wxWindow *arg1 = (wxWindow *) 0 ;
25964 wxColour *arg2 = 0 ;
25965 bool result;
25966 wxColour temp2 ;
25967 PyObject * obj0 = 0 ;
25968 PyObject * obj1 = 0 ;
25969 char *kwnames[] = {
25970 (char *) "self",(char *) "colour", NULL
25971 };
25972
25973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25976 {
25977 arg2 = &temp2;
25978 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25979 }
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25983
25984 wxPyEndAllowThreads(__tstate);
25985 if (PyErr_Occurred()) SWIG_fail;
25986 }
25987 {
25988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25989 }
25990 return resultobj;
25991 fail:
25992 return NULL;
25993}
25994
25995
25996static PyObject *_wrap_Window_SetDefaultBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25997 PyObject *resultobj;
25998 wxWindow *arg1 = (wxWindow *) 0 ;
25999 wxColour *arg2 = 0 ;
26000 wxColour temp2 ;
26001 PyObject * obj0 = 0 ;
26002 PyObject * obj1 = 0 ;
26003 char *kwnames[] = {
26004 (char *) "self",(char *) "colour", NULL
26005 };
26006
26007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26010 {
26011 arg2 = &temp2;
26012 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26013 }
26014 {
26015 PyThreadState* __tstate = wxPyBeginAllowThreads();
26016 (arg1)->SetDefaultBackgroundColour((wxColour const &)*arg2);
26017
26018 wxPyEndAllowThreads(__tstate);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 Py_INCREF(Py_None); resultobj = Py_None;
26022 return resultobj;
26023 fail:
26024 return NULL;
26025}
26026
26027
26028static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj;
26030 wxWindow *arg1 = (wxWindow *) 0 ;
26031 wxColour *arg2 = 0 ;
26032 bool result;
26033 wxColour temp2 ;
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "colour", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
26041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26043 {
26044 arg2 = &temp2;
26045 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26046 }
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26050
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
26054 {
26055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26056 }
26057 return resultobj;
26058 fail:
26059 return NULL;
26060}
26061
26062
26063static PyObject *_wrap_Window_SetDefaultForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26064 PyObject *resultobj;
26065 wxWindow *arg1 = (wxWindow *) 0 ;
26066 wxColour *arg2 = 0 ;
26067 wxColour temp2 ;
26068 PyObject * obj0 = 0 ;
26069 PyObject * obj1 = 0 ;
26070 char *kwnames[] = {
26071 (char *) "self",(char *) "colour", NULL
26072 };
26073
26074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultForegroundColour",kwnames,&obj0,&obj1)) goto fail;
26075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26077 {
26078 arg2 = &temp2;
26079 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26080 }
26081 {
26082 PyThreadState* __tstate = wxPyBeginAllowThreads();
26083 (arg1)->SetDefaultForegroundColour((wxColour const &)*arg2);
26084
26085 wxPyEndAllowThreads(__tstate);
26086 if (PyErr_Occurred()) SWIG_fail;
26087 }
26088 Py_INCREF(Py_None); resultobj = Py_None;
26089 return resultobj;
26090 fail:
26091 return NULL;
26092}
26093
26094
26095static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26096 PyObject *resultobj;
26097 wxWindow *arg1 = (wxWindow *) 0 ;
26098 wxColour result;
26099 PyObject * obj0 = 0 ;
26100 char *kwnames[] = {
26101 (char *) "self", NULL
26102 };
26103
26104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
26105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26110
26111 wxPyEndAllowThreads(__tstate);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 }
26114 {
26115 wxColour * resultptr;
26116 resultptr = new wxColour((wxColour &) result);
26117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26118 }
26119 return resultobj;
26120 fail:
26121 return NULL;
26122}
26123
26124
26125static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26126 PyObject *resultobj;
26127 wxWindow *arg1 = (wxWindow *) 0 ;
26128 wxColour result;
26129 PyObject * obj0 = 0 ;
26130 char *kwnames[] = {
26131 (char *) "self", NULL
26132 };
26133
26134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
26135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 result = ((wxWindow const *)arg1)->GetForegroundColour();
26140
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 {
26145 wxColour * resultptr;
26146 resultptr = new wxColour((wxColour &) result);
26147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26148 }
26149 return resultobj;
26150 fail:
26151 return NULL;
26152}
26153
26154
26155static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26156 PyObject *resultobj;
26157 wxWindow *arg1 = (wxWindow *) 0 ;
26158 wxCursor *arg2 = 0 ;
26159 bool result;
26160 PyObject * obj0 = 0 ;
26161 PyObject * obj1 = 0 ;
26162 char *kwnames[] = {
26163 (char *) "self",(char *) "cursor", NULL
26164 };
26165
26166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
26167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26170 SWIG_POINTER_EXCEPTION | 0)) == -1)
26171 SWIG_fail;
26172 if (arg2 == NULL) {
26173 PyErr_SetString(PyExc_TypeError,"null reference");
26174 SWIG_fail;
26175 }
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 {
26184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26185 }
26186 return resultobj;
26187 fail:
26188 return NULL;
26189}
26190
26191
26192static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
26193 PyObject *resultobj;
26194 wxWindow *arg1 = (wxWindow *) 0 ;
26195 wxCursor *result;
26196 PyObject * obj0 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
26202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 {
26207 wxCursor &_result_ref = (arg1)->GetCursor();
26208 result = (wxCursor *) &_result_ref;
26209 }
26210
26211 wxPyEndAllowThreads(__tstate);
26212 if (PyErr_Occurred()) SWIG_fail;
26213 }
26214 {
26215 wxCursor* resultptr = new wxCursor(*result);
26216 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
26217 }
26218 return resultobj;
26219 fail:
26220 return NULL;
26221}
26222
26223
26224static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26225 PyObject *resultobj;
26226 wxWindow *arg1 = (wxWindow *) 0 ;
26227 wxFont *arg2 = 0 ;
26228 bool result;
26229 PyObject * obj0 = 0 ;
26230 PyObject * obj1 = 0 ;
26231 char *kwnames[] = {
26232 (char *) "self",(char *) "font", NULL
26233 };
26234
26235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
26236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26239 SWIG_POINTER_EXCEPTION | 0)) == -1)
26240 SWIG_fail;
26241 if (arg2 == NULL) {
26242 PyErr_SetString(PyExc_TypeError,"null reference");
26243 SWIG_fail;
26244 }
26245 {
26246 PyThreadState* __tstate = wxPyBeginAllowThreads();
26247 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26248
26249 wxPyEndAllowThreads(__tstate);
26250 if (PyErr_Occurred()) SWIG_fail;
26251 }
26252 {
26253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26254 }
26255 return resultobj;
26256 fail:
26257 return NULL;
26258}
26259
26260
26261static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26262 PyObject *resultobj;
26263 wxWindow *arg1 = (wxWindow *) 0 ;
26264 wxFont *arg2 = 0 ;
26265 PyObject * obj0 = 0 ;
26266 PyObject * obj1 = 0 ;
26267 char *kwnames[] = {
26268 (char *) "self",(char *) "font", NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultFont",kwnames,&obj0,&obj1)) goto fail;
26272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26275 SWIG_POINTER_EXCEPTION | 0)) == -1)
26276 SWIG_fail;
26277 if (arg2 == NULL) {
26278 PyErr_SetString(PyExc_TypeError,"null reference");
26279 SWIG_fail;
26280 }
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 (arg1)->SetDefaultFont((wxFont const &)*arg2);
26284
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 Py_INCREF(Py_None); resultobj = Py_None;
26289 return resultobj;
26290 fail:
26291 return NULL;
26292}
26293
26294
26295static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26296 PyObject *resultobj;
26297 wxWindow *arg1 = (wxWindow *) 0 ;
26298 wxFont *result;
26299 PyObject * obj0 = 0 ;
26300 char *kwnames[] = {
26301 (char *) "self", NULL
26302 };
26303
26304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
26305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26307 {
26308 PyThreadState* __tstate = wxPyBeginAllowThreads();
26309 {
26310 wxFont &_result_ref = (arg1)->GetFont();
26311 result = (wxFont *) &_result_ref;
26312 }
26313
26314 wxPyEndAllowThreads(__tstate);
26315 if (PyErr_Occurred()) SWIG_fail;
26316 }
26317 {
26318 wxFont* resultptr = new wxFont(*result);
26319 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
26320 }
26321 return resultobj;
26322 fail:
26323 return NULL;
26324}
26325
26326
26327static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26328 PyObject *resultobj;
26329 wxWindow *arg1 = (wxWindow *) 0 ;
26330 wxCaret *arg2 = (wxCaret *) 0 ;
26331 PyObject * obj0 = 0 ;
26332 PyObject * obj1 = 0 ;
26333 char *kwnames[] = {
26334 (char *) "self",(char *) "caret", NULL
26335 };
26336
26337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
26338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26340 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26342 {
26343 PyThreadState* __tstate = wxPyBeginAllowThreads();
26344 (arg1)->SetCaret(arg2);
26345
26346 wxPyEndAllowThreads(__tstate);
26347 if (PyErr_Occurred()) SWIG_fail;
26348 }
26349 Py_INCREF(Py_None); resultobj = Py_None;
26350 return resultobj;
26351 fail:
26352 return NULL;
26353}
26354
26355
26356static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
26357 PyObject *resultobj;
26358 wxWindow *arg1 = (wxWindow *) 0 ;
26359 wxCaret *result;
26360 PyObject * obj0 = 0 ;
26361 char *kwnames[] = {
26362 (char *) "self", NULL
26363 };
26364
26365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
26366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26368 {
26369 PyThreadState* __tstate = wxPyBeginAllowThreads();
26370 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26371
26372 wxPyEndAllowThreads(__tstate);
26373 if (PyErr_Occurred()) SWIG_fail;
26374 }
26375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
26376 return resultobj;
26377 fail:
26378 return NULL;
26379}
26380
26381
26382static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
26383 PyObject *resultobj;
26384 wxWindow *arg1 = (wxWindow *) 0 ;
26385 int result;
26386 PyObject * obj0 = 0 ;
26387 char *kwnames[] = {
26388 (char *) "self", NULL
26389 };
26390
26391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
26392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26397
26398 wxPyEndAllowThreads(__tstate);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 }
26401 resultobj = SWIG_FromInt((int)result);
26402 return resultobj;
26403 fail:
26404 return NULL;
26405}
26406
26407
26408static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj;
26410 wxWindow *arg1 = (wxWindow *) 0 ;
26411 int result;
26412 PyObject * obj0 = 0 ;
26413 char *kwnames[] = {
26414 (char *) "self", NULL
26415 };
26416
26417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
26418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26423
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 resultobj = SWIG_FromInt((int)result);
26428 return resultobj;
26429 fail:
26430 return NULL;
26431}
26432
26433
26434static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26435 PyObject *resultobj;
26436 wxWindow *arg1 = (wxWindow *) 0 ;
26437 wxString *arg2 = 0 ;
26438 int *arg3 = (int *) 0 ;
26439 int *arg4 = (int *) 0 ;
26440 bool temp2 = False ;
26441 int temp3 ;
26442 int temp4 ;
26443 PyObject * obj0 = 0 ;
26444 PyObject * obj1 = 0 ;
26445 char *kwnames[] = {
26446 (char *) "self",(char *) "string", NULL
26447 };
26448
26449 arg3 = &temp3;
26450 arg4 = &temp4;
26451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
26452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26454 {
26455 arg2 = wxString_in_helper(obj1);
26456 if (arg2 == NULL) SWIG_fail;
26457 temp2 = True;
26458 }
26459 {
26460 PyThreadState* __tstate = wxPyBeginAllowThreads();
26461 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26462
26463 wxPyEndAllowThreads(__tstate);
26464 if (PyErr_Occurred()) SWIG_fail;
26465 }
26466 Py_INCREF(Py_None); resultobj = Py_None;
26467 {
26468 PyObject *o = PyInt_FromLong((long) (*arg3));
26469 resultobj = t_output_helper(resultobj,o);
26470 }
26471 {
26472 PyObject *o = PyInt_FromLong((long) (*arg4));
26473 resultobj = t_output_helper(resultobj,o);
26474 }
26475 {
26476 if (temp2)
26477 delete arg2;
26478 }
26479 return resultobj;
26480 fail:
26481 {
26482 if (temp2)
26483 delete arg2;
26484 }
26485 return NULL;
26486}
26487
26488
26489static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxWindow *arg1 = (wxWindow *) 0 ;
26492 wxString *arg2 = 0 ;
26493 int *arg3 = (int *) 0 ;
26494 int *arg4 = (int *) 0 ;
26495 int *arg5 = (int *) 0 ;
26496 int *arg6 = (int *) 0 ;
26497 wxFont *arg7 = (wxFont *) NULL ;
26498 bool temp2 = False ;
26499 int temp3 ;
26500 int temp4 ;
26501 int temp5 ;
26502 int temp6 ;
26503 PyObject * obj0 = 0 ;
26504 PyObject * obj1 = 0 ;
26505 PyObject * obj2 = 0 ;
26506 char *kwnames[] = {
26507 (char *) "self",(char *) "string",(char *) "font", NULL
26508 };
26509
26510 arg3 = &temp3;
26511 arg4 = &temp4;
26512 arg5 = &temp5;
26513 arg6 = &temp6;
26514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
26515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26517 {
26518 arg2 = wxString_in_helper(obj1);
26519 if (arg2 == NULL) SWIG_fail;
26520 temp2 = True;
26521 }
26522 if (obj2) {
26523 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26525 }
26526 {
26527 PyThreadState* __tstate = wxPyBeginAllowThreads();
26528 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26529
26530 wxPyEndAllowThreads(__tstate);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 Py_INCREF(Py_None); resultobj = Py_None;
26534 {
26535 PyObject *o = PyInt_FromLong((long) (*arg3));
26536 resultobj = t_output_helper(resultobj,o);
26537 }
26538 {
26539 PyObject *o = PyInt_FromLong((long) (*arg4));
26540 resultobj = t_output_helper(resultobj,o);
26541 }
26542 {
26543 PyObject *o = PyInt_FromLong((long) (*arg5));
26544 resultobj = t_output_helper(resultobj,o);
26545 }
26546 {
26547 PyObject *o = PyInt_FromLong((long) (*arg6));
26548 resultobj = t_output_helper(resultobj,o);
26549 }
26550 {
26551 if (temp2)
26552 delete arg2;
26553 }
26554 return resultobj;
26555 fail:
26556 {
26557 if (temp2)
26558 delete arg2;
26559 }
26560 return NULL;
26561}
26562
26563
26564static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26565 PyObject *resultobj;
26566 wxWindow *arg1 = (wxWindow *) 0 ;
26567 int *arg2 = (int *) 0 ;
26568 int *arg3 = (int *) 0 ;
26569 int temp2 ;
26570 int temp3 ;
26571 PyObject * obj0 = 0 ;
26572 PyObject * obj1 = 0 ;
26573 PyObject * obj2 = 0 ;
26574 char *kwnames[] = {
26575 (char *) "self",(char *) "x",(char *) "y", NULL
26576 };
26577
26578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26581 {
26582 temp2 = PyInt_AsLong(obj1);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 arg2 = &temp2;
26585 }
26586 {
26587 temp3 = PyInt_AsLong(obj2);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 arg3 = &temp3;
26590 }
26591 {
26592 PyThreadState* __tstate = wxPyBeginAllowThreads();
26593 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26594
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
26598 Py_INCREF(Py_None); resultobj = Py_None;
26599 {
26600 PyObject *o = PyInt_FromLong((long) (*arg2));
26601 resultobj = t_output_helper(resultobj,o);
26602 }
26603 {
26604 PyObject *o = PyInt_FromLong((long) (*arg3));
26605 resultobj = t_output_helper(resultobj,o);
26606 }
26607 return resultobj;
26608 fail:
26609 return NULL;
26610}
26611
26612
26613static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26614 PyObject *resultobj;
26615 wxWindow *arg1 = (wxWindow *) 0 ;
26616 int *arg2 = (int *) 0 ;
26617 int *arg3 = (int *) 0 ;
26618 int temp2 ;
26619 int temp3 ;
26620 PyObject * obj0 = 0 ;
26621 PyObject * obj1 = 0 ;
26622 PyObject * obj2 = 0 ;
26623 char *kwnames[] = {
26624 (char *) "self",(char *) "x",(char *) "y", NULL
26625 };
26626
26627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26630 {
26631 temp2 = PyInt_AsLong(obj1);
26632 if (PyErr_Occurred()) SWIG_fail;
26633 arg2 = &temp2;
26634 }
26635 {
26636 temp3 = PyInt_AsLong(obj2);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 arg3 = &temp3;
26639 }
26640 {
26641 PyThreadState* __tstate = wxPyBeginAllowThreads();
26642 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26643
26644 wxPyEndAllowThreads(__tstate);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 }
26647 Py_INCREF(Py_None); resultobj = Py_None;
26648 {
26649 PyObject *o = PyInt_FromLong((long) (*arg2));
26650 resultobj = t_output_helper(resultobj,o);
26651 }
26652 {
26653 PyObject *o = PyInt_FromLong((long) (*arg3));
26654 resultobj = t_output_helper(resultobj,o);
26655 }
26656 return resultobj;
26657 fail:
26658 return NULL;
26659}
26660
26661
26662static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj;
26664 wxWindow *arg1 = (wxWindow *) 0 ;
26665 wxPoint *arg2 = 0 ;
26666 wxPoint result;
26667 wxPoint temp2 ;
26668 PyObject * obj0 = 0 ;
26669 PyObject * obj1 = 0 ;
26670 char *kwnames[] = {
26671 (char *) "self",(char *) "pt", NULL
26672 };
26673
26674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
26675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26677 {
26678 arg2 = &temp2;
26679 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26680 }
26681 {
26682 PyThreadState* __tstate = wxPyBeginAllowThreads();
26683 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26684
26685 wxPyEndAllowThreads(__tstate);
26686 if (PyErr_Occurred()) SWIG_fail;
26687 }
26688 {
26689 wxPoint * resultptr;
26690 resultptr = new wxPoint((wxPoint &) result);
26691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26692 }
26693 return resultobj;
26694 fail:
26695 return NULL;
26696}
26697
26698
26699static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj;
26701 wxWindow *arg1 = (wxWindow *) 0 ;
26702 wxPoint *arg2 = 0 ;
26703 wxPoint result;
26704 wxPoint temp2 ;
26705 PyObject * obj0 = 0 ;
26706 PyObject * obj1 = 0 ;
26707 char *kwnames[] = {
26708 (char *) "self",(char *) "pt", NULL
26709 };
26710
26711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
26712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26714 {
26715 arg2 = &temp2;
26716 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26717 }
26718 {
26719 PyThreadState* __tstate = wxPyBeginAllowThreads();
26720 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26721
26722 wxPyEndAllowThreads(__tstate);
26723 if (PyErr_Occurred()) SWIG_fail;
26724 }
26725 {
26726 wxPoint * resultptr;
26727 resultptr = new wxPoint((wxPoint &) result);
26728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
26729 }
26730 return resultobj;
26731 fail:
26732 return NULL;
26733}
26734
26735
26736static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26737 PyObject *resultobj;
26738 wxWindow *arg1 = (wxWindow *) 0 ;
26739 int arg2 ;
26740 int arg3 ;
26741 int result;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 PyObject * obj2 = 0 ;
26745 char *kwnames[] = {
26746 (char *) "self",(char *) "x",(char *) "y", NULL
26747 };
26748
26749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
26750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26752 arg2 = (int) SWIG_AsInt(obj1);
26753 if (PyErr_Occurred()) SWIG_fail;
26754 arg3 = (int) SWIG_AsInt(obj2);
26755 if (PyErr_Occurred()) SWIG_fail;
26756 {
26757 PyThreadState* __tstate = wxPyBeginAllowThreads();
26758 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26759
26760 wxPyEndAllowThreads(__tstate);
26761 if (PyErr_Occurred()) SWIG_fail;
26762 }
26763 resultobj = SWIG_FromInt((int)result);
26764 return resultobj;
26765 fail:
26766 return NULL;
26767}
26768
26769
26770static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26771 PyObject *resultobj;
26772 wxWindow *arg1 = (wxWindow *) 0 ;
26773 wxPoint *arg2 = 0 ;
26774 int result;
26775 wxPoint temp2 ;
26776 PyObject * obj0 = 0 ;
26777 PyObject * obj1 = 0 ;
26778 char *kwnames[] = {
26779 (char *) "self",(char *) "pt", NULL
26780 };
26781
26782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
26783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26785 {
26786 arg2 = &temp2;
26787 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26788 }
26789 {
26790 PyThreadState* __tstate = wxPyBeginAllowThreads();
26791 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26792
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 resultobj = SWIG_FromInt((int)result);
26797 return resultobj;
26798 fail:
26799 return NULL;
26800}
26801
26802
26803static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
26804 PyObject *resultobj;
26805 wxWindow *arg1 = (wxWindow *) 0 ;
26806 long arg2 ;
26807 int result;
26808 PyObject * obj0 = 0 ;
26809 PyObject * obj1 = 0 ;
26810
26811 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26814 arg2 = (long) SWIG_AsLong(obj1);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 {
26817 PyThreadState* __tstate = wxPyBeginAllowThreads();
26818 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26819
26820 wxPyEndAllowThreads(__tstate);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 }
26823 resultobj = SWIG_FromInt((int)result);
26824 return resultobj;
26825 fail:
26826 return NULL;
26827}
26828
26829
26830static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
26831 PyObject *resultobj;
26832 wxWindow *arg1 = (wxWindow *) 0 ;
26833 int result;
26834 PyObject * obj0 = 0 ;
26835
26836 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 result = (int)((wxWindow const *)arg1)->GetBorder();
26842
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 resultobj = SWIG_FromInt((int)result);
26847 return resultobj;
26848 fail:
26849 return NULL;
26850}
26851
26852
26853static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26854 int argc;
26855 PyObject *argv[3];
26856 int ii;
26857
26858 argc = PyObject_Length(args);
26859 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26860 argv[ii] = PyTuple_GetItem(args,ii);
26861 }
26862 if (argc == 1) {
26863 int _v;
26864 {
26865 void *ptr;
26866 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26867 _v = 0;
26868 PyErr_Clear();
26869 } else {
26870 _v = 1;
26871 }
26872 }
26873 if (_v) {
26874 return _wrap_Window_GetBorder__SWIG_1(self,args);
26875 }
26876 }
26877 if (argc == 2) {
26878 int _v;
26879 {
26880 void *ptr;
26881 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26882 _v = 0;
26883 PyErr_Clear();
26884 } else {
26885 _v = 1;
26886 }
26887 }
26888 if (_v) {
26889 _v = SWIG_CheckLong(argv[1]);
26890 if (_v) {
26891 return _wrap_Window_GetBorder__SWIG_0(self,args);
26892 }
26893 }
26894 }
26895
26896 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26897 return NULL;
26898}
26899
26900
26901static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
26902 PyObject *resultobj;
26903 wxWindow *arg1 = (wxWindow *) 0 ;
26904 long arg2 = (long) wxUPDATE_UI_NONE ;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self",(char *) "flags", NULL
26909 };
26910
26911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
26912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26914 if (obj1) {
26915 arg2 = (long) SWIG_AsLong(obj1);
26916 if (PyErr_Occurred()) SWIG_fail;
26917 }
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 (arg1)->UpdateWindowUI(arg2);
26921
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 Py_INCREF(Py_None); resultobj = Py_None;
26926 return resultobj;
26927 fail:
26928 return NULL;
26929}
26930
26931
26932static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26933 PyObject *resultobj;
26934 wxWindow *arg1 = (wxWindow *) 0 ;
26935 wxMenu *arg2 = (wxMenu *) 0 ;
26936 int arg3 ;
26937 int arg4 ;
26938 bool result;
26939 PyObject * obj0 = 0 ;
26940 PyObject * obj1 = 0 ;
26941 PyObject * obj2 = 0 ;
26942 PyObject * obj3 = 0 ;
26943 char *kwnames[] = {
26944 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26952 arg3 = (int) SWIG_AsInt(obj2);
26953 if (PyErr_Occurred()) SWIG_fail;
26954 arg4 = (int) SWIG_AsInt(obj3);
26955 if (PyErr_Occurred()) SWIG_fail;
26956 {
26957 PyThreadState* __tstate = wxPyBeginAllowThreads();
26958 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26959
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
26963 {
26964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26965 }
26966 return resultobj;
26967 fail:
26968 return NULL;
26969}
26970
26971
26972static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26973 PyObject *resultobj;
26974 wxWindow *arg1 = (wxWindow *) 0 ;
26975 wxMenu *arg2 = (wxMenu *) 0 ;
26976 wxPoint *arg3 = 0 ;
26977 bool result;
26978 wxPoint temp3 ;
26979 PyObject * obj0 = 0 ;
26980 PyObject * obj1 = 0 ;
26981 PyObject * obj2 = 0 ;
26982 char *kwnames[] = {
26983 (char *) "self",(char *) "menu",(char *) "pos", NULL
26984 };
26985
26986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
26987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26991 {
26992 arg3 = &temp3;
26993 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26994 }
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26998
26999 wxPyEndAllowThreads(__tstate);
27000 if (PyErr_Occurred()) SWIG_fail;
27001 }
27002 {
27003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27004 }
27005 return resultobj;
27006 fail:
27007 return NULL;
27008}
27009
27010
27011static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj;
27013 wxWindow *arg1 = (wxWindow *) 0 ;
27014 long result;
27015 PyObject * obj0 = 0 ;
27016 char *kwnames[] = {
27017 (char *) "self", NULL
27018 };
27019
27020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
27021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 result = (long)wxWindow_GetHandle(arg1);
27026
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 resultobj = SWIG_FromLong((long)result);
27031 return resultobj;
27032 fail:
27033 return NULL;
27034}
27035
27036
27037static PyObject *_wrap_Window_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
27038 PyObject *resultobj;
27039 wxWindow *arg1 = (wxWindow *) 0 ;
27040 wxPaintEvent *arg2 = 0 ;
27041 PyObject * obj0 = 0 ;
27042 PyObject * obj1 = 0 ;
27043 char *kwnames[] = {
27044 (char *) "self",(char *) "event", NULL
27045 };
27046
27047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
27048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPaintEvent,
27051 SWIG_POINTER_EXCEPTION | 0)) == -1)
27052 SWIG_fail;
27053 if (arg2 == NULL) {
27054 PyErr_SetString(PyExc_TypeError,"null reference");
27055 SWIG_fail;
27056 }
27057 {
27058 PyThreadState* __tstate = wxPyBeginAllowThreads();
27059 (arg1)->OnPaint(*arg2);
27060
27061 wxPyEndAllowThreads(__tstate);
27062 if (PyErr_Occurred()) SWIG_fail;
27063 }
27064 Py_INCREF(Py_None); resultobj = Py_None;
27065 return resultobj;
27066 fail:
27067 return NULL;
27068}
27069
27070
27071static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27072 PyObject *resultobj;
27073 wxWindow *arg1 = (wxWindow *) 0 ;
27074 int arg2 ;
27075 bool result;
27076 PyObject * obj0 = 0 ;
27077 PyObject * obj1 = 0 ;
27078 char *kwnames[] = {
27079 (char *) "self",(char *) "orient", NULL
27080 };
27081
27082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
27083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27085 arg2 = (int) SWIG_AsInt(obj1);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27090
27091 wxPyEndAllowThreads(__tstate);
27092 if (PyErr_Occurred()) SWIG_fail;
27093 }
27094 {
27095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27096 }
27097 return resultobj;
27098 fail:
27099 return NULL;
27100}
27101
27102
27103static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
27104 PyObject *resultobj;
27105 wxWindow *arg1 = (wxWindow *) 0 ;
27106 int arg2 ;
27107 int arg3 ;
27108 int arg4 ;
27109 int arg5 ;
27110 bool arg6 = (bool) True ;
27111 PyObject * obj0 = 0 ;
27112 PyObject * obj1 = 0 ;
27113 PyObject * obj2 = 0 ;
27114 PyObject * obj3 = 0 ;
27115 PyObject * obj4 = 0 ;
27116 PyObject * obj5 = 0 ;
27117 char *kwnames[] = {
27118 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
27119 };
27120
27121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27124 arg2 = (int) SWIG_AsInt(obj1);
27125 if (PyErr_Occurred()) SWIG_fail;
27126 arg3 = (int) SWIG_AsInt(obj2);
27127 if (PyErr_Occurred()) SWIG_fail;
27128 arg4 = (int) SWIG_AsInt(obj3);
27129 if (PyErr_Occurred()) SWIG_fail;
27130 arg5 = (int) SWIG_AsInt(obj4);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 if (obj5) {
27133 arg6 = (bool) SWIG_AsBool(obj5);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
27136 {
27137 PyThreadState* __tstate = wxPyBeginAllowThreads();
27138 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27139
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 Py_INCREF(Py_None); resultobj = Py_None;
27144 return resultobj;
27145 fail:
27146 return NULL;
27147}
27148
27149
27150static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27151 PyObject *resultobj;
27152 wxWindow *arg1 = (wxWindow *) 0 ;
27153 int arg2 ;
27154 int arg3 ;
27155 bool arg4 = (bool) True ;
27156 PyObject * obj0 = 0 ;
27157 PyObject * obj1 = 0 ;
27158 PyObject * obj2 = 0 ;
27159 PyObject * obj3 = 0 ;
27160 char *kwnames[] = {
27161 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27162 };
27163
27164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27167 arg2 = (int) SWIG_AsInt(obj1);
27168 if (PyErr_Occurred()) SWIG_fail;
27169 arg3 = (int) SWIG_AsInt(obj2);
27170 if (PyErr_Occurred()) SWIG_fail;
27171 if (obj3) {
27172 arg4 = (bool) SWIG_AsBool(obj3);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 }
27175 {
27176 PyThreadState* __tstate = wxPyBeginAllowThreads();
27177 (arg1)->SetScrollPos(arg2,arg3,arg4);
27178
27179 wxPyEndAllowThreads(__tstate);
27180 if (PyErr_Occurred()) SWIG_fail;
27181 }
27182 Py_INCREF(Py_None); resultobj = Py_None;
27183 return resultobj;
27184 fail:
27185 return NULL;
27186}
27187
27188
27189static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
27190 PyObject *resultobj;
27191 wxWindow *arg1 = (wxWindow *) 0 ;
27192 int arg2 ;
27193 int result;
27194 PyObject * obj0 = 0 ;
27195 PyObject * obj1 = 0 ;
27196 char *kwnames[] = {
27197 (char *) "self",(char *) "orientation", NULL
27198 };
27199
27200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
27201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27203 arg2 = (int) SWIG_AsInt(obj1);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 resultobj = SWIG_FromInt((int)result);
27213 return resultobj;
27214 fail:
27215 return NULL;
27216}
27217
27218
27219static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
27220 PyObject *resultobj;
27221 wxWindow *arg1 = (wxWindow *) 0 ;
27222 int arg2 ;
27223 int result;
27224 PyObject * obj0 = 0 ;
27225 PyObject * obj1 = 0 ;
27226 char *kwnames[] = {
27227 (char *) "self",(char *) "orientation", NULL
27228 };
27229
27230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
27231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27233 arg2 = (int) SWIG_AsInt(obj1);
27234 if (PyErr_Occurred()) SWIG_fail;
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27238
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 resultobj = SWIG_FromInt((int)result);
27243 return resultobj;
27244 fail:
27245 return NULL;
27246}
27247
27248
27249static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
27250 PyObject *resultobj;
27251 wxWindow *arg1 = (wxWindow *) 0 ;
27252 int arg2 ;
27253 int result;
27254 PyObject * obj0 = 0 ;
27255 PyObject * obj1 = 0 ;
27256 char *kwnames[] = {
27257 (char *) "self",(char *) "orientation", NULL
27258 };
27259
27260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
27261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27263 arg2 = (int) SWIG_AsInt(obj1);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 resultobj = SWIG_FromInt((int)result);
27273 return resultobj;
27274 fail:
27275 return NULL;
27276}
27277
27278
27279static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 wxWindow *arg1 = (wxWindow *) 0 ;
27282 int arg2 ;
27283 int arg3 ;
27284 wxRect *arg4 = (wxRect *) NULL ;
27285 PyObject * obj0 = 0 ;
27286 PyObject * obj1 = 0 ;
27287 PyObject * obj2 = 0 ;
27288 PyObject * obj3 = 0 ;
27289 char *kwnames[] = {
27290 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27291 };
27292
27293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27296 arg2 = (int) SWIG_AsInt(obj1);
27297 if (PyErr_Occurred()) SWIG_fail;
27298 arg3 = (int) SWIG_AsInt(obj2);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 if (obj3) {
27301 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27303 }
27304 {
27305 PyThreadState* __tstate = wxPyBeginAllowThreads();
27306 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27307
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 Py_INCREF(Py_None); resultobj = Py_None;
27312 return resultobj;
27313 fail:
27314 return NULL;
27315}
27316
27317
27318static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
27319 PyObject *resultobj;
27320 wxWindow *arg1 = (wxWindow *) 0 ;
27321 int arg2 ;
27322 bool result;
27323 PyObject * obj0 = 0 ;
27324 PyObject * obj1 = 0 ;
27325 char *kwnames[] = {
27326 (char *) "self",(char *) "lines", NULL
27327 };
27328
27329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
27330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27332 arg2 = (int) SWIG_AsInt(obj1);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 {
27335 PyThreadState* __tstate = wxPyBeginAllowThreads();
27336 result = (bool)(arg1)->ScrollLines(arg2);
27337
27338 wxPyEndAllowThreads(__tstate);
27339 if (PyErr_Occurred()) SWIG_fail;
27340 }
27341 {
27342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27343 }
27344 return resultobj;
27345 fail:
27346 return NULL;
27347}
27348
27349
27350static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
27351 PyObject *resultobj;
27352 wxWindow *arg1 = (wxWindow *) 0 ;
27353 int arg2 ;
27354 bool result;
27355 PyObject * obj0 = 0 ;
27356 PyObject * obj1 = 0 ;
27357 char *kwnames[] = {
27358 (char *) "self",(char *) "pages", NULL
27359 };
27360
27361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
27362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27364 arg2 = (int) SWIG_AsInt(obj1);
27365 if (PyErr_Occurred()) SWIG_fail;
27366 {
27367 PyThreadState* __tstate = wxPyBeginAllowThreads();
27368 result = (bool)(arg1)->ScrollPages(arg2);
27369
27370 wxPyEndAllowThreads(__tstate);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 }
27373 {
27374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27375 }
27376 return resultobj;
27377 fail:
27378 return NULL;
27379}
27380
27381
27382static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27383 PyObject *resultobj;
27384 wxWindow *arg1 = (wxWindow *) 0 ;
27385 bool result;
27386 PyObject * obj0 = 0 ;
27387 char *kwnames[] = {
27388 (char *) "self", NULL
27389 };
27390
27391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
27392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27394 {
27395 PyThreadState* __tstate = wxPyBeginAllowThreads();
27396 result = (bool)(arg1)->LineUp();
27397
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 {
27402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27403 }
27404 return resultobj;
27405 fail:
27406 return NULL;
27407}
27408
27409
27410static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27411 PyObject *resultobj;
27412 wxWindow *arg1 = (wxWindow *) 0 ;
27413 bool result;
27414 PyObject * obj0 = 0 ;
27415 char *kwnames[] = {
27416 (char *) "self", NULL
27417 };
27418
27419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
27420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27422 {
27423 PyThreadState* __tstate = wxPyBeginAllowThreads();
27424 result = (bool)(arg1)->LineDown();
27425
27426 wxPyEndAllowThreads(__tstate);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 {
27430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27431 }
27432 return resultobj;
27433 fail:
27434 return NULL;
27435}
27436
27437
27438static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
27439 PyObject *resultobj;
27440 wxWindow *arg1 = (wxWindow *) 0 ;
27441 bool result;
27442 PyObject * obj0 = 0 ;
27443 char *kwnames[] = {
27444 (char *) "self", NULL
27445 };
27446
27447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
27448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = (bool)(arg1)->PageUp();
27453
27454 wxPyEndAllowThreads(__tstate);
27455 if (PyErr_Occurred()) SWIG_fail;
27456 }
27457 {
27458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27459 }
27460 return resultobj;
27461 fail:
27462 return NULL;
27463}
27464
27465
27466static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
27467 PyObject *resultobj;
27468 wxWindow *arg1 = (wxWindow *) 0 ;
27469 bool result;
27470 PyObject * obj0 = 0 ;
27471 char *kwnames[] = {
27472 (char *) "self", NULL
27473 };
27474
27475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
27476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27478 {
27479 PyThreadState* __tstate = wxPyBeginAllowThreads();
27480 result = (bool)(arg1)->PageDown();
27481
27482 wxPyEndAllowThreads(__tstate);
27483 if (PyErr_Occurred()) SWIG_fail;
27484 }
27485 {
27486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27487 }
27488 return resultobj;
27489 fail:
27490 return NULL;
27491}
27492
27493
27494static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27495 PyObject *resultobj;
27496 wxWindow *arg1 = (wxWindow *) 0 ;
27497 wxString *arg2 = 0 ;
27498 bool temp2 = False ;
27499 PyObject * obj0 = 0 ;
27500 PyObject * obj1 = 0 ;
27501 char *kwnames[] = {
27502 (char *) "self",(char *) "text", NULL
27503 };
27504
27505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
27506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27508 {
27509 arg2 = wxString_in_helper(obj1);
27510 if (arg2 == NULL) SWIG_fail;
27511 temp2 = True;
27512 }
27513 {
27514 PyThreadState* __tstate = wxPyBeginAllowThreads();
27515 (arg1)->SetHelpText((wxString const &)*arg2);
27516
27517 wxPyEndAllowThreads(__tstate);
27518 if (PyErr_Occurred()) SWIG_fail;
27519 }
27520 Py_INCREF(Py_None); resultobj = Py_None;
27521 {
27522 if (temp2)
27523 delete arg2;
27524 }
27525 return resultobj;
27526 fail:
27527 {
27528 if (temp2)
27529 delete arg2;
27530 }
27531 return NULL;
27532}
27533
27534
27535static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
27536 PyObject *resultobj;
27537 wxWindow *arg1 = (wxWindow *) 0 ;
27538 wxString *arg2 = 0 ;
27539 bool temp2 = False ;
27540 PyObject * obj0 = 0 ;
27541 PyObject * obj1 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self",(char *) "text", NULL
27544 };
27545
27546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
27547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27549 {
27550 arg2 = wxString_in_helper(obj1);
27551 if (arg2 == NULL) SWIG_fail;
27552 temp2 = True;
27553 }
27554 {
27555 PyThreadState* __tstate = wxPyBeginAllowThreads();
27556 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27557
27558 wxPyEndAllowThreads(__tstate);
27559 if (PyErr_Occurred()) SWIG_fail;
27560 }
27561 Py_INCREF(Py_None); resultobj = Py_None;
27562 {
27563 if (temp2)
27564 delete arg2;
27565 }
27566 return resultobj;
27567 fail:
27568 {
27569 if (temp2)
27570 delete arg2;
27571 }
27572 return NULL;
27573}
27574
27575
27576static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
27577 PyObject *resultobj;
27578 wxWindow *arg1 = (wxWindow *) 0 ;
27579 wxString result;
27580 PyObject * obj0 = 0 ;
27581 char *kwnames[] = {
27582 (char *) "self", NULL
27583 };
27584
27585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
27586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27588 {
27589 PyThreadState* __tstate = wxPyBeginAllowThreads();
27590 result = ((wxWindow const *)arg1)->GetHelpText();
27591
27592 wxPyEndAllowThreads(__tstate);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 }
27595 {
27596#if wxUSE_UNICODE
27597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27598#else
27599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27600#endif
27601 }
27602 return resultobj;
27603 fail:
27604 return NULL;
27605}
27606
27607
27608static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj;
27610 wxWindow *arg1 = (wxWindow *) 0 ;
27611 wxString *arg2 = 0 ;
27612 bool temp2 = False ;
27613 PyObject * obj0 = 0 ;
27614 PyObject * obj1 = 0 ;
27615 char *kwnames[] = {
27616 (char *) "self",(char *) "tip", NULL
27617 };
27618
27619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
27620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27622 {
27623 arg2 = wxString_in_helper(obj1);
27624 if (arg2 == NULL) SWIG_fail;
27625 temp2 = True;
27626 }
27627 {
27628 PyThreadState* __tstate = wxPyBeginAllowThreads();
27629 (arg1)->SetToolTip((wxString const &)*arg2);
27630
27631 wxPyEndAllowThreads(__tstate);
27632 if (PyErr_Occurred()) SWIG_fail;
27633 }
27634 Py_INCREF(Py_None); resultobj = Py_None;
27635 {
27636 if (temp2)
27637 delete arg2;
27638 }
27639 return resultobj;
27640 fail:
27641 {
27642 if (temp2)
27643 delete arg2;
27644 }
27645 return NULL;
27646}
27647
27648
27649static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27650 PyObject *resultobj;
27651 wxWindow *arg1 = (wxWindow *) 0 ;
27652 wxToolTip *arg2 = (wxToolTip *) 0 ;
27653 PyObject * obj0 = 0 ;
27654 PyObject * obj1 = 0 ;
27655 char *kwnames[] = {
27656 (char *) "self",(char *) "tip", NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
27660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27664 {
27665 PyThreadState* __tstate = wxPyBeginAllowThreads();
27666 (arg1)->SetToolTip(arg2);
27667
27668 wxPyEndAllowThreads(__tstate);
27669 if (PyErr_Occurred()) SWIG_fail;
27670 }
27671 Py_INCREF(Py_None); resultobj = Py_None;
27672 return resultobj;
27673 fail:
27674 return NULL;
27675}
27676
27677
27678static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
27679 PyObject *resultobj;
27680 wxWindow *arg1 = (wxWindow *) 0 ;
27681 wxToolTip *result;
27682 PyObject * obj0 = 0 ;
27683 char *kwnames[] = {
27684 (char *) "self", NULL
27685 };
27686
27687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
27688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27690 {
27691 PyThreadState* __tstate = wxPyBeginAllowThreads();
27692 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27693
27694 wxPyEndAllowThreads(__tstate);
27695 if (PyErr_Occurred()) SWIG_fail;
27696 }
27697 {
27698 resultobj = wxPyMake_wxObject(result);
27699 }
27700 return resultobj;
27701 fail:
27702 return NULL;
27703}
27704
27705
27706static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27707 PyObject *resultobj;
27708 wxWindow *arg1 = (wxWindow *) 0 ;
27709 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
27710 PyObject * obj0 = 0 ;
27711 PyObject * obj1 = 0 ;
27712 char *kwnames[] = {
27713 (char *) "self",(char *) "dropTarget", NULL
27714 };
27715
27716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
27717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27720 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27721 {
27722 PyThreadState* __tstate = wxPyBeginAllowThreads();
27723 (arg1)->SetDropTarget(arg2);
27724
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 Py_INCREF(Py_None); resultobj = Py_None;
27729 return resultobj;
27730 fail:
27731 return NULL;
27732}
27733
27734
27735static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27736 PyObject *resultobj;
27737 wxWindow *arg1 = (wxWindow *) 0 ;
27738 wxPyDropTarget *result;
27739 PyObject * obj0 = 0 ;
27740 char *kwnames[] = {
27741 (char *) "self", NULL
27742 };
27743
27744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
27745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27747 {
27748 PyThreadState* __tstate = wxPyBeginAllowThreads();
27749 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
27750
27751 wxPyEndAllowThreads(__tstate);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
27755 return resultobj;
27756 fail:
27757 return NULL;
27758}
27759
27760
27761static PyObject *_wrap_Window_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
27762 PyObject *resultobj;
27763 wxWindow *arg1 = (wxWindow *) 0 ;
27764 bool arg2 ;
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 char *kwnames[] = {
27768 (char *) "self",(char *) "accept", NULL
27769 };
27770
27771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
27772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27774 arg2 = (bool) SWIG_AsBool(obj1);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 {
27777 PyThreadState* __tstate = wxPyBeginAllowThreads();
27778 (arg1)->DragAcceptFiles(arg2);
27779
27780 wxPyEndAllowThreads(__tstate);
27781 if (PyErr_Occurred()) SWIG_fail;
27782 }
27783 Py_INCREF(Py_None); resultobj = Py_None;
27784 return resultobj;
27785 fail:
27786 return NULL;
27787}
27788
27789
27790static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27791 PyObject *resultobj;
27792 wxWindow *arg1 = (wxWindow *) 0 ;
27793 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27794 PyObject * obj0 = 0 ;
27795 PyObject * obj1 = 0 ;
27796 char *kwnames[] = {
27797 (char *) "self",(char *) "constraints", NULL
27798 };
27799
27800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
27801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27805 {
27806 PyThreadState* __tstate = wxPyBeginAllowThreads();
27807 (arg1)->SetConstraints(arg2);
27808
27809 wxPyEndAllowThreads(__tstate);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 }
27812 Py_INCREF(Py_None); resultobj = Py_None;
27813 return resultobj;
27814 fail:
27815 return NULL;
27816}
27817
27818
27819static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
27820 PyObject *resultobj;
27821 wxWindow *arg1 = (wxWindow *) 0 ;
27822 wxLayoutConstraints *result;
27823 PyObject * obj0 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "self", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
27829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27831 {
27832 PyThreadState* __tstate = wxPyBeginAllowThreads();
27833 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27834
27835 wxPyEndAllowThreads(__tstate);
27836 if (PyErr_Occurred()) SWIG_fail;
27837 }
27838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
27839 return resultobj;
27840 fail:
27841 return NULL;
27842}
27843
27844
27845static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27846 PyObject *resultobj;
27847 wxWindow *arg1 = (wxWindow *) 0 ;
27848 bool arg2 ;
27849 PyObject * obj0 = 0 ;
27850 PyObject * obj1 = 0 ;
27851 char *kwnames[] = {
27852 (char *) "self",(char *) "autoLayout", NULL
27853 };
27854
27855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
27856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27858 arg2 = (bool) SWIG_AsBool(obj1);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 {
27861 PyThreadState* __tstate = wxPyBeginAllowThreads();
27862 (arg1)->SetAutoLayout(arg2);
27863
27864 wxPyEndAllowThreads(__tstate);
27865 if (PyErr_Occurred()) SWIG_fail;
27866 }
27867 Py_INCREF(Py_None); resultobj = Py_None;
27868 return resultobj;
27869 fail:
27870 return NULL;
27871}
27872
27873
27874static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
27875 PyObject *resultobj;
27876 wxWindow *arg1 = (wxWindow *) 0 ;
27877 bool result;
27878 PyObject * obj0 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
27884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27886 {
27887 PyThreadState* __tstate = wxPyBeginAllowThreads();
27888 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27889
27890 wxPyEndAllowThreads(__tstate);
27891 if (PyErr_Occurred()) SWIG_fail;
27892 }
27893 {
27894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27895 }
27896 return resultobj;
27897 fail:
27898 return NULL;
27899}
27900
27901
27902static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
27903 PyObject *resultobj;
27904 wxWindow *arg1 = (wxWindow *) 0 ;
27905 bool result;
27906 PyObject * obj0 = 0 ;
27907 char *kwnames[] = {
27908 (char *) "self", NULL
27909 };
27910
27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
27912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27914 {
27915 PyThreadState* __tstate = wxPyBeginAllowThreads();
27916 result = (bool)(arg1)->Layout();
27917
27918 wxPyEndAllowThreads(__tstate);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 {
27922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27923 }
27924 return resultobj;
27925 fail:
27926 return NULL;
27927}
27928
27929
27930static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27931 PyObject *resultobj;
27932 wxWindow *arg1 = (wxWindow *) 0 ;
27933 wxSizer *arg2 = (wxSizer *) 0 ;
27934 bool arg3 = (bool) True ;
27935 PyObject * obj0 = 0 ;
27936 PyObject * obj1 = 0 ;
27937 PyObject * obj2 = 0 ;
27938 char *kwnames[] = {
27939 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27940 };
27941
27942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
27943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27947 if (obj2) {
27948 arg3 = (bool) SWIG_AsBool(obj2);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
27951 {
27952 PyThreadState* __tstate = wxPyBeginAllowThreads();
27953 (arg1)->SetSizer(arg2,arg3);
27954
27955 wxPyEndAllowThreads(__tstate);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
27958 Py_INCREF(Py_None); resultobj = Py_None;
27959 return resultobj;
27960 fail:
27961 return NULL;
27962}
27963
27964
27965static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
27966 PyObject *resultobj;
27967 wxWindow *arg1 = (wxWindow *) 0 ;
27968 wxSizer *arg2 = (wxSizer *) 0 ;
27969 bool arg3 = (bool) True ;
27970 PyObject * obj0 = 0 ;
27971 PyObject * obj1 = 0 ;
27972 PyObject * obj2 = 0 ;
27973 char *kwnames[] = {
27974 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27975 };
27976
27977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
27978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27982 if (obj2) {
27983 arg3 = (bool) SWIG_AsBool(obj2);
27984 if (PyErr_Occurred()) SWIG_fail;
27985 }
27986 {
27987 PyThreadState* __tstate = wxPyBeginAllowThreads();
27988 (arg1)->SetSizerAndFit(arg2,arg3);
27989
27990 wxPyEndAllowThreads(__tstate);
27991 if (PyErr_Occurred()) SWIG_fail;
27992 }
27993 Py_INCREF(Py_None); resultobj = Py_None;
27994 return resultobj;
27995 fail:
27996 return NULL;
27997}
27998
27999
28000static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28001 PyObject *resultobj;
28002 wxWindow *arg1 = (wxWindow *) 0 ;
28003 wxSizer *result;
28004 PyObject * obj0 = 0 ;
28005 char *kwnames[] = {
28006 (char *) "self", NULL
28007 };
28008
28009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
28010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28012 {
28013 PyThreadState* __tstate = wxPyBeginAllowThreads();
28014 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28015
28016 wxPyEndAllowThreads(__tstate);
28017 if (PyErr_Occurred()) SWIG_fail;
28018 }
28019 {
28020 resultobj = wxPyMake_wxSizer(result);
28021 }
28022 return resultobj;
28023 fail:
28024 return NULL;
28025}
28026
28027
28028static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28029 PyObject *resultobj;
28030 wxWindow *arg1 = (wxWindow *) 0 ;
28031 wxSizer *arg2 = (wxSizer *) 0 ;
28032 PyObject * obj0 = 0 ;
28033 PyObject * obj1 = 0 ;
28034 char *kwnames[] = {
28035 (char *) "self",(char *) "sizer", NULL
28036 };
28037
28038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
28039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28043 {
28044 PyThreadState* __tstate = wxPyBeginAllowThreads();
28045 (arg1)->SetContainingSizer(arg2);
28046
28047 wxPyEndAllowThreads(__tstate);
28048 if (PyErr_Occurred()) SWIG_fail;
28049 }
28050 Py_INCREF(Py_None); resultobj = Py_None;
28051 return resultobj;
28052 fail:
28053 return NULL;
28054}
28055
28056
28057static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
28058 PyObject *resultobj;
28059 wxWindow *arg1 = (wxWindow *) 0 ;
28060 wxSizer *result;
28061 PyObject * obj0 = 0 ;
28062 char *kwnames[] = {
28063 (char *) "self", NULL
28064 };
28065
28066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
28067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28069 {
28070 PyThreadState* __tstate = wxPyBeginAllowThreads();
28071 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28072
28073 wxPyEndAllowThreads(__tstate);
28074 if (PyErr_Occurred()) SWIG_fail;
28075 }
28076 {
28077 resultobj = wxPyMake_wxSizer(result);
28078 }
28079 return resultobj;
28080 fail:
28081 return NULL;
28082}
28083
28084
28085static PyObject *_wrap_Window_InheritAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28086 PyObject *resultobj;
28087 wxWindow *arg1 = (wxWindow *) 0 ;
28088 PyObject * obj0 = 0 ;
28089 char *kwnames[] = {
28090 (char *) "self", NULL
28091 };
28092
28093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28096 {
28097 PyThreadState* __tstate = wxPyBeginAllowThreads();
28098 (arg1)->InheritAttributes();
28099
28100 wxPyEndAllowThreads(__tstate);
28101 if (PyErr_Occurred()) SWIG_fail;
28102 }
28103 Py_INCREF(Py_None); resultobj = Py_None;
28104 return resultobj;
28105 fail:
28106 return NULL;
28107}
28108
28109
28110static PyObject *_wrap_Window_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28111 PyObject *resultobj;
28112 wxWindow *arg1 = (wxWindow *) 0 ;
28113 bool result;
28114 PyObject * obj0 = 0 ;
28115 char *kwnames[] = {
28116 (char *) "self", NULL
28117 };
28118
28119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28122 {
28123 PyThreadState* __tstate = wxPyBeginAllowThreads();
28124 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28125
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 {
28130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28131 }
28132 return resultobj;
28133 fail:
28134 return NULL;
28135}
28136
28137
28138static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
28139 PyObject *obj;
28140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28141 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28142 Py_INCREF(obj);
28143 return Py_BuildValue((char *)"");
28144}
28145static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
28146 PyObject *resultobj;
28147 long arg1 ;
28148 wxWindow *arg2 = (wxWindow *) NULL ;
28149 wxWindow *result;
28150 PyObject * obj0 = 0 ;
28151 PyObject * obj1 = 0 ;
28152 char *kwnames[] = {
28153 (char *) "id",(char *) "parent", NULL
28154 };
28155
28156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
28157 arg1 = (long) SWIG_AsLong(obj0);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 if (obj1) {
28160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28162 }
28163 {
28164 PyThreadState* __tstate = wxPyBeginAllowThreads();
28165 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28166
28167 wxPyEndAllowThreads(__tstate);
28168 if (PyErr_Occurred()) SWIG_fail;
28169 }
28170 {
28171 resultobj = wxPyMake_wxObject(result);
28172 }
28173 return resultobj;
28174 fail:
28175 return NULL;
28176}
28177
28178
28179static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj;
28181 wxString *arg1 = 0 ;
28182 wxWindow *arg2 = (wxWindow *) NULL ;
28183 wxWindow *result;
28184 bool temp1 = False ;
28185 PyObject * obj0 = 0 ;
28186 PyObject * obj1 = 0 ;
28187 char *kwnames[] = {
28188 (char *) "name",(char *) "parent", NULL
28189 };
28190
28191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28192 {
28193 arg1 = wxString_in_helper(obj0);
28194 if (arg1 == NULL) SWIG_fail;
28195 temp1 = True;
28196 }
28197 if (obj1) {
28198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28200 }
28201 {
28202 PyThreadState* __tstate = wxPyBeginAllowThreads();
28203 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28204
28205 wxPyEndAllowThreads(__tstate);
28206 if (PyErr_Occurred()) SWIG_fail;
28207 }
28208 {
28209 resultobj = wxPyMake_wxObject(result);
28210 }
28211 {
28212 if (temp1)
28213 delete arg1;
28214 }
28215 return resultobj;
28216 fail:
28217 {
28218 if (temp1)
28219 delete arg1;
28220 }
28221 return NULL;
28222}
28223
28224
28225static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj;
28227 wxString *arg1 = 0 ;
28228 wxWindow *arg2 = (wxWindow *) NULL ;
28229 wxWindow *result;
28230 bool temp1 = False ;
28231 PyObject * obj0 = 0 ;
28232 PyObject * obj1 = 0 ;
28233 char *kwnames[] = {
28234 (char *) "label",(char *) "parent", NULL
28235 };
28236
28237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28238 {
28239 arg1 = wxString_in_helper(obj0);
28240 if (arg1 == NULL) SWIG_fail;
28241 temp1 = True;
28242 }
28243 if (obj1) {
28244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28246 }
28247 {
28248 PyThreadState* __tstate = wxPyBeginAllowThreads();
28249 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28250
28251 wxPyEndAllowThreads(__tstate);
28252 if (PyErr_Occurred()) SWIG_fail;
28253 }
28254 {
28255 resultobj = wxPyMake_wxObject(result);
28256 }
28257 {
28258 if (temp1)
28259 delete arg1;
28260 }
28261 return resultobj;
28262 fail:
28263 {
28264 if (temp1)
28265 delete arg1;
28266 }
28267 return NULL;
28268}
28269
28270
28271static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
28272 PyObject *resultobj;
28273 wxWindow *arg1 = (wxWindow *) 0 ;
28274 unsigned long arg2 ;
28275 wxWindow *result;
28276 PyObject * obj0 = 0 ;
28277 PyObject * obj1 = 0 ;
28278 char *kwnames[] = {
28279 (char *) "parent",(char *) "_hWnd", NULL
28280 };
28281
28282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28285 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
28286 if (PyErr_Occurred()) SWIG_fail;
28287 {
28288 PyThreadState* __tstate = wxPyBeginAllowThreads();
28289 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
28290
28291 wxPyEndAllowThreads(__tstate);
28292 if (PyErr_Occurred()) SWIG_fail;
28293 }
28294 {
28295 resultobj = wxPyMake_wxObject(result);
28296 }
28297 return resultobj;
28298 fail:
28299 return NULL;
28300}
28301
28302
28303static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
28304 PyObject *resultobj;
28305 wxValidator *result;
28306 char *kwnames[] = {
28307 NULL
28308 };
28309
28310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28311 {
28312 PyThreadState* __tstate = wxPyBeginAllowThreads();
28313 result = (wxValidator *)new wxValidator();
28314
28315 wxPyEndAllowThreads(__tstate);
28316 if (PyErr_Occurred()) SWIG_fail;
28317 }
28318 {
28319 resultobj = wxPyMake_wxObject(result);
28320 }
28321 return resultobj;
28322 fail:
28323 return NULL;
28324}
28325
28326
28327static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj;
28329 wxValidator *arg1 = (wxValidator *) 0 ;
28330 wxValidator *result;
28331 PyObject * obj0 = 0 ;
28332 char *kwnames[] = {
28333 (char *) "self", NULL
28334 };
28335
28336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
28337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 result = (wxValidator *)(arg1)->Clone();
28342
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 {
28347 resultobj = wxPyMake_wxObject(result);
28348 }
28349 return resultobj;
28350 fail:
28351 return NULL;
28352}
28353
28354
28355static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28356 PyObject *resultobj;
28357 wxValidator *arg1 = (wxValidator *) 0 ;
28358 wxWindow *arg2 = (wxWindow *) 0 ;
28359 bool result;
28360 PyObject * obj0 = 0 ;
28361 PyObject * obj1 = 0 ;
28362 char *kwnames[] = {
28363 (char *) "self",(char *) "parent", NULL
28364 };
28365
28366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
28367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28371 {
28372 PyThreadState* __tstate = wxPyBeginAllowThreads();
28373 result = (bool)(arg1)->Validate(arg2);
28374
28375 wxPyEndAllowThreads(__tstate);
28376 if (PyErr_Occurred()) SWIG_fail;
28377 }
28378 {
28379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28380 }
28381 return resultobj;
28382 fail:
28383 return NULL;
28384}
28385
28386
28387static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28388 PyObject *resultobj;
28389 wxValidator *arg1 = (wxValidator *) 0 ;
28390 bool result;
28391 PyObject * obj0 = 0 ;
28392 char *kwnames[] = {
28393 (char *) "self", NULL
28394 };
28395
28396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
28397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28399 {
28400 PyThreadState* __tstate = wxPyBeginAllowThreads();
28401 result = (bool)(arg1)->TransferToWindow();
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 {
28407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28408 }
28409 return resultobj;
28410 fail:
28411 return NULL;
28412}
28413
28414
28415static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28416 PyObject *resultobj;
28417 wxValidator *arg1 = (wxValidator *) 0 ;
28418 bool result;
28419 PyObject * obj0 = 0 ;
28420 char *kwnames[] = {
28421 (char *) "self", NULL
28422 };
28423
28424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
28425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28427 {
28428 PyThreadState* __tstate = wxPyBeginAllowThreads();
28429 result = (bool)(arg1)->TransferFromWindow();
28430
28431 wxPyEndAllowThreads(__tstate);
28432 if (PyErr_Occurred()) SWIG_fail;
28433 }
28434 {
28435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28436 }
28437 return resultobj;
28438 fail:
28439 return NULL;
28440}
28441
28442
28443static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28444 PyObject *resultobj;
28445 wxValidator *arg1 = (wxValidator *) 0 ;
28446 wxWindow *result;
28447 PyObject * obj0 = 0 ;
28448 char *kwnames[] = {
28449 (char *) "self", NULL
28450 };
28451
28452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
28453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28455 {
28456 PyThreadState* __tstate = wxPyBeginAllowThreads();
28457 result = (wxWindow *)(arg1)->GetWindow();
28458
28459 wxPyEndAllowThreads(__tstate);
28460 if (PyErr_Occurred()) SWIG_fail;
28461 }
28462 {
28463 resultobj = wxPyMake_wxObject(result);
28464 }
28465 return resultobj;
28466 fail:
28467 return NULL;
28468}
28469
28470
28471static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28472 PyObject *resultobj;
28473 wxValidator *arg1 = (wxValidator *) 0 ;
28474 wxWindow *arg2 = (wxWindow *) 0 ;
28475 PyObject * obj0 = 0 ;
28476 PyObject * obj1 = 0 ;
28477 char *kwnames[] = {
28478 (char *) "self",(char *) "window", NULL
28479 };
28480
28481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
28482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28486 {
28487 PyThreadState* __tstate = wxPyBeginAllowThreads();
28488 (arg1)->SetWindow(arg2);
28489
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 Py_INCREF(Py_None); resultobj = Py_None;
28494 return resultobj;
28495 fail:
28496 return NULL;
28497}
28498
28499
28500static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
28501 PyObject *resultobj;
28502 bool result;
28503 char *kwnames[] = {
28504 NULL
28505 };
28506
28507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28508 {
28509 PyThreadState* __tstate = wxPyBeginAllowThreads();
28510 result = (bool)wxValidator::IsSilent();
28511
28512 wxPyEndAllowThreads(__tstate);
28513 if (PyErr_Occurred()) SWIG_fail;
28514 }
28515 {
28516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28517 }
28518 return resultobj;
28519 fail:
28520 return NULL;
28521}
28522
28523
28524static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
28525 PyObject *resultobj;
28526 int arg1 = (int) True ;
28527 PyObject * obj0 = 0 ;
28528 char *kwnames[] = {
28529 (char *) "doIt", NULL
28530 };
28531
28532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28533 if (obj0) {
28534 arg1 = (int) SWIG_AsInt(obj0);
28535 if (PyErr_Occurred()) SWIG_fail;
28536 }
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
28539 wxValidator::SetBellOnError(arg1);
28540
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
28544 Py_INCREF(Py_None); resultobj = Py_None;
28545 return resultobj;
28546 fail:
28547 return NULL;
28548}
28549
28550
28551static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
28552 PyObject *obj;
28553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28554 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28555 Py_INCREF(obj);
28556 return Py_BuildValue((char *)"");
28557}
28558static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
28559 PyObject *resultobj;
28560 wxPyValidator *result;
28561 char *kwnames[] = {
28562 NULL
28563 };
28564
28565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28566 {
28567 PyThreadState* __tstate = wxPyBeginAllowThreads();
28568 result = (wxPyValidator *)new wxPyValidator();
28569
28570 wxPyEndAllowThreads(__tstate);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
28574 return resultobj;
28575 fail:
28576 return NULL;
28577}
28578
28579
28580static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28581 PyObject *resultobj;
28582 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28583 PyObject *arg2 = (PyObject *) 0 ;
28584 PyObject *arg3 = (PyObject *) 0 ;
28585 int arg4 = (int) True ;
28586 PyObject * obj0 = 0 ;
28587 PyObject * obj1 = 0 ;
28588 PyObject * obj2 = 0 ;
28589 PyObject * obj3 = 0 ;
28590 char *kwnames[] = {
28591 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28592 };
28593
28594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28597 arg2 = obj1;
28598 arg3 = obj2;
28599 if (obj3) {
28600 arg4 = (int) SWIG_AsInt(obj3);
28601 if (PyErr_Occurred()) SWIG_fail;
28602 }
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28606
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 Py_INCREF(Py_None); resultobj = Py_None;
28611 return resultobj;
28612 fail:
28613 return NULL;
28614}
28615
28616
28617static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
28618 PyObject *obj;
28619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28620 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28621 Py_INCREF(obj);
28622 return Py_BuildValue((char *)"");
28623}
28624static int _wrap_DefaultValidator_set(PyObject *_val) {
28625 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28626 return 1;
28627}
28628
28629
28630static PyObject *_wrap_DefaultValidator_get() {
28631 PyObject *pyobj;
28632
28633 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
28634 return pyobj;
28635}
28636
28637
28638static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
28639 PyObject *resultobj;
28640 wxString const &arg1_defvalue = wxPyEmptyString ;
28641 wxString *arg1 = (wxString *) &arg1_defvalue ;
28642 long arg2 = (long) 0 ;
28643 wxMenu *result;
28644 bool temp1 = False ;
28645 PyObject * obj0 = 0 ;
28646 PyObject * obj1 = 0 ;
28647 char *kwnames[] = {
28648 (char *) "title",(char *) "style", NULL
28649 };
28650
28651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
28652 if (obj0) {
28653 {
28654 arg1 = wxString_in_helper(obj0);
28655 if (arg1 == NULL) SWIG_fail;
28656 temp1 = True;
28657 }
28658 }
28659 if (obj1) {
28660 arg2 = (long) SWIG_AsLong(obj1);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 }
28663 {
28664 PyThreadState* __tstate = wxPyBeginAllowThreads();
28665 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28666
28667 wxPyEndAllowThreads(__tstate);
28668 if (PyErr_Occurred()) SWIG_fail;
28669 }
28670 {
28671 resultobj = wxPyMake_wxObject(result);
28672 }
28673 {
28674 if (temp1)
28675 delete arg1;
28676 }
28677 return resultobj;
28678 fail:
28679 {
28680 if (temp1)
28681 delete arg1;
28682 }
28683 return NULL;
28684}
28685
28686
28687static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
28688 PyObject *resultobj;
28689 wxMenu *arg1 = (wxMenu *) 0 ;
28690 int arg2 ;
28691 wxString *arg3 = 0 ;
28692 wxString const &arg4_defvalue = wxPyEmptyString ;
28693 wxString *arg4 = (wxString *) &arg4_defvalue ;
28694 int arg5 = (int) wxITEM_NORMAL ;
28695 wxMenuItem *result;
28696 bool temp3 = False ;
28697 bool temp4 = False ;
28698 PyObject * obj0 = 0 ;
28699 PyObject * obj1 = 0 ;
28700 PyObject * obj2 = 0 ;
28701 PyObject * obj3 = 0 ;
28702 PyObject * obj4 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28710 arg2 = (int) SWIG_AsInt(obj1);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 {
28713 arg3 = wxString_in_helper(obj2);
28714 if (arg3 == NULL) SWIG_fail;
28715 temp3 = True;
28716 }
28717 if (obj3) {
28718 {
28719 arg4 = wxString_in_helper(obj3);
28720 if (arg4 == NULL) SWIG_fail;
28721 temp4 = True;
28722 }
28723 }
28724 if (obj4) {
28725 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28726 if (PyErr_Occurred()) SWIG_fail;
28727 }
28728 {
28729 PyThreadState* __tstate = wxPyBeginAllowThreads();
28730 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
28731
28732 wxPyEndAllowThreads(__tstate);
28733 if (PyErr_Occurred()) SWIG_fail;
28734 }
28735 {
28736 resultobj = wxPyMake_wxObject(result);
28737 }
28738 {
28739 if (temp3)
28740 delete arg3;
28741 }
28742 {
28743 if (temp4)
28744 delete arg4;
28745 }
28746 return resultobj;
28747 fail:
28748 {
28749 if (temp3)
28750 delete arg3;
28751 }
28752 {
28753 if (temp4)
28754 delete arg4;
28755 }
28756 return NULL;
28757}
28758
28759
28760static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28761 PyObject *resultobj;
28762 wxMenu *arg1 = (wxMenu *) 0 ;
28763 wxMenuItem *result;
28764 PyObject * obj0 = 0 ;
28765 char *kwnames[] = {
28766 (char *) "self", NULL
28767 };
28768
28769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
28770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28772 {
28773 PyThreadState* __tstate = wxPyBeginAllowThreads();
28774 result = (wxMenuItem *)(arg1)->AppendSeparator();
28775
28776 wxPyEndAllowThreads(__tstate);
28777 if (PyErr_Occurred()) SWIG_fail;
28778 }
28779 {
28780 resultobj = wxPyMake_wxObject(result);
28781 }
28782 return resultobj;
28783 fail:
28784 return NULL;
28785}
28786
28787
28788static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28789 PyObject *resultobj;
28790 wxMenu *arg1 = (wxMenu *) 0 ;
28791 int arg2 ;
28792 wxString *arg3 = 0 ;
28793 wxString const &arg4_defvalue = wxPyEmptyString ;
28794 wxString *arg4 = (wxString *) &arg4_defvalue ;
28795 wxMenuItem *result;
28796 bool temp3 = False ;
28797 bool temp4 = False ;
28798 PyObject * obj0 = 0 ;
28799 PyObject * obj1 = 0 ;
28800 PyObject * obj2 = 0 ;
28801 PyObject * obj3 = 0 ;
28802 char *kwnames[] = {
28803 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28804 };
28805
28806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28809 arg2 = (int) SWIG_AsInt(obj1);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 {
28812 arg3 = wxString_in_helper(obj2);
28813 if (arg3 == NULL) SWIG_fail;
28814 temp3 = True;
28815 }
28816 if (obj3) {
28817 {
28818 arg4 = wxString_in_helper(obj3);
28819 if (arg4 == NULL) SWIG_fail;
28820 temp4 = True;
28821 }
28822 }
28823 {
28824 PyThreadState* __tstate = wxPyBeginAllowThreads();
28825 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28826
28827 wxPyEndAllowThreads(__tstate);
28828 if (PyErr_Occurred()) SWIG_fail;
28829 }
28830 {
28831 resultobj = wxPyMake_wxObject(result);
28832 }
28833 {
28834 if (temp3)
28835 delete arg3;
28836 }
28837 {
28838 if (temp4)
28839 delete arg4;
28840 }
28841 return resultobj;
28842 fail:
28843 {
28844 if (temp3)
28845 delete arg3;
28846 }
28847 {
28848 if (temp4)
28849 delete arg4;
28850 }
28851 return NULL;
28852}
28853
28854
28855static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28856 PyObject *resultobj;
28857 wxMenu *arg1 = (wxMenu *) 0 ;
28858 int arg2 ;
28859 wxString *arg3 = 0 ;
28860 wxString const &arg4_defvalue = wxPyEmptyString ;
28861 wxString *arg4 = (wxString *) &arg4_defvalue ;
28862 wxMenuItem *result;
28863 bool temp3 = False ;
28864 bool temp4 = False ;
28865 PyObject * obj0 = 0 ;
28866 PyObject * obj1 = 0 ;
28867 PyObject * obj2 = 0 ;
28868 PyObject * obj3 = 0 ;
28869 char *kwnames[] = {
28870 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28871 };
28872
28873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28876 arg2 = (int) SWIG_AsInt(obj1);
28877 if (PyErr_Occurred()) SWIG_fail;
28878 {
28879 arg3 = wxString_in_helper(obj2);
28880 if (arg3 == NULL) SWIG_fail;
28881 temp3 = True;
28882 }
28883 if (obj3) {
28884 {
28885 arg4 = wxString_in_helper(obj3);
28886 if (arg4 == NULL) SWIG_fail;
28887 temp4 = True;
28888 }
28889 }
28890 {
28891 PyThreadState* __tstate = wxPyBeginAllowThreads();
28892 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
28893
28894 wxPyEndAllowThreads(__tstate);
28895 if (PyErr_Occurred()) SWIG_fail;
28896 }
28897 {
28898 resultobj = wxPyMake_wxObject(result);
28899 }
28900 {
28901 if (temp3)
28902 delete arg3;
28903 }
28904 {
28905 if (temp4)
28906 delete arg4;
28907 }
28908 return resultobj;
28909 fail:
28910 {
28911 if (temp3)
28912 delete arg3;
28913 }
28914 {
28915 if (temp4)
28916 delete arg4;
28917 }
28918 return NULL;
28919}
28920
28921
28922static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28923 PyObject *resultobj;
28924 wxMenu *arg1 = (wxMenu *) 0 ;
28925 int arg2 ;
28926 wxString *arg3 = 0 ;
28927 wxMenu *arg4 = (wxMenu *) 0 ;
28928 wxString const &arg5_defvalue = wxPyEmptyString ;
28929 wxString *arg5 = (wxString *) &arg5_defvalue ;
28930 wxMenuItem *result;
28931 bool temp3 = False ;
28932 bool temp5 = False ;
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 PyObject * obj2 = 0 ;
28936 PyObject * obj3 = 0 ;
28937 PyObject * obj4 = 0 ;
28938 char *kwnames[] = {
28939 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28940 };
28941
28942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28945 arg2 = (int) SWIG_AsInt(obj1);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 {
28948 arg3 = wxString_in_helper(obj2);
28949 if (arg3 == NULL) SWIG_fail;
28950 temp3 = True;
28951 }
28952 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28954 if (obj4) {
28955 {
28956 arg5 = wxString_in_helper(obj4);
28957 if (arg5 == NULL) SWIG_fail;
28958 temp5 = True;
28959 }
28960 }
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 {
28969 resultobj = wxPyMake_wxObject(result);
28970 }
28971 {
28972 if (temp3)
28973 delete arg3;
28974 }
28975 {
28976 if (temp5)
28977 delete arg5;
28978 }
28979 return resultobj;
28980 fail:
28981 {
28982 if (temp3)
28983 delete arg3;
28984 }
28985 {
28986 if (temp5)
28987 delete arg5;
28988 }
28989 return NULL;
28990}
28991
28992
28993static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28994 PyObject *resultobj;
28995 wxMenu *arg1 = (wxMenu *) 0 ;
28996 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28997 wxMenuItem *result;
28998 PyObject * obj0 = 0 ;
28999 PyObject * obj1 = 0 ;
29000 char *kwnames[] = {
29001 (char *) "self",(char *) "item", NULL
29002 };
29003
29004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
29005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29009 {
29010 PyThreadState* __tstate = wxPyBeginAllowThreads();
29011 result = (wxMenuItem *)(arg1)->Append(arg2);
29012
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 {
29017 resultobj = wxPyMake_wxObject(result);
29018 }
29019 return resultobj;
29020 fail:
29021 return NULL;
29022}
29023
29024
29025static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
29026 PyObject *resultobj;
29027 wxMenu *arg1 = (wxMenu *) 0 ;
29028 PyObject * obj0 = 0 ;
29029 char *kwnames[] = {
29030 (char *) "self", NULL
29031 };
29032
29033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
29034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29036 {
29037 PyThreadState* __tstate = wxPyBeginAllowThreads();
29038 (arg1)->Break();
29039
29040 wxPyEndAllowThreads(__tstate);
29041 if (PyErr_Occurred()) SWIG_fail;
29042 }
29043 Py_INCREF(Py_None); resultobj = Py_None;
29044 return resultobj;
29045 fail:
29046 return NULL;
29047}
29048
29049
29050static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29051 PyObject *resultobj;
29052 wxMenu *arg1 = (wxMenu *) 0 ;
29053 size_t arg2 ;
29054 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
29055 wxMenuItem *result;
29056 PyObject * obj0 = 0 ;
29057 PyObject * obj1 = 0 ;
29058 PyObject * obj2 = 0 ;
29059 char *kwnames[] = {
29060 (char *) "self",(char *) "pos",(char *) "item", NULL
29061 };
29062
29063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
29064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29066 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29067 if (PyErr_Occurred()) SWIG_fail;
29068 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29070 {
29071 PyThreadState* __tstate = wxPyBeginAllowThreads();
29072 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
29073
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 {
29078 resultobj = wxPyMake_wxObject(result);
29079 }
29080 return resultobj;
29081 fail:
29082 return NULL;
29083}
29084
29085
29086static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29087 PyObject *resultobj;
29088 wxMenu *arg1 = (wxMenu *) 0 ;
29089 size_t arg2 ;
29090 int arg3 ;
29091 wxString *arg4 = 0 ;
29092 wxString const &arg5_defvalue = wxPyEmptyString ;
29093 wxString *arg5 = (wxString *) &arg5_defvalue ;
29094 int arg6 = (int) wxITEM_NORMAL ;
29095 wxMenuItem *result;
29096 bool temp4 = False ;
29097 bool temp5 = False ;
29098 PyObject * obj0 = 0 ;
29099 PyObject * obj1 = 0 ;
29100 PyObject * obj2 = 0 ;
29101 PyObject * obj3 = 0 ;
29102 PyObject * obj4 = 0 ;
29103 PyObject * obj5 = 0 ;
29104 char *kwnames[] = {
29105 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29106 };
29107
29108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29111 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29112 if (PyErr_Occurred()) SWIG_fail;
29113 arg3 = (int) SWIG_AsInt(obj2);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 {
29116 arg4 = wxString_in_helper(obj3);
29117 if (arg4 == NULL) SWIG_fail;
29118 temp4 = True;
29119 }
29120 if (obj4) {
29121 {
29122 arg5 = wxString_in_helper(obj4);
29123 if (arg5 == NULL) SWIG_fail;
29124 temp5 = True;
29125 }
29126 }
29127 if (obj5) {
29128 arg6 = (wxItemKind) SWIG_AsInt(obj5);
29129 if (PyErr_Occurred()) SWIG_fail;
29130 }
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
29134
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 {
29139 resultobj = wxPyMake_wxObject(result);
29140 }
29141 {
29142 if (temp4)
29143 delete arg4;
29144 }
29145 {
29146 if (temp5)
29147 delete arg5;
29148 }
29149 return resultobj;
29150 fail:
29151 {
29152 if (temp4)
29153 delete arg4;
29154 }
29155 {
29156 if (temp5)
29157 delete arg5;
29158 }
29159 return NULL;
29160}
29161
29162
29163static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29164 PyObject *resultobj;
29165 wxMenu *arg1 = (wxMenu *) 0 ;
29166 size_t arg2 ;
29167 wxMenuItem *result;
29168 PyObject * obj0 = 0 ;
29169 PyObject * obj1 = 0 ;
29170 char *kwnames[] = {
29171 (char *) "self",(char *) "pos", NULL
29172 };
29173
29174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
29175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29177 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29178 if (PyErr_Occurred()) SWIG_fail;
29179 {
29180 PyThreadState* __tstate = wxPyBeginAllowThreads();
29181 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
29182
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 {
29187 resultobj = wxPyMake_wxObject(result);
29188 }
29189 return resultobj;
29190 fail:
29191 return NULL;
29192}
29193
29194
29195static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29196 PyObject *resultobj;
29197 wxMenu *arg1 = (wxMenu *) 0 ;
29198 size_t arg2 ;
29199 int arg3 ;
29200 wxString *arg4 = 0 ;
29201 wxString const &arg5_defvalue = wxPyEmptyString ;
29202 wxString *arg5 = (wxString *) &arg5_defvalue ;
29203 wxMenuItem *result;
29204 bool temp4 = False ;
29205 bool temp5 = False ;
29206 PyObject * obj0 = 0 ;
29207 PyObject * obj1 = 0 ;
29208 PyObject * obj2 = 0 ;
29209 PyObject * obj3 = 0 ;
29210 PyObject * obj4 = 0 ;
29211 char *kwnames[] = {
29212 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29213 };
29214
29215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29218 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29219 if (PyErr_Occurred()) SWIG_fail;
29220 arg3 = (int) SWIG_AsInt(obj2);
29221 if (PyErr_Occurred()) SWIG_fail;
29222 {
29223 arg4 = wxString_in_helper(obj3);
29224 if (arg4 == NULL) SWIG_fail;
29225 temp4 = True;
29226 }
29227 if (obj4) {
29228 {
29229 arg5 = wxString_in_helper(obj4);
29230 if (arg5 == NULL) SWIG_fail;
29231 temp5 = True;
29232 }
29233 }
29234 {
29235 PyThreadState* __tstate = wxPyBeginAllowThreads();
29236 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
29237
29238 wxPyEndAllowThreads(__tstate);
29239 if (PyErr_Occurred()) SWIG_fail;
29240 }
29241 {
29242 resultobj = wxPyMake_wxObject(result);
29243 }
29244 {
29245 if (temp4)
29246 delete arg4;
29247 }
29248 {
29249 if (temp5)
29250 delete arg5;
29251 }
29252 return resultobj;
29253 fail:
29254 {
29255 if (temp4)
29256 delete arg4;
29257 }
29258 {
29259 if (temp5)
29260 delete arg5;
29261 }
29262 return NULL;
29263}
29264
29265
29266static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj;
29268 wxMenu *arg1 = (wxMenu *) 0 ;
29269 size_t arg2 ;
29270 int arg3 ;
29271 wxString *arg4 = 0 ;
29272 wxString const &arg5_defvalue = wxPyEmptyString ;
29273 wxString *arg5 = (wxString *) &arg5_defvalue ;
29274 wxMenuItem *result;
29275 bool temp4 = False ;
29276 bool temp5 = False ;
29277 PyObject * obj0 = 0 ;
29278 PyObject * obj1 = 0 ;
29279 PyObject * obj2 = 0 ;
29280 PyObject * obj3 = 0 ;
29281 PyObject * obj4 = 0 ;
29282 char *kwnames[] = {
29283 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29284 };
29285
29286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29289 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29290 if (PyErr_Occurred()) SWIG_fail;
29291 arg3 = (int) SWIG_AsInt(obj2);
29292 if (PyErr_Occurred()) SWIG_fail;
29293 {
29294 arg4 = wxString_in_helper(obj3);
29295 if (arg4 == NULL) SWIG_fail;
29296 temp4 = True;
29297 }
29298 if (obj4) {
29299 {
29300 arg5 = wxString_in_helper(obj4);
29301 if (arg5 == NULL) SWIG_fail;
29302 temp5 = True;
29303 }
29304 }
29305 {
29306 PyThreadState* __tstate = wxPyBeginAllowThreads();
29307 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
29308
29309 wxPyEndAllowThreads(__tstate);
29310 if (PyErr_Occurred()) SWIG_fail;
29311 }
29312 {
29313 resultobj = wxPyMake_wxObject(result);
29314 }
29315 {
29316 if (temp4)
29317 delete arg4;
29318 }
29319 {
29320 if (temp5)
29321 delete arg5;
29322 }
29323 return resultobj;
29324 fail:
29325 {
29326 if (temp4)
29327 delete arg4;
29328 }
29329 {
29330 if (temp5)
29331 delete arg5;
29332 }
29333 return NULL;
29334}
29335
29336
29337static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29338 PyObject *resultobj;
29339 wxMenu *arg1 = (wxMenu *) 0 ;
29340 size_t arg2 ;
29341 int arg3 ;
29342 wxString *arg4 = 0 ;
29343 wxMenu *arg5 = (wxMenu *) 0 ;
29344 wxString const &arg6_defvalue = wxPyEmptyString ;
29345 wxString *arg6 = (wxString *) &arg6_defvalue ;
29346 wxMenuItem *result;
29347 bool temp4 = False ;
29348 bool temp6 = False ;
29349 PyObject * obj0 = 0 ;
29350 PyObject * obj1 = 0 ;
29351 PyObject * obj2 = 0 ;
29352 PyObject * obj3 = 0 ;
29353 PyObject * obj4 = 0 ;
29354 PyObject * obj5 = 0 ;
29355 char *kwnames[] = {
29356 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29357 };
29358
29359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29362 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 arg3 = (int) SWIG_AsInt(obj2);
29365 if (PyErr_Occurred()) SWIG_fail;
29366 {
29367 arg4 = wxString_in_helper(obj3);
29368 if (arg4 == NULL) SWIG_fail;
29369 temp4 = True;
29370 }
29371 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29373 if (obj5) {
29374 {
29375 arg6 = wxString_in_helper(obj5);
29376 if (arg6 == NULL) SWIG_fail;
29377 temp6 = True;
29378 }
29379 }
29380 {
29381 PyThreadState* __tstate = wxPyBeginAllowThreads();
29382 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
29383
29384 wxPyEndAllowThreads(__tstate);
29385 if (PyErr_Occurred()) SWIG_fail;
29386 }
29387 {
29388 resultobj = wxPyMake_wxObject(result);
29389 }
29390 {
29391 if (temp4)
29392 delete arg4;
29393 }
29394 {
29395 if (temp6)
29396 delete arg6;
29397 }
29398 return resultobj;
29399 fail:
29400 {
29401 if (temp4)
29402 delete arg4;
29403 }
29404 {
29405 if (temp6)
29406 delete arg6;
29407 }
29408 return NULL;
29409}
29410
29411
29412static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29413 PyObject *resultobj;
29414 wxMenu *arg1 = (wxMenu *) 0 ;
29415 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29416 wxMenuItem *result;
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 char *kwnames[] = {
29420 (char *) "self",(char *) "item", NULL
29421 };
29422
29423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
29424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29426 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29428 {
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = (wxMenuItem *)(arg1)->Prepend(arg2);
29431
29432 wxPyEndAllowThreads(__tstate);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 }
29435 {
29436 resultobj = wxPyMake_wxObject(result);
29437 }
29438 return resultobj;
29439 fail:
29440 return NULL;
29441}
29442
29443
29444static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
29445 PyObject *resultobj;
29446 wxMenu *arg1 = (wxMenu *) 0 ;
29447 int arg2 ;
29448 wxString *arg3 = 0 ;
29449 wxString const &arg4_defvalue = wxPyEmptyString ;
29450 wxString *arg4 = (wxString *) &arg4_defvalue ;
29451 int arg5 = (int) wxITEM_NORMAL ;
29452 wxMenuItem *result;
29453 bool temp3 = False ;
29454 bool temp4 = False ;
29455 PyObject * obj0 = 0 ;
29456 PyObject * obj1 = 0 ;
29457 PyObject * obj2 = 0 ;
29458 PyObject * obj3 = 0 ;
29459 PyObject * obj4 = 0 ;
29460 char *kwnames[] = {
29461 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29462 };
29463
29464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29467 arg2 = (int) SWIG_AsInt(obj1);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 {
29470 arg3 = wxString_in_helper(obj2);
29471 if (arg3 == NULL) SWIG_fail;
29472 temp3 = True;
29473 }
29474 if (obj3) {
29475 {
29476 arg4 = wxString_in_helper(obj3);
29477 if (arg4 == NULL) SWIG_fail;
29478 temp4 = True;
29479 }
29480 }
29481 if (obj4) {
29482 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29483 if (PyErr_Occurred()) SWIG_fail;
29484 }
29485 {
29486 PyThreadState* __tstate = wxPyBeginAllowThreads();
29487 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
29488
29489 wxPyEndAllowThreads(__tstate);
29490 if (PyErr_Occurred()) SWIG_fail;
29491 }
29492 {
29493 resultobj = wxPyMake_wxObject(result);
29494 }
29495 {
29496 if (temp3)
29497 delete arg3;
29498 }
29499 {
29500 if (temp4)
29501 delete arg4;
29502 }
29503 return resultobj;
29504 fail:
29505 {
29506 if (temp3)
29507 delete arg3;
29508 }
29509 {
29510 if (temp4)
29511 delete arg4;
29512 }
29513 return NULL;
29514}
29515
29516
29517static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
29518 PyObject *resultobj;
29519 wxMenu *arg1 = (wxMenu *) 0 ;
29520 wxMenuItem *result;
29521 PyObject * obj0 = 0 ;
29522 char *kwnames[] = {
29523 (char *) "self", NULL
29524 };
29525
29526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
29527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29529 {
29530 PyThreadState* __tstate = wxPyBeginAllowThreads();
29531 result = (wxMenuItem *)(arg1)->PrependSeparator();
29532
29533 wxPyEndAllowThreads(__tstate);
29534 if (PyErr_Occurred()) SWIG_fail;
29535 }
29536 {
29537 resultobj = wxPyMake_wxObject(result);
29538 }
29539 return resultobj;
29540 fail:
29541 return NULL;
29542}
29543
29544
29545static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29546 PyObject *resultobj;
29547 wxMenu *arg1 = (wxMenu *) 0 ;
29548 int arg2 ;
29549 wxString *arg3 = 0 ;
29550 wxString const &arg4_defvalue = wxPyEmptyString ;
29551 wxString *arg4 = (wxString *) &arg4_defvalue ;
29552 wxMenuItem *result;
29553 bool temp3 = False ;
29554 bool temp4 = False ;
29555 PyObject * obj0 = 0 ;
29556 PyObject * obj1 = 0 ;
29557 PyObject * obj2 = 0 ;
29558 PyObject * obj3 = 0 ;
29559 char *kwnames[] = {
29560 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29561 };
29562
29563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29566 arg2 = (int) SWIG_AsInt(obj1);
29567 if (PyErr_Occurred()) SWIG_fail;
29568 {
29569 arg3 = wxString_in_helper(obj2);
29570 if (arg3 == NULL) SWIG_fail;
29571 temp3 = True;
29572 }
29573 if (obj3) {
29574 {
29575 arg4 = wxString_in_helper(obj3);
29576 if (arg4 == NULL) SWIG_fail;
29577 temp4 = True;
29578 }
29579 }
29580 {
29581 PyThreadState* __tstate = wxPyBeginAllowThreads();
29582 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29583
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
29587 {
29588 resultobj = wxPyMake_wxObject(result);
29589 }
29590 {
29591 if (temp3)
29592 delete arg3;
29593 }
29594 {
29595 if (temp4)
29596 delete arg4;
29597 }
29598 return resultobj;
29599 fail:
29600 {
29601 if (temp3)
29602 delete arg3;
29603 }
29604 {
29605 if (temp4)
29606 delete arg4;
29607 }
29608 return NULL;
29609}
29610
29611
29612static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj;
29614 wxMenu *arg1 = (wxMenu *) 0 ;
29615 int arg2 ;
29616 wxString *arg3 = 0 ;
29617 wxString const &arg4_defvalue = wxPyEmptyString ;
29618 wxString *arg4 = (wxString *) &arg4_defvalue ;
29619 wxMenuItem *result;
29620 bool temp3 = False ;
29621 bool temp4 = False ;
29622 PyObject * obj0 = 0 ;
29623 PyObject * obj1 = 0 ;
29624 PyObject * obj2 = 0 ;
29625 PyObject * obj3 = 0 ;
29626 char *kwnames[] = {
29627 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29628 };
29629
29630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29633 arg2 = (int) SWIG_AsInt(obj1);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 {
29636 arg3 = wxString_in_helper(obj2);
29637 if (arg3 == NULL) SWIG_fail;
29638 temp3 = True;
29639 }
29640 if (obj3) {
29641 {
29642 arg4 = wxString_in_helper(obj3);
29643 if (arg4 == NULL) SWIG_fail;
29644 temp4 = True;
29645 }
29646 }
29647 {
29648 PyThreadState* __tstate = wxPyBeginAllowThreads();
29649 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29650
29651 wxPyEndAllowThreads(__tstate);
29652 if (PyErr_Occurred()) SWIG_fail;
29653 }
29654 {
29655 resultobj = wxPyMake_wxObject(result);
29656 }
29657 {
29658 if (temp3)
29659 delete arg3;
29660 }
29661 {
29662 if (temp4)
29663 delete arg4;
29664 }
29665 return resultobj;
29666 fail:
29667 {
29668 if (temp3)
29669 delete arg3;
29670 }
29671 {
29672 if (temp4)
29673 delete arg4;
29674 }
29675 return NULL;
29676}
29677
29678
29679static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29680 PyObject *resultobj;
29681 wxMenu *arg1 = (wxMenu *) 0 ;
29682 int arg2 ;
29683 wxString *arg3 = 0 ;
29684 wxMenu *arg4 = (wxMenu *) 0 ;
29685 wxString const &arg5_defvalue = wxPyEmptyString ;
29686 wxString *arg5 = (wxString *) &arg5_defvalue ;
29687 wxMenuItem *result;
29688 bool temp3 = False ;
29689 bool temp5 = False ;
29690 PyObject * obj0 = 0 ;
29691 PyObject * obj1 = 0 ;
29692 PyObject * obj2 = 0 ;
29693 PyObject * obj3 = 0 ;
29694 PyObject * obj4 = 0 ;
29695 char *kwnames[] = {
29696 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29697 };
29698
29699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29702 arg2 = (int) SWIG_AsInt(obj1);
29703 if (PyErr_Occurred()) SWIG_fail;
29704 {
29705 arg3 = wxString_in_helper(obj2);
29706 if (arg3 == NULL) SWIG_fail;
29707 temp3 = True;
29708 }
29709 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29711 if (obj4) {
29712 {
29713 arg5 = wxString_in_helper(obj4);
29714 if (arg5 == NULL) SWIG_fail;
29715 temp5 = True;
29716 }
29717 }
29718 {
29719 PyThreadState* __tstate = wxPyBeginAllowThreads();
29720 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
29721
29722 wxPyEndAllowThreads(__tstate);
29723 if (PyErr_Occurred()) SWIG_fail;
29724 }
29725 {
29726 resultobj = wxPyMake_wxObject(result);
29727 }
29728 {
29729 if (temp3)
29730 delete arg3;
29731 }
29732 {
29733 if (temp5)
29734 delete arg5;
29735 }
29736 return resultobj;
29737 fail:
29738 {
29739 if (temp3)
29740 delete arg3;
29741 }
29742 {
29743 if (temp5)
29744 delete arg5;
29745 }
29746 return NULL;
29747}
29748
29749
29750static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29751 PyObject *resultobj;
29752 wxMenu *arg1 = (wxMenu *) 0 ;
29753 int arg2 ;
29754 wxMenuItem *result;
29755 PyObject * obj0 = 0 ;
29756 PyObject * obj1 = 0 ;
29757 char *kwnames[] = {
29758 (char *) "self",(char *) "id", NULL
29759 };
29760
29761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
29762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29764 arg2 = (int) SWIG_AsInt(obj1);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 {
29767 PyThreadState* __tstate = wxPyBeginAllowThreads();
29768 result = (wxMenuItem *)(arg1)->Remove(arg2);
29769
29770 wxPyEndAllowThreads(__tstate);
29771 if (PyErr_Occurred()) SWIG_fail;
29772 }
29773 {
29774 resultobj = wxPyMake_wxObject(result);
29775 }
29776 return resultobj;
29777 fail:
29778 return NULL;
29779}
29780
29781
29782static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29783 PyObject *resultobj;
29784 wxMenu *arg1 = (wxMenu *) 0 ;
29785 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29786 wxMenuItem *result;
29787 PyObject * obj0 = 0 ;
29788 PyObject * obj1 = 0 ;
29789 char *kwnames[] = {
29790 (char *) "self",(char *) "item", NULL
29791 };
29792
29793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
29794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29798 {
29799 PyThreadState* __tstate = wxPyBeginAllowThreads();
29800 result = (wxMenuItem *)(arg1)->Remove(arg2);
29801
29802 wxPyEndAllowThreads(__tstate);
29803 if (PyErr_Occurred()) SWIG_fail;
29804 }
29805 {
29806 resultobj = wxPyMake_wxObject(result);
29807 }
29808 return resultobj;
29809 fail:
29810 return NULL;
29811}
29812
29813
29814static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
29815 PyObject *resultobj;
29816 wxMenu *arg1 = (wxMenu *) 0 ;
29817 int arg2 ;
29818 bool result;
29819 PyObject * obj0 = 0 ;
29820 PyObject * obj1 = 0 ;
29821 char *kwnames[] = {
29822 (char *) "self",(char *) "id", NULL
29823 };
29824
29825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
29826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29828 arg2 = (int) SWIG_AsInt(obj1);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 {
29831 PyThreadState* __tstate = wxPyBeginAllowThreads();
29832 result = (bool)(arg1)->Delete(arg2);
29833
29834 wxPyEndAllowThreads(__tstate);
29835 if (PyErr_Occurred()) SWIG_fail;
29836 }
29837 {
29838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29839 }
29840 return resultobj;
29841 fail:
29842 return NULL;
29843}
29844
29845
29846static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29847 PyObject *resultobj;
29848 wxMenu *arg1 = (wxMenu *) 0 ;
29849 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29850 bool result;
29851 PyObject * obj0 = 0 ;
29852 PyObject * obj1 = 0 ;
29853 char *kwnames[] = {
29854 (char *) "self",(char *) "item", NULL
29855 };
29856
29857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
29858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29862 {
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 result = (bool)(arg1)->Delete(arg2);
29865
29866 wxPyEndAllowThreads(__tstate);
29867 if (PyErr_Occurred()) SWIG_fail;
29868 }
29869 {
29870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29871 }
29872 return resultobj;
29873 fail:
29874 return NULL;
29875}
29876
29877
29878static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29879 PyObject *resultobj;
29880 wxMenu *arg1 = (wxMenu *) 0 ;
29881 PyObject * obj0 = 0 ;
29882 char *kwnames[] = {
29883 (char *) "self", NULL
29884 };
29885
29886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
29887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29889 {
29890 PyThreadState* __tstate = wxPyBeginAllowThreads();
29891 wxMenu_Destroy(arg1);
29892
29893 wxPyEndAllowThreads(__tstate);
29894 if (PyErr_Occurred()) SWIG_fail;
29895 }
29896 Py_INCREF(Py_None); resultobj = Py_None;
29897 return resultobj;
29898 fail:
29899 return NULL;
29900}
29901
29902
29903static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
29904 PyObject *resultobj;
29905 wxMenu *arg1 = (wxMenu *) 0 ;
29906 int arg2 ;
29907 bool result;
29908 PyObject * obj0 = 0 ;
29909 PyObject * obj1 = 0 ;
29910 char *kwnames[] = {
29911 (char *) "self",(char *) "id", NULL
29912 };
29913
29914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
29915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29917 arg2 = (int) SWIG_AsInt(obj1);
29918 if (PyErr_Occurred()) SWIG_fail;
29919 {
29920 PyThreadState* __tstate = wxPyBeginAllowThreads();
29921 result = (bool)(arg1)->Destroy(arg2);
29922
29923 wxPyEndAllowThreads(__tstate);
29924 if (PyErr_Occurred()) SWIG_fail;
29925 }
29926 {
29927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29928 }
29929 return resultobj;
29930 fail:
29931 return NULL;
29932}
29933
29934
29935static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29936 PyObject *resultobj;
29937 wxMenu *arg1 = (wxMenu *) 0 ;
29938 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29939 bool result;
29940 PyObject * obj0 = 0 ;
29941 PyObject * obj1 = 0 ;
29942 char *kwnames[] = {
29943 (char *) "self",(char *) "item", NULL
29944 };
29945
29946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
29947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29951 {
29952 PyThreadState* __tstate = wxPyBeginAllowThreads();
29953 result = (bool)(arg1)->Destroy(arg2);
29954
29955 wxPyEndAllowThreads(__tstate);
29956 if (PyErr_Occurred()) SWIG_fail;
29957 }
29958 {
29959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29960 }
29961 return resultobj;
29962 fail:
29963 return NULL;
29964}
29965
29966
29967static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29968 PyObject *resultobj;
29969 wxMenu *arg1 = (wxMenu *) 0 ;
29970 size_t result;
29971 PyObject * obj0 = 0 ;
29972 char *kwnames[] = {
29973 (char *) "self", NULL
29974 };
29975
29976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
29977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29979 {
29980 PyThreadState* __tstate = wxPyBeginAllowThreads();
29981 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
29982
29983 wxPyEndAllowThreads(__tstate);
29984 if (PyErr_Occurred()) SWIG_fail;
29985 }
29986 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
29987 return resultobj;
29988 fail:
29989 return NULL;
29990}
29991
29992
29993static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
29994 PyObject *resultobj;
29995 wxMenu *arg1 = (wxMenu *) 0 ;
29996 PyObject *result;
29997 PyObject * obj0 = 0 ;
29998 char *kwnames[] = {
29999 (char *) "self", NULL
30000 };
30001
30002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
30003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30005 {
30006 PyThreadState* __tstate = wxPyBeginAllowThreads();
30007 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30008
30009 wxPyEndAllowThreads(__tstate);
30010 if (PyErr_Occurred()) SWIG_fail;
30011 }
30012 resultobj = result;
30013 return resultobj;
30014 fail:
30015 return NULL;
30016}
30017
30018
30019static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30020 PyObject *resultobj;
30021 wxMenu *arg1 = (wxMenu *) 0 ;
30022 wxString *arg2 = 0 ;
30023 int result;
30024 bool temp2 = False ;
30025 PyObject * obj0 = 0 ;
30026 PyObject * obj1 = 0 ;
30027 char *kwnames[] = {
30028 (char *) "self",(char *) "item", NULL
30029 };
30030
30031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
30032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30034 {
30035 arg2 = wxString_in_helper(obj1);
30036 if (arg2 == NULL) SWIG_fail;
30037 temp2 = True;
30038 }
30039 {
30040 PyThreadState* __tstate = wxPyBeginAllowThreads();
30041 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30042
30043 wxPyEndAllowThreads(__tstate);
30044 if (PyErr_Occurred()) SWIG_fail;
30045 }
30046 resultobj = SWIG_FromInt((int)result);
30047 {
30048 if (temp2)
30049 delete arg2;
30050 }
30051 return resultobj;
30052 fail:
30053 {
30054 if (temp2)
30055 delete arg2;
30056 }
30057 return NULL;
30058}
30059
30060
30061static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
30062 PyObject *resultobj;
30063 wxMenu *arg1 = (wxMenu *) 0 ;
30064 int arg2 ;
30065 wxMenuItem *result;
30066 PyObject * obj0 = 0 ;
30067 PyObject * obj1 = 0 ;
30068 char *kwnames[] = {
30069 (char *) "self",(char *) "id", NULL
30070 };
30071
30072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
30073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30075 arg2 = (int) SWIG_AsInt(obj1);
30076 if (PyErr_Occurred()) SWIG_fail;
30077 {
30078 PyThreadState* __tstate = wxPyBeginAllowThreads();
30079 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30080
30081 wxPyEndAllowThreads(__tstate);
30082 if (PyErr_Occurred()) SWIG_fail;
30083 }
30084 {
30085 resultobj = wxPyMake_wxObject(result);
30086 }
30087 return resultobj;
30088 fail:
30089 return NULL;
30090}
30091
30092
30093static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30094 PyObject *resultobj;
30095 wxMenu *arg1 = (wxMenu *) 0 ;
30096 size_t arg2 ;
30097 wxMenuItem *result;
30098 PyObject * obj0 = 0 ;
30099 PyObject * obj1 = 0 ;
30100 char *kwnames[] = {
30101 (char *) "self",(char *) "position", NULL
30102 };
30103
30104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
30105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30107 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30108 if (PyErr_Occurred()) SWIG_fail;
30109 {
30110 PyThreadState* __tstate = wxPyBeginAllowThreads();
30111 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30112
30113 wxPyEndAllowThreads(__tstate);
30114 if (PyErr_Occurred()) SWIG_fail;
30115 }
30116 {
30117 resultobj = wxPyMake_wxObject(result);
30118 }
30119 return resultobj;
30120 fail:
30121 return NULL;
30122}
30123
30124
30125static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30126 PyObject *resultobj;
30127 wxMenu *arg1 = (wxMenu *) 0 ;
30128 int arg2 ;
30129 bool arg3 ;
30130 PyObject * obj0 = 0 ;
30131 PyObject * obj1 = 0 ;
30132 PyObject * obj2 = 0 ;
30133 char *kwnames[] = {
30134 (char *) "self",(char *) "id",(char *) "enable", NULL
30135 };
30136
30137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
30138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30140 arg2 = (int) SWIG_AsInt(obj1);
30141 if (PyErr_Occurred()) SWIG_fail;
30142 arg3 = (bool) SWIG_AsBool(obj2);
30143 if (PyErr_Occurred()) SWIG_fail;
30144 {
30145 PyThreadState* __tstate = wxPyBeginAllowThreads();
30146 (arg1)->Enable(arg2,arg3);
30147
30148 wxPyEndAllowThreads(__tstate);
30149 if (PyErr_Occurred()) SWIG_fail;
30150 }
30151 Py_INCREF(Py_None); resultobj = Py_None;
30152 return resultobj;
30153 fail:
30154 return NULL;
30155}
30156
30157
30158static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30159 PyObject *resultobj;
30160 wxMenu *arg1 = (wxMenu *) 0 ;
30161 int arg2 ;
30162 bool result;
30163 PyObject * obj0 = 0 ;
30164 PyObject * obj1 = 0 ;
30165 char *kwnames[] = {
30166 (char *) "self",(char *) "id", NULL
30167 };
30168
30169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
30170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30172 arg2 = (int) SWIG_AsInt(obj1);
30173 if (PyErr_Occurred()) SWIG_fail;
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30177
30178 wxPyEndAllowThreads(__tstate);
30179 if (PyErr_Occurred()) SWIG_fail;
30180 }
30181 {
30182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30183 }
30184 return resultobj;
30185 fail:
30186 return NULL;
30187}
30188
30189
30190static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30191 PyObject *resultobj;
30192 wxMenu *arg1 = (wxMenu *) 0 ;
30193 int arg2 ;
30194 bool arg3 ;
30195 PyObject * obj0 = 0 ;
30196 PyObject * obj1 = 0 ;
30197 PyObject * obj2 = 0 ;
30198 char *kwnames[] = {
30199 (char *) "self",(char *) "id",(char *) "check", NULL
30200 };
30201
30202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
30203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30205 arg2 = (int) SWIG_AsInt(obj1);
30206 if (PyErr_Occurred()) SWIG_fail;
30207 arg3 = (bool) SWIG_AsBool(obj2);
30208 if (PyErr_Occurred()) SWIG_fail;
30209 {
30210 PyThreadState* __tstate = wxPyBeginAllowThreads();
30211 (arg1)->Check(arg2,arg3);
30212
30213 wxPyEndAllowThreads(__tstate);
30214 if (PyErr_Occurred()) SWIG_fail;
30215 }
30216 Py_INCREF(Py_None); resultobj = Py_None;
30217 return resultobj;
30218 fail:
30219 return NULL;
30220}
30221
30222
30223static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30224 PyObject *resultobj;
30225 wxMenu *arg1 = (wxMenu *) 0 ;
30226 int arg2 ;
30227 bool result;
30228 PyObject * obj0 = 0 ;
30229 PyObject * obj1 = 0 ;
30230 char *kwnames[] = {
30231 (char *) "self",(char *) "id", NULL
30232 };
30233
30234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
30235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30237 arg2 = (int) SWIG_AsInt(obj1);
30238 if (PyErr_Occurred()) SWIG_fail;
30239 {
30240 PyThreadState* __tstate = wxPyBeginAllowThreads();
30241 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30242
30243 wxPyEndAllowThreads(__tstate);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
30246 {
30247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30248 }
30249 return resultobj;
30250 fail:
30251 return NULL;
30252}
30253
30254
30255static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30256 PyObject *resultobj;
30257 wxMenu *arg1 = (wxMenu *) 0 ;
30258 int arg2 ;
30259 wxString *arg3 = 0 ;
30260 bool temp3 = False ;
30261 PyObject * obj0 = 0 ;
30262 PyObject * obj1 = 0 ;
30263 PyObject * obj2 = 0 ;
30264 char *kwnames[] = {
30265 (char *) "self",(char *) "id",(char *) "label", NULL
30266 };
30267
30268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
30269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30271 arg2 = (int) SWIG_AsInt(obj1);
30272 if (PyErr_Occurred()) SWIG_fail;
30273 {
30274 arg3 = wxString_in_helper(obj2);
30275 if (arg3 == NULL) SWIG_fail;
30276 temp3 = True;
30277 }
30278 {
30279 PyThreadState* __tstate = wxPyBeginAllowThreads();
30280 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30281
30282 wxPyEndAllowThreads(__tstate);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 Py_INCREF(Py_None); resultobj = Py_None;
30286 {
30287 if (temp3)
30288 delete arg3;
30289 }
30290 return resultobj;
30291 fail:
30292 {
30293 if (temp3)
30294 delete arg3;
30295 }
30296 return NULL;
30297}
30298
30299
30300static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30301 PyObject *resultobj;
30302 wxMenu *arg1 = (wxMenu *) 0 ;
30303 int arg2 ;
30304 wxString result;
30305 PyObject * obj0 = 0 ;
30306 PyObject * obj1 = 0 ;
30307 char *kwnames[] = {
30308 (char *) "self",(char *) "id", NULL
30309 };
30310
30311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
30312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30314 arg2 = (int) SWIG_AsInt(obj1);
30315 if (PyErr_Occurred()) SWIG_fail;
30316 {
30317 PyThreadState* __tstate = wxPyBeginAllowThreads();
30318 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30319
30320 wxPyEndAllowThreads(__tstate);
30321 if (PyErr_Occurred()) SWIG_fail;
30322 }
30323 {
30324#if wxUSE_UNICODE
30325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30326#else
30327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30328#endif
30329 }
30330 return resultobj;
30331 fail:
30332 return NULL;
30333}
30334
30335
30336static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30337 PyObject *resultobj;
30338 wxMenu *arg1 = (wxMenu *) 0 ;
30339 int arg2 ;
30340 wxString *arg3 = 0 ;
30341 bool temp3 = False ;
30342 PyObject * obj0 = 0 ;
30343 PyObject * obj1 = 0 ;
30344 PyObject * obj2 = 0 ;
30345 char *kwnames[] = {
30346 (char *) "self",(char *) "id",(char *) "helpString", NULL
30347 };
30348
30349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
30350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30352 arg2 = (int) SWIG_AsInt(obj1);
30353 if (PyErr_Occurred()) SWIG_fail;
30354 {
30355 arg3 = wxString_in_helper(obj2);
30356 if (arg3 == NULL) SWIG_fail;
30357 temp3 = True;
30358 }
30359 {
30360 PyThreadState* __tstate = wxPyBeginAllowThreads();
30361 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30362
30363 wxPyEndAllowThreads(__tstate);
30364 if (PyErr_Occurred()) SWIG_fail;
30365 }
30366 Py_INCREF(Py_None); resultobj = Py_None;
30367 {
30368 if (temp3)
30369 delete arg3;
30370 }
30371 return resultobj;
30372 fail:
30373 {
30374 if (temp3)
30375 delete arg3;
30376 }
30377 return NULL;
30378}
30379
30380
30381static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30382 PyObject *resultobj;
30383 wxMenu *arg1 = (wxMenu *) 0 ;
30384 int arg2 ;
30385 wxString result;
30386 PyObject * obj0 = 0 ;
30387 PyObject * obj1 = 0 ;
30388 char *kwnames[] = {
30389 (char *) "self",(char *) "id", NULL
30390 };
30391
30392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
30393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30395 arg2 = (int) SWIG_AsInt(obj1);
30396 if (PyErr_Occurred()) SWIG_fail;
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30400
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 {
30405#if wxUSE_UNICODE
30406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30407#else
30408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30409#endif
30410 }
30411 return resultobj;
30412 fail:
30413 return NULL;
30414}
30415
30416
30417static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30418 PyObject *resultobj;
30419 wxMenu *arg1 = (wxMenu *) 0 ;
30420 wxString *arg2 = 0 ;
30421 bool temp2 = False ;
30422 PyObject * obj0 = 0 ;
30423 PyObject * obj1 = 0 ;
30424 char *kwnames[] = {
30425 (char *) "self",(char *) "title", NULL
30426 };
30427
30428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
30429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30431 {
30432 arg2 = wxString_in_helper(obj1);
30433 if (arg2 == NULL) SWIG_fail;
30434 temp2 = True;
30435 }
30436 {
30437 PyThreadState* __tstate = wxPyBeginAllowThreads();
30438 (arg1)->SetTitle((wxString const &)*arg2);
30439
30440 wxPyEndAllowThreads(__tstate);
30441 if (PyErr_Occurred()) SWIG_fail;
30442 }
30443 Py_INCREF(Py_None); resultobj = Py_None;
30444 {
30445 if (temp2)
30446 delete arg2;
30447 }
30448 return resultobj;
30449 fail:
30450 {
30451 if (temp2)
30452 delete arg2;
30453 }
30454 return NULL;
30455}
30456
30457
30458static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
30459 PyObject *resultobj;
30460 wxMenu *arg1 = (wxMenu *) 0 ;
30461 wxString result;
30462 PyObject * obj0 = 0 ;
30463 char *kwnames[] = {
30464 (char *) "self", NULL
30465 };
30466
30467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
30468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30470 {
30471 PyThreadState* __tstate = wxPyBeginAllowThreads();
30472 result = ((wxMenu const *)arg1)->GetTitle();
30473
30474 wxPyEndAllowThreads(__tstate);
30475 if (PyErr_Occurred()) SWIG_fail;
30476 }
30477 {
30478#if wxUSE_UNICODE
30479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30480#else
30481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30482#endif
30483 }
30484 return resultobj;
30485 fail:
30486 return NULL;
30487}
30488
30489
30490static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30491 PyObject *resultobj;
30492 wxMenu *arg1 = (wxMenu *) 0 ;
30493 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30494 PyObject * obj0 = 0 ;
30495 PyObject * obj1 = 0 ;
30496 char *kwnames[] = {
30497 (char *) "self",(char *) "handler", NULL
30498 };
30499
30500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
30501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30505 {
30506 PyThreadState* __tstate = wxPyBeginAllowThreads();
30507 (arg1)->SetEventHandler(arg2);
30508
30509 wxPyEndAllowThreads(__tstate);
30510 if (PyErr_Occurred()) SWIG_fail;
30511 }
30512 Py_INCREF(Py_None); resultobj = Py_None;
30513 return resultobj;
30514 fail:
30515 return NULL;
30516}
30517
30518
30519static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
30520 PyObject *resultobj;
30521 wxMenu *arg1 = (wxMenu *) 0 ;
30522 wxEvtHandler *result;
30523 PyObject * obj0 = 0 ;
30524 char *kwnames[] = {
30525 (char *) "self", NULL
30526 };
30527
30528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
30529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30531 {
30532 PyThreadState* __tstate = wxPyBeginAllowThreads();
30533 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30534
30535 wxPyEndAllowThreads(__tstate);
30536 if (PyErr_Occurred()) SWIG_fail;
30537 }
30538 {
30539 resultobj = wxPyMake_wxObject(result);
30540 }
30541 return resultobj;
30542 fail:
30543 return NULL;
30544}
30545
30546
30547static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30548 PyObject *resultobj;
30549 wxMenu *arg1 = (wxMenu *) 0 ;
30550 wxWindow *arg2 = (wxWindow *) 0 ;
30551 PyObject * obj0 = 0 ;
30552 PyObject * obj1 = 0 ;
30553 char *kwnames[] = {
30554 (char *) "self",(char *) "win", NULL
30555 };
30556
30557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
30558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30562 {
30563 PyThreadState* __tstate = wxPyBeginAllowThreads();
30564 (arg1)->SetInvokingWindow(arg2);
30565
30566 wxPyEndAllowThreads(__tstate);
30567 if (PyErr_Occurred()) SWIG_fail;
30568 }
30569 Py_INCREF(Py_None); resultobj = Py_None;
30570 return resultobj;
30571 fail:
30572 return NULL;
30573}
30574
30575
30576static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30577 PyObject *resultobj;
30578 wxMenu *arg1 = (wxMenu *) 0 ;
30579 wxWindow *result;
30580 PyObject * obj0 = 0 ;
30581 char *kwnames[] = {
30582 (char *) "self", NULL
30583 };
30584
30585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
30586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30588 {
30589 PyThreadState* __tstate = wxPyBeginAllowThreads();
30590 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30591
30592 wxPyEndAllowThreads(__tstate);
30593 if (PyErr_Occurred()) SWIG_fail;
30594 }
30595 {
30596 resultobj = wxPyMake_wxObject(result);
30597 }
30598 return resultobj;
30599 fail:
30600 return NULL;
30601}
30602
30603
30604static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
30605 PyObject *resultobj;
30606 wxMenu *arg1 = (wxMenu *) 0 ;
30607 long result;
30608 PyObject * obj0 = 0 ;
30609 char *kwnames[] = {
30610 (char *) "self", NULL
30611 };
30612
30613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
30614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30616 {
30617 PyThreadState* __tstate = wxPyBeginAllowThreads();
30618 result = (long)((wxMenu const *)arg1)->GetStyle();
30619
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 resultobj = SWIG_FromLong((long)result);
30624 return resultobj;
30625 fail:
30626 return NULL;
30627}
30628
30629
30630static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
30631 PyObject *resultobj;
30632 wxMenu *arg1 = (wxMenu *) 0 ;
30633 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30634 PyObject * obj0 = 0 ;
30635 PyObject * obj1 = 0 ;
30636 char *kwnames[] = {
30637 (char *) "self",(char *) "source", NULL
30638 };
30639
30640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
30641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30643 if (obj1) {
30644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30646 }
30647 {
30648 PyThreadState* __tstate = wxPyBeginAllowThreads();
30649 (arg1)->UpdateUI(arg2);
30650
30651 wxPyEndAllowThreads(__tstate);
30652 if (PyErr_Occurred()) SWIG_fail;
30653 }
30654 Py_INCREF(Py_None); resultobj = Py_None;
30655 return resultobj;
30656 fail:
30657 return NULL;
30658}
30659
30660
30661static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30662 PyObject *resultobj;
30663 wxMenu *arg1 = (wxMenu *) 0 ;
30664 wxMenuBar *result;
30665 PyObject * obj0 = 0 ;
30666 char *kwnames[] = {
30667 (char *) "self", NULL
30668 };
30669
30670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
30671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30673 {
30674 PyThreadState* __tstate = wxPyBeginAllowThreads();
30675 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30676
30677 wxPyEndAllowThreads(__tstate);
30678 if (PyErr_Occurred()) SWIG_fail;
30679 }
30680 {
30681 resultobj = wxPyMake_wxObject(result);
30682 }
30683 return resultobj;
30684 fail:
30685 return NULL;
30686}
30687
30688
30689static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30690 PyObject *resultobj;
30691 wxMenu *arg1 = (wxMenu *) 0 ;
30692 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30693 PyObject * obj0 = 0 ;
30694 PyObject * obj1 = 0 ;
30695 char *kwnames[] = {
30696 (char *) "self",(char *) "menubar", NULL
30697 };
30698
30699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
30700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30704 {
30705 PyThreadState* __tstate = wxPyBeginAllowThreads();
30706 (arg1)->Attach(arg2);
30707
30708 wxPyEndAllowThreads(__tstate);
30709 if (PyErr_Occurred()) SWIG_fail;
30710 }
30711 Py_INCREF(Py_None); resultobj = Py_None;
30712 return resultobj;
30713 fail:
30714 return NULL;
30715}
30716
30717
30718static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30719 PyObject *resultobj;
30720 wxMenu *arg1 = (wxMenu *) 0 ;
30721 PyObject * obj0 = 0 ;
30722 char *kwnames[] = {
30723 (char *) "self", NULL
30724 };
30725
30726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
30727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30729 {
30730 PyThreadState* __tstate = wxPyBeginAllowThreads();
30731 (arg1)->Detach();
30732
30733 wxPyEndAllowThreads(__tstate);
30734 if (PyErr_Occurred()) SWIG_fail;
30735 }
30736 Py_INCREF(Py_None); resultobj = Py_None;
30737 return resultobj;
30738 fail:
30739 return NULL;
30740}
30741
30742
30743static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30744 PyObject *resultobj;
30745 wxMenu *arg1 = (wxMenu *) 0 ;
30746 bool result;
30747 PyObject * obj0 = 0 ;
30748 char *kwnames[] = {
30749 (char *) "self", NULL
30750 };
30751
30752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
30753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30755 {
30756 PyThreadState* __tstate = wxPyBeginAllowThreads();
30757 result = (bool)((wxMenu const *)arg1)->IsAttached();
30758
30759 wxPyEndAllowThreads(__tstate);
30760 if (PyErr_Occurred()) SWIG_fail;
30761 }
30762 {
30763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30764 }
30765 return resultobj;
30766 fail:
30767 return NULL;
30768}
30769
30770
30771static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30772 PyObject *resultobj;
30773 wxMenu *arg1 = (wxMenu *) 0 ;
30774 wxMenu *arg2 = (wxMenu *) 0 ;
30775 PyObject * obj0 = 0 ;
30776 PyObject * obj1 = 0 ;
30777 char *kwnames[] = {
30778 (char *) "self",(char *) "parent", NULL
30779 };
30780
30781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
30782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30786 {
30787 PyThreadState* __tstate = wxPyBeginAllowThreads();
30788 (arg1)->SetParent(arg2);
30789
30790 wxPyEndAllowThreads(__tstate);
30791 if (PyErr_Occurred()) SWIG_fail;
30792 }
30793 Py_INCREF(Py_None); resultobj = Py_None;
30794 return resultobj;
30795 fail:
30796 return NULL;
30797}
30798
30799
30800static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
30801 PyObject *resultobj;
30802 wxMenu *arg1 = (wxMenu *) 0 ;
30803 wxMenu *result;
30804 PyObject * obj0 = 0 ;
30805 char *kwnames[] = {
30806 (char *) "self", NULL
30807 };
30808
30809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
30810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30812 {
30813 PyThreadState* __tstate = wxPyBeginAllowThreads();
30814 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30815
30816 wxPyEndAllowThreads(__tstate);
30817 if (PyErr_Occurred()) SWIG_fail;
30818 }
30819 {
30820 resultobj = wxPyMake_wxObject(result);
30821 }
30822 return resultobj;
30823 fail:
30824 return NULL;
30825}
30826
30827
30828static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
30829 PyObject *obj;
30830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30831 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30832 Py_INCREF(obj);
30833 return Py_BuildValue((char *)"");
30834}
30835static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
30836 PyObject *resultobj;
30837 long arg1 = (long) 0 ;
30838 wxMenuBar *result;
30839 PyObject * obj0 = 0 ;
30840 char *kwnames[] = {
30841 (char *) "style", NULL
30842 };
30843
30844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30845 if (obj0) {
30846 arg1 = (long) SWIG_AsLong(obj0);
30847 if (PyErr_Occurred()) SWIG_fail;
30848 }
30849 {
30850 PyThreadState* __tstate = wxPyBeginAllowThreads();
30851 result = (wxMenuBar *)new wxMenuBar(arg1);
30852
30853 wxPyEndAllowThreads(__tstate);
30854 if (PyErr_Occurred()) SWIG_fail;
30855 }
30856 {
30857 resultobj = wxPyMake_wxObject(result);
30858 }
30859 return resultobj;
30860 fail:
30861 return NULL;
30862}
30863
30864
30865static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
30866 PyObject *resultobj;
30867 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30868 wxMenu *arg2 = (wxMenu *) 0 ;
30869 wxString *arg3 = 0 ;
30870 bool result;
30871 bool temp3 = False ;
30872 PyObject * obj0 = 0 ;
30873 PyObject * obj1 = 0 ;
30874 PyObject * obj2 = 0 ;
30875 char *kwnames[] = {
30876 (char *) "self",(char *) "menu",(char *) "title", NULL
30877 };
30878
30879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
30880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30884 {
30885 arg3 = wxString_in_helper(obj2);
30886 if (arg3 == NULL) SWIG_fail;
30887 temp3 = True;
30888 }
30889 {
30890 PyThreadState* __tstate = wxPyBeginAllowThreads();
30891 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30892
30893 wxPyEndAllowThreads(__tstate);
30894 if (PyErr_Occurred()) SWIG_fail;
30895 }
30896 {
30897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30898 }
30899 {
30900 if (temp3)
30901 delete arg3;
30902 }
30903 return resultobj;
30904 fail:
30905 {
30906 if (temp3)
30907 delete arg3;
30908 }
30909 return NULL;
30910}
30911
30912
30913static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
30914 PyObject *resultobj;
30915 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30916 size_t arg2 ;
30917 wxMenu *arg3 = (wxMenu *) 0 ;
30918 wxString *arg4 = 0 ;
30919 bool result;
30920 bool temp4 = False ;
30921 PyObject * obj0 = 0 ;
30922 PyObject * obj1 = 0 ;
30923 PyObject * obj2 = 0 ;
30924 PyObject * obj3 = 0 ;
30925 char *kwnames[] = {
30926 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30927 };
30928
30929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30932 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30933 if (PyErr_Occurred()) SWIG_fail;
30934 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30936 {
30937 arg4 = wxString_in_helper(obj3);
30938 if (arg4 == NULL) SWIG_fail;
30939 temp4 = True;
30940 }
30941 {
30942 PyThreadState* __tstate = wxPyBeginAllowThreads();
30943 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30944
30945 wxPyEndAllowThreads(__tstate);
30946 if (PyErr_Occurred()) SWIG_fail;
30947 }
30948 {
30949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30950 }
30951 {
30952 if (temp4)
30953 delete arg4;
30954 }
30955 return resultobj;
30956 fail:
30957 {
30958 if (temp4)
30959 delete arg4;
30960 }
30961 return NULL;
30962}
30963
30964
30965static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
30966 PyObject *resultobj;
30967 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30968 size_t result;
30969 PyObject * obj0 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "self", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
30975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30977 {
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
30980
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
30984 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
30985 return resultobj;
30986 fail:
30987 return NULL;
30988}
30989
30990
30991static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30992 PyObject *resultobj;
30993 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30994 size_t arg2 ;
30995 wxMenu *result;
30996 PyObject * obj0 = 0 ;
30997 PyObject * obj1 = 0 ;
30998 char *kwnames[] = {
30999 (char *) "self",(char *) "pos", NULL
31000 };
31001
31002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
31003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31005 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31006 if (PyErr_Occurred()) SWIG_fail;
31007 {
31008 PyThreadState* __tstate = wxPyBeginAllowThreads();
31009 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31010
31011 wxPyEndAllowThreads(__tstate);
31012 if (PyErr_Occurred()) SWIG_fail;
31013 }
31014 {
31015 resultobj = wxPyMake_wxObject(result);
31016 }
31017 return resultobj;
31018 fail:
31019 return NULL;
31020}
31021
31022
31023static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
31024 PyObject *resultobj;
31025 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31026 size_t arg2 ;
31027 wxMenu *arg3 = (wxMenu *) 0 ;
31028 wxString *arg4 = 0 ;
31029 wxMenu *result;
31030 bool temp4 = False ;
31031 PyObject * obj0 = 0 ;
31032 PyObject * obj1 = 0 ;
31033 PyObject * obj2 = 0 ;
31034 PyObject * obj3 = 0 ;
31035 char *kwnames[] = {
31036 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31037 };
31038
31039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31042 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31043 if (PyErr_Occurred()) SWIG_fail;
31044 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31046 {
31047 arg4 = wxString_in_helper(obj3);
31048 if (arg4 == NULL) SWIG_fail;
31049 temp4 = True;
31050 }
31051 {
31052 PyThreadState* __tstate = wxPyBeginAllowThreads();
31053 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31054
31055 wxPyEndAllowThreads(__tstate);
31056 if (PyErr_Occurred()) SWIG_fail;
31057 }
31058 {
31059 resultobj = wxPyMake_wxObject(result);
31060 }
31061 {
31062 if (temp4)
31063 delete arg4;
31064 }
31065 return resultobj;
31066 fail:
31067 {
31068 if (temp4)
31069 delete arg4;
31070 }
31071 return NULL;
31072}
31073
31074
31075static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
31076 PyObject *resultobj;
31077 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31078 size_t arg2 ;
31079 wxMenu *result;
31080 PyObject * obj0 = 0 ;
31081 PyObject * obj1 = 0 ;
31082 char *kwnames[] = {
31083 (char *) "self",(char *) "pos", NULL
31084 };
31085
31086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
31087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31089 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31090 if (PyErr_Occurred()) SWIG_fail;
31091 {
31092 PyThreadState* __tstate = wxPyBeginAllowThreads();
31093 result = (wxMenu *)(arg1)->Remove(arg2);
31094
31095 wxPyEndAllowThreads(__tstate);
31096 if (PyErr_Occurred()) SWIG_fail;
31097 }
31098 {
31099 resultobj = wxPyMake_wxObject(result);
31100 }
31101 return resultobj;
31102 fail:
31103 return NULL;
31104}
31105
31106
31107static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31108 PyObject *resultobj;
31109 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31110 size_t arg2 ;
31111 bool arg3 ;
31112 PyObject * obj0 = 0 ;
31113 PyObject * obj1 = 0 ;
31114 PyObject * obj2 = 0 ;
31115 char *kwnames[] = {
31116 (char *) "self",(char *) "pos",(char *) "enable", NULL
31117 };
31118
31119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
31120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31122 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31123 if (PyErr_Occurred()) SWIG_fail;
31124 arg3 = (bool) SWIG_AsBool(obj2);
31125 if (PyErr_Occurred()) SWIG_fail;
31126 {
31127 PyThreadState* __tstate = wxPyBeginAllowThreads();
31128 (arg1)->EnableTop(arg2,arg3);
31129
31130 wxPyEndAllowThreads(__tstate);
31131 if (PyErr_Occurred()) SWIG_fail;
31132 }
31133 Py_INCREF(Py_None); resultobj = Py_None;
31134 return resultobj;
31135 fail:
31136 return NULL;
31137}
31138
31139
31140static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31141 PyObject *resultobj;
31142 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31143 size_t arg2 ;
31144 bool result;
31145 PyObject * obj0 = 0 ;
31146 PyObject * obj1 = 0 ;
31147 char *kwnames[] = {
31148 (char *) "self",(char *) "pos", NULL
31149 };
31150
31151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
31152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31154 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31155 if (PyErr_Occurred()) SWIG_fail;
31156 {
31157 PyThreadState* __tstate = wxPyBeginAllowThreads();
31158 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31159
31160 wxPyEndAllowThreads(__tstate);
31161 if (PyErr_Occurred()) SWIG_fail;
31162 }
31163 {
31164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31165 }
31166 return resultobj;
31167 fail:
31168 return NULL;
31169}
31170
31171
31172static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31173 PyObject *resultobj;
31174 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31175 size_t arg2 ;
31176 wxString *arg3 = 0 ;
31177 bool temp3 = False ;
31178 PyObject * obj0 = 0 ;
31179 PyObject * obj1 = 0 ;
31180 PyObject * obj2 = 0 ;
31181 char *kwnames[] = {
31182 (char *) "self",(char *) "pos",(char *) "label", NULL
31183 };
31184
31185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
31186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31188 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31189 if (PyErr_Occurred()) SWIG_fail;
31190 {
31191 arg3 = wxString_in_helper(obj2);
31192 if (arg3 == NULL) SWIG_fail;
31193 temp3 = True;
31194 }
31195 {
31196 PyThreadState* __tstate = wxPyBeginAllowThreads();
31197 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31198
31199 wxPyEndAllowThreads(__tstate);
31200 if (PyErr_Occurred()) SWIG_fail;
31201 }
31202 Py_INCREF(Py_None); resultobj = Py_None;
31203 {
31204 if (temp3)
31205 delete arg3;
31206 }
31207 return resultobj;
31208 fail:
31209 {
31210 if (temp3)
31211 delete arg3;
31212 }
31213 return NULL;
31214}
31215
31216
31217static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
31218 PyObject *resultobj;
31219 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31220 size_t arg2 ;
31221 wxString result;
31222 PyObject * obj0 = 0 ;
31223 PyObject * obj1 = 0 ;
31224 char *kwnames[] = {
31225 (char *) "self",(char *) "pos", NULL
31226 };
31227
31228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
31229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31231 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31232 if (PyErr_Occurred()) SWIG_fail;
31233 {
31234 PyThreadState* __tstate = wxPyBeginAllowThreads();
31235 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31236
31237 wxPyEndAllowThreads(__tstate);
31238 if (PyErr_Occurred()) SWIG_fail;
31239 }
31240 {
31241#if wxUSE_UNICODE
31242 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31243#else
31244 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31245#endif
31246 }
31247 return resultobj;
31248 fail:
31249 return NULL;
31250}
31251
31252
31253static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31254 PyObject *resultobj;
31255 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31256 wxString *arg2 = 0 ;
31257 wxString *arg3 = 0 ;
31258 int result;
31259 bool temp2 = False ;
31260 bool temp3 = False ;
31261 PyObject * obj0 = 0 ;
31262 PyObject * obj1 = 0 ;
31263 PyObject * obj2 = 0 ;
31264 char *kwnames[] = {
31265 (char *) "self",(char *) "menu",(char *) "item", NULL
31266 };
31267
31268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
31269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31271 {
31272 arg2 = wxString_in_helper(obj1);
31273 if (arg2 == NULL) SWIG_fail;
31274 temp2 = True;
31275 }
31276 {
31277 arg3 = wxString_in_helper(obj2);
31278 if (arg3 == NULL) SWIG_fail;
31279 temp3 = True;
31280 }
31281 {
31282 PyThreadState* __tstate = wxPyBeginAllowThreads();
31283 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31284
31285 wxPyEndAllowThreads(__tstate);
31286 if (PyErr_Occurred()) SWIG_fail;
31287 }
31288 resultobj = SWIG_FromInt((int)result);
31289 {
31290 if (temp2)
31291 delete arg2;
31292 }
31293 {
31294 if (temp3)
31295 delete arg3;
31296 }
31297 return resultobj;
31298 fail:
31299 {
31300 if (temp2)
31301 delete arg2;
31302 }
31303 {
31304 if (temp3)
31305 delete arg3;
31306 }
31307 return NULL;
31308}
31309
31310
31311static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
31312 PyObject *resultobj;
31313 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31314 int arg2 ;
31315 wxMenuItem *result;
31316 PyObject * obj0 = 0 ;
31317 PyObject * obj1 = 0 ;
31318 char *kwnames[] = {
31319 (char *) "self",(char *) "id", NULL
31320 };
31321
31322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
31323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31325 arg2 = (int) SWIG_AsInt(obj1);
31326 if (PyErr_Occurred()) SWIG_fail;
31327 {
31328 PyThreadState* __tstate = wxPyBeginAllowThreads();
31329 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31330
31331 wxPyEndAllowThreads(__tstate);
31332 if (PyErr_Occurred()) SWIG_fail;
31333 }
31334 {
31335 resultobj = wxPyMake_wxObject(result);
31336 }
31337 return resultobj;
31338 fail:
31339 return NULL;
31340}
31341
31342
31343static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31344 PyObject *resultobj;
31345 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31346 wxString *arg2 = 0 ;
31347 int result;
31348 bool temp2 = False ;
31349 PyObject * obj0 = 0 ;
31350 PyObject * obj1 = 0 ;
31351 char *kwnames[] = {
31352 (char *) "self",(char *) "title", NULL
31353 };
31354
31355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
31356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31358 {
31359 arg2 = wxString_in_helper(obj1);
31360 if (arg2 == NULL) SWIG_fail;
31361 temp2 = True;
31362 }
31363 {
31364 PyThreadState* __tstate = wxPyBeginAllowThreads();
31365 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31366
31367 wxPyEndAllowThreads(__tstate);
31368 if (PyErr_Occurred()) SWIG_fail;
31369 }
31370 resultobj = SWIG_FromInt((int)result);
31371 {
31372 if (temp2)
31373 delete arg2;
31374 }
31375 return resultobj;
31376 fail:
31377 {
31378 if (temp2)
31379 delete arg2;
31380 }
31381 return NULL;
31382}
31383
31384
31385static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31386 PyObject *resultobj;
31387 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31388 int arg2 ;
31389 bool arg3 ;
31390 PyObject * obj0 = 0 ;
31391 PyObject * obj1 = 0 ;
31392 PyObject * obj2 = 0 ;
31393 char *kwnames[] = {
31394 (char *) "self",(char *) "id",(char *) "enable", NULL
31395 };
31396
31397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
31398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31400 arg2 = (int) SWIG_AsInt(obj1);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 arg3 = (bool) SWIG_AsBool(obj2);
31403 if (PyErr_Occurred()) SWIG_fail;
31404 {
31405 PyThreadState* __tstate = wxPyBeginAllowThreads();
31406 (arg1)->Enable(arg2,arg3);
31407
31408 wxPyEndAllowThreads(__tstate);
31409 if (PyErr_Occurred()) SWIG_fail;
31410 }
31411 Py_INCREF(Py_None); resultobj = Py_None;
31412 return resultobj;
31413 fail:
31414 return NULL;
31415}
31416
31417
31418static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31419 PyObject *resultobj;
31420 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31421 int arg2 ;
31422 bool arg3 ;
31423 PyObject * obj0 = 0 ;
31424 PyObject * obj1 = 0 ;
31425 PyObject * obj2 = 0 ;
31426 char *kwnames[] = {
31427 (char *) "self",(char *) "id",(char *) "check", NULL
31428 };
31429
31430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
31431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31433 arg2 = (int) SWIG_AsInt(obj1);
31434 if (PyErr_Occurred()) SWIG_fail;
31435 arg3 = (bool) SWIG_AsBool(obj2);
31436 if (PyErr_Occurred()) SWIG_fail;
31437 {
31438 PyThreadState* __tstate = wxPyBeginAllowThreads();
31439 (arg1)->Check(arg2,arg3);
31440
31441 wxPyEndAllowThreads(__tstate);
31442 if (PyErr_Occurred()) SWIG_fail;
31443 }
31444 Py_INCREF(Py_None); resultobj = Py_None;
31445 return resultobj;
31446 fail:
31447 return NULL;
31448}
31449
31450
31451static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31452 PyObject *resultobj;
31453 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31454 int arg2 ;
31455 bool result;
31456 PyObject * obj0 = 0 ;
31457 PyObject * obj1 = 0 ;
31458 char *kwnames[] = {
31459 (char *) "self",(char *) "id", NULL
31460 };
31461
31462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
31463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31465 arg2 = (int) SWIG_AsInt(obj1);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 {
31468 PyThreadState* __tstate = wxPyBeginAllowThreads();
31469 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31470
31471 wxPyEndAllowThreads(__tstate);
31472 if (PyErr_Occurred()) SWIG_fail;
31473 }
31474 {
31475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31476 }
31477 return resultobj;
31478 fail:
31479 return NULL;
31480}
31481
31482
31483static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31484 PyObject *resultobj;
31485 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31486 int arg2 ;
31487 bool result;
31488 PyObject * obj0 = 0 ;
31489 PyObject * obj1 = 0 ;
31490 char *kwnames[] = {
31491 (char *) "self",(char *) "id", NULL
31492 };
31493
31494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
31495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31497 arg2 = (int) SWIG_AsInt(obj1);
31498 if (PyErr_Occurred()) SWIG_fail;
31499 {
31500 PyThreadState* __tstate = wxPyBeginAllowThreads();
31501 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31502
31503 wxPyEndAllowThreads(__tstate);
31504 if (PyErr_Occurred()) SWIG_fail;
31505 }
31506 {
31507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31508 }
31509 return resultobj;
31510 fail:
31511 return NULL;
31512}
31513
31514
31515static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31516 PyObject *resultobj;
31517 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31518 int arg2 ;
31519 wxString *arg3 = 0 ;
31520 bool temp3 = False ;
31521 PyObject * obj0 = 0 ;
31522 PyObject * obj1 = 0 ;
31523 PyObject * obj2 = 0 ;
31524 char *kwnames[] = {
31525 (char *) "self",(char *) "id",(char *) "label", NULL
31526 };
31527
31528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
31529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31531 arg2 = (int) SWIG_AsInt(obj1);
31532 if (PyErr_Occurred()) SWIG_fail;
31533 {
31534 arg3 = wxString_in_helper(obj2);
31535 if (arg3 == NULL) SWIG_fail;
31536 temp3 = True;
31537 }
31538 {
31539 PyThreadState* __tstate = wxPyBeginAllowThreads();
31540 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31541
31542 wxPyEndAllowThreads(__tstate);
31543 if (PyErr_Occurred()) SWIG_fail;
31544 }
31545 Py_INCREF(Py_None); resultobj = Py_None;
31546 {
31547 if (temp3)
31548 delete arg3;
31549 }
31550 return resultobj;
31551 fail:
31552 {
31553 if (temp3)
31554 delete arg3;
31555 }
31556 return NULL;
31557}
31558
31559
31560static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31561 PyObject *resultobj;
31562 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31563 int arg2 ;
31564 wxString result;
31565 PyObject * obj0 = 0 ;
31566 PyObject * obj1 = 0 ;
31567 char *kwnames[] = {
31568 (char *) "self",(char *) "id", NULL
31569 };
31570
31571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
31572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31574 arg2 = (int) SWIG_AsInt(obj1);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 {
31577 PyThreadState* __tstate = wxPyBeginAllowThreads();
31578 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31579
31580 wxPyEndAllowThreads(__tstate);
31581 if (PyErr_Occurred()) SWIG_fail;
31582 }
31583 {
31584#if wxUSE_UNICODE
31585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31586#else
31587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31588#endif
31589 }
31590 return resultobj;
31591 fail:
31592 return NULL;
31593}
31594
31595
31596static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31597 PyObject *resultobj;
31598 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31599 int arg2 ;
31600 wxString *arg3 = 0 ;
31601 bool temp3 = False ;
31602 PyObject * obj0 = 0 ;
31603 PyObject * obj1 = 0 ;
31604 PyObject * obj2 = 0 ;
31605 char *kwnames[] = {
31606 (char *) "self",(char *) "id",(char *) "helpString", NULL
31607 };
31608
31609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
31610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31612 arg2 = (int) SWIG_AsInt(obj1);
31613 if (PyErr_Occurred()) SWIG_fail;
31614 {
31615 arg3 = wxString_in_helper(obj2);
31616 if (arg3 == NULL) SWIG_fail;
31617 temp3 = True;
31618 }
31619 {
31620 PyThreadState* __tstate = wxPyBeginAllowThreads();
31621 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31622
31623 wxPyEndAllowThreads(__tstate);
31624 if (PyErr_Occurred()) SWIG_fail;
31625 }
31626 Py_INCREF(Py_None); resultobj = Py_None;
31627 {
31628 if (temp3)
31629 delete arg3;
31630 }
31631 return resultobj;
31632 fail:
31633 {
31634 if (temp3)
31635 delete arg3;
31636 }
31637 return NULL;
31638}
31639
31640
31641static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
31642 PyObject *resultobj;
31643 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31644 int arg2 ;
31645 wxString result;
31646 PyObject * obj0 = 0 ;
31647 PyObject * obj1 = 0 ;
31648 char *kwnames[] = {
31649 (char *) "self",(char *) "id", NULL
31650 };
31651
31652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
31653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31655 arg2 = (int) SWIG_AsInt(obj1);
31656 if (PyErr_Occurred()) SWIG_fail;
31657 {
31658 PyThreadState* __tstate = wxPyBeginAllowThreads();
31659 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31660
31661 wxPyEndAllowThreads(__tstate);
31662 if (PyErr_Occurred()) SWIG_fail;
31663 }
31664 {
31665#if wxUSE_UNICODE
31666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31667#else
31668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31669#endif
31670 }
31671 return resultobj;
31672 fail:
31673 return NULL;
31674}
31675
31676
31677static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
31678 PyObject *resultobj;
31679 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31680 wxFrame *result;
31681 PyObject * obj0 = 0 ;
31682 char *kwnames[] = {
31683 (char *) "self", NULL
31684 };
31685
31686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
31687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31689 {
31690 PyThreadState* __tstate = wxPyBeginAllowThreads();
31691 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31692
31693 wxPyEndAllowThreads(__tstate);
31694 if (PyErr_Occurred()) SWIG_fail;
31695 }
31696 {
31697 resultobj = wxPyMake_wxObject(result);
31698 }
31699 return resultobj;
31700 fail:
31701 return NULL;
31702}
31703
31704
31705static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
31706 PyObject *resultobj;
31707 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31708 bool result;
31709 PyObject * obj0 = 0 ;
31710 char *kwnames[] = {
31711 (char *) "self", NULL
31712 };
31713
31714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
31715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31717 {
31718 PyThreadState* __tstate = wxPyBeginAllowThreads();
31719 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31720
31721 wxPyEndAllowThreads(__tstate);
31722 if (PyErr_Occurred()) SWIG_fail;
31723 }
31724 {
31725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31726 }
31727 return resultobj;
31728 fail:
31729 return NULL;
31730}
31731
31732
31733static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
31734 PyObject *resultobj;
31735 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31736 wxFrame *arg2 = (wxFrame *) 0 ;
31737 PyObject * obj0 = 0 ;
31738 PyObject * obj1 = 0 ;
31739 char *kwnames[] = {
31740 (char *) "self",(char *) "frame", NULL
31741 };
31742
31743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
31744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31748 {
31749 PyThreadState* __tstate = wxPyBeginAllowThreads();
31750 (arg1)->Attach(arg2);
31751
31752 wxPyEndAllowThreads(__tstate);
31753 if (PyErr_Occurred()) SWIG_fail;
31754 }
31755 Py_INCREF(Py_None); resultobj = Py_None;
31756 return resultobj;
31757 fail:
31758 return NULL;
31759}
31760
31761
31762static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
31763 PyObject *resultobj;
31764 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31765 PyObject * obj0 = 0 ;
31766 char *kwnames[] = {
31767 (char *) "self", NULL
31768 };
31769
31770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
31771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31773 {
31774 PyThreadState* __tstate = wxPyBeginAllowThreads();
31775 (arg1)->Detach();
31776
31777 wxPyEndAllowThreads(__tstate);
31778 if (PyErr_Occurred()) SWIG_fail;
31779 }
31780 Py_INCREF(Py_None); resultobj = Py_None;
31781 return resultobj;
31782 fail:
31783 return NULL;
31784}
31785
31786
31787static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
31788 PyObject *obj;
31789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31790 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31791 Py_INCREF(obj);
31792 return Py_BuildValue((char *)"");
31793}
31794static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
31795 PyObject *resultobj;
31796 wxMenu *arg1 = (wxMenu *) NULL ;
31797 int arg2 = (int) wxID_ANY ;
31798 wxString const &arg3_defvalue = wxPyEmptyString ;
31799 wxString *arg3 = (wxString *) &arg3_defvalue ;
31800 wxString const &arg4_defvalue = wxPyEmptyString ;
31801 wxString *arg4 = (wxString *) &arg4_defvalue ;
31802 int arg5 = (int) wxITEM_NORMAL ;
31803 wxMenu *arg6 = (wxMenu *) NULL ;
31804 wxMenuItem *result;
31805 bool temp3 = False ;
31806 bool temp4 = False ;
31807 PyObject * obj0 = 0 ;
31808 PyObject * obj1 = 0 ;
31809 PyObject * obj2 = 0 ;
31810 PyObject * obj3 = 0 ;
31811 PyObject * obj4 = 0 ;
31812 PyObject * obj5 = 0 ;
31813 char *kwnames[] = {
31814 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31815 };
31816
31817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
31818 if (obj0) {
31819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31821 }
31822 if (obj1) {
31823 arg2 = (int) SWIG_AsInt(obj1);
31824 if (PyErr_Occurred()) SWIG_fail;
31825 }
31826 if (obj2) {
31827 {
31828 arg3 = wxString_in_helper(obj2);
31829 if (arg3 == NULL) SWIG_fail;
31830 temp3 = True;
31831 }
31832 }
31833 if (obj3) {
31834 {
31835 arg4 = wxString_in_helper(obj3);
31836 if (arg4 == NULL) SWIG_fail;
31837 temp4 = True;
31838 }
31839 }
31840 if (obj4) {
31841 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31842 if (PyErr_Occurred()) SWIG_fail;
31843 }
31844 if (obj5) {
31845 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31847 }
31848 {
31849 PyThreadState* __tstate = wxPyBeginAllowThreads();
31850 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31851
31852 wxPyEndAllowThreads(__tstate);
31853 if (PyErr_Occurred()) SWIG_fail;
31854 }
31855 {
31856 resultobj = wxPyMake_wxObject(result);
31857 }
31858 {
31859 if (temp3)
31860 delete arg3;
31861 }
31862 {
31863 if (temp4)
31864 delete arg4;
31865 }
31866 return resultobj;
31867 fail:
31868 {
31869 if (temp3)
31870 delete arg3;
31871 }
31872 {
31873 if (temp4)
31874 delete arg4;
31875 }
31876 return NULL;
31877}
31878
31879
31880static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31881 PyObject *resultobj;
31882 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31883 wxMenu *result;
31884 PyObject * obj0 = 0 ;
31885 char *kwnames[] = {
31886 (char *) "self", NULL
31887 };
31888
31889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
31890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31892 {
31893 PyThreadState* __tstate = wxPyBeginAllowThreads();
31894 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31895
31896 wxPyEndAllowThreads(__tstate);
31897 if (PyErr_Occurred()) SWIG_fail;
31898 }
31899 {
31900 resultobj = wxPyMake_wxObject(result);
31901 }
31902 return resultobj;
31903 fail:
31904 return NULL;
31905}
31906
31907
31908static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31909 PyObject *resultobj;
31910 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31911 wxMenu *arg2 = (wxMenu *) 0 ;
31912 PyObject * obj0 = 0 ;
31913 PyObject * obj1 = 0 ;
31914 char *kwnames[] = {
31915 (char *) "self",(char *) "menu", NULL
31916 };
31917
31918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
31919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31923 {
31924 PyThreadState* __tstate = wxPyBeginAllowThreads();
31925 (arg1)->SetMenu(arg2);
31926
31927 wxPyEndAllowThreads(__tstate);
31928 if (PyErr_Occurred()) SWIG_fail;
31929 }
31930 Py_INCREF(Py_None); resultobj = Py_None;
31931 return resultobj;
31932 fail:
31933 return NULL;
31934}
31935
31936
31937static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31938 PyObject *resultobj;
31939 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31940 int arg2 ;
31941 PyObject * obj0 = 0 ;
31942 PyObject * obj1 = 0 ;
31943 char *kwnames[] = {
31944 (char *) "self",(char *) "id", NULL
31945 };
31946
31947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
31948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31950 arg2 = (int) SWIG_AsInt(obj1);
31951 if (PyErr_Occurred()) SWIG_fail;
31952 {
31953 PyThreadState* __tstate = wxPyBeginAllowThreads();
31954 (arg1)->SetId(arg2);
31955
31956 wxPyEndAllowThreads(__tstate);
31957 if (PyErr_Occurred()) SWIG_fail;
31958 }
31959 Py_INCREF(Py_None); resultobj = Py_None;
31960 return resultobj;
31961 fail:
31962 return NULL;
31963}
31964
31965
31966static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
31967 PyObject *resultobj;
31968 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31969 int result;
31970 PyObject * obj0 = 0 ;
31971 char *kwnames[] = {
31972 (char *) "self", NULL
31973 };
31974
31975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
31976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31978 {
31979 PyThreadState* __tstate = wxPyBeginAllowThreads();
31980 result = (int)((wxMenuItem const *)arg1)->GetId();
31981
31982 wxPyEndAllowThreads(__tstate);
31983 if (PyErr_Occurred()) SWIG_fail;
31984 }
31985 resultobj = SWIG_FromInt((int)result);
31986 return resultobj;
31987 fail:
31988 return NULL;
31989}
31990
31991
31992static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
31993 PyObject *resultobj;
31994 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31995 bool result;
31996 PyObject * obj0 = 0 ;
31997 char *kwnames[] = {
31998 (char *) "self", NULL
31999 };
32000
32001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
32002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32004 {
32005 PyThreadState* __tstate = wxPyBeginAllowThreads();
32006 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32007
32008 wxPyEndAllowThreads(__tstate);
32009 if (PyErr_Occurred()) SWIG_fail;
32010 }
32011 {
32012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32013 }
32014 return resultobj;
32015 fail:
32016 return NULL;
32017}
32018
32019
32020static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32021 PyObject *resultobj;
32022 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32023 wxString *arg2 = 0 ;
32024 bool temp2 = False ;
32025 PyObject * obj0 = 0 ;
32026 PyObject * obj1 = 0 ;
32027 char *kwnames[] = {
32028 (char *) "self",(char *) "str", NULL
32029 };
32030
32031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
32032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32034 {
32035 arg2 = wxString_in_helper(obj1);
32036 if (arg2 == NULL) SWIG_fail;
32037 temp2 = True;
32038 }
32039 {
32040 PyThreadState* __tstate = wxPyBeginAllowThreads();
32041 (arg1)->SetText((wxString const &)*arg2);
32042
32043 wxPyEndAllowThreads(__tstate);
32044 if (PyErr_Occurred()) SWIG_fail;
32045 }
32046 Py_INCREF(Py_None); resultobj = Py_None;
32047 {
32048 if (temp2)
32049 delete arg2;
32050 }
32051 return resultobj;
32052 fail:
32053 {
32054 if (temp2)
32055 delete arg2;
32056 }
32057 return NULL;
32058}
32059
32060
32061static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32062 PyObject *resultobj;
32063 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32064 wxString result;
32065 PyObject * obj0 = 0 ;
32066 char *kwnames[] = {
32067 (char *) "self", NULL
32068 };
32069
32070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
32071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32073 {
32074 PyThreadState* __tstate = wxPyBeginAllowThreads();
32075 result = ((wxMenuItem const *)arg1)->GetLabel();
32076
32077 wxPyEndAllowThreads(__tstate);
32078 if (PyErr_Occurred()) SWIG_fail;
32079 }
32080 {
32081#if wxUSE_UNICODE
32082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32083#else
32084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32085#endif
32086 }
32087 return resultobj;
32088 fail:
32089 return NULL;
32090}
32091
32092
32093static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
32094 PyObject *resultobj;
32095 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32096 wxString *result;
32097 PyObject * obj0 = 0 ;
32098 char *kwnames[] = {
32099 (char *) "self", NULL
32100 };
32101
32102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
32103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32105 {
32106 PyThreadState* __tstate = wxPyBeginAllowThreads();
32107 {
32108 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32109 result = (wxString *) &_result_ref;
32110 }
32111
32112 wxPyEndAllowThreads(__tstate);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 }
32115 {
32116#if wxUSE_UNICODE
32117 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32118#else
32119 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32120#endif
32121 }
32122 return resultobj;
32123 fail:
32124 return NULL;
32125}
32126
32127
32128static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
32129 PyObject *resultobj;
32130 wxString *arg1 = 0 ;
32131 wxString result;
32132 bool temp1 = False ;
32133 PyObject * obj0 = 0 ;
32134 char *kwnames[] = {
32135 (char *) "text", NULL
32136 };
32137
32138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32139 {
32140 arg1 = wxString_in_helper(obj0);
32141 if (arg1 == NULL) SWIG_fail;
32142 temp1 = True;
32143 }
32144 {
32145 PyThreadState* __tstate = wxPyBeginAllowThreads();
32146 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32147
32148 wxPyEndAllowThreads(__tstate);
32149 if (PyErr_Occurred()) SWIG_fail;
32150 }
32151 {
32152#if wxUSE_UNICODE
32153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32154#else
32155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32156#endif
32157 }
32158 {
32159 if (temp1)
32160 delete arg1;
32161 }
32162 return resultobj;
32163 fail:
32164 {
32165 if (temp1)
32166 delete arg1;
32167 }
32168 return NULL;
32169}
32170
32171
32172static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32173 PyObject *resultobj;
32174 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32175 int result;
32176 PyObject * obj0 = 0 ;
32177 char *kwnames[] = {
32178 (char *) "self", NULL
32179 };
32180
32181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
32182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32184 {
32185 PyThreadState* __tstate = wxPyBeginAllowThreads();
32186 result = (int)((wxMenuItem const *)arg1)->GetKind();
32187
32188 wxPyEndAllowThreads(__tstate);
32189 if (PyErr_Occurred()) SWIG_fail;
32190 }
32191 resultobj = SWIG_FromInt((int)result);
32192 return resultobj;
32193 fail:
32194 return NULL;
32195}
32196
32197
32198static PyObject *_wrap_MenuItem_SetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
32199 PyObject *resultobj;
32200 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32201 int arg2 ;
32202 PyObject * obj0 = 0 ;
32203 PyObject * obj1 = 0 ;
32204 char *kwnames[] = {
32205 (char *) "self",(char *) "kind", NULL
32206 };
32207
32208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32211 arg2 = (wxItemKind) SWIG_AsInt(obj1);
32212 if (PyErr_Occurred()) SWIG_fail;
32213 {
32214 PyThreadState* __tstate = wxPyBeginAllowThreads();
32215 (arg1)->SetKind((wxItemKind )arg2);
32216
32217 wxPyEndAllowThreads(__tstate);
32218 if (PyErr_Occurred()) SWIG_fail;
32219 }
32220 Py_INCREF(Py_None); resultobj = Py_None;
32221 return resultobj;
32222 fail:
32223 return NULL;
32224}
32225
32226
32227static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32228 PyObject *resultobj;
32229 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32230 bool arg2 ;
32231 PyObject * obj0 = 0 ;
32232 PyObject * obj1 = 0 ;
32233 char *kwnames[] = {
32234 (char *) "self",(char *) "checkable", NULL
32235 };
32236
32237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
32238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32240 arg2 = (bool) SWIG_AsBool(obj1);
32241 if (PyErr_Occurred()) SWIG_fail;
32242 {
32243 PyThreadState* __tstate = wxPyBeginAllowThreads();
32244 (arg1)->SetCheckable(arg2);
32245
32246 wxPyEndAllowThreads(__tstate);
32247 if (PyErr_Occurred()) SWIG_fail;
32248 }
32249 Py_INCREF(Py_None); resultobj = Py_None;
32250 return resultobj;
32251 fail:
32252 return NULL;
32253}
32254
32255
32256static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
32257 PyObject *resultobj;
32258 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32259 bool result;
32260 PyObject * obj0 = 0 ;
32261 char *kwnames[] = {
32262 (char *) "self", NULL
32263 };
32264
32265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
32266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32268 {
32269 PyThreadState* __tstate = wxPyBeginAllowThreads();
32270 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32271
32272 wxPyEndAllowThreads(__tstate);
32273 if (PyErr_Occurred()) SWIG_fail;
32274 }
32275 {
32276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32277 }
32278 return resultobj;
32279 fail:
32280 return NULL;
32281}
32282
32283
32284static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32285 PyObject *resultobj;
32286 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32287 bool result;
32288 PyObject * obj0 = 0 ;
32289 char *kwnames[] = {
32290 (char *) "self", NULL
32291 };
32292
32293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
32294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32296 {
32297 PyThreadState* __tstate = wxPyBeginAllowThreads();
32298 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32299
32300 wxPyEndAllowThreads(__tstate);
32301 if (PyErr_Occurred()) SWIG_fail;
32302 }
32303 {
32304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32305 }
32306 return resultobj;
32307 fail:
32308 return NULL;
32309}
32310
32311
32312static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32313 PyObject *resultobj;
32314 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32315 wxMenu *arg2 = (wxMenu *) 0 ;
32316 PyObject * obj0 = 0 ;
32317 PyObject * obj1 = 0 ;
32318 char *kwnames[] = {
32319 (char *) "self",(char *) "menu", NULL
32320 };
32321
32322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
32323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 (arg1)->SetSubMenu(arg2);
32330
32331 wxPyEndAllowThreads(__tstate);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 }
32334 Py_INCREF(Py_None); resultobj = Py_None;
32335 return resultobj;
32336 fail:
32337 return NULL;
32338}
32339
32340
32341static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
32342 PyObject *resultobj;
32343 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32344 wxMenu *result;
32345 PyObject * obj0 = 0 ;
32346 char *kwnames[] = {
32347 (char *) "self", NULL
32348 };
32349
32350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
32351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32353 {
32354 PyThreadState* __tstate = wxPyBeginAllowThreads();
32355 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32356
32357 wxPyEndAllowThreads(__tstate);
32358 if (PyErr_Occurred()) SWIG_fail;
32359 }
32360 {
32361 resultobj = wxPyMake_wxObject(result);
32362 }
32363 return resultobj;
32364 fail:
32365 return NULL;
32366}
32367
32368
32369static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
32370 PyObject *resultobj;
32371 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32372 bool arg2 = (bool) True ;
32373 PyObject * obj0 = 0 ;
32374 PyObject * obj1 = 0 ;
32375 char *kwnames[] = {
32376 (char *) "self",(char *) "enable", NULL
32377 };
32378
32379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
32380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32382 if (obj1) {
32383 arg2 = (bool) SWIG_AsBool(obj1);
32384 if (PyErr_Occurred()) SWIG_fail;
32385 }
32386 {
32387 PyThreadState* __tstate = wxPyBeginAllowThreads();
32388 (arg1)->Enable(arg2);
32389
32390 wxPyEndAllowThreads(__tstate);
32391 if (PyErr_Occurred()) SWIG_fail;
32392 }
32393 Py_INCREF(Py_None); resultobj = Py_None;
32394 return resultobj;
32395 fail:
32396 return NULL;
32397}
32398
32399
32400static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
32401 PyObject *resultobj;
32402 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32403 bool result;
32404 PyObject * obj0 = 0 ;
32405 char *kwnames[] = {
32406 (char *) "self", NULL
32407 };
32408
32409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
32410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32412 {
32413 PyThreadState* __tstate = wxPyBeginAllowThreads();
32414 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32415
32416 wxPyEndAllowThreads(__tstate);
32417 if (PyErr_Occurred()) SWIG_fail;
32418 }
32419 {
32420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32421 }
32422 return resultobj;
32423 fail:
32424 return NULL;
32425}
32426
32427
32428static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
32429 PyObject *resultobj;
32430 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32431 bool arg2 = (bool) True ;
32432 PyObject * obj0 = 0 ;
32433 PyObject * obj1 = 0 ;
32434 char *kwnames[] = {
32435 (char *) "self",(char *) "check", NULL
32436 };
32437
32438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
32439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32441 if (obj1) {
32442 arg2 = (bool) SWIG_AsBool(obj1);
32443 if (PyErr_Occurred()) SWIG_fail;
32444 }
32445 {
32446 PyThreadState* __tstate = wxPyBeginAllowThreads();
32447 (arg1)->Check(arg2);
32448
32449 wxPyEndAllowThreads(__tstate);
32450 if (PyErr_Occurred()) SWIG_fail;
32451 }
32452 Py_INCREF(Py_None); resultobj = Py_None;
32453 return resultobj;
32454 fail:
32455 return NULL;
32456}
32457
32458
32459static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
32460 PyObject *resultobj;
32461 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32462 bool result;
32463 PyObject * obj0 = 0 ;
32464 char *kwnames[] = {
32465 (char *) "self", NULL
32466 };
32467
32468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
32469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32471 {
32472 PyThreadState* __tstate = wxPyBeginAllowThreads();
32473 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32474
32475 wxPyEndAllowThreads(__tstate);
32476 if (PyErr_Occurred()) SWIG_fail;
32477 }
32478 {
32479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32480 }
32481 return resultobj;
32482 fail:
32483 return NULL;
32484}
32485
32486
32487static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
32488 PyObject *resultobj;
32489 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32490 PyObject * obj0 = 0 ;
32491 char *kwnames[] = {
32492 (char *) "self", NULL
32493 };
32494
32495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
32496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32498 {
32499 PyThreadState* __tstate = wxPyBeginAllowThreads();
32500 (arg1)->Toggle();
32501
32502 wxPyEndAllowThreads(__tstate);
32503 if (PyErr_Occurred()) SWIG_fail;
32504 }
32505 Py_INCREF(Py_None); resultobj = Py_None;
32506 return resultobj;
32507 fail:
32508 return NULL;
32509}
32510
32511
32512static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32513 PyObject *resultobj;
32514 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32515 wxString *arg2 = 0 ;
32516 bool temp2 = False ;
32517 PyObject * obj0 = 0 ;
32518 PyObject * obj1 = 0 ;
32519 char *kwnames[] = {
32520 (char *) "self",(char *) "str", NULL
32521 };
32522
32523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
32524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32526 {
32527 arg2 = wxString_in_helper(obj1);
32528 if (arg2 == NULL) SWIG_fail;
32529 temp2 = True;
32530 }
32531 {
32532 PyThreadState* __tstate = wxPyBeginAllowThreads();
32533 (arg1)->SetHelp((wxString const &)*arg2);
32534
32535 wxPyEndAllowThreads(__tstate);
32536 if (PyErr_Occurred()) SWIG_fail;
32537 }
32538 Py_INCREF(Py_None); resultobj = Py_None;
32539 {
32540 if (temp2)
32541 delete arg2;
32542 }
32543 return resultobj;
32544 fail:
32545 {
32546 if (temp2)
32547 delete arg2;
32548 }
32549 return NULL;
32550}
32551
32552
32553static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
32554 PyObject *resultobj;
32555 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32556 wxString *result;
32557 PyObject * obj0 = 0 ;
32558 char *kwnames[] = {
32559 (char *) "self", NULL
32560 };
32561
32562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
32563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32565 {
32566 PyThreadState* __tstate = wxPyBeginAllowThreads();
32567 {
32568 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32569 result = (wxString *) &_result_ref;
32570 }
32571
32572 wxPyEndAllowThreads(__tstate);
32573 if (PyErr_Occurred()) SWIG_fail;
32574 }
32575 {
32576#if wxUSE_UNICODE
32577 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32578#else
32579 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32580#endif
32581 }
32582 return resultobj;
32583 fail:
32584 return NULL;
32585}
32586
32587
32588static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32589 PyObject *resultobj;
32590 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32591 wxAcceleratorEntry *result;
32592 PyObject * obj0 = 0 ;
32593 char *kwnames[] = {
32594 (char *) "self", NULL
32595 };
32596
32597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
32598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32600 {
32601 PyThreadState* __tstate = wxPyBeginAllowThreads();
32602 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32603
32604 wxPyEndAllowThreads(__tstate);
32605 if (PyErr_Occurred()) SWIG_fail;
32606 }
32607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
32608 return resultobj;
32609 fail:
32610 return NULL;
32611}
32612
32613
32614static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
32615 PyObject *resultobj;
32616 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32617 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32618 PyObject * obj0 = 0 ;
32619 PyObject * obj1 = 0 ;
32620 char *kwnames[] = {
32621 (char *) "self",(char *) "accel", NULL
32622 };
32623
32624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
32625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32629 {
32630 PyThreadState* __tstate = wxPyBeginAllowThreads();
32631 (arg1)->SetAccel(arg2);
32632
32633 wxPyEndAllowThreads(__tstate);
32634 if (PyErr_Occurred()) SWIG_fail;
32635 }
32636 Py_INCREF(Py_None); resultobj = Py_None;
32637 return resultobj;
32638 fail:
32639 return NULL;
32640}
32641
32642
32643static PyObject *_wrap_MenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
32644 PyObject *resultobj;
32645 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32646 wxFont *arg2 = 0 ;
32647 PyObject * obj0 = 0 ;
32648 PyObject * obj1 = 0 ;
32649 char *kwnames[] = {
32650 (char *) "self",(char *) "font", NULL
32651 };
32652
32653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
32654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
32657 SWIG_POINTER_EXCEPTION | 0)) == -1)
32658 SWIG_fail;
32659 if (arg2 == NULL) {
32660 PyErr_SetString(PyExc_TypeError,"null reference");
32661 SWIG_fail;
32662 }
32663 {
32664 PyThreadState* __tstate = wxPyBeginAllowThreads();
32665 (arg1)->SetFont((wxFont const &)*arg2);
32666
32667 wxPyEndAllowThreads(__tstate);
32668 if (PyErr_Occurred()) SWIG_fail;
32669 }
32670 Py_INCREF(Py_None); resultobj = Py_None;
32671 return resultobj;
32672 fail:
32673 return NULL;
32674}
32675
32676
32677static PyObject *_wrap_MenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
32678 PyObject *resultobj;
32679 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32680 wxFont result;
32681 PyObject * obj0 = 0 ;
32682 char *kwnames[] = {
32683 (char *) "self", NULL
32684 };
32685
32686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
32687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32689 {
32690 PyThreadState* __tstate = wxPyBeginAllowThreads();
32691 result = (arg1)->GetFont();
32692
32693 wxPyEndAllowThreads(__tstate);
32694 if (PyErr_Occurred()) SWIG_fail;
32695 }
32696 {
32697 wxFont * resultptr;
32698 resultptr = new wxFont((wxFont &) result);
32699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
32700 }
32701 return resultobj;
32702 fail:
32703 return NULL;
32704}
32705
32706
32707static PyObject *_wrap_MenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32708 PyObject *resultobj;
32709 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32710 wxColour *arg2 = 0 ;
32711 wxColour temp2 ;
32712 PyObject * obj0 = 0 ;
32713 PyObject * obj1 = 0 ;
32714 char *kwnames[] = {
32715 (char *) "self",(char *) "colText", NULL
32716 };
32717
32718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
32719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32721 {
32722 arg2 = &temp2;
32723 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32724 }
32725 {
32726 PyThreadState* __tstate = wxPyBeginAllowThreads();
32727 (arg1)->SetTextColour((wxColour const &)*arg2);
32728
32729 wxPyEndAllowThreads(__tstate);
32730 if (PyErr_Occurred()) SWIG_fail;
32731 }
32732 Py_INCREF(Py_None); resultobj = Py_None;
32733 return resultobj;
32734 fail:
32735 return NULL;
32736}
32737
32738
32739static PyObject *_wrap_MenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32740 PyObject *resultobj;
32741 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32742 wxColour result;
32743 PyObject * obj0 = 0 ;
32744 char *kwnames[] = {
32745 (char *) "self", NULL
32746 };
32747
32748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
32749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32751 {
32752 PyThreadState* __tstate = wxPyBeginAllowThreads();
32753 result = (arg1)->GetTextColour();
32754
32755 wxPyEndAllowThreads(__tstate);
32756 if (PyErr_Occurred()) SWIG_fail;
32757 }
32758 {
32759 wxColour * resultptr;
32760 resultptr = new wxColour((wxColour &) result);
32761 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
32762 }
32763 return resultobj;
32764 fail:
32765 return NULL;
32766}
32767
32768
32769static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32770 PyObject *resultobj;
32771 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32772 wxColour *arg2 = 0 ;
32773 wxColour temp2 ;
32774 PyObject * obj0 = 0 ;
32775 PyObject * obj1 = 0 ;
32776 char *kwnames[] = {
32777 (char *) "self",(char *) "colBack", NULL
32778 };
32779
32780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
32781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32783 {
32784 arg2 = &temp2;
32785 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
32786 }
32787 {
32788 PyThreadState* __tstate = wxPyBeginAllowThreads();
32789 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
32790
32791 wxPyEndAllowThreads(__tstate);
32792 if (PyErr_Occurred()) SWIG_fail;
32793 }
32794 Py_INCREF(Py_None); resultobj = Py_None;
32795 return resultobj;
32796 fail:
32797 return NULL;
32798}
32799
32800
32801static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
32802 PyObject *resultobj;
32803 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32804 wxColour result;
32805 PyObject * obj0 = 0 ;
32806 char *kwnames[] = {
32807 (char *) "self", NULL
32808 };
32809
32810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
32811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 result = (arg1)->GetBackgroundColour();
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 {
32821 wxColour * resultptr;
32822 resultptr = new wxColour((wxColour &) result);
32823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
32824 }
32825 return resultobj;
32826 fail:
32827 return NULL;
32828}
32829
32830
32831static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
32832 PyObject *resultobj;
32833 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32834 wxBitmap *arg2 = 0 ;
32835 wxBitmap const &arg3_defvalue = wxNullBitmap ;
32836 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
32837 PyObject * obj0 = 0 ;
32838 PyObject * obj1 = 0 ;
32839 PyObject * obj2 = 0 ;
32840 char *kwnames[] = {
32841 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32842 };
32843
32844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
32845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32848 SWIG_POINTER_EXCEPTION | 0)) == -1)
32849 SWIG_fail;
32850 if (arg2 == NULL) {
32851 PyErr_SetString(PyExc_TypeError,"null reference");
32852 SWIG_fail;
32853 }
32854 if (obj2) {
32855 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
32856 SWIG_POINTER_EXCEPTION | 0)) == -1)
32857 SWIG_fail;
32858 if (arg3 == NULL) {
32859 PyErr_SetString(PyExc_TypeError,"null reference");
32860 SWIG_fail;
32861 }
32862 }
32863 {
32864 PyThreadState* __tstate = wxPyBeginAllowThreads();
32865 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
32866
32867 wxPyEndAllowThreads(__tstate);
32868 if (PyErr_Occurred()) SWIG_fail;
32869 }
32870 Py_INCREF(Py_None); resultobj = Py_None;
32871 return resultobj;
32872 fail:
32873 return NULL;
32874}
32875
32876
32877static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32878 PyObject *resultobj;
32879 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32880 wxBitmap *arg2 = 0 ;
32881 PyObject * obj0 = 0 ;
32882 PyObject * obj1 = 0 ;
32883 char *kwnames[] = {
32884 (char *) "self",(char *) "bmpDisabled", NULL
32885 };
32886
32887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
32888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32891 SWIG_POINTER_EXCEPTION | 0)) == -1)
32892 SWIG_fail;
32893 if (arg2 == NULL) {
32894 PyErr_SetString(PyExc_TypeError,"null reference");
32895 SWIG_fail;
32896 }
32897 {
32898 PyThreadState* __tstate = wxPyBeginAllowThreads();
32899 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
32900
32901 wxPyEndAllowThreads(__tstate);
32902 if (PyErr_Occurred()) SWIG_fail;
32903 }
32904 Py_INCREF(Py_None); resultobj = Py_None;
32905 return resultobj;
32906 fail:
32907 return NULL;
32908}
32909
32910
32911static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
32912 PyObject *resultobj;
32913 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32914 wxBitmap *result;
32915 PyObject * obj0 = 0 ;
32916 char *kwnames[] = {
32917 (char *) "self", NULL
32918 };
32919
32920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
32921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32923 {
32924 PyThreadState* __tstate = wxPyBeginAllowThreads();
32925 {
32926 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
32927 result = (wxBitmap *) &_result_ref;
32928 }
32929
32930 wxPyEndAllowThreads(__tstate);
32931 if (PyErr_Occurred()) SWIG_fail;
32932 }
32933 {
32934 wxBitmap* resultptr = new wxBitmap(*result);
32935 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32936 }
32937 return resultobj;
32938 fail:
32939 return NULL;
32940}
32941
32942
32943static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32944 PyObject *resultobj;
32945 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32946 int arg2 ;
32947 PyObject * obj0 = 0 ;
32948 PyObject * obj1 = 0 ;
32949 char *kwnames[] = {
32950 (char *) "self",(char *) "nWidth", NULL
32951 };
32952
32953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
32954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32956 arg2 = (int) SWIG_AsInt(obj1);
32957 if (PyErr_Occurred()) SWIG_fail;
32958 {
32959 PyThreadState* __tstate = wxPyBeginAllowThreads();
32960 (arg1)->SetMarginWidth(arg2);
32961
32962 wxPyEndAllowThreads(__tstate);
32963 if (PyErr_Occurred()) SWIG_fail;
32964 }
32965 Py_INCREF(Py_None); resultobj = Py_None;
32966 return resultobj;
32967 fail:
32968 return NULL;
32969}
32970
32971
32972static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32973 PyObject *resultobj;
32974 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32975 int result;
32976 PyObject * obj0 = 0 ;
32977 char *kwnames[] = {
32978 (char *) "self", NULL
32979 };
32980
32981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
32982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32984 {
32985 PyThreadState* __tstate = wxPyBeginAllowThreads();
32986 result = (int)(arg1)->GetMarginWidth();
32987
32988 wxPyEndAllowThreads(__tstate);
32989 if (PyErr_Occurred()) SWIG_fail;
32990 }
32991 resultobj = SWIG_FromInt((int)result);
32992 return resultobj;
32993 fail:
32994 return NULL;
32995}
32996
32997
32998static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
32999 PyObject *resultobj;
33000 int result;
33001 char *kwnames[] = {
33002 NULL
33003 };
33004
33005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
33006 {
33007 PyThreadState* __tstate = wxPyBeginAllowThreads();
33008 result = (int)wxMenuItem::GetDefaultMarginWidth();
33009
33010 wxPyEndAllowThreads(__tstate);
33011 if (PyErr_Occurred()) SWIG_fail;
33012 }
33013 resultobj = SWIG_FromInt((int)result);
33014 return resultobj;
33015 fail:
33016 return NULL;
33017}
33018
33019
33020static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
33021 PyObject *resultobj;
33022 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33023 bool result;
33024 PyObject * obj0 = 0 ;
33025 char *kwnames[] = {
33026 (char *) "self", NULL
33027 };
33028
33029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
33030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33032 {
33033 PyThreadState* __tstate = wxPyBeginAllowThreads();
33034 result = (bool)(arg1)->IsOwnerDrawn();
33035
33036 wxPyEndAllowThreads(__tstate);
33037 if (PyErr_Occurred()) SWIG_fail;
33038 }
33039 {
33040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33041 }
33042 return resultobj;
33043 fail:
33044 return NULL;
33045}
33046
33047
33048static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
33049 PyObject *resultobj;
33050 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33051 bool arg2 = (bool) True ;
33052 PyObject * obj0 = 0 ;
33053 PyObject * obj1 = 0 ;
33054 char *kwnames[] = {
33055 (char *) "self",(char *) "ownerDrawn", NULL
33056 };
33057
33058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
33059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33061 if (obj1) {
33062 arg2 = (bool) SWIG_AsBool(obj1);
33063 if (PyErr_Occurred()) SWIG_fail;
33064 }
33065 {
33066 PyThreadState* __tstate = wxPyBeginAllowThreads();
33067 (arg1)->SetOwnerDrawn(arg2);
33068
33069 wxPyEndAllowThreads(__tstate);
33070 if (PyErr_Occurred()) SWIG_fail;
33071 }
33072 Py_INCREF(Py_None); resultobj = Py_None;
33073 return resultobj;
33074 fail:
33075 return NULL;
33076}
33077
33078
33079static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
33080 PyObject *resultobj;
33081 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33082 PyObject * obj0 = 0 ;
33083 char *kwnames[] = {
33084 (char *) "self", NULL
33085 };
33086
33087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
33088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33090 {
33091 PyThreadState* __tstate = wxPyBeginAllowThreads();
33092 (arg1)->ResetOwnerDrawn();
33093
33094 wxPyEndAllowThreads(__tstate);
33095 if (PyErr_Occurred()) SWIG_fail;
33096 }
33097 Py_INCREF(Py_None); resultobj = Py_None;
33098 return resultobj;
33099 fail:
33100 return NULL;
33101}
33102
33103
33104static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
33105 PyObject *resultobj;
33106 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33107 wxBitmap *arg2 = 0 ;
33108 PyObject * obj0 = 0 ;
33109 PyObject * obj1 = 0 ;
33110 char *kwnames[] = {
33111 (char *) "self",(char *) "bitmap", NULL
33112 };
33113
33114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
33115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
33118 SWIG_POINTER_EXCEPTION | 0)) == -1)
33119 SWIG_fail;
33120 if (arg2 == NULL) {
33121 PyErr_SetString(PyExc_TypeError,"null reference");
33122 SWIG_fail;
33123 }
33124 {
33125 PyThreadState* __tstate = wxPyBeginAllowThreads();
33126 (arg1)->SetBitmap((wxBitmap const &)*arg2);
33127
33128 wxPyEndAllowThreads(__tstate);
33129 if (PyErr_Occurred()) SWIG_fail;
33130 }
33131 Py_INCREF(Py_None); resultobj = Py_None;
33132 return resultobj;
33133 fail:
33134 return NULL;
33135}
33136
33137
33138static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
33139 PyObject *resultobj;
33140 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33141 wxBitmap *result;
33142 PyObject * obj0 = 0 ;
33143 char *kwnames[] = {
33144 (char *) "self", NULL
33145 };
33146
33147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
33148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33150 {
33151 PyThreadState* __tstate = wxPyBeginAllowThreads();
33152 {
33153 wxBitmap const &_result_ref = (arg1)->GetBitmap();
33154 result = (wxBitmap *) &_result_ref;
33155 }
33156
33157 wxPyEndAllowThreads(__tstate);
33158 if (PyErr_Occurred()) SWIG_fail;
33159 }
33160 {
33161 wxBitmap* resultptr = new wxBitmap(*result);
33162 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
33163 }
33164 return resultobj;
33165 fail:
33166 return NULL;
33167}
33168
33169
33170static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
33171 PyObject *obj;
33172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33173 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
33174 Py_INCREF(obj);
33175 return Py_BuildValue((char *)"");
33176}
33177static int _wrap_ControlNameStr_set(PyObject *_val) {
33178 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
33179 return 1;
33180}
33181
33182
33183static PyObject *_wrap_ControlNameStr_get() {
33184 PyObject *pyobj;
33185
33186 {
33187#if wxUSE_UNICODE
33188 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33189#else
33190 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33191#endif
33192 }
33193 return pyobj;
33194}
33195
33196
33197static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
33198 PyObject *resultobj;
33199 wxWindow *arg1 = (wxWindow *) 0 ;
33200 int arg2 ;
33201 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33202 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33203 wxSize const &arg4_defvalue = wxDefaultSize ;
33204 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33205 long arg5 = (long) 0 ;
33206 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33207 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33208 wxString const &arg7_defvalue = wxPyControlNameStr ;
33209 wxString *arg7 = (wxString *) &arg7_defvalue ;
33210 wxControl *result;
33211 wxPoint temp3 ;
33212 wxSize temp4 ;
33213 bool temp7 = False ;
33214 PyObject * obj0 = 0 ;
33215 PyObject * obj1 = 0 ;
33216 PyObject * obj2 = 0 ;
33217 PyObject * obj3 = 0 ;
33218 PyObject * obj4 = 0 ;
33219 PyObject * obj5 = 0 ;
33220 PyObject * obj6 = 0 ;
33221 char *kwnames[] = {
33222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33223 };
33224
33225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
33226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33228 arg2 = (int) SWIG_AsInt(obj1);
33229 if (PyErr_Occurred()) SWIG_fail;
33230 if (obj2) {
33231 {
33232 arg3 = &temp3;
33233 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33234 }
33235 }
33236 if (obj3) {
33237 {
33238 arg4 = &temp4;
33239 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33240 }
33241 }
33242 if (obj4) {
33243 arg5 = (long) SWIG_AsLong(obj4);
33244 if (PyErr_Occurred()) SWIG_fail;
33245 }
33246 if (obj5) {
33247 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
33248 SWIG_POINTER_EXCEPTION | 0)) == -1)
33249 SWIG_fail;
33250 if (arg6 == NULL) {
33251 PyErr_SetString(PyExc_TypeError,"null reference");
33252 SWIG_fail;
33253 }
33254 }
33255 if (obj6) {
33256 {
33257 arg7 = wxString_in_helper(obj6);
33258 if (arg7 == NULL) SWIG_fail;
33259 temp7 = True;
33260 }
33261 }
33262 {
33263 PyThreadState* __tstate = wxPyBeginAllowThreads();
33264 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33265
33266 wxPyEndAllowThreads(__tstate);
33267 if (PyErr_Occurred()) SWIG_fail;
33268 }
33269 {
33270 resultobj = wxPyMake_wxObject(result);
33271 }
33272 {
33273 if (temp7)
33274 delete arg7;
33275 }
33276 return resultobj;
33277 fail:
33278 {
33279 if (temp7)
33280 delete arg7;
33281 }
33282 return NULL;
33283}
33284
33285
33286static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
33287 PyObject *resultobj;
33288 wxControl *result;
33289 char *kwnames[] = {
33290 NULL
33291 };
33292
33293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
33294 {
33295 PyThreadState* __tstate = wxPyBeginAllowThreads();
33296 result = (wxControl *)new wxControl();
33297
33298 wxPyEndAllowThreads(__tstate);
33299 if (PyErr_Occurred()) SWIG_fail;
33300 }
33301 {
33302 resultobj = wxPyMake_wxObject(result);
33303 }
33304 return resultobj;
33305 fail:
33306 return NULL;
33307}
33308
33309
33310static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
33311 PyObject *resultobj;
33312 wxControl *arg1 = (wxControl *) 0 ;
33313 wxWindow *arg2 = (wxWindow *) 0 ;
33314 int arg3 ;
33315 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33316 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33317 wxSize const &arg5_defvalue = wxDefaultSize ;
33318 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33319 long arg6 = (long) 0 ;
33320 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33321 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33322 wxString const &arg8_defvalue = wxPyControlNameStr ;
33323 wxString *arg8 = (wxString *) &arg8_defvalue ;
33324 bool result;
33325 wxPoint temp4 ;
33326 wxSize temp5 ;
33327 bool temp8 = False ;
33328 PyObject * obj0 = 0 ;
33329 PyObject * obj1 = 0 ;
33330 PyObject * obj2 = 0 ;
33331 PyObject * obj3 = 0 ;
33332 PyObject * obj4 = 0 ;
33333 PyObject * obj5 = 0 ;
33334 PyObject * obj6 = 0 ;
33335 PyObject * obj7 = 0 ;
33336 char *kwnames[] = {
33337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33338 };
33339
33340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
33341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33345 arg3 = (int) SWIG_AsInt(obj2);
33346 if (PyErr_Occurred()) SWIG_fail;
33347 if (obj3) {
33348 {
33349 arg4 = &temp4;
33350 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33351 }
33352 }
33353 if (obj4) {
33354 {
33355 arg5 = &temp5;
33356 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33357 }
33358 }
33359 if (obj5) {
33360 arg6 = (long) SWIG_AsLong(obj5);
33361 if (PyErr_Occurred()) SWIG_fail;
33362 }
33363 if (obj6) {
33364 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
33365 SWIG_POINTER_EXCEPTION | 0)) == -1)
33366 SWIG_fail;
33367 if (arg7 == NULL) {
33368 PyErr_SetString(PyExc_TypeError,"null reference");
33369 SWIG_fail;
33370 }
33371 }
33372 if (obj7) {
33373 {
33374 arg8 = wxString_in_helper(obj7);
33375 if (arg8 == NULL) SWIG_fail;
33376 temp8 = True;
33377 }
33378 }
33379 {
33380 PyThreadState* __tstate = wxPyBeginAllowThreads();
33381 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33382
33383 wxPyEndAllowThreads(__tstate);
33384 if (PyErr_Occurred()) SWIG_fail;
33385 }
33386 {
33387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33388 }
33389 {
33390 if (temp8)
33391 delete arg8;
33392 }
33393 return resultobj;
33394 fail:
33395 {
33396 if (temp8)
33397 delete arg8;
33398 }
33399 return NULL;
33400}
33401
33402
33403static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
33404 PyObject *resultobj;
33405 wxControl *arg1 = (wxControl *) 0 ;
33406 wxCommandEvent *arg2 = 0 ;
33407 PyObject * obj0 = 0 ;
33408 PyObject * obj1 = 0 ;
33409 char *kwnames[] = {
33410 (char *) "self",(char *) "event", NULL
33411 };
33412
33413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
33414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
33417 SWIG_POINTER_EXCEPTION | 0)) == -1)
33418 SWIG_fail;
33419 if (arg2 == NULL) {
33420 PyErr_SetString(PyExc_TypeError,"null reference");
33421 SWIG_fail;
33422 }
33423 {
33424 PyThreadState* __tstate = wxPyBeginAllowThreads();
33425 (arg1)->Command(*arg2);
33426
33427 wxPyEndAllowThreads(__tstate);
33428 if (PyErr_Occurred()) SWIG_fail;
33429 }
33430 Py_INCREF(Py_None); resultobj = Py_None;
33431 return resultobj;
33432 fail:
33433 return NULL;
33434}
33435
33436
33437static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33438 PyObject *resultobj;
33439 wxControl *arg1 = (wxControl *) 0 ;
33440 wxString result;
33441 PyObject * obj0 = 0 ;
33442 char *kwnames[] = {
33443 (char *) "self", NULL
33444 };
33445
33446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
33447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33449 {
33450 PyThreadState* __tstate = wxPyBeginAllowThreads();
33451 result = (arg1)->GetLabel();
33452
33453 wxPyEndAllowThreads(__tstate);
33454 if (PyErr_Occurred()) SWIG_fail;
33455 }
33456 {
33457#if wxUSE_UNICODE
33458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33459#else
33460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33461#endif
33462 }
33463 return resultobj;
33464 fail:
33465 return NULL;
33466}
33467
33468
33469static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
33470 PyObject *resultobj;
33471 wxControl *arg1 = (wxControl *) 0 ;
33472 wxString *arg2 = 0 ;
33473 bool temp2 = False ;
33474 PyObject * obj0 = 0 ;
33475 PyObject * obj1 = 0 ;
33476 char *kwnames[] = {
33477 (char *) "self",(char *) "label", NULL
33478 };
33479
33480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
33481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33483 {
33484 arg2 = wxString_in_helper(obj1);
33485 if (arg2 == NULL) SWIG_fail;
33486 temp2 = True;
33487 }
33488 {
33489 PyThreadState* __tstate = wxPyBeginAllowThreads();
33490 (arg1)->SetLabel((wxString const &)*arg2);
33491
33492 wxPyEndAllowThreads(__tstate);
33493 if (PyErr_Occurred()) SWIG_fail;
33494 }
33495 Py_INCREF(Py_None); resultobj = Py_None;
33496 {
33497 if (temp2)
33498 delete arg2;
33499 }
33500 return resultobj;
33501 fail:
33502 {
33503 if (temp2)
33504 delete arg2;
33505 }
33506 return NULL;
33507}
33508
33509
33510static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
33511 PyObject *resultobj;
33512 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33513 wxVisualAttributes result;
33514 PyObject * obj0 = 0 ;
33515 char *kwnames[] = {
33516 (char *) "variant", NULL
33517 };
33518
33519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33520 if (obj0) {
33521 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
33522 if (PyErr_Occurred()) SWIG_fail;
33523 }
33524 {
33525 PyThreadState* __tstate = wxPyBeginAllowThreads();
33526 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33527
33528 wxPyEndAllowThreads(__tstate);
33529 if (PyErr_Occurred()) SWIG_fail;
33530 }
33531 {
33532 wxVisualAttributes * resultptr;
33533 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33535 }
33536 return resultobj;
33537 fail:
33538 return NULL;
33539}
33540
33541
33542static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
33543 PyObject *obj;
33544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33545 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33546 Py_INCREF(obj);
33547 return Py_BuildValue((char *)"");
33548}
33549static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
33550 PyObject *resultobj;
33551 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33552 wxString *arg2 = 0 ;
33553 PyObject *arg3 = (PyObject *) NULL ;
33554 int result;
33555 bool temp2 = False ;
33556 PyObject * obj0 = 0 ;
33557 PyObject * obj1 = 0 ;
33558 PyObject * obj2 = 0 ;
33559 char *kwnames[] = {
33560 (char *) "self",(char *) "item",(char *) "clientData", NULL
33561 };
33562
33563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
33564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33566 {
33567 arg2 = wxString_in_helper(obj1);
33568 if (arg2 == NULL) SWIG_fail;
33569 temp2 = True;
33570 }
33571 if (obj2) {
33572 arg3 = obj2;
33573 }
33574 {
33575 PyThreadState* __tstate = wxPyBeginAllowThreads();
33576 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33577
33578 wxPyEndAllowThreads(__tstate);
33579 if (PyErr_Occurred()) SWIG_fail;
33580 }
33581 resultobj = SWIG_FromInt((int)result);
33582 {
33583 if (temp2)
33584 delete arg2;
33585 }
33586 return resultobj;
33587 fail:
33588 {
33589 if (temp2)
33590 delete arg2;
33591 }
33592 return NULL;
33593}
33594
33595
33596static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
33597 PyObject *resultobj;
33598 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33599 wxArrayString *arg2 = 0 ;
33600 bool temp2 = False ;
33601 PyObject * obj0 = 0 ;
33602 PyObject * obj1 = 0 ;
33603 char *kwnames[] = {
33604 (char *) "self",(char *) "strings", NULL
33605 };
33606
33607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
33608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33610 {
33611 if (! PySequence_Check(obj1)) {
33612 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33613 SWIG_fail;
33614 }
33615 arg2 = new wxArrayString;
33616 temp2 = True;
33617 int i, len=PySequence_Length(obj1);
33618 for (i=0; i<len; i++) {
33619 PyObject* item = PySequence_GetItem(obj1, i);
33620#if wxUSE_UNICODE
33621 PyObject* str = PyObject_Unicode(item);
33622#else
33623 PyObject* str = PyObject_Str(item);
33624#endif
33625 if (PyErr_Occurred()) SWIG_fail;
33626 arg2->Add(Py2wxString(str));
33627 Py_DECREF(item);
33628 Py_DECREF(str);
33629 }
33630 }
33631 {
33632 PyThreadState* __tstate = wxPyBeginAllowThreads();
33633 (arg1)->Append((wxArrayString const &)*arg2);
33634
33635 wxPyEndAllowThreads(__tstate);
33636 if (PyErr_Occurred()) SWIG_fail;
33637 }
33638 Py_INCREF(Py_None); resultobj = Py_None;
33639 {
33640 if (temp2) delete arg2;
33641 }
33642 return resultobj;
33643 fail:
33644 {
33645 if (temp2) delete arg2;
33646 }
33647 return NULL;
33648}
33649
33650
33651static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33652 PyObject *resultobj;
33653 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33654 wxString *arg2 = 0 ;
33655 int arg3 ;
33656 PyObject *arg4 = (PyObject *) NULL ;
33657 int result;
33658 bool temp2 = False ;
33659 PyObject * obj0 = 0 ;
33660 PyObject * obj1 = 0 ;
33661 PyObject * obj2 = 0 ;
33662 PyObject * obj3 = 0 ;
33663 char *kwnames[] = {
33664 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33665 };
33666
33667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
33668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33670 {
33671 arg2 = wxString_in_helper(obj1);
33672 if (arg2 == NULL) SWIG_fail;
33673 temp2 = True;
33674 }
33675 arg3 = (int) SWIG_AsInt(obj2);
33676 if (PyErr_Occurred()) SWIG_fail;
33677 if (obj3) {
33678 arg4 = obj3;
33679 }
33680 {
33681 PyThreadState* __tstate = wxPyBeginAllowThreads();
33682 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33683
33684 wxPyEndAllowThreads(__tstate);
33685 if (PyErr_Occurred()) SWIG_fail;
33686 }
33687 resultobj = SWIG_FromInt((int)result);
33688 {
33689 if (temp2)
33690 delete arg2;
33691 }
33692 return resultobj;
33693 fail:
33694 {
33695 if (temp2)
33696 delete arg2;
33697 }
33698 return NULL;
33699}
33700
33701
33702static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
33703 PyObject *resultobj;
33704 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33705 PyObject * obj0 = 0 ;
33706 char *kwnames[] = {
33707 (char *) "self", NULL
33708 };
33709
33710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
33711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33713 {
33714 PyThreadState* __tstate = wxPyBeginAllowThreads();
33715 (arg1)->Clear();
33716
33717 wxPyEndAllowThreads(__tstate);
33718 if (PyErr_Occurred()) SWIG_fail;
33719 }
33720 Py_INCREF(Py_None); resultobj = Py_None;
33721 return resultobj;
33722 fail:
33723 return NULL;
33724}
33725
33726
33727static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
33728 PyObject *resultobj;
33729 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33730 int arg2 ;
33731 PyObject * obj0 = 0 ;
33732 PyObject * obj1 = 0 ;
33733 char *kwnames[] = {
33734 (char *) "self",(char *) "n", NULL
33735 };
33736
33737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
33738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33740 arg2 = (int) SWIG_AsInt(obj1);
33741 if (PyErr_Occurred()) SWIG_fail;
33742 {
33743 PyThreadState* __tstate = wxPyBeginAllowThreads();
33744 (arg1)->Delete(arg2);
33745
33746 wxPyEndAllowThreads(__tstate);
33747 if (PyErr_Occurred()) SWIG_fail;
33748 }
33749 Py_INCREF(Py_None); resultobj = Py_None;
33750 return resultobj;
33751 fail:
33752 return NULL;
33753}
33754
33755
33756static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
33757 PyObject *resultobj;
33758 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33759 int result;
33760 PyObject * obj0 = 0 ;
33761 char *kwnames[] = {
33762 (char *) "self", NULL
33763 };
33764
33765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
33766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33768 {
33769 PyThreadState* __tstate = wxPyBeginAllowThreads();
33770 result = (int)((wxItemContainer const *)arg1)->GetCount();
33771
33772 wxPyEndAllowThreads(__tstate);
33773 if (PyErr_Occurred()) SWIG_fail;
33774 }
33775 resultobj = SWIG_FromInt((int)result);
33776 return resultobj;
33777 fail:
33778 return NULL;
33779}
33780
33781
33782static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
33783 PyObject *resultobj;
33784 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33785 bool result;
33786 PyObject * obj0 = 0 ;
33787 char *kwnames[] = {
33788 (char *) "self", NULL
33789 };
33790
33791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
33792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33794 {
33795 PyThreadState* __tstate = wxPyBeginAllowThreads();
33796 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33797
33798 wxPyEndAllowThreads(__tstate);
33799 if (PyErr_Occurred()) SWIG_fail;
33800 }
33801 {
33802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33803 }
33804 return resultobj;
33805 fail:
33806 return NULL;
33807}
33808
33809
33810static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33811 PyObject *resultobj;
33812 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33813 int arg2 ;
33814 wxString result;
33815 PyObject * obj0 = 0 ;
33816 PyObject * obj1 = 0 ;
33817 char *kwnames[] = {
33818 (char *) "self",(char *) "n", NULL
33819 };
33820
33821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
33822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33824 arg2 = (int) SWIG_AsInt(obj1);
33825 if (PyErr_Occurred()) SWIG_fail;
33826 {
33827 PyThreadState* __tstate = wxPyBeginAllowThreads();
33828 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33829
33830 wxPyEndAllowThreads(__tstate);
33831 if (PyErr_Occurred()) SWIG_fail;
33832 }
33833 {
33834#if wxUSE_UNICODE
33835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33836#else
33837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33838#endif
33839 }
33840 return resultobj;
33841 fail:
33842 return NULL;
33843}
33844
33845
33846static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
33847 PyObject *resultobj;
33848 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33849 wxArrayString result;
33850 PyObject * obj0 = 0 ;
33851 char *kwnames[] = {
33852 (char *) "self", NULL
33853 };
33854
33855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
33856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33858 {
33859 PyThreadState* __tstate = wxPyBeginAllowThreads();
33860 result = ((wxItemContainer const *)arg1)->GetStrings();
33861
33862 wxPyEndAllowThreads(__tstate);
33863 if (PyErr_Occurred()) SWIG_fail;
33864 }
33865 {
33866 resultobj = wxArrayString2PyList_helper(result);
33867 }
33868 return resultobj;
33869 fail:
33870 return NULL;
33871}
33872
33873
33874static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
33875 PyObject *resultobj;
33876 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33877 int arg2 ;
33878 wxString *arg3 = 0 ;
33879 bool temp3 = False ;
33880 PyObject * obj0 = 0 ;
33881 PyObject * obj1 = 0 ;
33882 PyObject * obj2 = 0 ;
33883 char *kwnames[] = {
33884 (char *) "self",(char *) "n",(char *) "s", NULL
33885 };
33886
33887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
33888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33890 arg2 = (int) SWIG_AsInt(obj1);
33891 if (PyErr_Occurred()) SWIG_fail;
33892 {
33893 arg3 = wxString_in_helper(obj2);
33894 if (arg3 == NULL) SWIG_fail;
33895 temp3 = True;
33896 }
33897 {
33898 PyThreadState* __tstate = wxPyBeginAllowThreads();
33899 (arg1)->SetString(arg2,(wxString const &)*arg3);
33900
33901 wxPyEndAllowThreads(__tstate);
33902 if (PyErr_Occurred()) SWIG_fail;
33903 }
33904 Py_INCREF(Py_None); resultobj = Py_None;
33905 {
33906 if (temp3)
33907 delete arg3;
33908 }
33909 return resultobj;
33910 fail:
33911 {
33912 if (temp3)
33913 delete arg3;
33914 }
33915 return NULL;
33916}
33917
33918
33919static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
33920 PyObject *resultobj;
33921 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33922 wxString *arg2 = 0 ;
33923 int result;
33924 bool temp2 = False ;
33925 PyObject * obj0 = 0 ;
33926 PyObject * obj1 = 0 ;
33927 char *kwnames[] = {
33928 (char *) "self",(char *) "s", NULL
33929 };
33930
33931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
33932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33934 {
33935 arg2 = wxString_in_helper(obj1);
33936 if (arg2 == NULL) SWIG_fail;
33937 temp2 = True;
33938 }
33939 {
33940 PyThreadState* __tstate = wxPyBeginAllowThreads();
33941 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33942
33943 wxPyEndAllowThreads(__tstate);
33944 if (PyErr_Occurred()) SWIG_fail;
33945 }
33946 resultobj = SWIG_FromInt((int)result);
33947 {
33948 if (temp2)
33949 delete arg2;
33950 }
33951 return resultobj;
33952 fail:
33953 {
33954 if (temp2)
33955 delete arg2;
33956 }
33957 return NULL;
33958}
33959
33960
33961static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
33962 PyObject *resultobj;
33963 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33964 int arg2 ;
33965 PyObject * obj0 = 0 ;
33966 PyObject * obj1 = 0 ;
33967 char *kwnames[] = {
33968 (char *) "self",(char *) "n", NULL
33969 };
33970
33971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
33972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33974 arg2 = (int) SWIG_AsInt(obj1);
33975 if (PyErr_Occurred()) SWIG_fail;
33976 {
33977 PyThreadState* __tstate = wxPyBeginAllowThreads();
33978 (arg1)->Select(arg2);
33979
33980 wxPyEndAllowThreads(__tstate);
33981 if (PyErr_Occurred()) SWIG_fail;
33982 }
33983 Py_INCREF(Py_None); resultobj = Py_None;
33984 return resultobj;
33985 fail:
33986 return NULL;
33987}
33988
33989
33990static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
33991 PyObject *resultobj;
33992 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33993 int result;
33994 PyObject * obj0 = 0 ;
33995 char *kwnames[] = {
33996 (char *) "self", NULL
33997 };
33998
33999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
34000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34002 {
34003 PyThreadState* __tstate = wxPyBeginAllowThreads();
34004 result = (int)((wxItemContainer const *)arg1)->GetSelection();
34005
34006 wxPyEndAllowThreads(__tstate);
34007 if (PyErr_Occurred()) SWIG_fail;
34008 }
34009 resultobj = SWIG_FromInt((int)result);
34010 return resultobj;
34011 fail:
34012 return NULL;
34013}
34014
34015
34016static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
34017 PyObject *resultobj;
34018 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34019 wxString result;
34020 PyObject * obj0 = 0 ;
34021 char *kwnames[] = {
34022 (char *) "self", NULL
34023 };
34024
34025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
34026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34028 {
34029 PyThreadState* __tstate = wxPyBeginAllowThreads();
34030 result = ((wxItemContainer const *)arg1)->GetStringSelection();
34031
34032 wxPyEndAllowThreads(__tstate);
34033 if (PyErr_Occurred()) SWIG_fail;
34034 }
34035 {
34036#if wxUSE_UNICODE
34037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34038#else
34039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34040#endif
34041 }
34042 return resultobj;
34043 fail:
34044 return NULL;
34045}
34046
34047
34048static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
34049 PyObject *resultobj;
34050 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34051 int arg2 ;
34052 PyObject *result;
34053 PyObject * obj0 = 0 ;
34054 PyObject * obj1 = 0 ;
34055 char *kwnames[] = {
34056 (char *) "self",(char *) "n", NULL
34057 };
34058
34059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
34060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34062 arg2 = (int) SWIG_AsInt(obj1);
34063 if (PyErr_Occurred()) SWIG_fail;
34064 {
34065 PyThreadState* __tstate = wxPyBeginAllowThreads();
34066 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
34067
34068 wxPyEndAllowThreads(__tstate);
34069 if (PyErr_Occurred()) SWIG_fail;
34070 }
34071 resultobj = result;
34072 return resultobj;
34073 fail:
34074 return NULL;
34075}
34076
34077
34078static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
34079 PyObject *resultobj;
34080 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34081 int arg2 ;
34082 PyObject *arg3 = (PyObject *) 0 ;
34083 PyObject * obj0 = 0 ;
34084 PyObject * obj1 = 0 ;
34085 PyObject * obj2 = 0 ;
34086 char *kwnames[] = {
34087 (char *) "self",(char *) "n",(char *) "clientData", NULL
34088 };
34089
34090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
34091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34093 arg2 = (int) SWIG_AsInt(obj1);
34094 if (PyErr_Occurred()) SWIG_fail;
34095 arg3 = obj2;
34096 {
34097 PyThreadState* __tstate = wxPyBeginAllowThreads();
34098 wxItemContainer_SetClientData(arg1,arg2,arg3);
34099
34100 wxPyEndAllowThreads(__tstate);
34101 if (PyErr_Occurred()) SWIG_fail;
34102 }
34103 Py_INCREF(Py_None); resultobj = Py_None;
34104 return resultobj;
34105 fail:
34106 return NULL;
34107}
34108
34109
34110static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
34111 PyObject *obj;
34112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34113 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
34114 Py_INCREF(obj);
34115 return Py_BuildValue((char *)"");
34116}
34117static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
34118 PyObject *obj;
34119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34120 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
34121 Py_INCREF(obj);
34122 return Py_BuildValue((char *)"");
34123}
34124static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34125 PyObject *resultobj;
34126 wxSizerItem *result;
34127 char *kwnames[] = {
34128 NULL
34129 };
34130
34131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
34132 {
34133 PyThreadState* __tstate = wxPyBeginAllowThreads();
34134 result = (wxSizerItem *)new wxSizerItem();
34135
34136 wxPyEndAllowThreads(__tstate);
34137 if (PyErr_Occurred()) SWIG_fail;
34138 }
34139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
34140 return resultobj;
34141 fail:
34142 return NULL;
34143}
34144
34145
34146static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34147 PyObject *resultobj;
34148 int arg1 ;
34149 int arg2 ;
34150 int arg3 ;
34151 int arg4 ;
34152 int arg5 ;
34153 wxObject *arg6 = (wxObject *) 0 ;
34154 wxSizerItem *result;
34155 PyObject * obj0 = 0 ;
34156 PyObject * obj1 = 0 ;
34157 PyObject * obj2 = 0 ;
34158 PyObject * obj3 = 0 ;
34159 PyObject * obj4 = 0 ;
34160 PyObject * obj5 = 0 ;
34161 char *kwnames[] = {
34162 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34163 };
34164
34165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
34166 arg1 = (int) SWIG_AsInt(obj0);
34167 if (PyErr_Occurred()) SWIG_fail;
34168 arg2 = (int) SWIG_AsInt(obj1);
34169 if (PyErr_Occurred()) SWIG_fail;
34170 arg3 = (int) SWIG_AsInt(obj2);
34171 if (PyErr_Occurred()) SWIG_fail;
34172 arg4 = (int) SWIG_AsInt(obj3);
34173 if (PyErr_Occurred()) SWIG_fail;
34174 arg5 = (int) SWIG_AsInt(obj4);
34175 if (PyErr_Occurred()) SWIG_fail;
34176 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
34177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34178 {
34179 PyThreadState* __tstate = wxPyBeginAllowThreads();
34180 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
34181
34182 wxPyEndAllowThreads(__tstate);
34183 if (PyErr_Occurred()) SWIG_fail;
34184 }
34185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
34186 return resultobj;
34187 fail:
34188 return NULL;
34189}
34190
34191
34192static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34193 PyObject *resultobj;
34194 wxWindow *arg1 = (wxWindow *) 0 ;
34195 int arg2 ;
34196 int arg3 ;
34197 int arg4 ;
34198 wxObject *arg5 = (wxObject *) 0 ;
34199 wxSizerItem *result;
34200 PyObject * obj0 = 0 ;
34201 PyObject * obj1 = 0 ;
34202 PyObject * obj2 = 0 ;
34203 PyObject * obj3 = 0 ;
34204 PyObject * obj4 = 0 ;
34205 char *kwnames[] = {
34206 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34207 };
34208
34209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
34211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34212 arg2 = (int) SWIG_AsInt(obj1);
34213 if (PyErr_Occurred()) SWIG_fail;
34214 arg3 = (int) SWIG_AsInt(obj2);
34215 if (PyErr_Occurred()) SWIG_fail;
34216 arg4 = (int) SWIG_AsInt(obj3);
34217 if (PyErr_Occurred()) SWIG_fail;
34218 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
34219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34220 {
34221 PyThreadState* __tstate = wxPyBeginAllowThreads();
34222 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
34223
34224 wxPyEndAllowThreads(__tstate);
34225 if (PyErr_Occurred()) SWIG_fail;
34226 }
34227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
34228 return resultobj;
34229 fail:
34230 return NULL;
34231}
34232
34233
34234static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34235 PyObject *resultobj;
34236 wxSizer *arg1 = (wxSizer *) 0 ;
34237 int arg2 ;
34238 int arg3 ;
34239 int arg4 ;
34240 wxObject *arg5 = (wxObject *) 0 ;
34241 wxSizerItem *result;
34242 PyObject * obj0 = 0 ;
34243 PyObject * obj1 = 0 ;
34244 PyObject * obj2 = 0 ;
34245 PyObject * obj3 = 0 ;
34246 PyObject * obj4 = 0 ;
34247 char *kwnames[] = {
34248 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34249 };
34250
34251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34254 arg2 = (int) SWIG_AsInt(obj1);
34255 if (PyErr_Occurred()) SWIG_fail;
34256 arg3 = (int) SWIG_AsInt(obj2);
34257 if (PyErr_Occurred()) SWIG_fail;
34258 arg4 = (int) SWIG_AsInt(obj3);
34259 if (PyErr_Occurred()) SWIG_fail;
34260 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
34261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34262 {
34263 PyThreadState* __tstate = wxPyBeginAllowThreads();
34264 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
34265
34266 wxPyEndAllowThreads(__tstate);
34267 if (PyErr_Occurred()) SWIG_fail;
34268 }
34269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
34270 return resultobj;
34271 fail:
34272 return NULL;
34273}
34274
34275
34276static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
34277 PyObject *resultobj;
34278 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34279 PyObject * obj0 = 0 ;
34280 char *kwnames[] = {
34281 (char *) "self", NULL
34282 };
34283
34284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
34285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34287 {
34288 PyThreadState* __tstate = wxPyBeginAllowThreads();
34289 (arg1)->DeleteWindows();
34290
34291 wxPyEndAllowThreads(__tstate);
34292 if (PyErr_Occurred()) SWIG_fail;
34293 }
34294 Py_INCREF(Py_None); resultobj = Py_None;
34295 return resultobj;
34296 fail:
34297 return NULL;
34298}
34299
34300
34301static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34302 PyObject *resultobj;
34303 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34304 PyObject * obj0 = 0 ;
34305 char *kwnames[] = {
34306 (char *) "self", NULL
34307 };
34308
34309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
34310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34312 {
34313 PyThreadState* __tstate = wxPyBeginAllowThreads();
34314 (arg1)->DetachSizer();
34315
34316 wxPyEndAllowThreads(__tstate);
34317 if (PyErr_Occurred()) SWIG_fail;
34318 }
34319 Py_INCREF(Py_None); resultobj = Py_None;
34320 return resultobj;
34321 fail:
34322 return NULL;
34323}
34324
34325
34326static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34327 PyObject *resultobj;
34328 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34329 wxSize result;
34330 PyObject * obj0 = 0 ;
34331 char *kwnames[] = {
34332 (char *) "self", NULL
34333 };
34334
34335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
34336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34338 {
34339 PyThreadState* __tstate = wxPyBeginAllowThreads();
34340 result = (arg1)->GetSize();
34341
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
34345 {
34346 wxSize * resultptr;
34347 resultptr = new wxSize((wxSize &) result);
34348 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34349 }
34350 return resultobj;
34351 fail:
34352 return NULL;
34353}
34354
34355
34356static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34357 PyObject *resultobj;
34358 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34359 wxSize result;
34360 PyObject * obj0 = 0 ;
34361 char *kwnames[] = {
34362 (char *) "self", NULL
34363 };
34364
34365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
34366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34368 {
34369 PyThreadState* __tstate = wxPyBeginAllowThreads();
34370 result = (arg1)->CalcMin();
34371
34372 wxPyEndAllowThreads(__tstate);
34373 if (PyErr_Occurred()) SWIG_fail;
34374 }
34375 {
34376 wxSize * resultptr;
34377 resultptr = new wxSize((wxSize &) result);
34378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34379 }
34380 return resultobj;
34381 fail:
34382 return NULL;
34383}
34384
34385
34386static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34387 PyObject *resultobj;
34388 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34389 wxPoint arg2 ;
34390 wxSize arg3 ;
34391 wxPoint *argp2 ;
34392 wxSize *argp3 ;
34393 PyObject * obj0 = 0 ;
34394 PyObject * obj1 = 0 ;
34395 PyObject * obj2 = 0 ;
34396 char *kwnames[] = {
34397 (char *) "self",(char *) "pos",(char *) "size", NULL
34398 };
34399
34400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
34401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34403 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
34404 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34405 arg2 = *argp2;
34406 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
34407 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34408 arg3 = *argp3;
34409 {
34410 PyThreadState* __tstate = wxPyBeginAllowThreads();
34411 (arg1)->SetDimension(arg2,arg3);
34412
34413 wxPyEndAllowThreads(__tstate);
34414 if (PyErr_Occurred()) SWIG_fail;
34415 }
34416 Py_INCREF(Py_None); resultobj = Py_None;
34417 return resultobj;
34418 fail:
34419 return NULL;
34420}
34421
34422
34423static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34424 PyObject *resultobj;
34425 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34426 wxSize result;
34427 PyObject * obj0 = 0 ;
34428 char *kwnames[] = {
34429 (char *) "self", NULL
34430 };
34431
34432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
34433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34435 {
34436 PyThreadState* __tstate = wxPyBeginAllowThreads();
34437 result = (arg1)->GetMinSize();
34438
34439 wxPyEndAllowThreads(__tstate);
34440 if (PyErr_Occurred()) SWIG_fail;
34441 }
34442 {
34443 wxSize * resultptr;
34444 resultptr = new wxSize((wxSize &) result);
34445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34446 }
34447 return resultobj;
34448 fail:
34449 return NULL;
34450}
34451
34452
34453static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34454 PyObject *resultobj;
34455 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34456 int arg2 ;
34457 int arg3 ;
34458 PyObject * obj0 = 0 ;
34459 PyObject * obj1 = 0 ;
34460 PyObject * obj2 = 0 ;
34461 char *kwnames[] = {
34462 (char *) "self",(char *) "x",(char *) "y", NULL
34463 };
34464
34465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
34466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34468 arg2 = (int) SWIG_AsInt(obj1);
34469 if (PyErr_Occurred()) SWIG_fail;
34470 arg3 = (int) SWIG_AsInt(obj2);
34471 if (PyErr_Occurred()) SWIG_fail;
34472 {
34473 PyThreadState* __tstate = wxPyBeginAllowThreads();
34474 (arg1)->SetInitSize(arg2,arg3);
34475
34476 wxPyEndAllowThreads(__tstate);
34477 if (PyErr_Occurred()) SWIG_fail;
34478 }
34479 Py_INCREF(Py_None); resultobj = Py_None;
34480 return resultobj;
34481 fail:
34482 return NULL;
34483}
34484
34485
34486static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
34487 PyObject *resultobj;
34488 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34489 int arg2 ;
34490 int arg3 ;
34491 PyObject * obj0 = 0 ;
34492 PyObject * obj1 = 0 ;
34493 PyObject * obj2 = 0 ;
34494 char *kwnames[] = {
34495 (char *) "self",(char *) "width",(char *) "height", NULL
34496 };
34497
34498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
34499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34501 arg2 = (int) SWIG_AsInt(obj1);
34502 if (PyErr_Occurred()) SWIG_fail;
34503 arg3 = (int) SWIG_AsInt(obj2);
34504 if (PyErr_Occurred()) SWIG_fail;
34505 {
34506 PyThreadState* __tstate = wxPyBeginAllowThreads();
34507 (arg1)->SetRatio(arg2,arg3);
34508
34509 wxPyEndAllowThreads(__tstate);
34510 if (PyErr_Occurred()) SWIG_fail;
34511 }
34512 Py_INCREF(Py_None); resultobj = Py_None;
34513 return resultobj;
34514 fail:
34515 return NULL;
34516}
34517
34518
34519static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34520 PyObject *resultobj;
34521 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34522 wxSize arg2 ;
34523 wxSize *argp2 ;
34524 PyObject * obj0 = 0 ;
34525 PyObject * obj1 = 0 ;
34526 char *kwnames[] = {
34527 (char *) "self",(char *) "size", NULL
34528 };
34529
34530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
34531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34533 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34534 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34535 arg2 = *argp2;
34536 {
34537 PyThreadState* __tstate = wxPyBeginAllowThreads();
34538 (arg1)->SetRatio(arg2);
34539
34540 wxPyEndAllowThreads(__tstate);
34541 if (PyErr_Occurred()) SWIG_fail;
34542 }
34543 Py_INCREF(Py_None); resultobj = Py_None;
34544 return resultobj;
34545 fail:
34546 return NULL;
34547}
34548
34549
34550static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34551 PyObject *resultobj;
34552 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34553 float arg2 ;
34554 PyObject * obj0 = 0 ;
34555 PyObject * obj1 = 0 ;
34556 char *kwnames[] = {
34557 (char *) "self",(char *) "ratio", NULL
34558 };
34559
34560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
34561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34563 arg2 = (float) SWIG_AsFloat(obj1);
34564 if (PyErr_Occurred()) SWIG_fail;
34565 {
34566 PyThreadState* __tstate = wxPyBeginAllowThreads();
34567 (arg1)->SetRatio(arg2);
34568
34569 wxPyEndAllowThreads(__tstate);
34570 if (PyErr_Occurred()) SWIG_fail;
34571 }
34572 Py_INCREF(Py_None); resultobj = Py_None;
34573 return resultobj;
34574 fail:
34575 return NULL;
34576}
34577
34578
34579static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
34580 PyObject *resultobj;
34581 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34582 float result;
34583 PyObject * obj0 = 0 ;
34584 char *kwnames[] = {
34585 (char *) "self", NULL
34586 };
34587
34588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
34589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34591 {
34592 PyThreadState* __tstate = wxPyBeginAllowThreads();
34593 result = (float)(arg1)->GetRatio();
34594
34595 wxPyEndAllowThreads(__tstate);
34596 if (PyErr_Occurred()) SWIG_fail;
34597 }
34598 resultobj = SWIG_FromFloat((float)result);
34599 return resultobj;
34600 fail:
34601 return NULL;
34602}
34603
34604
34605static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34606 PyObject *resultobj;
34607 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34608 bool result;
34609 PyObject * obj0 = 0 ;
34610 char *kwnames[] = {
34611 (char *) "self", NULL
34612 };
34613
34614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
34615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34617 {
34618 PyThreadState* __tstate = wxPyBeginAllowThreads();
34619 result = (bool)(arg1)->IsWindow();
34620
34621 wxPyEndAllowThreads(__tstate);
34622 if (PyErr_Occurred()) SWIG_fail;
34623 }
34624 {
34625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34626 }
34627 return resultobj;
34628 fail:
34629 return NULL;
34630}
34631
34632
34633static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34634 PyObject *resultobj;
34635 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34636 bool result;
34637 PyObject * obj0 = 0 ;
34638 char *kwnames[] = {
34639 (char *) "self", NULL
34640 };
34641
34642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
34643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34645 {
34646 PyThreadState* __tstate = wxPyBeginAllowThreads();
34647 result = (bool)(arg1)->IsSizer();
34648
34649 wxPyEndAllowThreads(__tstate);
34650 if (PyErr_Occurred()) SWIG_fail;
34651 }
34652 {
34653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34654 }
34655 return resultobj;
34656 fail:
34657 return NULL;
34658}
34659
34660
34661static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34662 PyObject *resultobj;
34663 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34664 bool result;
34665 PyObject * obj0 = 0 ;
34666 char *kwnames[] = {
34667 (char *) "self", NULL
34668 };
34669
34670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
34671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34673 {
34674 PyThreadState* __tstate = wxPyBeginAllowThreads();
34675 result = (bool)(arg1)->IsSpacer();
34676
34677 wxPyEndAllowThreads(__tstate);
34678 if (PyErr_Occurred()) SWIG_fail;
34679 }
34680 {
34681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34682 }
34683 return resultobj;
34684 fail:
34685 return NULL;
34686}
34687
34688
34689static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34690 PyObject *resultobj;
34691 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34692 int arg2 ;
34693 PyObject * obj0 = 0 ;
34694 PyObject * obj1 = 0 ;
34695 char *kwnames[] = {
34696 (char *) "self",(char *) "proportion", NULL
34697 };
34698
34699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
34700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34702 arg2 = (int) SWIG_AsInt(obj1);
34703 if (PyErr_Occurred()) SWIG_fail;
34704 {
34705 PyThreadState* __tstate = wxPyBeginAllowThreads();
34706 (arg1)->SetProportion(arg2);
34707
34708 wxPyEndAllowThreads(__tstate);
34709 if (PyErr_Occurred()) SWIG_fail;
34710 }
34711 Py_INCREF(Py_None); resultobj = Py_None;
34712 return resultobj;
34713 fail:
34714 return NULL;
34715}
34716
34717
34718static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
34719 PyObject *resultobj;
34720 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34721 int result;
34722 PyObject * obj0 = 0 ;
34723 char *kwnames[] = {
34724 (char *) "self", NULL
34725 };
34726
34727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
34728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34730 {
34731 PyThreadState* __tstate = wxPyBeginAllowThreads();
34732 result = (int)(arg1)->GetProportion();
34733
34734 wxPyEndAllowThreads(__tstate);
34735 if (PyErr_Occurred()) SWIG_fail;
34736 }
34737 resultobj = SWIG_FromInt((int)result);
34738 return resultobj;
34739 fail:
34740 return NULL;
34741}
34742
34743
34744static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34745 PyObject *resultobj;
34746 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34747 int arg2 ;
34748 PyObject * obj0 = 0 ;
34749 PyObject * obj1 = 0 ;
34750 char *kwnames[] = {
34751 (char *) "self",(char *) "flag", NULL
34752 };
34753
34754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
34755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34757 arg2 = (int) SWIG_AsInt(obj1);
34758 if (PyErr_Occurred()) SWIG_fail;
34759 {
34760 PyThreadState* __tstate = wxPyBeginAllowThreads();
34761 (arg1)->SetFlag(arg2);
34762
34763 wxPyEndAllowThreads(__tstate);
34764 if (PyErr_Occurred()) SWIG_fail;
34765 }
34766 Py_INCREF(Py_None); resultobj = Py_None;
34767 return resultobj;
34768 fail:
34769 return NULL;
34770}
34771
34772
34773static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
34774 PyObject *resultobj;
34775 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34776 int result;
34777 PyObject * obj0 = 0 ;
34778 char *kwnames[] = {
34779 (char *) "self", NULL
34780 };
34781
34782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
34783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34785 {
34786 PyThreadState* __tstate = wxPyBeginAllowThreads();
34787 result = (int)(arg1)->GetFlag();
34788
34789 wxPyEndAllowThreads(__tstate);
34790 if (PyErr_Occurred()) SWIG_fail;
34791 }
34792 resultobj = SWIG_FromInt((int)result);
34793 return resultobj;
34794 fail:
34795 return NULL;
34796}
34797
34798
34799static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34800 PyObject *resultobj;
34801 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34802 int arg2 ;
34803 PyObject * obj0 = 0 ;
34804 PyObject * obj1 = 0 ;
34805 char *kwnames[] = {
34806 (char *) "self",(char *) "border", NULL
34807 };
34808
34809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
34810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34812 arg2 = (int) SWIG_AsInt(obj1);
34813 if (PyErr_Occurred()) SWIG_fail;
34814 {
34815 PyThreadState* __tstate = wxPyBeginAllowThreads();
34816 (arg1)->SetBorder(arg2);
34817
34818 wxPyEndAllowThreads(__tstate);
34819 if (PyErr_Occurred()) SWIG_fail;
34820 }
34821 Py_INCREF(Py_None); resultobj = Py_None;
34822 return resultobj;
34823 fail:
34824 return NULL;
34825}
34826
34827
34828static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
34829 PyObject *resultobj;
34830 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34831 int result;
34832 PyObject * obj0 = 0 ;
34833 char *kwnames[] = {
34834 (char *) "self", NULL
34835 };
34836
34837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
34838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34840 {
34841 PyThreadState* __tstate = wxPyBeginAllowThreads();
34842 result = (int)(arg1)->GetBorder();
34843
34844 wxPyEndAllowThreads(__tstate);
34845 if (PyErr_Occurred()) SWIG_fail;
34846 }
34847 resultobj = SWIG_FromInt((int)result);
34848 return resultobj;
34849 fail:
34850 return NULL;
34851}
34852
34853
34854static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34855 PyObject *resultobj;
34856 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34857 wxWindow *result;
34858 PyObject * obj0 = 0 ;
34859 char *kwnames[] = {
34860 (char *) "self", NULL
34861 };
34862
34863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
34864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34866 {
34867 PyThreadState* __tstate = wxPyBeginAllowThreads();
34868 result = (wxWindow *)(arg1)->GetWindow();
34869
34870 wxPyEndAllowThreads(__tstate);
34871 if (PyErr_Occurred()) SWIG_fail;
34872 }
34873 {
34874 resultobj = wxPyMake_wxObject(result);
34875 }
34876 return resultobj;
34877 fail:
34878 return NULL;
34879}
34880
34881
34882static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
34883 PyObject *resultobj;
34884 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34885 wxWindow *arg2 = (wxWindow *) 0 ;
34886 PyObject * obj0 = 0 ;
34887 PyObject * obj1 = 0 ;
34888 char *kwnames[] = {
34889 (char *) "self",(char *) "window", NULL
34890 };
34891
34892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
34893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34897 {
34898 PyThreadState* __tstate = wxPyBeginAllowThreads();
34899 (arg1)->SetWindow(arg2);
34900
34901 wxPyEndAllowThreads(__tstate);
34902 if (PyErr_Occurred()) SWIG_fail;
34903 }
34904 Py_INCREF(Py_None); resultobj = Py_None;
34905 return resultobj;
34906 fail:
34907 return NULL;
34908}
34909
34910
34911static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34912 PyObject *resultobj;
34913 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34914 wxSizer *result;
34915 PyObject * obj0 = 0 ;
34916 char *kwnames[] = {
34917 (char *) "self", NULL
34918 };
34919
34920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
34921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34923 {
34924 PyThreadState* __tstate = wxPyBeginAllowThreads();
34925 result = (wxSizer *)(arg1)->GetSizer();
34926
34927 wxPyEndAllowThreads(__tstate);
34928 if (PyErr_Occurred()) SWIG_fail;
34929 }
34930 {
34931 resultobj = wxPyMake_wxSizer(result);
34932 }
34933 return resultobj;
34934 fail:
34935 return NULL;
34936}
34937
34938
34939static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34940 PyObject *resultobj;
34941 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34942 wxSizer *arg2 = (wxSizer *) 0 ;
34943 PyObject * obj0 = 0 ;
34944 PyObject * obj1 = 0 ;
34945 char *kwnames[] = {
34946 (char *) "self",(char *) "sizer", NULL
34947 };
34948
34949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
34950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34954 {
34955 PyThreadState* __tstate = wxPyBeginAllowThreads();
34956 (arg1)->SetSizer(arg2);
34957
34958 wxPyEndAllowThreads(__tstate);
34959 if (PyErr_Occurred()) SWIG_fail;
34960 }
34961 Py_INCREF(Py_None); resultobj = Py_None;
34962 return resultobj;
34963 fail:
34964 return NULL;
34965}
34966
34967
34968static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34969 PyObject *resultobj;
34970 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34971 wxSize *result;
34972 PyObject * obj0 = 0 ;
34973 char *kwnames[] = {
34974 (char *) "self", NULL
34975 };
34976
34977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
34978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34980 {
34981 PyThreadState* __tstate = wxPyBeginAllowThreads();
34982 {
34983 wxSize const &_result_ref = (arg1)->GetSpacer();
34984 result = (wxSize *) &_result_ref;
34985 }
34986
34987 wxPyEndAllowThreads(__tstate);
34988 if (PyErr_Occurred()) SWIG_fail;
34989 }
34990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
34991 return resultobj;
34992 fail:
34993 return NULL;
34994}
34995
34996
34997static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
34998 PyObject *resultobj;
34999 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35000 wxSize *arg2 = 0 ;
35001 wxSize temp2 ;
35002 PyObject * obj0 = 0 ;
35003 PyObject * obj1 = 0 ;
35004 char *kwnames[] = {
35005 (char *) "self",(char *) "size", NULL
35006 };
35007
35008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
35009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35011 {
35012 arg2 = &temp2;
35013 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35014 }
35015 {
35016 PyThreadState* __tstate = wxPyBeginAllowThreads();
35017 (arg1)->SetSpacer((wxSize const &)*arg2);
35018
35019 wxPyEndAllowThreads(__tstate);
35020 if (PyErr_Occurred()) SWIG_fail;
35021 }
35022 Py_INCREF(Py_None); resultobj = Py_None;
35023 return resultobj;
35024 fail:
35025 return NULL;
35026}
35027
35028
35029static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35030 PyObject *resultobj;
35031 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35032 bool arg2 ;
35033 PyObject * obj0 = 0 ;
35034 PyObject * obj1 = 0 ;
35035 char *kwnames[] = {
35036 (char *) "self",(char *) "show", NULL
35037 };
35038
35039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
35040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35042 arg2 = (bool) SWIG_AsBool(obj1);
35043 if (PyErr_Occurred()) SWIG_fail;
35044 {
35045 PyThreadState* __tstate = wxPyBeginAllowThreads();
35046 (arg1)->Show(arg2);
35047
35048 wxPyEndAllowThreads(__tstate);
35049 if (PyErr_Occurred()) SWIG_fail;
35050 }
35051 Py_INCREF(Py_None); resultobj = Py_None;
35052 return resultobj;
35053 fail:
35054 return NULL;
35055}
35056
35057
35058static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
35059 PyObject *resultobj;
35060 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35061 bool result;
35062 PyObject * obj0 = 0 ;
35063 char *kwnames[] = {
35064 (char *) "self", NULL
35065 };
35066
35067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
35068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35070 {
35071 PyThreadState* __tstate = wxPyBeginAllowThreads();
35072 result = (bool)(arg1)->IsShown();
35073
35074 wxPyEndAllowThreads(__tstate);
35075 if (PyErr_Occurred()) SWIG_fail;
35076 }
35077 {
35078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35079 }
35080 return resultobj;
35081 fail:
35082 return NULL;
35083}
35084
35085
35086static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35087 PyObject *resultobj;
35088 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35089 wxPoint result;
35090 PyObject * obj0 = 0 ;
35091 char *kwnames[] = {
35092 (char *) "self", NULL
35093 };
35094
35095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
35096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35098 {
35099 PyThreadState* __tstate = wxPyBeginAllowThreads();
35100 result = (arg1)->GetPosition();
35101
35102 wxPyEndAllowThreads(__tstate);
35103 if (PyErr_Occurred()) SWIG_fail;
35104 }
35105 {
35106 wxPoint * resultptr;
35107 resultptr = new wxPoint((wxPoint &) result);
35108 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
35109 }
35110 return resultobj;
35111 fail:
35112 return NULL;
35113}
35114
35115
35116static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
35117 PyObject *resultobj;
35118 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35119 PyObject *result;
35120 PyObject * obj0 = 0 ;
35121 char *kwnames[] = {
35122 (char *) "self", NULL
35123 };
35124
35125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
35126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35128 {
35129 PyThreadState* __tstate = wxPyBeginAllowThreads();
35130 result = (PyObject *)wxSizerItem_GetUserData(arg1);
35131
35132 wxPyEndAllowThreads(__tstate);
35133 if (PyErr_Occurred()) SWIG_fail;
35134 }
35135 resultobj = result;
35136 return resultobj;
35137 fail:
35138 return NULL;
35139}
35140
35141
35142static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
35143 PyObject *obj;
35144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35145 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
35146 Py_INCREF(obj);
35147 return Py_BuildValue((char *)"");
35148}
35149static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
35150 PyObject *resultobj;
35151 wxSizer *arg1 = (wxSizer *) 0 ;
35152 PyObject *arg2 = (PyObject *) 0 ;
35153 PyObject * obj0 = 0 ;
35154 PyObject * obj1 = 0 ;
35155 char *kwnames[] = {
35156 (char *) "self",(char *) "_self", NULL
35157 };
35158
35159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
35160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35162 arg2 = obj1;
35163 {
35164 PyThreadState* __tstate = wxPyBeginAllowThreads();
35165 wxSizer__setOORInfo(arg1,arg2);
35166
35167 wxPyEndAllowThreads(__tstate);
35168 if (PyErr_Occurred()) SWIG_fail;
35169 }
35170 Py_INCREF(Py_None); resultobj = Py_None;
35171 return resultobj;
35172 fail:
35173 return NULL;
35174}
35175
35176
35177static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
35178 PyObject *resultobj;
35179 wxSizer *arg1 = (wxSizer *) 0 ;
35180 PyObject *arg2 = (PyObject *) 0 ;
35181 int arg3 = (int) 0 ;
35182 int arg4 = (int) 0 ;
35183 int arg5 = (int) 0 ;
35184 PyObject *arg6 = (PyObject *) NULL ;
35185 PyObject * obj0 = 0 ;
35186 PyObject * obj1 = 0 ;
35187 PyObject * obj2 = 0 ;
35188 PyObject * obj3 = 0 ;
35189 PyObject * obj4 = 0 ;
35190 PyObject * obj5 = 0 ;
35191 char *kwnames[] = {
35192 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35193 };
35194
35195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
35196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35198 arg2 = obj1;
35199 if (obj2) {
35200 arg3 = (int) SWIG_AsInt(obj2);
35201 if (PyErr_Occurred()) SWIG_fail;
35202 }
35203 if (obj3) {
35204 arg4 = (int) SWIG_AsInt(obj3);
35205 if (PyErr_Occurred()) SWIG_fail;
35206 }
35207 if (obj4) {
35208 arg5 = (int) SWIG_AsInt(obj4);
35209 if (PyErr_Occurred()) SWIG_fail;
35210 }
35211 if (obj5) {
35212 arg6 = obj5;
35213 }
35214 {
35215 PyThreadState* __tstate = wxPyBeginAllowThreads();
35216 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
35217
35218 wxPyEndAllowThreads(__tstate);
35219 if (PyErr_Occurred()) SWIG_fail;
35220 }
35221 Py_INCREF(Py_None); resultobj = Py_None;
35222 return resultobj;
35223 fail:
35224 return NULL;
35225}
35226
35227
35228static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
35229 PyObject *resultobj;
35230 wxSizer *arg1 = (wxSizer *) 0 ;
35231 int arg2 ;
35232 PyObject *arg3 = (PyObject *) 0 ;
35233 int arg4 = (int) 0 ;
35234 int arg5 = (int) 0 ;
35235 int arg6 = (int) 0 ;
35236 PyObject *arg7 = (PyObject *) NULL ;
35237 PyObject * obj0 = 0 ;
35238 PyObject * obj1 = 0 ;
35239 PyObject * obj2 = 0 ;
35240 PyObject * obj3 = 0 ;
35241 PyObject * obj4 = 0 ;
35242 PyObject * obj5 = 0 ;
35243 PyObject * obj6 = 0 ;
35244 char *kwnames[] = {
35245 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35246 };
35247
35248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
35249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35251 arg2 = (int) SWIG_AsInt(obj1);
35252 if (PyErr_Occurred()) SWIG_fail;
35253 arg3 = obj2;
35254 if (obj3) {
35255 arg4 = (int) SWIG_AsInt(obj3);
35256 if (PyErr_Occurred()) SWIG_fail;
35257 }
35258 if (obj4) {
35259 arg5 = (int) SWIG_AsInt(obj4);
35260 if (PyErr_Occurred()) SWIG_fail;
35261 }
35262 if (obj5) {
35263 arg6 = (int) SWIG_AsInt(obj5);
35264 if (PyErr_Occurred()) SWIG_fail;
35265 }
35266 if (obj6) {
35267 arg7 = obj6;
35268 }
35269 {
35270 PyThreadState* __tstate = wxPyBeginAllowThreads();
35271 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
35272
35273 wxPyEndAllowThreads(__tstate);
35274 if (PyErr_Occurred()) SWIG_fail;
35275 }
35276 Py_INCREF(Py_None); resultobj = Py_None;
35277 return resultobj;
35278 fail:
35279 return NULL;
35280}
35281
35282
35283static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
35284 PyObject *resultobj;
35285 wxSizer *arg1 = (wxSizer *) 0 ;
35286 PyObject *arg2 = (PyObject *) 0 ;
35287 int arg3 = (int) 0 ;
35288 int arg4 = (int) 0 ;
35289 int arg5 = (int) 0 ;
35290 PyObject *arg6 = (PyObject *) NULL ;
35291 PyObject * obj0 = 0 ;
35292 PyObject * obj1 = 0 ;
35293 PyObject * obj2 = 0 ;
35294 PyObject * obj3 = 0 ;
35295 PyObject * obj4 = 0 ;
35296 PyObject * obj5 = 0 ;
35297 char *kwnames[] = {
35298 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35299 };
35300
35301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
35302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35304 arg2 = obj1;
35305 if (obj2) {
35306 arg3 = (int) SWIG_AsInt(obj2);
35307 if (PyErr_Occurred()) SWIG_fail;
35308 }
35309 if (obj3) {
35310 arg4 = (int) SWIG_AsInt(obj3);
35311 if (PyErr_Occurred()) SWIG_fail;
35312 }
35313 if (obj4) {
35314 arg5 = (int) SWIG_AsInt(obj4);
35315 if (PyErr_Occurred()) SWIG_fail;
35316 }
35317 if (obj5) {
35318 arg6 = obj5;
35319 }
35320 {
35321 PyThreadState* __tstate = wxPyBeginAllowThreads();
35322 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
35323
35324 wxPyEndAllowThreads(__tstate);
35325 if (PyErr_Occurred()) SWIG_fail;
35326 }
35327 Py_INCREF(Py_None); resultobj = Py_None;
35328 return resultobj;
35329 fail:
35330 return NULL;
35331}
35332
35333
35334static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
35335 PyObject *resultobj;
35336 wxSizer *arg1 = (wxSizer *) 0 ;
35337 PyObject *arg2 = (PyObject *) 0 ;
35338 bool result;
35339 PyObject * obj0 = 0 ;
35340 PyObject * obj1 = 0 ;
35341 char *kwnames[] = {
35342 (char *) "self",(char *) "item", NULL
35343 };
35344
35345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
35346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35348 arg2 = obj1;
35349 {
35350 PyThreadState* __tstate = wxPyBeginAllowThreads();
35351 result = (bool)wxSizer_Remove(arg1,arg2);
35352
35353 wxPyEndAllowThreads(__tstate);
35354 if (PyErr_Occurred()) SWIG_fail;
35355 }
35356 {
35357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35358 }
35359 return resultobj;
35360 fail:
35361 return NULL;
35362}
35363
35364
35365static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35366 PyObject *resultobj;
35367 wxSizer *arg1 = (wxSizer *) 0 ;
35368 PyObject *arg2 = (PyObject *) 0 ;
35369 wxSize *arg3 = 0 ;
35370 wxSize temp3 ;
35371 PyObject * obj0 = 0 ;
35372 PyObject * obj1 = 0 ;
35373 PyObject * obj2 = 0 ;
35374 char *kwnames[] = {
35375 (char *) "self",(char *) "item",(char *) "size", NULL
35376 };
35377
35378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
35379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35381 arg2 = obj1;
35382 {
35383 arg3 = &temp3;
35384 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35385 }
35386 {
35387 PyThreadState* __tstate = wxPyBeginAllowThreads();
35388 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
35389
35390 wxPyEndAllowThreads(__tstate);
35391 if (PyErr_Occurred()) SWIG_fail;
35392 }
35393 Py_INCREF(Py_None); resultobj = Py_None;
35394 return resultobj;
35395 fail:
35396 return NULL;
35397}
35398
35399
35400static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35401 PyObject *resultobj;
35402 wxSizer *arg1 = (wxSizer *) 0 ;
35403 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35404 PyObject * obj0 = 0 ;
35405 PyObject * obj1 = 0 ;
35406 char *kwnames[] = {
35407 (char *) "self",(char *) "item", NULL
35408 };
35409
35410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
35411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35415 {
35416 PyThreadState* __tstate = wxPyBeginAllowThreads();
35417 (arg1)->Add(arg2);
35418
35419 wxPyEndAllowThreads(__tstate);
35420 if (PyErr_Occurred()) SWIG_fail;
35421 }
35422 Py_INCREF(Py_None); resultobj = Py_None;
35423 return resultobj;
35424 fail:
35425 return NULL;
35426}
35427
35428
35429static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35430 PyObject *resultobj;
35431 wxSizer *arg1 = (wxSizer *) 0 ;
35432 size_t arg2 ;
35433 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
35434 PyObject * obj0 = 0 ;
35435 PyObject * obj1 = 0 ;
35436 PyObject * obj2 = 0 ;
35437 char *kwnames[] = {
35438 (char *) "self",(char *) "index",(char *) "item", NULL
35439 };
35440
35441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
35442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35444 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35445 if (PyErr_Occurred()) SWIG_fail;
35446 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35448 {
35449 PyThreadState* __tstate = wxPyBeginAllowThreads();
35450 (arg1)->Insert(arg2,arg3);
35451
35452 wxPyEndAllowThreads(__tstate);
35453 if (PyErr_Occurred()) SWIG_fail;
35454 }
35455 Py_INCREF(Py_None); resultobj = Py_None;
35456 return resultobj;
35457 fail:
35458 return NULL;
35459}
35460
35461
35462static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
35463 PyObject *resultobj;
35464 wxSizer *arg1 = (wxSizer *) 0 ;
35465 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
35466 PyObject * obj0 = 0 ;
35467 PyObject * obj1 = 0 ;
35468 char *kwnames[] = {
35469 (char *) "self",(char *) "item", NULL
35470 };
35471
35472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
35473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35477 {
35478 PyThreadState* __tstate = wxPyBeginAllowThreads();
35479 (arg1)->Prepend(arg2);
35480
35481 wxPyEndAllowThreads(__tstate);
35482 if (PyErr_Occurred()) SWIG_fail;
35483 }
35484 Py_INCREF(Py_None); resultobj = Py_None;
35485 return resultobj;
35486 fail:
35487 return NULL;
35488}
35489
35490
35491static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
35492 PyObject *resultobj;
35493 wxSizer *arg1 = (wxSizer *) 0 ;
35494 int arg2 ;
35495 int arg3 ;
35496 int arg4 ;
35497 int arg5 ;
35498 PyObject * obj0 = 0 ;
35499 PyObject * obj1 = 0 ;
35500 PyObject * obj2 = 0 ;
35501 PyObject * obj3 = 0 ;
35502 PyObject * obj4 = 0 ;
35503 char *kwnames[] = {
35504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35505 };
35506
35507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
35508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35510 arg2 = (int) SWIG_AsInt(obj1);
35511 if (PyErr_Occurred()) SWIG_fail;
35512 arg3 = (int) SWIG_AsInt(obj2);
35513 if (PyErr_Occurred()) SWIG_fail;
35514 arg4 = (int) SWIG_AsInt(obj3);
35515 if (PyErr_Occurred()) SWIG_fail;
35516 arg5 = (int) SWIG_AsInt(obj4);
35517 if (PyErr_Occurred()) SWIG_fail;
35518 {
35519 PyThreadState* __tstate = wxPyBeginAllowThreads();
35520 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
35521
35522 wxPyEndAllowThreads(__tstate);
35523 if (PyErr_Occurred()) SWIG_fail;
35524 }
35525 Py_INCREF(Py_None); resultobj = Py_None;
35526 return resultobj;
35527 fail:
35528 return NULL;
35529}
35530
35531
35532static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35533 PyObject *resultobj;
35534 wxSizer *arg1 = (wxSizer *) 0 ;
35535 wxSize *arg2 = 0 ;
35536 wxSize temp2 ;
35537 PyObject * obj0 = 0 ;
35538 PyObject * obj1 = 0 ;
35539 char *kwnames[] = {
35540 (char *) "self",(char *) "size", NULL
35541 };
35542
35543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
35544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35546 {
35547 arg2 = &temp2;
35548 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35549 }
35550 {
35551 PyThreadState* __tstate = wxPyBeginAllowThreads();
35552 (arg1)->SetMinSize((wxSize const &)*arg2);
35553
35554 wxPyEndAllowThreads(__tstate);
35555 if (PyErr_Occurred()) SWIG_fail;
35556 }
35557 Py_INCREF(Py_None); resultobj = Py_None;
35558 return resultobj;
35559 fail:
35560 return NULL;
35561}
35562
35563
35564static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35565 PyObject *resultobj;
35566 wxSizer *arg1 = (wxSizer *) 0 ;
35567 wxSize result;
35568 PyObject * obj0 = 0 ;
35569 char *kwnames[] = {
35570 (char *) "self", NULL
35571 };
35572
35573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
35574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35576 {
35577 PyThreadState* __tstate = wxPyBeginAllowThreads();
35578 result = (arg1)->GetSize();
35579
35580 wxPyEndAllowThreads(__tstate);
35581 if (PyErr_Occurred()) SWIG_fail;
35582 }
35583 {
35584 wxSize * resultptr;
35585 resultptr = new wxSize((wxSize &) result);
35586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35587 }
35588 return resultobj;
35589 fail:
35590 return NULL;
35591}
35592
35593
35594static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35595 PyObject *resultobj;
35596 wxSizer *arg1 = (wxSizer *) 0 ;
35597 wxPoint result;
35598 PyObject * obj0 = 0 ;
35599 char *kwnames[] = {
35600 (char *) "self", NULL
35601 };
35602
35603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
35604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35606 {
35607 PyThreadState* __tstate = wxPyBeginAllowThreads();
35608 result = (arg1)->GetPosition();
35609
35610 wxPyEndAllowThreads(__tstate);
35611 if (PyErr_Occurred()) SWIG_fail;
35612 }
35613 {
35614 wxPoint * resultptr;
35615 resultptr = new wxPoint((wxPoint &) result);
35616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
35617 }
35618 return resultobj;
35619 fail:
35620 return NULL;
35621}
35622
35623
35624static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
35625 PyObject *resultobj;
35626 wxSizer *arg1 = (wxSizer *) 0 ;
35627 wxSize result;
35628 PyObject * obj0 = 0 ;
35629 char *kwnames[] = {
35630 (char *) "self", NULL
35631 };
35632
35633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
35634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35636 {
35637 PyThreadState* __tstate = wxPyBeginAllowThreads();
35638 result = (arg1)->GetMinSize();
35639
35640 wxPyEndAllowThreads(__tstate);
35641 if (PyErr_Occurred()) SWIG_fail;
35642 }
35643 {
35644 wxSize * resultptr;
35645 resultptr = new wxSize((wxSize &) result);
35646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35647 }
35648 return resultobj;
35649 fail:
35650 return NULL;
35651}
35652
35653
35654static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35655 PyObject *resultobj;
35656 wxSizer *arg1 = (wxSizer *) 0 ;
35657 PyObject * obj0 = 0 ;
35658 char *kwnames[] = {
35659 (char *) "self", NULL
35660 };
35661
35662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
35663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35665 {
35666 PyThreadState* __tstate = wxPyBeginAllowThreads();
35667 (arg1)->RecalcSizes();
35668
35669 wxPyEndAllowThreads(__tstate);
35670 if (PyErr_Occurred()) SWIG_fail;
35671 }
35672 Py_INCREF(Py_None); resultobj = Py_None;
35673 return resultobj;
35674 fail:
35675 return NULL;
35676}
35677
35678
35679static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35680 PyObject *resultobj;
35681 wxSizer *arg1 = (wxSizer *) 0 ;
35682 wxSize result;
35683 PyObject * obj0 = 0 ;
35684 char *kwnames[] = {
35685 (char *) "self", NULL
35686 };
35687
35688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
35689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35691 {
35692 PyThreadState* __tstate = wxPyBeginAllowThreads();
35693 result = (arg1)->CalcMin();
35694
35695 wxPyEndAllowThreads(__tstate);
35696 if (PyErr_Occurred()) SWIG_fail;
35697 }
35698 {
35699 wxSize * resultptr;
35700 resultptr = new wxSize((wxSize &) result);
35701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35702 }
35703 return resultobj;
35704 fail:
35705 return NULL;
35706}
35707
35708
35709static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
35710 PyObject *resultobj;
35711 wxSizer *arg1 = (wxSizer *) 0 ;
35712 PyObject * obj0 = 0 ;
35713 char *kwnames[] = {
35714 (char *) "self", NULL
35715 };
35716
35717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
35718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35720 {
35721 PyThreadState* __tstate = wxPyBeginAllowThreads();
35722 (arg1)->Layout();
35723
35724 wxPyEndAllowThreads(__tstate);
35725 if (PyErr_Occurred()) SWIG_fail;
35726 }
35727 Py_INCREF(Py_None); resultobj = Py_None;
35728 return resultobj;
35729 fail:
35730 return NULL;
35731}
35732
35733
35734static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
35735 PyObject *resultobj;
35736 wxSizer *arg1 = (wxSizer *) 0 ;
35737 wxWindow *arg2 = (wxWindow *) 0 ;
35738 wxSize result;
35739 PyObject * obj0 = 0 ;
35740 PyObject * obj1 = 0 ;
35741 char *kwnames[] = {
35742 (char *) "self",(char *) "window", NULL
35743 };
35744
35745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
35746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35750 {
35751 PyThreadState* __tstate = wxPyBeginAllowThreads();
35752 result = (arg1)->Fit(arg2);
35753
35754 wxPyEndAllowThreads(__tstate);
35755 if (PyErr_Occurred()) SWIG_fail;
35756 }
35757 {
35758 wxSize * resultptr;
35759 resultptr = new wxSize((wxSize &) result);
35760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35761 }
35762 return resultobj;
35763 fail:
35764 return NULL;
35765}
35766
35767
35768static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
35769 PyObject *resultobj;
35770 wxSizer *arg1 = (wxSizer *) 0 ;
35771 wxWindow *arg2 = (wxWindow *) 0 ;
35772 PyObject * obj0 = 0 ;
35773 PyObject * obj1 = 0 ;
35774 char *kwnames[] = {
35775 (char *) "self",(char *) "window", NULL
35776 };
35777
35778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
35779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35783 {
35784 PyThreadState* __tstate = wxPyBeginAllowThreads();
35785 (arg1)->FitInside(arg2);
35786
35787 wxPyEndAllowThreads(__tstate);
35788 if (PyErr_Occurred()) SWIG_fail;
35789 }
35790 Py_INCREF(Py_None); resultobj = Py_None;
35791 return resultobj;
35792 fail:
35793 return NULL;
35794}
35795
35796
35797static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35798 PyObject *resultobj;
35799 wxSizer *arg1 = (wxSizer *) 0 ;
35800 wxWindow *arg2 = (wxWindow *) 0 ;
35801 PyObject * obj0 = 0 ;
35802 PyObject * obj1 = 0 ;
35803 char *kwnames[] = {
35804 (char *) "self",(char *) "window", NULL
35805 };
35806
35807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
35808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35812 {
35813 PyThreadState* __tstate = wxPyBeginAllowThreads();
35814 (arg1)->SetSizeHints(arg2);
35815
35816 wxPyEndAllowThreads(__tstate);
35817 if (PyErr_Occurred()) SWIG_fail;
35818 }
35819 Py_INCREF(Py_None); resultobj = Py_None;
35820 return resultobj;
35821 fail:
35822 return NULL;
35823}
35824
35825
35826static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
35827 PyObject *resultobj;
35828 wxSizer *arg1 = (wxSizer *) 0 ;
35829 wxWindow *arg2 = (wxWindow *) 0 ;
35830 PyObject * obj0 = 0 ;
35831 PyObject * obj1 = 0 ;
35832 char *kwnames[] = {
35833 (char *) "self",(char *) "window", NULL
35834 };
35835
35836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
35837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35841 {
35842 PyThreadState* __tstate = wxPyBeginAllowThreads();
35843 (arg1)->SetVirtualSizeHints(arg2);
35844
35845 wxPyEndAllowThreads(__tstate);
35846 if (PyErr_Occurred()) SWIG_fail;
35847 }
35848 Py_INCREF(Py_None); resultobj = Py_None;
35849 return resultobj;
35850 fail:
35851 return NULL;
35852}
35853
35854
35855static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
35856 PyObject *resultobj;
35857 wxSizer *arg1 = (wxSizer *) 0 ;
35858 bool arg2 = (bool) False ;
35859 PyObject * obj0 = 0 ;
35860 PyObject * obj1 = 0 ;
35861 char *kwnames[] = {
35862 (char *) "self",(char *) "delete_windows", NULL
35863 };
35864
35865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
35866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35868 if (obj1) {
35869 arg2 = (bool) SWIG_AsBool(obj1);
35870 if (PyErr_Occurred()) SWIG_fail;
35871 }
35872 {
35873 PyThreadState* __tstate = wxPyBeginAllowThreads();
35874 (arg1)->Clear(arg2);
35875
35876 wxPyEndAllowThreads(__tstate);
35877 if (PyErr_Occurred()) SWIG_fail;
35878 }
35879 Py_INCREF(Py_None); resultobj = Py_None;
35880 return resultobj;
35881 fail:
35882 return NULL;
35883}
35884
35885
35886static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
35887 PyObject *resultobj;
35888 wxSizer *arg1 = (wxSizer *) 0 ;
35889 PyObject * obj0 = 0 ;
35890 char *kwnames[] = {
35891 (char *) "self", NULL
35892 };
35893
35894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
35895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35897 {
35898 PyThreadState* __tstate = wxPyBeginAllowThreads();
35899 (arg1)->DeleteWindows();
35900
35901 wxPyEndAllowThreads(__tstate);
35902 if (PyErr_Occurred()) SWIG_fail;
35903 }
35904 Py_INCREF(Py_None); resultobj = Py_None;
35905 return resultobj;
35906 fail:
35907 return NULL;
35908}
35909
35910
35911static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
35912 PyObject *resultobj;
35913 wxSizer *arg1 = (wxSizer *) 0 ;
35914 PyObject *result;
35915 PyObject * obj0 = 0 ;
35916 char *kwnames[] = {
35917 (char *) "self", NULL
35918 };
35919
35920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
35921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35923 {
35924 PyThreadState* __tstate = wxPyBeginAllowThreads();
35925 result = (PyObject *)wxSizer_GetChildren(arg1);
35926
35927 wxPyEndAllowThreads(__tstate);
35928 if (PyErr_Occurred()) SWIG_fail;
35929 }
35930 resultobj = result;
35931 return resultobj;
35932 fail:
35933 return NULL;
35934}
35935
35936
35937static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
35938 PyObject *resultobj;
35939 wxSizer *arg1 = (wxSizer *) 0 ;
35940 PyObject *arg2 = (PyObject *) 0 ;
35941 bool arg3 = (bool) True ;
35942 PyObject * obj0 = 0 ;
35943 PyObject * obj1 = 0 ;
35944 PyObject * obj2 = 0 ;
35945 char *kwnames[] = {
35946 (char *) "self",(char *) "item",(char *) "show", NULL
35947 };
35948
35949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
35950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35952 arg2 = obj1;
35953 if (obj2) {
35954 arg3 = (bool) SWIG_AsBool(obj2);
35955 if (PyErr_Occurred()) SWIG_fail;
35956 }
35957 {
35958 PyThreadState* __tstate = wxPyBeginAllowThreads();
35959 wxSizer_Show(arg1,arg2,arg3);
35960
35961 wxPyEndAllowThreads(__tstate);
35962 if (PyErr_Occurred()) SWIG_fail;
35963 }
35964 Py_INCREF(Py_None); resultobj = Py_None;
35965 return resultobj;
35966 fail:
35967 return NULL;
35968}
35969
35970
35971static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
35972 PyObject *resultobj;
35973 wxSizer *arg1 = (wxSizer *) 0 ;
35974 PyObject *arg2 = (PyObject *) 0 ;
35975 PyObject * obj0 = 0 ;
35976 PyObject * obj1 = 0 ;
35977 char *kwnames[] = {
35978 (char *) "self",(char *) "item", NULL
35979 };
35980
35981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
35982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35984 arg2 = obj1;
35985 {
35986 PyThreadState* __tstate = wxPyBeginAllowThreads();
35987 wxSizer_Hide(arg1,arg2);
35988
35989 wxPyEndAllowThreads(__tstate);
35990 if (PyErr_Occurred()) SWIG_fail;
35991 }
35992 Py_INCREF(Py_None); resultobj = Py_None;
35993 return resultobj;
35994 fail:
35995 return NULL;
35996}
35997
35998
35999static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
36000 PyObject *resultobj;
36001 wxSizer *arg1 = (wxSizer *) 0 ;
36002 PyObject *arg2 = (PyObject *) 0 ;
36003 bool result;
36004 PyObject * obj0 = 0 ;
36005 PyObject * obj1 = 0 ;
36006 char *kwnames[] = {
36007 (char *) "self",(char *) "item", NULL
36008 };
36009
36010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
36011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36013 arg2 = obj1;
36014 {
36015 PyThreadState* __tstate = wxPyBeginAllowThreads();
36016 result = (bool)wxSizer_IsShown(arg1,arg2);
36017
36018 wxPyEndAllowThreads(__tstate);
36019 if (PyErr_Occurred()) SWIG_fail;
36020 }
36021 {
36022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36023 }
36024 return resultobj;
36025 fail:
36026 return NULL;
36027}
36028
36029
36030static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
36031 PyObject *resultobj;
36032 wxSizer *arg1 = (wxSizer *) 0 ;
36033 bool arg2 ;
36034 PyObject * obj0 = 0 ;
36035 PyObject * obj1 = 0 ;
36036 char *kwnames[] = {
36037 (char *) "self",(char *) "show", NULL
36038 };
36039
36040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
36041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36043 arg2 = (bool) SWIG_AsBool(obj1);
36044 if (PyErr_Occurred()) SWIG_fail;
36045 {
36046 PyThreadState* __tstate = wxPyBeginAllowThreads();
36047 (arg1)->ShowItems(arg2);
36048
36049 wxPyEndAllowThreads(__tstate);
36050 if (PyErr_Occurred()) SWIG_fail;
36051 }
36052 Py_INCREF(Py_None); resultobj = Py_None;
36053 return resultobj;
36054 fail:
36055 return NULL;
36056}
36057
36058
36059static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
36060 PyObject *obj;
36061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36062 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
36063 Py_INCREF(obj);
36064 return Py_BuildValue((char *)"");
36065}
36066static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36067 PyObject *resultobj;
36068 wxPySizer *result;
36069 char *kwnames[] = {
36070 NULL
36071 };
36072
36073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
36074 {
36075 PyThreadState* __tstate = wxPyBeginAllowThreads();
36076 result = (wxPySizer *)new wxPySizer();
36077
36078 wxPyEndAllowThreads(__tstate);
36079 if (PyErr_Occurred()) SWIG_fail;
36080 }
36081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
36082 return resultobj;
36083 fail:
36084 return NULL;
36085}
36086
36087
36088static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
36089 PyObject *resultobj;
36090 wxPySizer *arg1 = (wxPySizer *) 0 ;
36091 PyObject *arg2 = (PyObject *) 0 ;
36092 PyObject *arg3 = (PyObject *) 0 ;
36093 PyObject * obj0 = 0 ;
36094 PyObject * obj1 = 0 ;
36095 PyObject * obj2 = 0 ;
36096 char *kwnames[] = {
36097 (char *) "self",(char *) "self",(char *) "_class", NULL
36098 };
36099
36100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
36102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36103 arg2 = obj1;
36104 arg3 = obj2;
36105 {
36106 PyThreadState* __tstate = wxPyBeginAllowThreads();
36107 (arg1)->_setCallbackInfo(arg2,arg3);
36108
36109 wxPyEndAllowThreads(__tstate);
36110 if (PyErr_Occurred()) SWIG_fail;
36111 }
36112 Py_INCREF(Py_None); resultobj = Py_None;
36113 return resultobj;
36114 fail:
36115 return NULL;
36116}
36117
36118
36119static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
36120 PyObject *obj;
36121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36122 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
36123 Py_INCREF(obj);
36124 return Py_BuildValue((char *)"");
36125}
36126static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36127 PyObject *resultobj;
36128 int arg1 = (int) wxHORIZONTAL ;
36129 wxBoxSizer *result;
36130 PyObject * obj0 = 0 ;
36131 char *kwnames[] = {
36132 (char *) "orient", NULL
36133 };
36134
36135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
36136 if (obj0) {
36137 arg1 = (int) SWIG_AsInt(obj0);
36138 if (PyErr_Occurred()) SWIG_fail;
36139 }
36140 {
36141 PyThreadState* __tstate = wxPyBeginAllowThreads();
36142 result = (wxBoxSizer *)new wxBoxSizer(arg1);
36143
36144 wxPyEndAllowThreads(__tstate);
36145 if (PyErr_Occurred()) SWIG_fail;
36146 }
36147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
36148 return resultobj;
36149 fail:
36150 return NULL;
36151}
36152
36153
36154static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
36155 PyObject *resultobj;
36156 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36157 int result;
36158 PyObject * obj0 = 0 ;
36159 char *kwnames[] = {
36160 (char *) "self", NULL
36161 };
36162
36163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
36164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36166 {
36167 PyThreadState* __tstate = wxPyBeginAllowThreads();
36168 result = (int)(arg1)->GetOrientation();
36169
36170 wxPyEndAllowThreads(__tstate);
36171 if (PyErr_Occurred()) SWIG_fail;
36172 }
36173 resultobj = SWIG_FromInt((int)result);
36174 return resultobj;
36175 fail:
36176 return NULL;
36177}
36178
36179
36180static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
36181 PyObject *resultobj;
36182 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36183 int arg2 ;
36184 PyObject * obj0 = 0 ;
36185 PyObject * obj1 = 0 ;
36186 char *kwnames[] = {
36187 (char *) "self",(char *) "orient", NULL
36188 };
36189
36190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36193 arg2 = (int) SWIG_AsInt(obj1);
36194 if (PyErr_Occurred()) SWIG_fail;
36195 {
36196 PyThreadState* __tstate = wxPyBeginAllowThreads();
36197 (arg1)->SetOrientation(arg2);
36198
36199 wxPyEndAllowThreads(__tstate);
36200 if (PyErr_Occurred()) SWIG_fail;
36201 }
36202 Py_INCREF(Py_None); resultobj = Py_None;
36203 return resultobj;
36204 fail:
36205 return NULL;
36206}
36207
36208
36209static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36210 PyObject *resultobj;
36211 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36212 PyObject * obj0 = 0 ;
36213 char *kwnames[] = {
36214 (char *) "self", NULL
36215 };
36216
36217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36220 {
36221 PyThreadState* __tstate = wxPyBeginAllowThreads();
36222 (arg1)->RecalcSizes();
36223
36224 wxPyEndAllowThreads(__tstate);
36225 if (PyErr_Occurred()) SWIG_fail;
36226 }
36227 Py_INCREF(Py_None); resultobj = Py_None;
36228 return resultobj;
36229 fail:
36230 return NULL;
36231}
36232
36233
36234static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36235 PyObject *resultobj;
36236 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36237 wxSize result;
36238 PyObject * obj0 = 0 ;
36239 char *kwnames[] = {
36240 (char *) "self", NULL
36241 };
36242
36243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
36244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36246 {
36247 PyThreadState* __tstate = wxPyBeginAllowThreads();
36248 result = (arg1)->CalcMin();
36249
36250 wxPyEndAllowThreads(__tstate);
36251 if (PyErr_Occurred()) SWIG_fail;
36252 }
36253 {
36254 wxSize * resultptr;
36255 resultptr = new wxSize((wxSize &) result);
36256 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36257 }
36258 return resultobj;
36259 fail:
36260 return NULL;
36261}
36262
36263
36264static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
36265 PyObject *obj;
36266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36267 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
36268 Py_INCREF(obj);
36269 return Py_BuildValue((char *)"");
36270}
36271static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36272 PyObject *resultobj;
36273 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
36274 int arg2 = (int) wxHORIZONTAL ;
36275 wxStaticBoxSizer *result;
36276 PyObject * obj0 = 0 ;
36277 PyObject * obj1 = 0 ;
36278 char *kwnames[] = {
36279 (char *) "box",(char *) "orient", NULL
36280 };
36281
36282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
36283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
36284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36285 if (obj1) {
36286 arg2 = (int) SWIG_AsInt(obj1);
36287 if (PyErr_Occurred()) SWIG_fail;
36288 }
36289 {
36290 PyThreadState* __tstate = wxPyBeginAllowThreads();
36291 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
36292
36293 wxPyEndAllowThreads(__tstate);
36294 if (PyErr_Occurred()) SWIG_fail;
36295 }
36296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
36297 return resultobj;
36298 fail:
36299 return NULL;
36300}
36301
36302
36303static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
36304 PyObject *resultobj;
36305 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36306 wxStaticBox *result;
36307 PyObject * obj0 = 0 ;
36308 char *kwnames[] = {
36309 (char *) "self", NULL
36310 };
36311
36312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
36313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36315 {
36316 PyThreadState* __tstate = wxPyBeginAllowThreads();
36317 result = (wxStaticBox *)(arg1)->GetStaticBox();
36318
36319 wxPyEndAllowThreads(__tstate);
36320 if (PyErr_Occurred()) SWIG_fail;
36321 }
36322 {
36323 resultobj = wxPyMake_wxObject(result);
36324 }
36325 return resultobj;
36326 fail:
36327 return NULL;
36328}
36329
36330
36331static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36332 PyObject *resultobj;
36333 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36334 PyObject * obj0 = 0 ;
36335 char *kwnames[] = {
36336 (char *) "self", NULL
36337 };
36338
36339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36342 {
36343 PyThreadState* __tstate = wxPyBeginAllowThreads();
36344 (arg1)->RecalcSizes();
36345
36346 wxPyEndAllowThreads(__tstate);
36347 if (PyErr_Occurred()) SWIG_fail;
36348 }
36349 Py_INCREF(Py_None); resultobj = Py_None;
36350 return resultobj;
36351 fail:
36352 return NULL;
36353}
36354
36355
36356static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36357 PyObject *resultobj;
36358 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36359 wxSize result;
36360 PyObject * obj0 = 0 ;
36361 char *kwnames[] = {
36362 (char *) "self", NULL
36363 };
36364
36365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
36366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36368 {
36369 PyThreadState* __tstate = wxPyBeginAllowThreads();
36370 result = (arg1)->CalcMin();
36371
36372 wxPyEndAllowThreads(__tstate);
36373 if (PyErr_Occurred()) SWIG_fail;
36374 }
36375 {
36376 wxSize * resultptr;
36377 resultptr = new wxSize((wxSize &) result);
36378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36379 }
36380 return resultobj;
36381 fail:
36382 return NULL;
36383}
36384
36385
36386static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
36387 PyObject *obj;
36388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36389 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
36390 Py_INCREF(obj);
36391 return Py_BuildValue((char *)"");
36392}
36393static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36394 PyObject *resultobj;
36395 int arg1 = (int) 1 ;
36396 int arg2 = (int) 0 ;
36397 int arg3 = (int) 0 ;
36398 int arg4 = (int) 0 ;
36399 wxGridSizer *result;
36400 PyObject * obj0 = 0 ;
36401 PyObject * obj1 = 0 ;
36402 PyObject * obj2 = 0 ;
36403 PyObject * obj3 = 0 ;
36404 char *kwnames[] = {
36405 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36406 };
36407
36408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36409 if (obj0) {
36410 arg1 = (int) SWIG_AsInt(obj0);
36411 if (PyErr_Occurred()) SWIG_fail;
36412 }
36413 if (obj1) {
36414 arg2 = (int) SWIG_AsInt(obj1);
36415 if (PyErr_Occurred()) SWIG_fail;
36416 }
36417 if (obj2) {
36418 arg3 = (int) SWIG_AsInt(obj2);
36419 if (PyErr_Occurred()) SWIG_fail;
36420 }
36421 if (obj3) {
36422 arg4 = (int) SWIG_AsInt(obj3);
36423 if (PyErr_Occurred()) SWIG_fail;
36424 }
36425 {
36426 PyThreadState* __tstate = wxPyBeginAllowThreads();
36427 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
36428
36429 wxPyEndAllowThreads(__tstate);
36430 if (PyErr_Occurred()) SWIG_fail;
36431 }
36432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
36433 return resultobj;
36434 fail:
36435 return NULL;
36436}
36437
36438
36439static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36440 PyObject *resultobj;
36441 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36442 PyObject * obj0 = 0 ;
36443 char *kwnames[] = {
36444 (char *) "self", NULL
36445 };
36446
36447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36450 {
36451 PyThreadState* __tstate = wxPyBeginAllowThreads();
36452 (arg1)->RecalcSizes();
36453
36454 wxPyEndAllowThreads(__tstate);
36455 if (PyErr_Occurred()) SWIG_fail;
36456 }
36457 Py_INCREF(Py_None); resultobj = Py_None;
36458 return resultobj;
36459 fail:
36460 return NULL;
36461}
36462
36463
36464static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36465 PyObject *resultobj;
36466 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36467 wxSize result;
36468 PyObject * obj0 = 0 ;
36469 char *kwnames[] = {
36470 (char *) "self", NULL
36471 };
36472
36473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
36474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36476 {
36477 PyThreadState* __tstate = wxPyBeginAllowThreads();
36478 result = (arg1)->CalcMin();
36479
36480 wxPyEndAllowThreads(__tstate);
36481 if (PyErr_Occurred()) SWIG_fail;
36482 }
36483 {
36484 wxSize * resultptr;
36485 resultptr = new wxSize((wxSize &) result);
36486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36487 }
36488 return resultobj;
36489 fail:
36490 return NULL;
36491}
36492
36493
36494static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36495 PyObject *resultobj;
36496 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36497 int arg2 ;
36498 PyObject * obj0 = 0 ;
36499 PyObject * obj1 = 0 ;
36500 char *kwnames[] = {
36501 (char *) "self",(char *) "cols", NULL
36502 };
36503
36504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
36505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36507 arg2 = (int) SWIG_AsInt(obj1);
36508 if (PyErr_Occurred()) SWIG_fail;
36509 {
36510 PyThreadState* __tstate = wxPyBeginAllowThreads();
36511 (arg1)->SetCols(arg2);
36512
36513 wxPyEndAllowThreads(__tstate);
36514 if (PyErr_Occurred()) SWIG_fail;
36515 }
36516 Py_INCREF(Py_None); resultobj = Py_None;
36517 return resultobj;
36518 fail:
36519 return NULL;
36520}
36521
36522
36523static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36524 PyObject *resultobj;
36525 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36526 int arg2 ;
36527 PyObject * obj0 = 0 ;
36528 PyObject * obj1 = 0 ;
36529 char *kwnames[] = {
36530 (char *) "self",(char *) "rows", NULL
36531 };
36532
36533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
36534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36536 arg2 = (int) SWIG_AsInt(obj1);
36537 if (PyErr_Occurred()) SWIG_fail;
36538 {
36539 PyThreadState* __tstate = wxPyBeginAllowThreads();
36540 (arg1)->SetRows(arg2);
36541
36542 wxPyEndAllowThreads(__tstate);
36543 if (PyErr_Occurred()) SWIG_fail;
36544 }
36545 Py_INCREF(Py_None); resultobj = Py_None;
36546 return resultobj;
36547 fail:
36548 return NULL;
36549}
36550
36551
36552static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36553 PyObject *resultobj;
36554 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36555 int arg2 ;
36556 PyObject * obj0 = 0 ;
36557 PyObject * obj1 = 0 ;
36558 char *kwnames[] = {
36559 (char *) "self",(char *) "gap", NULL
36560 };
36561
36562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
36563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36565 arg2 = (int) SWIG_AsInt(obj1);
36566 if (PyErr_Occurred()) SWIG_fail;
36567 {
36568 PyThreadState* __tstate = wxPyBeginAllowThreads();
36569 (arg1)->SetVGap(arg2);
36570
36571 wxPyEndAllowThreads(__tstate);
36572 if (PyErr_Occurred()) SWIG_fail;
36573 }
36574 Py_INCREF(Py_None); resultobj = Py_None;
36575 return resultobj;
36576 fail:
36577 return NULL;
36578}
36579
36580
36581static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36582 PyObject *resultobj;
36583 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36584 int arg2 ;
36585 PyObject * obj0 = 0 ;
36586 PyObject * obj1 = 0 ;
36587 char *kwnames[] = {
36588 (char *) "self",(char *) "gap", NULL
36589 };
36590
36591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
36592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36594 arg2 = (int) SWIG_AsInt(obj1);
36595 if (PyErr_Occurred()) SWIG_fail;
36596 {
36597 PyThreadState* __tstate = wxPyBeginAllowThreads();
36598 (arg1)->SetHGap(arg2);
36599
36600 wxPyEndAllowThreads(__tstate);
36601 if (PyErr_Occurred()) SWIG_fail;
36602 }
36603 Py_INCREF(Py_None); resultobj = Py_None;
36604 return resultobj;
36605 fail:
36606 return NULL;
36607}
36608
36609
36610static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
36611 PyObject *resultobj;
36612 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36613 int result;
36614 PyObject * obj0 = 0 ;
36615 char *kwnames[] = {
36616 (char *) "self", NULL
36617 };
36618
36619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
36620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36622 {
36623 PyThreadState* __tstate = wxPyBeginAllowThreads();
36624 result = (int)(arg1)->GetCols();
36625
36626 wxPyEndAllowThreads(__tstate);
36627 if (PyErr_Occurred()) SWIG_fail;
36628 }
36629 resultobj = SWIG_FromInt((int)result);
36630 return resultobj;
36631 fail:
36632 return NULL;
36633}
36634
36635
36636static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
36637 PyObject *resultobj;
36638 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36639 int result;
36640 PyObject * obj0 = 0 ;
36641 char *kwnames[] = {
36642 (char *) "self", NULL
36643 };
36644
36645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
36646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36648 {
36649 PyThreadState* __tstate = wxPyBeginAllowThreads();
36650 result = (int)(arg1)->GetRows();
36651
36652 wxPyEndAllowThreads(__tstate);
36653 if (PyErr_Occurred()) SWIG_fail;
36654 }
36655 resultobj = SWIG_FromInt((int)result);
36656 return resultobj;
36657 fail:
36658 return NULL;
36659}
36660
36661
36662static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36663 PyObject *resultobj;
36664 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36665 int result;
36666 PyObject * obj0 = 0 ;
36667 char *kwnames[] = {
36668 (char *) "self", NULL
36669 };
36670
36671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
36672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36674 {
36675 PyThreadState* __tstate = wxPyBeginAllowThreads();
36676 result = (int)(arg1)->GetVGap();
36677
36678 wxPyEndAllowThreads(__tstate);
36679 if (PyErr_Occurred()) SWIG_fail;
36680 }
36681 resultobj = SWIG_FromInt((int)result);
36682 return resultobj;
36683 fail:
36684 return NULL;
36685}
36686
36687
36688static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
36689 PyObject *resultobj;
36690 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36691 int result;
36692 PyObject * obj0 = 0 ;
36693 char *kwnames[] = {
36694 (char *) "self", NULL
36695 };
36696
36697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
36698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36700 {
36701 PyThreadState* __tstate = wxPyBeginAllowThreads();
36702 result = (int)(arg1)->GetHGap();
36703
36704 wxPyEndAllowThreads(__tstate);
36705 if (PyErr_Occurred()) SWIG_fail;
36706 }
36707 resultobj = SWIG_FromInt((int)result);
36708 return resultobj;
36709 fail:
36710 return NULL;
36711}
36712
36713
36714static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
36715 PyObject *obj;
36716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36717 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36718 Py_INCREF(obj);
36719 return Py_BuildValue((char *)"");
36720}
36721static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36722 PyObject *resultobj;
36723 int arg1 = (int) 1 ;
36724 int arg2 = (int) 0 ;
36725 int arg3 = (int) 0 ;
36726 int arg4 = (int) 0 ;
36727 wxFlexGridSizer *result;
36728 PyObject * obj0 = 0 ;
36729 PyObject * obj1 = 0 ;
36730 PyObject * obj2 = 0 ;
36731 PyObject * obj3 = 0 ;
36732 char *kwnames[] = {
36733 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36734 };
36735
36736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36737 if (obj0) {
36738 arg1 = (int) SWIG_AsInt(obj0);
36739 if (PyErr_Occurred()) SWIG_fail;
36740 }
36741 if (obj1) {
36742 arg2 = (int) SWIG_AsInt(obj1);
36743 if (PyErr_Occurred()) SWIG_fail;
36744 }
36745 if (obj2) {
36746 arg3 = (int) SWIG_AsInt(obj2);
36747 if (PyErr_Occurred()) SWIG_fail;
36748 }
36749 if (obj3) {
36750 arg4 = (int) SWIG_AsInt(obj3);
36751 if (PyErr_Occurred()) SWIG_fail;
36752 }
36753 {
36754 PyThreadState* __tstate = wxPyBeginAllowThreads();
36755 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36756
36757 wxPyEndAllowThreads(__tstate);
36758 if (PyErr_Occurred()) SWIG_fail;
36759 }
36760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
36761 return resultobj;
36762 fail:
36763 return NULL;
36764}
36765
36766
36767static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
36768 PyObject *resultobj;
36769 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36770 PyObject * obj0 = 0 ;
36771 char *kwnames[] = {
36772 (char *) "self", NULL
36773 };
36774
36775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36778 {
36779 PyThreadState* __tstate = wxPyBeginAllowThreads();
36780 (arg1)->RecalcSizes();
36781
36782 wxPyEndAllowThreads(__tstate);
36783 if (PyErr_Occurred()) SWIG_fail;
36784 }
36785 Py_INCREF(Py_None); resultobj = Py_None;
36786 return resultobj;
36787 fail:
36788 return NULL;
36789}
36790
36791
36792static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
36793 PyObject *resultobj;
36794 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36795 wxSize result;
36796 PyObject * obj0 = 0 ;
36797 char *kwnames[] = {
36798 (char *) "self", NULL
36799 };
36800
36801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
36802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36804 {
36805 PyThreadState* __tstate = wxPyBeginAllowThreads();
36806 result = (arg1)->CalcMin();
36807
36808 wxPyEndAllowThreads(__tstate);
36809 if (PyErr_Occurred()) SWIG_fail;
36810 }
36811 {
36812 wxSize * resultptr;
36813 resultptr = new wxSize((wxSize &) result);
36814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36815 }
36816 return resultobj;
36817 fail:
36818 return NULL;
36819}
36820
36821
36822static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36823 PyObject *resultobj;
36824 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36825 size_t arg2 ;
36826 int arg3 = (int) 0 ;
36827 PyObject * obj0 = 0 ;
36828 PyObject * obj1 = 0 ;
36829 PyObject * obj2 = 0 ;
36830 char *kwnames[] = {
36831 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36832 };
36833
36834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36837 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36838 if (PyErr_Occurred()) SWIG_fail;
36839 if (obj2) {
36840 arg3 = (int) SWIG_AsInt(obj2);
36841 if (PyErr_Occurred()) SWIG_fail;
36842 }
36843 {
36844 PyThreadState* __tstate = wxPyBeginAllowThreads();
36845 (arg1)->AddGrowableRow(arg2,arg3);
36846
36847 wxPyEndAllowThreads(__tstate);
36848 if (PyErr_Occurred()) SWIG_fail;
36849 }
36850 Py_INCREF(Py_None); resultobj = Py_None;
36851 return resultobj;
36852 fail:
36853 return NULL;
36854}
36855
36856
36857static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
36858 PyObject *resultobj;
36859 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36860 size_t arg2 ;
36861 PyObject * obj0 = 0 ;
36862 PyObject * obj1 = 0 ;
36863 char *kwnames[] = {
36864 (char *) "self",(char *) "idx", NULL
36865 };
36866
36867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
36868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36870 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36871 if (PyErr_Occurred()) SWIG_fail;
36872 {
36873 PyThreadState* __tstate = wxPyBeginAllowThreads();
36874 (arg1)->RemoveGrowableRow(arg2);
36875
36876 wxPyEndAllowThreads(__tstate);
36877 if (PyErr_Occurred()) SWIG_fail;
36878 }
36879 Py_INCREF(Py_None); resultobj = Py_None;
36880 return resultobj;
36881 fail:
36882 return NULL;
36883}
36884
36885
36886static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36887 PyObject *resultobj;
36888 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36889 size_t arg2 ;
36890 int arg3 = (int) 0 ;
36891 PyObject * obj0 = 0 ;
36892 PyObject * obj1 = 0 ;
36893 PyObject * obj2 = 0 ;
36894 char *kwnames[] = {
36895 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36896 };
36897
36898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
36899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36901 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36902 if (PyErr_Occurred()) SWIG_fail;
36903 if (obj2) {
36904 arg3 = (int) SWIG_AsInt(obj2);
36905 if (PyErr_Occurred()) SWIG_fail;
36906 }
36907 {
36908 PyThreadState* __tstate = wxPyBeginAllowThreads();
36909 (arg1)->AddGrowableCol(arg2,arg3);
36910
36911 wxPyEndAllowThreads(__tstate);
36912 if (PyErr_Occurred()) SWIG_fail;
36913 }
36914 Py_INCREF(Py_None); resultobj = Py_None;
36915 return resultobj;
36916 fail:
36917 return NULL;
36918}
36919
36920
36921static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
36922 PyObject *resultobj;
36923 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36924 size_t arg2 ;
36925 PyObject * obj0 = 0 ;
36926 PyObject * obj1 = 0 ;
36927 char *kwnames[] = {
36928 (char *) "self",(char *) "idx", NULL
36929 };
36930
36931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
36932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36934 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36935 if (PyErr_Occurred()) SWIG_fail;
36936 {
36937 PyThreadState* __tstate = wxPyBeginAllowThreads();
36938 (arg1)->RemoveGrowableCol(arg2);
36939
36940 wxPyEndAllowThreads(__tstate);
36941 if (PyErr_Occurred()) SWIG_fail;
36942 }
36943 Py_INCREF(Py_None); resultobj = Py_None;
36944 return resultobj;
36945 fail:
36946 return NULL;
36947}
36948
36949
36950static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36951 PyObject *resultobj;
36952 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36953 int arg2 ;
36954 PyObject * obj0 = 0 ;
36955 PyObject * obj1 = 0 ;
36956 char *kwnames[] = {
36957 (char *) "self",(char *) "direction", NULL
36958 };
36959
36960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
36961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36963 arg2 = (int) SWIG_AsInt(obj1);
36964 if (PyErr_Occurred()) SWIG_fail;
36965 {
36966 PyThreadState* __tstate = wxPyBeginAllowThreads();
36967 (arg1)->SetFlexibleDirection(arg2);
36968
36969 wxPyEndAllowThreads(__tstate);
36970 if (PyErr_Occurred()) SWIG_fail;
36971 }
36972 Py_INCREF(Py_None); resultobj = Py_None;
36973 return resultobj;
36974 fail:
36975 return NULL;
36976}
36977
36978
36979static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
36980 PyObject *resultobj;
36981 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36982 int result;
36983 PyObject * obj0 = 0 ;
36984 char *kwnames[] = {
36985 (char *) "self", NULL
36986 };
36987
36988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
36989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36991 {
36992 PyThreadState* __tstate = wxPyBeginAllowThreads();
36993 result = (int)(arg1)->GetFlexibleDirection();
36994
36995 wxPyEndAllowThreads(__tstate);
36996 if (PyErr_Occurred()) SWIG_fail;
36997 }
36998 resultobj = SWIG_FromInt((int)result);
36999 return resultobj;
37000 fail:
37001 return NULL;
37002}
37003
37004
37005static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
37006 PyObject *resultobj;
37007 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37008 int arg2 ;
37009 PyObject * obj0 = 0 ;
37010 PyObject * obj1 = 0 ;
37011 char *kwnames[] = {
37012 (char *) "self",(char *) "mode", NULL
37013 };
37014
37015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
37016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37018 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
37019 if (PyErr_Occurred()) SWIG_fail;
37020 {
37021 PyThreadState* __tstate = wxPyBeginAllowThreads();
37022 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
37023
37024 wxPyEndAllowThreads(__tstate);
37025 if (PyErr_Occurred()) SWIG_fail;
37026 }
37027 Py_INCREF(Py_None); resultobj = Py_None;
37028 return resultobj;
37029 fail:
37030 return NULL;
37031}
37032
37033
37034static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
37035 PyObject *resultobj;
37036 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37037 int result;
37038 PyObject * obj0 = 0 ;
37039 char *kwnames[] = {
37040 (char *) "self", NULL
37041 };
37042
37043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
37044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37046 {
37047 PyThreadState* __tstate = wxPyBeginAllowThreads();
37048 result = (int)(arg1)->GetNonFlexibleGrowMode();
37049
37050 wxPyEndAllowThreads(__tstate);
37051 if (PyErr_Occurred()) SWIG_fail;
37052 }
37053 resultobj = SWIG_FromInt((int)result);
37054 return resultobj;
37055 fail:
37056 return NULL;
37057}
37058
37059
37060static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
37061 PyObject *resultobj;
37062 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37063 wxArrayInt *result;
37064 PyObject * obj0 = 0 ;
37065 char *kwnames[] = {
37066 (char *) "self", NULL
37067 };
37068
37069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
37070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37072 {
37073 PyThreadState* __tstate = wxPyBeginAllowThreads();
37074 {
37075 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
37076 result = (wxArrayInt *) &_result_ref;
37077 }
37078
37079 wxPyEndAllowThreads(__tstate);
37080 if (PyErr_Occurred()) SWIG_fail;
37081 }
37082 {
37083 resultobj = PyList_New(0);
37084 size_t idx;
37085 for (idx = 0; idx < result->GetCount(); idx += 1) {
37086 PyObject* val = PyInt_FromLong( result->Item(idx) );
37087 PyList_Append(resultobj, val);
37088 Py_DECREF(val);
37089 }
37090 }
37091 return resultobj;
37092 fail:
37093 return NULL;
37094}
37095
37096
37097static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
37098 PyObject *resultobj;
37099 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37100 wxArrayInt *result;
37101 PyObject * obj0 = 0 ;
37102 char *kwnames[] = {
37103 (char *) "self", NULL
37104 };
37105
37106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
37107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37109 {
37110 PyThreadState* __tstate = wxPyBeginAllowThreads();
37111 {
37112 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
37113 result = (wxArrayInt *) &_result_ref;
37114 }
37115
37116 wxPyEndAllowThreads(__tstate);
37117 if (PyErr_Occurred()) SWIG_fail;
37118 }
37119 {
37120 resultobj = PyList_New(0);
37121 size_t idx;
37122 for (idx = 0; idx < result->GetCount(); idx += 1) {
37123 PyObject* val = PyInt_FromLong( result->Item(idx) );
37124 PyList_Append(resultobj, val);
37125 Py_DECREF(val);
37126 }
37127 }
37128 return resultobj;
37129 fail:
37130 return NULL;
37131}
37132
37133
37134static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
37135 PyObject *obj;
37136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37137 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
37138 Py_INCREF(obj);
37139 return Py_BuildValue((char *)"");
37140}
37141static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
37142 PyObject *resultobj;
37143 int arg1 = (int) 0 ;
37144 int arg2 = (int) 0 ;
37145 wxGBPosition *result;
37146 PyObject * obj0 = 0 ;
37147 PyObject * obj1 = 0 ;
37148 char *kwnames[] = {
37149 (char *) "row",(char *) "col", NULL
37150 };
37151
37152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
37153 if (obj0) {
37154 arg1 = (int) SWIG_AsInt(obj0);
37155 if (PyErr_Occurred()) SWIG_fail;
37156 }
37157 if (obj1) {
37158 arg2 = (int) SWIG_AsInt(obj1);
37159 if (PyErr_Occurred()) SWIG_fail;
37160 }
37161 {
37162 PyThreadState* __tstate = wxPyBeginAllowThreads();
37163 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
37164
37165 wxPyEndAllowThreads(__tstate);
37166 if (PyErr_Occurred()) SWIG_fail;
37167 }
37168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
37169 return resultobj;
37170 fail:
37171 return NULL;
37172}
37173
37174
37175static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
37176 PyObject *resultobj;
37177 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37178 int result;
37179 PyObject * obj0 = 0 ;
37180 char *kwnames[] = {
37181 (char *) "self", NULL
37182 };
37183
37184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
37185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37187 {
37188 PyThreadState* __tstate = wxPyBeginAllowThreads();
37189 result = (int)((wxGBPosition const *)arg1)->GetRow();
37190
37191 wxPyEndAllowThreads(__tstate);
37192 if (PyErr_Occurred()) SWIG_fail;
37193 }
37194 resultobj = SWIG_FromInt((int)result);
37195 return resultobj;
37196 fail:
37197 return NULL;
37198}
37199
37200
37201static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
37202 PyObject *resultobj;
37203 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37204 int result;
37205 PyObject * obj0 = 0 ;
37206 char *kwnames[] = {
37207 (char *) "self", NULL
37208 };
37209
37210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
37211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37213 {
37214 PyThreadState* __tstate = wxPyBeginAllowThreads();
37215 result = (int)((wxGBPosition const *)arg1)->GetCol();
37216
37217 wxPyEndAllowThreads(__tstate);
37218 if (PyErr_Occurred()) SWIG_fail;
37219 }
37220 resultobj = SWIG_FromInt((int)result);
37221 return resultobj;
37222 fail:
37223 return NULL;
37224}
37225
37226
37227static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
37228 PyObject *resultobj;
37229 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37230 int arg2 ;
37231 PyObject * obj0 = 0 ;
37232 PyObject * obj1 = 0 ;
37233 char *kwnames[] = {
37234 (char *) "self",(char *) "row", NULL
37235 };
37236
37237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
37238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37240 arg2 = (int) SWIG_AsInt(obj1);
37241 if (PyErr_Occurred()) SWIG_fail;
37242 {
37243 PyThreadState* __tstate = wxPyBeginAllowThreads();
37244 (arg1)->SetRow(arg2);
37245
37246 wxPyEndAllowThreads(__tstate);
37247 if (PyErr_Occurred()) SWIG_fail;
37248 }
37249 Py_INCREF(Py_None); resultobj = Py_None;
37250 return resultobj;
37251 fail:
37252 return NULL;
37253}
37254
37255
37256static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
37257 PyObject *resultobj;
37258 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37259 int arg2 ;
37260 PyObject * obj0 = 0 ;
37261 PyObject * obj1 = 0 ;
37262 char *kwnames[] = {
37263 (char *) "self",(char *) "col", NULL
37264 };
37265
37266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
37267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37269 arg2 = (int) SWIG_AsInt(obj1);
37270 if (PyErr_Occurred()) SWIG_fail;
37271 {
37272 PyThreadState* __tstate = wxPyBeginAllowThreads();
37273 (arg1)->SetCol(arg2);
37274
37275 wxPyEndAllowThreads(__tstate);
37276 if (PyErr_Occurred()) SWIG_fail;
37277 }
37278 Py_INCREF(Py_None); resultobj = Py_None;
37279 return resultobj;
37280 fail:
37281 return NULL;
37282}
37283
37284
37285static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
37286 PyObject *resultobj;
37287 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37288 wxGBPosition *arg2 = 0 ;
37289 bool result;
37290 wxGBPosition temp2 ;
37291 PyObject * obj0 = 0 ;
37292 PyObject * obj1 = 0 ;
37293 char *kwnames[] = {
37294 (char *) "self",(char *) "other", NULL
37295 };
37296
37297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
37298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37300 {
37301 arg2 = &temp2;
37302 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37303 }
37304 {
37305 PyThreadState* __tstate = wxPyBeginAllowThreads();
37306 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
37307
37308 wxPyEndAllowThreads(__tstate);
37309 if (PyErr_Occurred()) SWIG_fail;
37310 }
37311 {
37312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37313 }
37314 return resultobj;
37315 fail:
37316 return NULL;
37317}
37318
37319
37320static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37321 PyObject *resultobj;
37322 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37323 wxGBPosition *arg2 = 0 ;
37324 bool result;
37325 wxGBPosition temp2 ;
37326 PyObject * obj0 = 0 ;
37327 PyObject * obj1 = 0 ;
37328 char *kwnames[] = {
37329 (char *) "self",(char *) "other", NULL
37330 };
37331
37332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
37333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37335 {
37336 arg2 = &temp2;
37337 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37338 }
37339 {
37340 PyThreadState* __tstate = wxPyBeginAllowThreads();
37341 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
37342
37343 wxPyEndAllowThreads(__tstate);
37344 if (PyErr_Occurred()) SWIG_fail;
37345 }
37346 {
37347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37348 }
37349 return resultobj;
37350 fail:
37351 return NULL;
37352}
37353
37354
37355static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37356 PyObject *resultobj;
37357 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37358 int arg2 = (int) 0 ;
37359 int arg3 = (int) 0 ;
37360 PyObject * obj0 = 0 ;
37361 PyObject * obj1 = 0 ;
37362 PyObject * obj2 = 0 ;
37363 char *kwnames[] = {
37364 (char *) "self",(char *) "row",(char *) "col", NULL
37365 };
37366
37367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
37368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37370 if (obj1) {
37371 arg2 = (int) SWIG_AsInt(obj1);
37372 if (PyErr_Occurred()) SWIG_fail;
37373 }
37374 if (obj2) {
37375 arg3 = (int) SWIG_AsInt(obj2);
37376 if (PyErr_Occurred()) SWIG_fail;
37377 }
37378 {
37379 PyThreadState* __tstate = wxPyBeginAllowThreads();
37380 wxGBPosition_Set(arg1,arg2,arg3);
37381
37382 wxPyEndAllowThreads(__tstate);
37383 if (PyErr_Occurred()) SWIG_fail;
37384 }
37385 Py_INCREF(Py_None); resultobj = Py_None;
37386 return resultobj;
37387 fail:
37388 return NULL;
37389}
37390
37391
37392static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
37393 PyObject *resultobj;
37394 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37395 PyObject *result;
37396 PyObject * obj0 = 0 ;
37397 char *kwnames[] = {
37398 (char *) "self", NULL
37399 };
37400
37401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
37402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37404 {
37405 PyThreadState* __tstate = wxPyBeginAllowThreads();
37406 result = (PyObject *)wxGBPosition_Get(arg1);
37407
37408 wxPyEndAllowThreads(__tstate);
37409 if (PyErr_Occurred()) SWIG_fail;
37410 }
37411 resultobj = result;
37412 return resultobj;
37413 fail:
37414 return NULL;
37415}
37416
37417
37418static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
37419 PyObject *obj;
37420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37421 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
37422 Py_INCREF(obj);
37423 return Py_BuildValue((char *)"");
37424}
37425static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37426 PyObject *resultobj;
37427 int arg1 = (int) 1 ;
37428 int arg2 = (int) 1 ;
37429 wxGBSpan *result;
37430 PyObject * obj0 = 0 ;
37431 PyObject * obj1 = 0 ;
37432 char *kwnames[] = {
37433 (char *) "rowspan",(char *) "colspan", NULL
37434 };
37435
37436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
37437 if (obj0) {
37438 arg1 = (int) SWIG_AsInt(obj0);
37439 if (PyErr_Occurred()) SWIG_fail;
37440 }
37441 if (obj1) {
37442 arg2 = (int) SWIG_AsInt(obj1);
37443 if (PyErr_Occurred()) SWIG_fail;
37444 }
37445 {
37446 PyThreadState* __tstate = wxPyBeginAllowThreads();
37447 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
37448
37449 wxPyEndAllowThreads(__tstate);
37450 if (PyErr_Occurred()) SWIG_fail;
37451 }
37452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
37453 return resultobj;
37454 fail:
37455 return NULL;
37456}
37457
37458
37459static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37460 PyObject *resultobj;
37461 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37462 int result;
37463 PyObject * obj0 = 0 ;
37464 char *kwnames[] = {
37465 (char *) "self", NULL
37466 };
37467
37468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
37469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37471 {
37472 PyThreadState* __tstate = wxPyBeginAllowThreads();
37473 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
37474
37475 wxPyEndAllowThreads(__tstate);
37476 if (PyErr_Occurred()) SWIG_fail;
37477 }
37478 resultobj = SWIG_FromInt((int)result);
37479 return resultobj;
37480 fail:
37481 return NULL;
37482}
37483
37484
37485static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37486 PyObject *resultobj;
37487 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37488 int result;
37489 PyObject * obj0 = 0 ;
37490 char *kwnames[] = {
37491 (char *) "self", NULL
37492 };
37493
37494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
37495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37497 {
37498 PyThreadState* __tstate = wxPyBeginAllowThreads();
37499 result = (int)((wxGBSpan const *)arg1)->GetColspan();
37500
37501 wxPyEndAllowThreads(__tstate);
37502 if (PyErr_Occurred()) SWIG_fail;
37503 }
37504 resultobj = SWIG_FromInt((int)result);
37505 return resultobj;
37506 fail:
37507 return NULL;
37508}
37509
37510
37511static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37512 PyObject *resultobj;
37513 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37514 int arg2 ;
37515 PyObject * obj0 = 0 ;
37516 PyObject * obj1 = 0 ;
37517 char *kwnames[] = {
37518 (char *) "self",(char *) "rowspan", NULL
37519 };
37520
37521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
37522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37524 arg2 = (int) SWIG_AsInt(obj1);
37525 if (PyErr_Occurred()) SWIG_fail;
37526 {
37527 PyThreadState* __tstate = wxPyBeginAllowThreads();
37528 (arg1)->SetRowspan(arg2);
37529
37530 wxPyEndAllowThreads(__tstate);
37531 if (PyErr_Occurred()) SWIG_fail;
37532 }
37533 Py_INCREF(Py_None); resultobj = Py_None;
37534 return resultobj;
37535 fail:
37536 return NULL;
37537}
37538
37539
37540static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
37541 PyObject *resultobj;
37542 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37543 int arg2 ;
37544 PyObject * obj0 = 0 ;
37545 PyObject * obj1 = 0 ;
37546 char *kwnames[] = {
37547 (char *) "self",(char *) "colspan", NULL
37548 };
37549
37550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
37551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37553 arg2 = (int) SWIG_AsInt(obj1);
37554 if (PyErr_Occurred()) SWIG_fail;
37555 {
37556 PyThreadState* __tstate = wxPyBeginAllowThreads();
37557 (arg1)->SetColspan(arg2);
37558
37559 wxPyEndAllowThreads(__tstate);
37560 if (PyErr_Occurred()) SWIG_fail;
37561 }
37562 Py_INCREF(Py_None); resultobj = Py_None;
37563 return resultobj;
37564 fail:
37565 return NULL;
37566}
37567
37568
37569static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
37570 PyObject *resultobj;
37571 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37572 wxGBSpan *arg2 = 0 ;
37573 bool result;
37574 wxGBSpan temp2 ;
37575 PyObject * obj0 = 0 ;
37576 PyObject * obj1 = 0 ;
37577 char *kwnames[] = {
37578 (char *) "self",(char *) "other", NULL
37579 };
37580
37581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
37582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37584 {
37585 arg2 = &temp2;
37586 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37587 }
37588 {
37589 PyThreadState* __tstate = wxPyBeginAllowThreads();
37590 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
37591
37592 wxPyEndAllowThreads(__tstate);
37593 if (PyErr_Occurred()) SWIG_fail;
37594 }
37595 {
37596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37597 }
37598 return resultobj;
37599 fail:
37600 return NULL;
37601}
37602
37603
37604static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
37605 PyObject *resultobj;
37606 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37607 wxGBSpan *arg2 = 0 ;
37608 bool result;
37609 wxGBSpan temp2 ;
37610 PyObject * obj0 = 0 ;
37611 PyObject * obj1 = 0 ;
37612 char *kwnames[] = {
37613 (char *) "self",(char *) "other", NULL
37614 };
37615
37616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
37617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37619 {
37620 arg2 = &temp2;
37621 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37622 }
37623 {
37624 PyThreadState* __tstate = wxPyBeginAllowThreads();
37625 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
37626
37627 wxPyEndAllowThreads(__tstate);
37628 if (PyErr_Occurred()) SWIG_fail;
37629 }
37630 {
37631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37632 }
37633 return resultobj;
37634 fail:
37635 return NULL;
37636}
37637
37638
37639static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
37640 PyObject *resultobj;
37641 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37642 int arg2 = (int) 1 ;
37643 int arg3 = (int) 1 ;
37644 PyObject * obj0 = 0 ;
37645 PyObject * obj1 = 0 ;
37646 PyObject * obj2 = 0 ;
37647 char *kwnames[] = {
37648 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37649 };
37650
37651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
37652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37654 if (obj1) {
37655 arg2 = (int) SWIG_AsInt(obj1);
37656 if (PyErr_Occurred()) SWIG_fail;
37657 }
37658 if (obj2) {
37659 arg3 = (int) SWIG_AsInt(obj2);
37660 if (PyErr_Occurred()) SWIG_fail;
37661 }
37662 {
37663 PyThreadState* __tstate = wxPyBeginAllowThreads();
37664 wxGBSpan_Set(arg1,arg2,arg3);
37665
37666 wxPyEndAllowThreads(__tstate);
37667 if (PyErr_Occurred()) SWIG_fail;
37668 }
37669 Py_INCREF(Py_None); resultobj = Py_None;
37670 return resultobj;
37671 fail:
37672 return NULL;
37673}
37674
37675
37676static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
37677 PyObject *resultobj;
37678 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37679 PyObject *result;
37680 PyObject * obj0 = 0 ;
37681 char *kwnames[] = {
37682 (char *) "self", NULL
37683 };
37684
37685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
37686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37688 {
37689 PyThreadState* __tstate = wxPyBeginAllowThreads();
37690 result = (PyObject *)wxGBSpan_Get(arg1);
37691
37692 wxPyEndAllowThreads(__tstate);
37693 if (PyErr_Occurred()) SWIG_fail;
37694 }
37695 resultobj = result;
37696 return resultobj;
37697 fail:
37698 return NULL;
37699}
37700
37701
37702static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
37703 PyObject *obj;
37704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37705 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37706 Py_INCREF(obj);
37707 return Py_BuildValue((char *)"");
37708}
37709static int _wrap_DefaultSpan_set(PyObject *_val) {
37710 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37711 return 1;
37712}
37713
37714
37715static PyObject *_wrap_DefaultSpan_get() {
37716 PyObject *pyobj;
37717
37718 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
37719 return pyobj;
37720}
37721
37722
37723static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
37724 PyObject *resultobj;
37725 wxGBSizerItem *result;
37726 char *kwnames[] = {
37727 NULL
37728 };
37729
37730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37731 {
37732 PyThreadState* __tstate = wxPyBeginAllowThreads();
37733 result = (wxGBSizerItem *)new wxGBSizerItem();
37734
37735 wxPyEndAllowThreads(__tstate);
37736 if (PyErr_Occurred()) SWIG_fail;
37737 }
37738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37739 return resultobj;
37740 fail:
37741 return NULL;
37742}
37743
37744
37745static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
37746 PyObject *resultobj;
37747 wxWindow *arg1 = (wxWindow *) 0 ;
37748 wxGBPosition *arg2 = 0 ;
37749 wxGBSpan *arg3 = 0 ;
37750 int arg4 ;
37751 int arg5 ;
37752 wxObject *arg6 = (wxObject *) 0 ;
37753 wxGBSizerItem *result;
37754 wxGBPosition temp2 ;
37755 wxGBSpan temp3 ;
37756 PyObject * obj0 = 0 ;
37757 PyObject * obj1 = 0 ;
37758 PyObject * obj2 = 0 ;
37759 PyObject * obj3 = 0 ;
37760 PyObject * obj4 = 0 ;
37761 PyObject * obj5 = 0 ;
37762 char *kwnames[] = {
37763 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37764 };
37765
37766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
37767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37769 {
37770 arg2 = &temp2;
37771 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37772 }
37773 {
37774 arg3 = &temp3;
37775 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37776 }
37777 arg4 = (int) SWIG_AsInt(obj3);
37778 if (PyErr_Occurred()) SWIG_fail;
37779 arg5 = (int) SWIG_AsInt(obj4);
37780 if (PyErr_Occurred()) SWIG_fail;
37781 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37783 {
37784 PyThreadState* __tstate = wxPyBeginAllowThreads();
37785 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37786
37787 wxPyEndAllowThreads(__tstate);
37788 if (PyErr_Occurred()) SWIG_fail;
37789 }
37790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37791 return resultobj;
37792 fail:
37793 return NULL;
37794}
37795
37796
37797static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
37798 PyObject *resultobj;
37799 wxSizer *arg1 = (wxSizer *) 0 ;
37800 wxGBPosition *arg2 = 0 ;
37801 wxGBSpan *arg3 = 0 ;
37802 int arg4 ;
37803 int arg5 ;
37804 wxObject *arg6 = (wxObject *) 0 ;
37805 wxGBSizerItem *result;
37806 wxGBPosition temp2 ;
37807 wxGBSpan temp3 ;
37808 PyObject * obj0 = 0 ;
37809 PyObject * obj1 = 0 ;
37810 PyObject * obj2 = 0 ;
37811 PyObject * obj3 = 0 ;
37812 PyObject * obj4 = 0 ;
37813 PyObject * obj5 = 0 ;
37814 char *kwnames[] = {
37815 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37816 };
37817
37818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
37819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37821 {
37822 arg2 = &temp2;
37823 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37824 }
37825 {
37826 arg3 = &temp3;
37827 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37828 }
37829 arg4 = (int) SWIG_AsInt(obj3);
37830 if (PyErr_Occurred()) SWIG_fail;
37831 arg5 = (int) SWIG_AsInt(obj4);
37832 if (PyErr_Occurred()) SWIG_fail;
37833 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37835 {
37836 PyThreadState* __tstate = wxPyBeginAllowThreads();
37837 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37838
37839 wxPyEndAllowThreads(__tstate);
37840 if (PyErr_Occurred()) SWIG_fail;
37841 }
37842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37843 return resultobj;
37844 fail:
37845 return NULL;
37846}
37847
37848
37849static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
37850 PyObject *resultobj;
37851 int arg1 ;
37852 int arg2 ;
37853 wxGBPosition *arg3 = 0 ;
37854 wxGBSpan *arg4 = 0 ;
37855 int arg5 ;
37856 int arg6 ;
37857 wxObject *arg7 = (wxObject *) 0 ;
37858 wxGBSizerItem *result;
37859 wxGBPosition temp3 ;
37860 wxGBSpan temp4 ;
37861 PyObject * obj0 = 0 ;
37862 PyObject * obj1 = 0 ;
37863 PyObject * obj2 = 0 ;
37864 PyObject * obj3 = 0 ;
37865 PyObject * obj4 = 0 ;
37866 PyObject * obj5 = 0 ;
37867 PyObject * obj6 = 0 ;
37868 char *kwnames[] = {
37869 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37870 };
37871
37872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
37873 arg1 = (int) SWIG_AsInt(obj0);
37874 if (PyErr_Occurred()) SWIG_fail;
37875 arg2 = (int) SWIG_AsInt(obj1);
37876 if (PyErr_Occurred()) SWIG_fail;
37877 {
37878 arg3 = &temp3;
37879 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37880 }
37881 {
37882 arg4 = &temp4;
37883 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37884 }
37885 arg5 = (int) SWIG_AsInt(obj4);
37886 if (PyErr_Occurred()) SWIG_fail;
37887 arg6 = (int) SWIG_AsInt(obj5);
37888 if (PyErr_Occurred()) SWIG_fail;
37889 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
37890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37891 {
37892 PyThreadState* __tstate = wxPyBeginAllowThreads();
37893 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37894
37895 wxPyEndAllowThreads(__tstate);
37896 if (PyErr_Occurred()) SWIG_fail;
37897 }
37898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
37899 return resultobj;
37900 fail:
37901 return NULL;
37902}
37903
37904
37905static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37906 PyObject *resultobj;
37907 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37908 wxGBPosition result;
37909 PyObject * obj0 = 0 ;
37910 char *kwnames[] = {
37911 (char *) "self", NULL
37912 };
37913
37914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
37915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37917 {
37918 PyThreadState* __tstate = wxPyBeginAllowThreads();
37919 result = ((wxGBSizerItem const *)arg1)->GetPos();
37920
37921 wxPyEndAllowThreads(__tstate);
37922 if (PyErr_Occurred()) SWIG_fail;
37923 }
37924 {
37925 wxGBPosition * resultptr;
37926 resultptr = new wxGBPosition((wxGBPosition &) result);
37927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
37928 }
37929 return resultobj;
37930 fail:
37931 return NULL;
37932}
37933
37934
37935static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
37936 PyObject *resultobj;
37937 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37938 wxGBSpan result;
37939 PyObject * obj0 = 0 ;
37940 char *kwnames[] = {
37941 (char *) "self", NULL
37942 };
37943
37944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
37945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37947 {
37948 PyThreadState* __tstate = wxPyBeginAllowThreads();
37949 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37950
37951 wxPyEndAllowThreads(__tstate);
37952 if (PyErr_Occurred()) SWIG_fail;
37953 }
37954 {
37955 wxGBSpan * resultptr;
37956 resultptr = new wxGBSpan((wxGBSpan &) result);
37957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
37958 }
37959 return resultobj;
37960 fail:
37961 return NULL;
37962}
37963
37964
37965static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
37966 PyObject *resultobj;
37967 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37968 wxGBPosition *arg2 = 0 ;
37969 bool result;
37970 wxGBPosition temp2 ;
37971 PyObject * obj0 = 0 ;
37972 PyObject * obj1 = 0 ;
37973 char *kwnames[] = {
37974 (char *) "self",(char *) "pos", NULL
37975 };
37976
37977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
37978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37980 {
37981 arg2 = &temp2;
37982 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37983 }
37984 {
37985 PyThreadState* __tstate = wxPyBeginAllowThreads();
37986 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37987
37988 wxPyEndAllowThreads(__tstate);
37989 if (PyErr_Occurred()) SWIG_fail;
37990 }
37991 {
37992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37993 }
37994 return resultobj;
37995 fail:
37996 return NULL;
37997}
37998
37999
38000static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
38001 PyObject *resultobj;
38002 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38003 wxGBSpan *arg2 = 0 ;
38004 bool result;
38005 wxGBSpan temp2 ;
38006 PyObject * obj0 = 0 ;
38007 PyObject * obj1 = 0 ;
38008 char *kwnames[] = {
38009 (char *) "self",(char *) "span", NULL
38010 };
38011
38012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
38013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38015 {
38016 arg2 = &temp2;
38017 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
38018 }
38019 {
38020 PyThreadState* __tstate = wxPyBeginAllowThreads();
38021 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
38022
38023 wxPyEndAllowThreads(__tstate);
38024 if (PyErr_Occurred()) SWIG_fail;
38025 }
38026 {
38027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38028 }
38029 return resultobj;
38030 fail:
38031 return NULL;
38032}
38033
38034
38035static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
38036 PyObject *resultobj;
38037 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38038 wxGBSizerItem *arg2 = 0 ;
38039 bool result;
38040 PyObject * obj0 = 0 ;
38041 PyObject * obj1 = 0 ;
38042
38043 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
38044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38046 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38047 SWIG_POINTER_EXCEPTION | 0)) == -1)
38048 SWIG_fail;
38049 if (arg2 == NULL) {
38050 PyErr_SetString(PyExc_TypeError,"null reference");
38051 SWIG_fail;
38052 }
38053 {
38054 PyThreadState* __tstate = wxPyBeginAllowThreads();
38055 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
38056
38057 wxPyEndAllowThreads(__tstate);
38058 if (PyErr_Occurred()) SWIG_fail;
38059 }
38060 {
38061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38062 }
38063 return resultobj;
38064 fail:
38065 return NULL;
38066}
38067
38068
38069static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
38070 PyObject *resultobj;
38071 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38072 wxGBPosition *arg2 = 0 ;
38073 wxGBSpan *arg3 = 0 ;
38074 bool result;
38075 wxGBPosition temp2 ;
38076 wxGBSpan temp3 ;
38077 PyObject * obj0 = 0 ;
38078 PyObject * obj1 = 0 ;
38079 PyObject * obj2 = 0 ;
38080
38081 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
38082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38084 {
38085 arg2 = &temp2;
38086 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38087 }
38088 {
38089 arg3 = &temp3;
38090 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38091 }
38092 {
38093 PyThreadState* __tstate = wxPyBeginAllowThreads();
38094 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
38095
38096 wxPyEndAllowThreads(__tstate);
38097 if (PyErr_Occurred()) SWIG_fail;
38098 }
38099 {
38100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38101 }
38102 return resultobj;
38103 fail:
38104 return NULL;
38105}
38106
38107
38108static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
38109 int argc;
38110 PyObject *argv[4];
38111 int ii;
38112
38113 argc = PyObject_Length(args);
38114 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38115 argv[ii] = PyTuple_GetItem(args,ii);
38116 }
38117 if (argc == 2) {
38118 int _v;
38119 {
38120 void *ptr;
38121 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
38122 _v = 0;
38123 PyErr_Clear();
38124 } else {
38125 _v = 1;
38126 }
38127 }
38128 if (_v) {
38129 {
38130 void *ptr;
38131 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
38132 _v = 0;
38133 PyErr_Clear();
38134 } else {
38135 _v = 1;
38136 }
38137 }
38138 if (_v) {
38139 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
38140 }
38141 }
38142 }
38143 if (argc == 3) {
38144 int _v;
38145 {
38146 void *ptr;
38147 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
38148 _v = 0;
38149 PyErr_Clear();
38150 } else {
38151 _v = 1;
38152 }
38153 }
38154 if (_v) {
38155 {
38156 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
38157 }
38158 if (_v) {
38159 {
38160 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38161 }
38162 if (_v) {
38163 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
38164 }
38165 }
38166 }
38167 }
38168
38169 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
38170 return NULL;
38171}
38172
38173
38174static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
38175 PyObject *resultobj;
38176 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38177 int *arg2 = 0 ;
38178 int *arg3 = 0 ;
38179 PyObject * obj0 = 0 ;
38180 PyObject * obj1 = 0 ;
38181 PyObject * obj2 = 0 ;
38182 char *kwnames[] = {
38183 (char *) "self",(char *) "row",(char *) "col", NULL
38184 };
38185
38186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
38187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
38190 SWIG_POINTER_EXCEPTION | 0)) == -1)
38191 SWIG_fail;
38192 if (arg2 == NULL) {
38193 PyErr_SetString(PyExc_TypeError,"null reference");
38194 SWIG_fail;
38195 }
38196 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
38197 SWIG_POINTER_EXCEPTION | 0)) == -1)
38198 SWIG_fail;
38199 if (arg3 == NULL) {
38200 PyErr_SetString(PyExc_TypeError,"null reference");
38201 SWIG_fail;
38202 }
38203 {
38204 PyThreadState* __tstate = wxPyBeginAllowThreads();
38205 (arg1)->GetEndPos(*arg2,*arg3);
38206
38207 wxPyEndAllowThreads(__tstate);
38208 if (PyErr_Occurred()) SWIG_fail;
38209 }
38210 Py_INCREF(Py_None); resultobj = Py_None;
38211 return resultobj;
38212 fail:
38213 return NULL;
38214}
38215
38216
38217static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
38218 PyObject *resultobj;
38219 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38220 wxGridBagSizer *result;
38221 PyObject * obj0 = 0 ;
38222 char *kwnames[] = {
38223 (char *) "self", NULL
38224 };
38225
38226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
38227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38229 {
38230 PyThreadState* __tstate = wxPyBeginAllowThreads();
38231 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
38232
38233 wxPyEndAllowThreads(__tstate);
38234 if (PyErr_Occurred()) SWIG_fail;
38235 }
38236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
38237 return resultobj;
38238 fail:
38239 return NULL;
38240}
38241
38242
38243static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
38244 PyObject *resultobj;
38245 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38246 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
38247 PyObject * obj0 = 0 ;
38248 PyObject * obj1 = 0 ;
38249 char *kwnames[] = {
38250 (char *) "self",(char *) "sizer", NULL
38251 };
38252
38253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
38254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
38257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38258 {
38259 PyThreadState* __tstate = wxPyBeginAllowThreads();
38260 (arg1)->SetGBSizer(arg2);
38261
38262 wxPyEndAllowThreads(__tstate);
38263 if (PyErr_Occurred()) SWIG_fail;
38264 }
38265 Py_INCREF(Py_None); resultobj = Py_None;
38266 return resultobj;
38267 fail:
38268 return NULL;
38269}
38270
38271
38272static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
38273 PyObject *obj;
38274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38275 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
38276 Py_INCREF(obj);
38277 return Py_BuildValue((char *)"");
38278}
38279static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
38280 PyObject *resultobj;
38281 int arg1 = (int) 0 ;
38282 int arg2 = (int) 0 ;
38283 wxGridBagSizer *result;
38284 PyObject * obj0 = 0 ;
38285 PyObject * obj1 = 0 ;
38286 char *kwnames[] = {
38287 (char *) "vgap",(char *) "hgap", NULL
38288 };
38289
38290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
38291 if (obj0) {
38292 arg1 = (int) SWIG_AsInt(obj0);
38293 if (PyErr_Occurred()) SWIG_fail;
38294 }
38295 if (obj1) {
38296 arg2 = (int) SWIG_AsInt(obj1);
38297 if (PyErr_Occurred()) SWIG_fail;
38298 }
38299 {
38300 PyThreadState* __tstate = wxPyBeginAllowThreads();
38301 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
38302
38303 wxPyEndAllowThreads(__tstate);
38304 if (PyErr_Occurred()) SWIG_fail;
38305 }
38306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
38307 return resultobj;
38308 fail:
38309 return NULL;
38310}
38311
38312
38313static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
38314 PyObject *resultobj;
38315 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38316 PyObject *arg2 = (PyObject *) 0 ;
38317 wxGBPosition *arg3 = 0 ;
38318 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
38319 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
38320 int arg5 = (int) 0 ;
38321 int arg6 = (int) 0 ;
38322 PyObject *arg7 = (PyObject *) NULL ;
38323 bool result;
38324 wxGBPosition temp3 ;
38325 wxGBSpan temp4 ;
38326 PyObject * obj0 = 0 ;
38327 PyObject * obj1 = 0 ;
38328 PyObject * obj2 = 0 ;
38329 PyObject * obj3 = 0 ;
38330 PyObject * obj4 = 0 ;
38331 PyObject * obj5 = 0 ;
38332 PyObject * obj6 = 0 ;
38333 char *kwnames[] = {
38334 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38335 };
38336
38337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
38338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38340 arg2 = obj1;
38341 {
38342 arg3 = &temp3;
38343 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38344 }
38345 if (obj3) {
38346 {
38347 arg4 = &temp4;
38348 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38349 }
38350 }
38351 if (obj4) {
38352 arg5 = (int) SWIG_AsInt(obj4);
38353 if (PyErr_Occurred()) SWIG_fail;
38354 }
38355 if (obj5) {
38356 arg6 = (int) SWIG_AsInt(obj5);
38357 if (PyErr_Occurred()) SWIG_fail;
38358 }
38359 if (obj6) {
38360 arg7 = obj6;
38361 }
38362 {
38363 PyThreadState* __tstate = wxPyBeginAllowThreads();
38364 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
38365
38366 wxPyEndAllowThreads(__tstate);
38367 if (PyErr_Occurred()) SWIG_fail;
38368 }
38369 {
38370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38371 }
38372 return resultobj;
38373 fail:
38374 return NULL;
38375}
38376
38377
38378static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
38379 PyObject *resultobj;
38380 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38381 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38382 bool result;
38383 PyObject * obj0 = 0 ;
38384 PyObject * obj1 = 0 ;
38385 char *kwnames[] = {
38386 (char *) "self",(char *) "item", NULL
38387 };
38388
38389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
38390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38394 {
38395 PyThreadState* __tstate = wxPyBeginAllowThreads();
38396 result = (bool)(arg1)->Add(arg2);
38397
38398 wxPyEndAllowThreads(__tstate);
38399 if (PyErr_Occurred()) SWIG_fail;
38400 }
38401 {
38402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38403 }
38404 return resultobj;
38405 fail:
38406 return NULL;
38407}
38408
38409
38410static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
38411 PyObject *resultobj;
38412 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38413 wxSize result;
38414 PyObject * obj0 = 0 ;
38415 char *kwnames[] = {
38416 (char *) "self", NULL
38417 };
38418
38419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
38420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38422 {
38423 PyThreadState* __tstate = wxPyBeginAllowThreads();
38424 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
38425
38426 wxPyEndAllowThreads(__tstate);
38427 if (PyErr_Occurred()) SWIG_fail;
38428 }
38429 {
38430 wxSize * resultptr;
38431 resultptr = new wxSize((wxSize &) result);
38432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38433 }
38434 return resultobj;
38435 fail:
38436 return NULL;
38437}
38438
38439
38440static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
38441 PyObject *resultobj;
38442 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38443 wxSize *arg2 = 0 ;
38444 wxSize temp2 ;
38445 PyObject * obj0 = 0 ;
38446 PyObject * obj1 = 0 ;
38447 char *kwnames[] = {
38448 (char *) "self",(char *) "sz", NULL
38449 };
38450
38451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
38452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38454 {
38455 arg2 = &temp2;
38456 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38457 }
38458 {
38459 PyThreadState* __tstate = wxPyBeginAllowThreads();
38460 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
38461
38462 wxPyEndAllowThreads(__tstate);
38463 if (PyErr_Occurred()) SWIG_fail;
38464 }
38465 Py_INCREF(Py_None); resultobj = Py_None;
38466 return resultobj;
38467 fail:
38468 return NULL;
38469}
38470
38471
38472static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38473 PyObject *resultobj;
38474 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38475 wxWindow *arg2 = (wxWindow *) 0 ;
38476 wxGBPosition result;
38477 PyObject * obj0 = 0 ;
38478 PyObject * obj1 = 0 ;
38479
38480 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
38481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38485 {
38486 PyThreadState* __tstate = wxPyBeginAllowThreads();
38487 result = (arg1)->GetItemPosition(arg2);
38488
38489 wxPyEndAllowThreads(__tstate);
38490 if (PyErr_Occurred()) SWIG_fail;
38491 }
38492 {
38493 wxGBPosition * resultptr;
38494 resultptr = new wxGBPosition((wxGBPosition &) result);
38495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
38496 }
38497 return resultobj;
38498 fail:
38499 return NULL;
38500}
38501
38502
38503static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38504 PyObject *resultobj;
38505 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38506 wxSizer *arg2 = (wxSizer *) 0 ;
38507 wxGBPosition result;
38508 PyObject * obj0 = 0 ;
38509 PyObject * obj1 = 0 ;
38510
38511 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
38512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38514 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38516 {
38517 PyThreadState* __tstate = wxPyBeginAllowThreads();
38518 result = (arg1)->GetItemPosition(arg2);
38519
38520 wxPyEndAllowThreads(__tstate);
38521 if (PyErr_Occurred()) SWIG_fail;
38522 }
38523 {
38524 wxGBPosition * resultptr;
38525 resultptr = new wxGBPosition((wxGBPosition &) result);
38526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
38527 }
38528 return resultobj;
38529 fail:
38530 return NULL;
38531}
38532
38533
38534static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38535 PyObject *resultobj;
38536 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38537 size_t arg2 ;
38538 wxGBPosition result;
38539 PyObject * obj0 = 0 ;
38540 PyObject * obj1 = 0 ;
38541
38542 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
38543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38545 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38546 if (PyErr_Occurred()) SWIG_fail;
38547 {
38548 PyThreadState* __tstate = wxPyBeginAllowThreads();
38549 result = (arg1)->GetItemPosition(arg2);
38550
38551 wxPyEndAllowThreads(__tstate);
38552 if (PyErr_Occurred()) SWIG_fail;
38553 }
38554 {
38555 wxGBPosition * resultptr;
38556 resultptr = new wxGBPosition((wxGBPosition &) result);
38557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
38558 }
38559 return resultobj;
38560 fail:
38561 return NULL;
38562}
38563
38564
38565static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
38566 int argc;
38567 PyObject *argv[3];
38568 int ii;
38569
38570 argc = PyObject_Length(args);
38571 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38572 argv[ii] = PyTuple_GetItem(args,ii);
38573 }
38574 if (argc == 2) {
38575 int _v;
38576 {
38577 void *ptr;
38578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38579 _v = 0;
38580 PyErr_Clear();
38581 } else {
38582 _v = 1;
38583 }
38584 }
38585 if (_v) {
38586 {
38587 void *ptr;
38588 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38589 _v = 0;
38590 PyErr_Clear();
38591 } else {
38592 _v = 1;
38593 }
38594 }
38595 if (_v) {
38596 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
38597 }
38598 }
38599 }
38600 if (argc == 2) {
38601 int _v;
38602 {
38603 void *ptr;
38604 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38605 _v = 0;
38606 PyErr_Clear();
38607 } else {
38608 _v = 1;
38609 }
38610 }
38611 if (_v) {
38612 {
38613 void *ptr;
38614 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38615 _v = 0;
38616 PyErr_Clear();
38617 } else {
38618 _v = 1;
38619 }
38620 }
38621 if (_v) {
38622 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38623 }
38624 }
38625 }
38626 if (argc == 2) {
38627 int _v;
38628 {
38629 void *ptr;
38630 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38631 _v = 0;
38632 PyErr_Clear();
38633 } else {
38634 _v = 1;
38635 }
38636 }
38637 if (_v) {
38638 _v = SWIG_CheckUnsignedLong(argv[1]);
38639 if (_v) {
38640 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38641 }
38642 }
38643 }
38644
38645 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38646 return NULL;
38647}
38648
38649
38650static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
38651 PyObject *resultobj;
38652 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38653 wxWindow *arg2 = (wxWindow *) 0 ;
38654 wxGBPosition *arg3 = 0 ;
38655 bool result;
38656 wxGBPosition temp3 ;
38657 PyObject * obj0 = 0 ;
38658 PyObject * obj1 = 0 ;
38659 PyObject * obj2 = 0 ;
38660
38661 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38666 {
38667 arg3 = &temp3;
38668 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38669 }
38670 {
38671 PyThreadState* __tstate = wxPyBeginAllowThreads();
38672 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38673
38674 wxPyEndAllowThreads(__tstate);
38675 if (PyErr_Occurred()) SWIG_fail;
38676 }
38677 {
38678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38679 }
38680 return resultobj;
38681 fail:
38682 return NULL;
38683}
38684
38685
38686static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
38687 PyObject *resultobj;
38688 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38689 wxSizer *arg2 = (wxSizer *) 0 ;
38690 wxGBPosition *arg3 = 0 ;
38691 bool result;
38692 wxGBPosition temp3 ;
38693 PyObject * obj0 = 0 ;
38694 PyObject * obj1 = 0 ;
38695 PyObject * obj2 = 0 ;
38696
38697 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38702 {
38703 arg3 = &temp3;
38704 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38705 }
38706 {
38707 PyThreadState* __tstate = wxPyBeginAllowThreads();
38708 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38709
38710 wxPyEndAllowThreads(__tstate);
38711 if (PyErr_Occurred()) SWIG_fail;
38712 }
38713 {
38714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38715 }
38716 return resultobj;
38717 fail:
38718 return NULL;
38719}
38720
38721
38722static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
38723 PyObject *resultobj;
38724 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38725 size_t arg2 ;
38726 wxGBPosition *arg3 = 0 ;
38727 bool result;
38728 wxGBPosition temp3 ;
38729 PyObject * obj0 = 0 ;
38730 PyObject * obj1 = 0 ;
38731 PyObject * obj2 = 0 ;
38732
38733 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
38734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38736 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38737 if (PyErr_Occurred()) SWIG_fail;
38738 {
38739 arg3 = &temp3;
38740 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38741 }
38742 {
38743 PyThreadState* __tstate = wxPyBeginAllowThreads();
38744 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38745
38746 wxPyEndAllowThreads(__tstate);
38747 if (PyErr_Occurred()) SWIG_fail;
38748 }
38749 {
38750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38751 }
38752 return resultobj;
38753 fail:
38754 return NULL;
38755}
38756
38757
38758static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38759 int argc;
38760 PyObject *argv[4];
38761 int ii;
38762
38763 argc = PyObject_Length(args);
38764 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38765 argv[ii] = PyTuple_GetItem(args,ii);
38766 }
38767 if (argc == 3) {
38768 int _v;
38769 {
38770 void *ptr;
38771 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38772 _v = 0;
38773 PyErr_Clear();
38774 } else {
38775 _v = 1;
38776 }
38777 }
38778 if (_v) {
38779 {
38780 void *ptr;
38781 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38782 _v = 0;
38783 PyErr_Clear();
38784 } else {
38785 _v = 1;
38786 }
38787 }
38788 if (_v) {
38789 {
38790 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38791 }
38792 if (_v) {
38793 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38794 }
38795 }
38796 }
38797 }
38798 if (argc == 3) {
38799 int _v;
38800 {
38801 void *ptr;
38802 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38803 _v = 0;
38804 PyErr_Clear();
38805 } else {
38806 _v = 1;
38807 }
38808 }
38809 if (_v) {
38810 {
38811 void *ptr;
38812 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
38813 _v = 0;
38814 PyErr_Clear();
38815 } else {
38816 _v = 1;
38817 }
38818 }
38819 if (_v) {
38820 {
38821 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38822 }
38823 if (_v) {
38824 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38825 }
38826 }
38827 }
38828 }
38829 if (argc == 3) {
38830 int _v;
38831 {
38832 void *ptr;
38833 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38834 _v = 0;
38835 PyErr_Clear();
38836 } else {
38837 _v = 1;
38838 }
38839 }
38840 if (_v) {
38841 _v = SWIG_CheckUnsignedLong(argv[1]);
38842 if (_v) {
38843 {
38844 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38845 }
38846 if (_v) {
38847 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38848 }
38849 }
38850 }
38851 }
38852
38853 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38854 return NULL;
38855}
38856
38857
38858static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
38859 PyObject *resultobj;
38860 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38861 wxWindow *arg2 = (wxWindow *) 0 ;
38862 wxGBSpan result;
38863 PyObject * obj0 = 0 ;
38864 PyObject * obj1 = 0 ;
38865
38866 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38871 {
38872 PyThreadState* __tstate = wxPyBeginAllowThreads();
38873 result = (arg1)->GetItemSpan(arg2);
38874
38875 wxPyEndAllowThreads(__tstate);
38876 if (PyErr_Occurred()) SWIG_fail;
38877 }
38878 {
38879 wxGBSpan * resultptr;
38880 resultptr = new wxGBSpan((wxGBSpan &) result);
38881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38882 }
38883 return resultobj;
38884 fail:
38885 return NULL;
38886}
38887
38888
38889static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
38890 PyObject *resultobj;
38891 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38892 wxSizer *arg2 = (wxSizer *) 0 ;
38893 wxGBSpan result;
38894 PyObject * obj0 = 0 ;
38895 PyObject * obj1 = 0 ;
38896
38897 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38902 {
38903 PyThreadState* __tstate = wxPyBeginAllowThreads();
38904 result = (arg1)->GetItemSpan(arg2);
38905
38906 wxPyEndAllowThreads(__tstate);
38907 if (PyErr_Occurred()) SWIG_fail;
38908 }
38909 {
38910 wxGBSpan * resultptr;
38911 resultptr = new wxGBSpan((wxGBSpan &) result);
38912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38913 }
38914 return resultobj;
38915 fail:
38916 return NULL;
38917}
38918
38919
38920static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
38921 PyObject *resultobj;
38922 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38923 size_t arg2 ;
38924 wxGBSpan result;
38925 PyObject * obj0 = 0 ;
38926 PyObject * obj1 = 0 ;
38927
38928 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
38929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38931 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38932 if (PyErr_Occurred()) SWIG_fail;
38933 {
38934 PyThreadState* __tstate = wxPyBeginAllowThreads();
38935 result = (arg1)->GetItemSpan(arg2);
38936
38937 wxPyEndAllowThreads(__tstate);
38938 if (PyErr_Occurred()) SWIG_fail;
38939 }
38940 {
38941 wxGBSpan * resultptr;
38942 resultptr = new wxGBSpan((wxGBSpan &) result);
38943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38944 }
38945 return resultobj;
38946 fail:
38947 return NULL;
38948}
38949
38950
38951static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38952 int argc;
38953 PyObject *argv[3];
38954 int ii;
38955
38956 argc = PyObject_Length(args);
38957 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38958 argv[ii] = PyTuple_GetItem(args,ii);
38959 }
38960 if (argc == 2) {
38961 int _v;
38962 {
38963 void *ptr;
38964 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38965 _v = 0;
38966 PyErr_Clear();
38967 } else {
38968 _v = 1;
38969 }
38970 }
38971 if (_v) {
38972 {
38973 void *ptr;
38974 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
38975 _v = 0;
38976 PyErr_Clear();
38977 } else {
38978 _v = 1;
38979 }
38980 }
38981 if (_v) {
38982 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38983 }
38984 }
38985 }
38986 if (argc == 2) {
38987 int _v;
38988 {
38989 void *ptr;
38990 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
38991 _v = 0;
38992 PyErr_Clear();
38993 } else {
38994 _v = 1;
38995 }
38996 }
38997 if (_v) {
38998 {
38999 void *ptr;
39000 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39001 _v = 0;
39002 PyErr_Clear();
39003 } else {
39004 _v = 1;
39005 }
39006 }
39007 if (_v) {
39008 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
39009 }
39010 }
39011 }
39012 if (argc == 2) {
39013 int _v;
39014 {
39015 void *ptr;
39016 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39017 _v = 0;
39018 PyErr_Clear();
39019 } else {
39020 _v = 1;
39021 }
39022 }
39023 if (_v) {
39024 _v = SWIG_CheckUnsignedLong(argv[1]);
39025 if (_v) {
39026 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
39027 }
39028 }
39029 }
39030
39031 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39032 return NULL;
39033}
39034
39035
39036static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
39037 PyObject *resultobj;
39038 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39039 wxWindow *arg2 = (wxWindow *) 0 ;
39040 wxGBSpan *arg3 = 0 ;
39041 bool result;
39042 wxGBSpan temp3 ;
39043 PyObject * obj0 = 0 ;
39044 PyObject * obj1 = 0 ;
39045 PyObject * obj2 = 0 ;
39046
39047 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
39048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39052 {
39053 arg3 = &temp3;
39054 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39055 }
39056 {
39057 PyThreadState* __tstate = wxPyBeginAllowThreads();
39058 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39059
39060 wxPyEndAllowThreads(__tstate);
39061 if (PyErr_Occurred()) SWIG_fail;
39062 }
39063 {
39064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39065 }
39066 return resultobj;
39067 fail:
39068 return NULL;
39069}
39070
39071
39072static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
39073 PyObject *resultobj;
39074 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39075 wxSizer *arg2 = (wxSizer *) 0 ;
39076 wxGBSpan *arg3 = 0 ;
39077 bool result;
39078 wxGBSpan temp3 ;
39079 PyObject * obj0 = 0 ;
39080 PyObject * obj1 = 0 ;
39081 PyObject * obj2 = 0 ;
39082
39083 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
39084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39088 {
39089 arg3 = &temp3;
39090 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39091 }
39092 {
39093 PyThreadState* __tstate = wxPyBeginAllowThreads();
39094 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39095
39096 wxPyEndAllowThreads(__tstate);
39097 if (PyErr_Occurred()) SWIG_fail;
39098 }
39099 {
39100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39101 }
39102 return resultobj;
39103 fail:
39104 return NULL;
39105}
39106
39107
39108static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
39109 PyObject *resultobj;
39110 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39111 size_t arg2 ;
39112 wxGBSpan *arg3 = 0 ;
39113 bool result;
39114 wxGBSpan temp3 ;
39115 PyObject * obj0 = 0 ;
39116 PyObject * obj1 = 0 ;
39117 PyObject * obj2 = 0 ;
39118
39119 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
39120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39122 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
39123 if (PyErr_Occurred()) SWIG_fail;
39124 {
39125 arg3 = &temp3;
39126 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39127 }
39128 {
39129 PyThreadState* __tstate = wxPyBeginAllowThreads();
39130 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39131
39132 wxPyEndAllowThreads(__tstate);
39133 if (PyErr_Occurred()) SWIG_fail;
39134 }
39135 {
39136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39137 }
39138 return resultobj;
39139 fail:
39140 return NULL;
39141}
39142
39143
39144static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
39145 int argc;
39146 PyObject *argv[4];
39147 int ii;
39148
39149 argc = PyObject_Length(args);
39150 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
39151 argv[ii] = PyTuple_GetItem(args,ii);
39152 }
39153 if (argc == 3) {
39154 int _v;
39155 {
39156 void *ptr;
39157 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39158 _v = 0;
39159 PyErr_Clear();
39160 } else {
39161 _v = 1;
39162 }
39163 }
39164 if (_v) {
39165 {
39166 void *ptr;
39167 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
39168 _v = 0;
39169 PyErr_Clear();
39170 } else {
39171 _v = 1;
39172 }
39173 }
39174 if (_v) {
39175 {
39176 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39177 }
39178 if (_v) {
39179 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
39180 }
39181 }
39182 }
39183 }
39184 if (argc == 3) {
39185 int _v;
39186 {
39187 void *ptr;
39188 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39189 _v = 0;
39190 PyErr_Clear();
39191 } else {
39192 _v = 1;
39193 }
39194 }
39195 if (_v) {
39196 {
39197 void *ptr;
39198 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39199 _v = 0;
39200 PyErr_Clear();
39201 } else {
39202 _v = 1;
39203 }
39204 }
39205 if (_v) {
39206 {
39207 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39208 }
39209 if (_v) {
39210 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
39211 }
39212 }
39213 }
39214 }
39215 if (argc == 3) {
39216 int _v;
39217 {
39218 void *ptr;
39219 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39220 _v = 0;
39221 PyErr_Clear();
39222 } else {
39223 _v = 1;
39224 }
39225 }
39226 if (_v) {
39227 _v = SWIG_CheckUnsignedLong(argv[1]);
39228 if (_v) {
39229 {
39230 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39231 }
39232 if (_v) {
39233 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
39234 }
39235 }
39236 }
39237 }
39238
39239 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39240 return NULL;
39241}
39242
39243
39244static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
39245 PyObject *resultobj;
39246 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39247 wxWindow *arg2 = (wxWindow *) 0 ;
39248 wxGBSizerItem *result;
39249 PyObject * obj0 = 0 ;
39250 PyObject * obj1 = 0 ;
39251
39252 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
39253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39257 {
39258 PyThreadState* __tstate = wxPyBeginAllowThreads();
39259 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39260
39261 wxPyEndAllowThreads(__tstate);
39262 if (PyErr_Occurred()) SWIG_fail;
39263 }
39264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39265 return resultobj;
39266 fail:
39267 return NULL;
39268}
39269
39270
39271static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
39272 PyObject *resultobj;
39273 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39274 wxSizer *arg2 = (wxSizer *) 0 ;
39275 wxGBSizerItem *result;
39276 PyObject * obj0 = 0 ;
39277 PyObject * obj1 = 0 ;
39278
39279 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
39280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39284 {
39285 PyThreadState* __tstate = wxPyBeginAllowThreads();
39286 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39287
39288 wxPyEndAllowThreads(__tstate);
39289 if (PyErr_Occurred()) SWIG_fail;
39290 }
39291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39292 return resultobj;
39293 fail:
39294 return NULL;
39295}
39296
39297
39298static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
39299 int argc;
39300 PyObject *argv[3];
39301 int ii;
39302
39303 argc = PyObject_Length(args);
39304 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39305 argv[ii] = PyTuple_GetItem(args,ii);
39306 }
39307 if (argc == 2) {
39308 int _v;
39309 {
39310 void *ptr;
39311 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39312 _v = 0;
39313 PyErr_Clear();
39314 } else {
39315 _v = 1;
39316 }
39317 }
39318 if (_v) {
39319 {
39320 void *ptr;
39321 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
39322 _v = 0;
39323 PyErr_Clear();
39324 } else {
39325 _v = 1;
39326 }
39327 }
39328 if (_v) {
39329 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
39330 }
39331 }
39332 }
39333 if (argc == 2) {
39334 int _v;
39335 {
39336 void *ptr;
39337 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39338 _v = 0;
39339 PyErr_Clear();
39340 } else {
39341 _v = 1;
39342 }
39343 }
39344 if (_v) {
39345 {
39346 void *ptr;
39347 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39348 _v = 0;
39349 PyErr_Clear();
39350 } else {
39351 _v = 1;
39352 }
39353 }
39354 if (_v) {
39355 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
39356 }
39357 }
39358 }
39359
39360 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
39361 return NULL;
39362}
39363
39364
39365static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
39366 PyObject *resultobj;
39367 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39368 wxGBPosition *arg2 = 0 ;
39369 wxGBSizerItem *result;
39370 wxGBPosition temp2 ;
39371 PyObject * obj0 = 0 ;
39372 PyObject * obj1 = 0 ;
39373 char *kwnames[] = {
39374 (char *) "self",(char *) "pos", NULL
39375 };
39376
39377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
39378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39380 {
39381 arg2 = &temp2;
39382 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39383 }
39384 {
39385 PyThreadState* __tstate = wxPyBeginAllowThreads();
39386 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
39387
39388 wxPyEndAllowThreads(__tstate);
39389 if (PyErr_Occurred()) SWIG_fail;
39390 }
39391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39392 return resultobj;
39393 fail:
39394 return NULL;
39395}
39396
39397
39398static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
39399 PyObject *resultobj;
39400 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39401 wxPoint *arg2 = 0 ;
39402 wxGBSizerItem *result;
39403 wxPoint temp2 ;
39404 PyObject * obj0 = 0 ;
39405 PyObject * obj1 = 0 ;
39406 char *kwnames[] = {
39407 (char *) "self",(char *) "pt", NULL
39408 };
39409
39410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
39411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39413 {
39414 arg2 = &temp2;
39415 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39416 }
39417 {
39418 PyThreadState* __tstate = wxPyBeginAllowThreads();
39419 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
39420
39421 wxPyEndAllowThreads(__tstate);
39422 if (PyErr_Occurred()) SWIG_fail;
39423 }
39424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39425 return resultobj;
39426 fail:
39427 return NULL;
39428}
39429
39430
39431static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
39432 PyObject *resultobj;
39433 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39434 wxObject *arg2 = (wxObject *) 0 ;
39435 wxGBSizerItem *result;
39436 PyObject * obj0 = 0 ;
39437 PyObject * obj1 = 0 ;
39438 char *kwnames[] = {
39439 (char *) "self",(char *) "userData", NULL
39440 };
39441
39442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
39443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
39446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39447 {
39448 PyThreadState* __tstate = wxPyBeginAllowThreads();
39449 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
39450
39451 wxPyEndAllowThreads(__tstate);
39452 if (PyErr_Occurred()) SWIG_fail;
39453 }
39454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39455 return resultobj;
39456 fail:
39457 return NULL;
39458}
39459
39460
39461static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
39462 PyObject *resultobj;
39463 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39464 PyObject * obj0 = 0 ;
39465 char *kwnames[] = {
39466 (char *) "self", NULL
39467 };
39468
39469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
39470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39472 {
39473 PyThreadState* __tstate = wxPyBeginAllowThreads();
39474 (arg1)->RecalcSizes();
39475
39476 wxPyEndAllowThreads(__tstate);
39477 if (PyErr_Occurred()) SWIG_fail;
39478 }
39479 Py_INCREF(Py_None); resultobj = Py_None;
39480 return resultobj;
39481 fail:
39482 return NULL;
39483}
39484
39485
39486static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
39487 PyObject *resultobj;
39488 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39489 wxSize result;
39490 PyObject * obj0 = 0 ;
39491 char *kwnames[] = {
39492 (char *) "self", NULL
39493 };
39494
39495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
39496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39498 {
39499 PyThreadState* __tstate = wxPyBeginAllowThreads();
39500 result = (arg1)->CalcMin();
39501
39502 wxPyEndAllowThreads(__tstate);
39503 if (PyErr_Occurred()) SWIG_fail;
39504 }
39505 {
39506 wxSize * resultptr;
39507 resultptr = new wxSize((wxSize &) result);
39508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
39509 }
39510 return resultobj;
39511 fail:
39512 return NULL;
39513}
39514
39515
39516static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
39517 PyObject *resultobj;
39518 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39519 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
39520 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
39521 bool result;
39522 PyObject * obj0 = 0 ;
39523 PyObject * obj1 = 0 ;
39524 PyObject * obj2 = 0 ;
39525
39526 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
39527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
39530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39531 if (obj2) {
39532 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
39533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39534 }
39535 {
39536 PyThreadState* __tstate = wxPyBeginAllowThreads();
39537 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
39538
39539 wxPyEndAllowThreads(__tstate);
39540 if (PyErr_Occurred()) SWIG_fail;
39541 }
39542 {
39543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39544 }
39545 return resultobj;
39546 fail:
39547 return NULL;
39548}
39549
39550
39551static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
39552 PyObject *resultobj;
39553 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39554 wxGBPosition *arg2 = 0 ;
39555 wxGBSpan *arg3 = 0 ;
39556 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
39557 bool result;
39558 wxGBPosition temp2 ;
39559 wxGBSpan temp3 ;
39560 PyObject * obj0 = 0 ;
39561 PyObject * obj1 = 0 ;
39562 PyObject * obj2 = 0 ;
39563 PyObject * obj3 = 0 ;
39564
39565 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
39566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39568 {
39569 arg2 = &temp2;
39570 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39571 }
39572 {
39573 arg3 = &temp3;
39574 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39575 }
39576 if (obj3) {
39577 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
39578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39579 }
39580 {
39581 PyThreadState* __tstate = wxPyBeginAllowThreads();
39582 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
39583
39584 wxPyEndAllowThreads(__tstate);
39585 if (PyErr_Occurred()) SWIG_fail;
39586 }
39587 {
39588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39589 }
39590 return resultobj;
39591 fail:
39592 return NULL;
39593}
39594
39595
39596static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
39597 int argc;
39598 PyObject *argv[5];
39599 int ii;
39600
39601 argc = PyObject_Length(args);
39602 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
39603 argv[ii] = PyTuple_GetItem(args,ii);
39604 }
39605 if ((argc >= 2) && (argc <= 3)) {
39606 int _v;
39607 {
39608 void *ptr;
39609 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39610 _v = 0;
39611 PyErr_Clear();
39612 } else {
39613 _v = 1;
39614 }
39615 }
39616 if (_v) {
39617 {
39618 void *ptr;
39619 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
39620 _v = 0;
39621 PyErr_Clear();
39622 } else {
39623 _v = 1;
39624 }
39625 }
39626 if (_v) {
39627 if (argc <= 2) {
39628 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39629 }
39630 {
39631 void *ptr;
39632 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
39633 _v = 0;
39634 PyErr_Clear();
39635 } else {
39636 _v = 1;
39637 }
39638 }
39639 if (_v) {
39640 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39641 }
39642 }
39643 }
39644 }
39645 if ((argc >= 3) && (argc <= 4)) {
39646 int _v;
39647 {
39648 void *ptr;
39649 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39650 _v = 0;
39651 PyErr_Clear();
39652 } else {
39653 _v = 1;
39654 }
39655 }
39656 if (_v) {
39657 {
39658 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
39659 }
39660 if (_v) {
39661 {
39662 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39663 }
39664 if (_v) {
39665 if (argc <= 3) {
39666 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39667 }
39668 {
39669 void *ptr;
39670 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
39671 _v = 0;
39672 PyErr_Clear();
39673 } else {
39674 _v = 1;
39675 }
39676 }
39677 if (_v) {
39678 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39679 }
39680 }
39681 }
39682 }
39683 }
39684
39685 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39686 return NULL;
39687}
39688
39689
39690static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
39691 PyObject *obj;
39692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39693 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39694 Py_INCREF(obj);
39695 return Py_BuildValue((char *)"");
39696}
39697static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
39698 PyObject *resultobj;
39699 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39700 int arg2 ;
39701 wxWindow *arg3 = (wxWindow *) 0 ;
39702 int arg4 ;
39703 int arg5 = (int) 0 ;
39704 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39705 PyObject * obj0 = 0 ;
39706 PyObject * obj1 = 0 ;
39707 PyObject * obj2 = 0 ;
39708 PyObject * obj3 = 0 ;
39709 PyObject * obj4 = 0 ;
39710 PyObject * obj5 = 0 ;
39711 char *kwnames[] = {
39712 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39713 };
39714
39715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
39716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39718 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39719 if (PyErr_Occurred()) SWIG_fail;
39720 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39722 arg4 = (wxEdge) SWIG_AsInt(obj3);
39723 if (PyErr_Occurred()) SWIG_fail;
39724 if (obj4) {
39725 arg5 = (int) SWIG_AsInt(obj4);
39726 if (PyErr_Occurred()) SWIG_fail;
39727 }
39728 if (obj5) {
39729 arg6 = (int) SWIG_AsInt(obj5);
39730 if (PyErr_Occurred()) SWIG_fail;
39731 }
39732 {
39733 PyThreadState* __tstate = wxPyBeginAllowThreads();
39734 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39735
39736 wxPyEndAllowThreads(__tstate);
39737 if (PyErr_Occurred()) SWIG_fail;
39738 }
39739 Py_INCREF(Py_None); resultobj = Py_None;
39740 return resultobj;
39741 fail:
39742 return NULL;
39743}
39744
39745
39746static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39747 PyObject *resultobj;
39748 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39749 wxWindow *arg2 = (wxWindow *) 0 ;
39750 int arg3 = (int) 0 ;
39751 PyObject * obj0 = 0 ;
39752 PyObject * obj1 = 0 ;
39753 PyObject * obj2 = 0 ;
39754 char *kwnames[] = {
39755 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39756 };
39757
39758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
39759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39763 if (obj2) {
39764 arg3 = (int) SWIG_AsInt(obj2);
39765 if (PyErr_Occurred()) SWIG_fail;
39766 }
39767 {
39768 PyThreadState* __tstate = wxPyBeginAllowThreads();
39769 (arg1)->LeftOf(arg2,arg3);
39770
39771 wxPyEndAllowThreads(__tstate);
39772 if (PyErr_Occurred()) SWIG_fail;
39773 }
39774 Py_INCREF(Py_None); resultobj = Py_None;
39775 return resultobj;
39776 fail:
39777 return NULL;
39778}
39779
39780
39781static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39782 PyObject *resultobj;
39783 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39784 wxWindow *arg2 = (wxWindow *) 0 ;
39785 int arg3 = (int) 0 ;
39786 PyObject * obj0 = 0 ;
39787 PyObject * obj1 = 0 ;
39788 PyObject * obj2 = 0 ;
39789 char *kwnames[] = {
39790 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39791 };
39792
39793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
39794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39798 if (obj2) {
39799 arg3 = (int) SWIG_AsInt(obj2);
39800 if (PyErr_Occurred()) SWIG_fail;
39801 }
39802 {
39803 PyThreadState* __tstate = wxPyBeginAllowThreads();
39804 (arg1)->RightOf(arg2,arg3);
39805
39806 wxPyEndAllowThreads(__tstate);
39807 if (PyErr_Occurred()) SWIG_fail;
39808 }
39809 Py_INCREF(Py_None); resultobj = Py_None;
39810 return resultobj;
39811 fail:
39812 return NULL;
39813}
39814
39815
39816static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
39817 PyObject *resultobj;
39818 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39819 wxWindow *arg2 = (wxWindow *) 0 ;
39820 int arg3 = (int) 0 ;
39821 PyObject * obj0 = 0 ;
39822 PyObject * obj1 = 0 ;
39823 PyObject * obj2 = 0 ;
39824 char *kwnames[] = {
39825 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39826 };
39827
39828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
39829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39833 if (obj2) {
39834 arg3 = (int) SWIG_AsInt(obj2);
39835 if (PyErr_Occurred()) SWIG_fail;
39836 }
39837 {
39838 PyThreadState* __tstate = wxPyBeginAllowThreads();
39839 (arg1)->Above(arg2,arg3);
39840
39841 wxPyEndAllowThreads(__tstate);
39842 if (PyErr_Occurred()) SWIG_fail;
39843 }
39844 Py_INCREF(Py_None); resultobj = Py_None;
39845 return resultobj;
39846 fail:
39847 return NULL;
39848}
39849
39850
39851static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
39852 PyObject *resultobj;
39853 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39854 wxWindow *arg2 = (wxWindow *) 0 ;
39855 int arg3 = (int) 0 ;
39856 PyObject * obj0 = 0 ;
39857 PyObject * obj1 = 0 ;
39858 PyObject * obj2 = 0 ;
39859 char *kwnames[] = {
39860 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39861 };
39862
39863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
39864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39868 if (obj2) {
39869 arg3 = (int) SWIG_AsInt(obj2);
39870 if (PyErr_Occurred()) SWIG_fail;
39871 }
39872 {
39873 PyThreadState* __tstate = wxPyBeginAllowThreads();
39874 (arg1)->Below(arg2,arg3);
39875
39876 wxPyEndAllowThreads(__tstate);
39877 if (PyErr_Occurred()) SWIG_fail;
39878 }
39879 Py_INCREF(Py_None); resultobj = Py_None;
39880 return resultobj;
39881 fail:
39882 return NULL;
39883}
39884
39885
39886static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
39887 PyObject *resultobj;
39888 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39889 wxWindow *arg2 = (wxWindow *) 0 ;
39890 int arg3 ;
39891 int arg4 = (int) 0 ;
39892 PyObject * obj0 = 0 ;
39893 PyObject * obj1 = 0 ;
39894 PyObject * obj2 = 0 ;
39895 PyObject * obj3 = 0 ;
39896 char *kwnames[] = {
39897 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39898 };
39899
39900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39905 arg3 = (wxEdge) SWIG_AsInt(obj2);
39906 if (PyErr_Occurred()) SWIG_fail;
39907 if (obj3) {
39908 arg4 = (int) SWIG_AsInt(obj3);
39909 if (PyErr_Occurred()) SWIG_fail;
39910 }
39911 {
39912 PyThreadState* __tstate = wxPyBeginAllowThreads();
39913 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39914
39915 wxPyEndAllowThreads(__tstate);
39916 if (PyErr_Occurred()) SWIG_fail;
39917 }
39918 Py_INCREF(Py_None); resultobj = Py_None;
39919 return resultobj;
39920 fail:
39921 return NULL;
39922}
39923
39924
39925static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
39926 PyObject *resultobj;
39927 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39928 wxWindow *arg2 = (wxWindow *) 0 ;
39929 int arg3 ;
39930 int arg4 ;
39931 PyObject * obj0 = 0 ;
39932 PyObject * obj1 = 0 ;
39933 PyObject * obj2 = 0 ;
39934 PyObject * obj3 = 0 ;
39935 char *kwnames[] = {
39936 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39937 };
39938
39939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
39940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39944 arg3 = (wxEdge) SWIG_AsInt(obj2);
39945 if (PyErr_Occurred()) SWIG_fail;
39946 arg4 = (int) SWIG_AsInt(obj3);
39947 if (PyErr_Occurred()) SWIG_fail;
39948 {
39949 PyThreadState* __tstate = wxPyBeginAllowThreads();
39950 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39951
39952 wxPyEndAllowThreads(__tstate);
39953 if (PyErr_Occurred()) SWIG_fail;
39954 }
39955 Py_INCREF(Py_None); resultobj = Py_None;
39956 return resultobj;
39957 fail:
39958 return NULL;
39959}
39960
39961
39962static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
39963 PyObject *resultobj;
39964 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39965 int arg2 ;
39966 PyObject * obj0 = 0 ;
39967 PyObject * obj1 = 0 ;
39968 char *kwnames[] = {
39969 (char *) "self",(char *) "val", NULL
39970 };
39971
39972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
39973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39975 arg2 = (int) SWIG_AsInt(obj1);
39976 if (PyErr_Occurred()) SWIG_fail;
39977 {
39978 PyThreadState* __tstate = wxPyBeginAllowThreads();
39979 (arg1)->Absolute(arg2);
39980
39981 wxPyEndAllowThreads(__tstate);
39982 if (PyErr_Occurred()) SWIG_fail;
39983 }
39984 Py_INCREF(Py_None); resultobj = Py_None;
39985 return resultobj;
39986 fail:
39987 return NULL;
39988}
39989
39990
39991static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
39992 PyObject *resultobj;
39993 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39994 PyObject * obj0 = 0 ;
39995 char *kwnames[] = {
39996 (char *) "self", NULL
39997 };
39998
39999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
40000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40002 {
40003 PyThreadState* __tstate = wxPyBeginAllowThreads();
40004 (arg1)->Unconstrained();
40005
40006 wxPyEndAllowThreads(__tstate);
40007 if (PyErr_Occurred()) SWIG_fail;
40008 }
40009 Py_INCREF(Py_None); resultobj = Py_None;
40010 return resultobj;
40011 fail:
40012 return NULL;
40013}
40014
40015
40016static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
40017 PyObject *resultobj;
40018 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40019 PyObject * obj0 = 0 ;
40020 char *kwnames[] = {
40021 (char *) "self", NULL
40022 };
40023
40024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
40025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40027 {
40028 PyThreadState* __tstate = wxPyBeginAllowThreads();
40029 (arg1)->AsIs();
40030
40031 wxPyEndAllowThreads(__tstate);
40032 if (PyErr_Occurred()) SWIG_fail;
40033 }
40034 Py_INCREF(Py_None); resultobj = Py_None;
40035 return resultobj;
40036 fail:
40037 return NULL;
40038}
40039
40040
40041static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
40042 PyObject *resultobj;
40043 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40044 wxWindow *result;
40045 PyObject * obj0 = 0 ;
40046 char *kwnames[] = {
40047 (char *) "self", NULL
40048 };
40049
40050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
40051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40053 {
40054 PyThreadState* __tstate = wxPyBeginAllowThreads();
40055 result = (wxWindow *)(arg1)->GetOtherWindow();
40056
40057 wxPyEndAllowThreads(__tstate);
40058 if (PyErr_Occurred()) SWIG_fail;
40059 }
40060 {
40061 resultobj = wxPyMake_wxObject(result);
40062 }
40063 return resultobj;
40064 fail:
40065 return NULL;
40066}
40067
40068
40069static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
40070 PyObject *resultobj;
40071 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40072 int result;
40073 PyObject * obj0 = 0 ;
40074 char *kwnames[] = {
40075 (char *) "self", NULL
40076 };
40077
40078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
40079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40081 {
40082 PyThreadState* __tstate = wxPyBeginAllowThreads();
40083 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
40084
40085 wxPyEndAllowThreads(__tstate);
40086 if (PyErr_Occurred()) SWIG_fail;
40087 }
40088 resultobj = SWIG_FromInt((int)result);
40089 return resultobj;
40090 fail:
40091 return NULL;
40092}
40093
40094
40095static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
40096 PyObject *resultobj;
40097 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40098 int arg2 ;
40099 PyObject * obj0 = 0 ;
40100 PyObject * obj1 = 0 ;
40101 char *kwnames[] = {
40102 (char *) "self",(char *) "which", NULL
40103 };
40104
40105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
40106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40108 arg2 = (wxEdge) SWIG_AsInt(obj1);
40109 if (PyErr_Occurred()) SWIG_fail;
40110 {
40111 PyThreadState* __tstate = wxPyBeginAllowThreads();
40112 (arg1)->SetEdge((wxEdge )arg2);
40113
40114 wxPyEndAllowThreads(__tstate);
40115 if (PyErr_Occurred()) SWIG_fail;
40116 }
40117 Py_INCREF(Py_None); resultobj = Py_None;
40118 return resultobj;
40119 fail:
40120 return NULL;
40121}
40122
40123
40124static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
40125 PyObject *resultobj;
40126 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40127 int arg2 ;
40128 PyObject * obj0 = 0 ;
40129 PyObject * obj1 = 0 ;
40130 char *kwnames[] = {
40131 (char *) "self",(char *) "v", NULL
40132 };
40133
40134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
40135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40137 arg2 = (int) SWIG_AsInt(obj1);
40138 if (PyErr_Occurred()) SWIG_fail;
40139 {
40140 PyThreadState* __tstate = wxPyBeginAllowThreads();
40141 (arg1)->SetValue(arg2);
40142
40143 wxPyEndAllowThreads(__tstate);
40144 if (PyErr_Occurred()) SWIG_fail;
40145 }
40146 Py_INCREF(Py_None); resultobj = Py_None;
40147 return resultobj;
40148 fail:
40149 return NULL;
40150}
40151
40152
40153static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
40154 PyObject *resultobj;
40155 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40156 int result;
40157 PyObject * obj0 = 0 ;
40158 char *kwnames[] = {
40159 (char *) "self", NULL
40160 };
40161
40162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
40163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40165 {
40166 PyThreadState* __tstate = wxPyBeginAllowThreads();
40167 result = (int)(arg1)->GetMargin();
40168
40169 wxPyEndAllowThreads(__tstate);
40170 if (PyErr_Occurred()) SWIG_fail;
40171 }
40172 resultobj = SWIG_FromInt((int)result);
40173 return resultobj;
40174 fail:
40175 return NULL;
40176}
40177
40178
40179static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
40180 PyObject *resultobj;
40181 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40182 int arg2 ;
40183 PyObject * obj0 = 0 ;
40184 PyObject * obj1 = 0 ;
40185 char *kwnames[] = {
40186 (char *) "self",(char *) "m", NULL
40187 };
40188
40189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
40190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40192 arg2 = (int) SWIG_AsInt(obj1);
40193 if (PyErr_Occurred()) SWIG_fail;
40194 {
40195 PyThreadState* __tstate = wxPyBeginAllowThreads();
40196 (arg1)->SetMargin(arg2);
40197
40198 wxPyEndAllowThreads(__tstate);
40199 if (PyErr_Occurred()) SWIG_fail;
40200 }
40201 Py_INCREF(Py_None); resultobj = Py_None;
40202 return resultobj;
40203 fail:
40204 return NULL;
40205}
40206
40207
40208static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
40209 PyObject *resultobj;
40210 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40211 int result;
40212 PyObject * obj0 = 0 ;
40213 char *kwnames[] = {
40214 (char *) "self", NULL
40215 };
40216
40217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
40218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40220 {
40221 PyThreadState* __tstate = wxPyBeginAllowThreads();
40222 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
40223
40224 wxPyEndAllowThreads(__tstate);
40225 if (PyErr_Occurred()) SWIG_fail;
40226 }
40227 resultobj = SWIG_FromInt((int)result);
40228 return resultobj;
40229 fail:
40230 return NULL;
40231}
40232
40233
40234static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
40235 PyObject *resultobj;
40236 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40237 int result;
40238 PyObject * obj0 = 0 ;
40239 char *kwnames[] = {
40240 (char *) "self", NULL
40241 };
40242
40243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
40244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40246 {
40247 PyThreadState* __tstate = wxPyBeginAllowThreads();
40248 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
40249
40250 wxPyEndAllowThreads(__tstate);
40251 if (PyErr_Occurred()) SWIG_fail;
40252 }
40253 resultobj = SWIG_FromInt((int)result);
40254 return resultobj;
40255 fail:
40256 return NULL;
40257}
40258
40259
40260static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
40261 PyObject *resultobj;
40262 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40263 int result;
40264 PyObject * obj0 = 0 ;
40265 char *kwnames[] = {
40266 (char *) "self", NULL
40267 };
40268
40269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
40270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40272 {
40273 PyThreadState* __tstate = wxPyBeginAllowThreads();
40274 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
40275
40276 wxPyEndAllowThreads(__tstate);
40277 if (PyErr_Occurred()) SWIG_fail;
40278 }
40279 resultobj = SWIG_FromInt((int)result);
40280 return resultobj;
40281 fail:
40282 return NULL;
40283}
40284
40285
40286static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
40287 PyObject *resultobj;
40288 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40289 bool result;
40290 PyObject * obj0 = 0 ;
40291 char *kwnames[] = {
40292 (char *) "self", NULL
40293 };
40294
40295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
40296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40298 {
40299 PyThreadState* __tstate = wxPyBeginAllowThreads();
40300 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
40301
40302 wxPyEndAllowThreads(__tstate);
40303 if (PyErr_Occurred()) SWIG_fail;
40304 }
40305 {
40306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40307 }
40308 return resultobj;
40309 fail:
40310 return NULL;
40311}
40312
40313
40314static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
40315 PyObject *resultobj;
40316 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40317 bool arg2 ;
40318 PyObject * obj0 = 0 ;
40319 PyObject * obj1 = 0 ;
40320 char *kwnames[] = {
40321 (char *) "self",(char *) "d", NULL
40322 };
40323
40324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
40325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40327 arg2 = (bool) SWIG_AsBool(obj1);
40328 if (PyErr_Occurred()) SWIG_fail;
40329 {
40330 PyThreadState* __tstate = wxPyBeginAllowThreads();
40331 (arg1)->SetDone(arg2);
40332
40333 wxPyEndAllowThreads(__tstate);
40334 if (PyErr_Occurred()) SWIG_fail;
40335 }
40336 Py_INCREF(Py_None); resultobj = Py_None;
40337 return resultobj;
40338 fail:
40339 return NULL;
40340}
40341
40342
40343static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
40344 PyObject *resultobj;
40345 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40346 int result;
40347 PyObject * obj0 = 0 ;
40348 char *kwnames[] = {
40349 (char *) "self", NULL
40350 };
40351
40352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
40353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40355 {
40356 PyThreadState* __tstate = wxPyBeginAllowThreads();
40357 result = (int)(arg1)->GetRelationship();
40358
40359 wxPyEndAllowThreads(__tstate);
40360 if (PyErr_Occurred()) SWIG_fail;
40361 }
40362 resultobj = SWIG_FromInt((int)result);
40363 return resultobj;
40364 fail:
40365 return NULL;
40366}
40367
40368
40369static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
40370 PyObject *resultobj;
40371 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40372 int arg2 ;
40373 PyObject * obj0 = 0 ;
40374 PyObject * obj1 = 0 ;
40375 char *kwnames[] = {
40376 (char *) "self",(char *) "r", NULL
40377 };
40378
40379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
40380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40382 arg2 = (wxRelationship) SWIG_AsInt(obj1);
40383 if (PyErr_Occurred()) SWIG_fail;
40384 {
40385 PyThreadState* __tstate = wxPyBeginAllowThreads();
40386 (arg1)->SetRelationship((wxRelationship )arg2);
40387
40388 wxPyEndAllowThreads(__tstate);
40389 if (PyErr_Occurred()) SWIG_fail;
40390 }
40391 Py_INCREF(Py_None); resultobj = Py_None;
40392 return resultobj;
40393 fail:
40394 return NULL;
40395}
40396
40397
40398static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
40399 PyObject *resultobj;
40400 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40401 wxWindow *arg2 = (wxWindow *) 0 ;
40402 bool result;
40403 PyObject * obj0 = 0 ;
40404 PyObject * obj1 = 0 ;
40405 char *kwnames[] = {
40406 (char *) "self",(char *) "otherW", NULL
40407 };
40408
40409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
40410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40414 {
40415 PyThreadState* __tstate = wxPyBeginAllowThreads();
40416 result = (bool)(arg1)->ResetIfWin(arg2);
40417
40418 wxPyEndAllowThreads(__tstate);
40419 if (PyErr_Occurred()) SWIG_fail;
40420 }
40421 {
40422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40423 }
40424 return resultobj;
40425 fail:
40426 return NULL;
40427}
40428
40429
40430static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
40431 PyObject *resultobj;
40432 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40433 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
40434 wxWindow *arg3 = (wxWindow *) 0 ;
40435 bool result;
40436 PyObject * obj0 = 0 ;
40437 PyObject * obj1 = 0 ;
40438 PyObject * obj2 = 0 ;
40439 char *kwnames[] = {
40440 (char *) "self",(char *) "constraints",(char *) "win", NULL
40441 };
40442
40443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
40444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
40447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40448 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40450 {
40451 PyThreadState* __tstate = wxPyBeginAllowThreads();
40452 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
40453
40454 wxPyEndAllowThreads(__tstate);
40455 if (PyErr_Occurred()) SWIG_fail;
40456 }
40457 {
40458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40459 }
40460 return resultobj;
40461 fail:
40462 return NULL;
40463}
40464
40465
40466static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
40467 PyObject *resultobj;
40468 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40469 int arg2 ;
40470 wxWindow *arg3 = (wxWindow *) 0 ;
40471 wxWindow *arg4 = (wxWindow *) 0 ;
40472 int result;
40473 PyObject * obj0 = 0 ;
40474 PyObject * obj1 = 0 ;
40475 PyObject * obj2 = 0 ;
40476 PyObject * obj3 = 0 ;
40477 char *kwnames[] = {
40478 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40479 };
40480
40481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
40482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40484 arg2 = (wxEdge) SWIG_AsInt(obj1);
40485 if (PyErr_Occurred()) SWIG_fail;
40486 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40488 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
40489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40490 {
40491 PyThreadState* __tstate = wxPyBeginAllowThreads();
40492 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
40493
40494 wxPyEndAllowThreads(__tstate);
40495 if (PyErr_Occurred()) SWIG_fail;
40496 }
40497 resultobj = SWIG_FromInt((int)result);
40498 return resultobj;
40499 fail:
40500 return NULL;
40501}
40502
40503
40504static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
40505 PyObject *obj;
40506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40507 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
40508 Py_INCREF(obj);
40509 return Py_BuildValue((char *)"");
40510}
40511static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40512 PyObject *resultobj;
40513 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40514 wxIndividualLayoutConstraint *result;
40515 PyObject * obj0 = 0 ;
40516 char *kwnames[] = {
40517 (char *) "self", NULL
40518 };
40519
40520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
40521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40523 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
40524
40525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40526 return resultobj;
40527 fail:
40528 return NULL;
40529}
40530
40531
40532static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40533 PyObject *resultobj;
40534 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40535 wxIndividualLayoutConstraint *result;
40536 PyObject * obj0 = 0 ;
40537 char *kwnames[] = {
40538 (char *) "self", NULL
40539 };
40540
40541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
40542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40544 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
40545
40546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40547 return resultobj;
40548 fail:
40549 return NULL;
40550}
40551
40552
40553static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40554 PyObject *resultobj;
40555 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40556 wxIndividualLayoutConstraint *result;
40557 PyObject * obj0 = 0 ;
40558 char *kwnames[] = {
40559 (char *) "self", NULL
40560 };
40561
40562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
40563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40565 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
40566
40567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40568 return resultobj;
40569 fail:
40570 return NULL;
40571}
40572
40573
40574static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40575 PyObject *resultobj;
40576 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40577 wxIndividualLayoutConstraint *result;
40578 PyObject * obj0 = 0 ;
40579 char *kwnames[] = {
40580 (char *) "self", NULL
40581 };
40582
40583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
40584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40586 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
40587
40588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40589 return resultobj;
40590 fail:
40591 return NULL;
40592}
40593
40594
40595static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40596 PyObject *resultobj;
40597 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40598 wxIndividualLayoutConstraint *result;
40599 PyObject * obj0 = 0 ;
40600 char *kwnames[] = {
40601 (char *) "self", NULL
40602 };
40603
40604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
40605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40607 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
40608
40609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40610 return resultobj;
40611 fail:
40612 return NULL;
40613}
40614
40615
40616static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40617 PyObject *resultobj;
40618 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40619 wxIndividualLayoutConstraint *result;
40620 PyObject * obj0 = 0 ;
40621 char *kwnames[] = {
40622 (char *) "self", NULL
40623 };
40624
40625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
40626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40628 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
40629
40630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40631 return resultobj;
40632 fail:
40633 return NULL;
40634}
40635
40636
40637static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40638 PyObject *resultobj;
40639 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40640 wxIndividualLayoutConstraint *result;
40641 PyObject * obj0 = 0 ;
40642 char *kwnames[] = {
40643 (char *) "self", NULL
40644 };
40645
40646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
40647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40649 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
40650
40651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40652 return resultobj;
40653 fail:
40654 return NULL;
40655}
40656
40657
40658static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
40659 PyObject *resultobj;
40660 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40661 wxIndividualLayoutConstraint *result;
40662 PyObject * obj0 = 0 ;
40663 char *kwnames[] = {
40664 (char *) "self", NULL
40665 };
40666
40667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
40668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40670 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40671
40672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40673 return resultobj;
40674 fail:
40675 return NULL;
40676}
40677
40678
40679static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40680 PyObject *resultobj;
40681 wxLayoutConstraints *result;
40682 char *kwnames[] = {
40683 NULL
40684 };
40685
40686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40687 {
40688 PyThreadState* __tstate = wxPyBeginAllowThreads();
40689 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40690
40691 wxPyEndAllowThreads(__tstate);
40692 if (PyErr_Occurred()) SWIG_fail;
40693 }
40694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
40695 return resultobj;
40696 fail:
40697 return NULL;
40698}
40699
40700
40701static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
40702 PyObject *resultobj;
40703 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40704 wxWindow *arg2 = (wxWindow *) 0 ;
40705 int *arg3 = (int *) 0 ;
40706 bool result;
40707 int temp3 ;
40708 PyObject * obj0 = 0 ;
40709 PyObject * obj1 = 0 ;
40710 char *kwnames[] = {
40711 (char *) "self",(char *) "win", NULL
40712 };
40713
40714 arg3 = &temp3;
40715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
40716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40720 {
40721 PyThreadState* __tstate = wxPyBeginAllowThreads();
40722 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40723
40724 wxPyEndAllowThreads(__tstate);
40725 if (PyErr_Occurred()) SWIG_fail;
40726 }
40727 {
40728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40729 }
40730 {
40731 PyObject *o = PyInt_FromLong((long) (*arg3));
40732 resultobj = t_output_helper(resultobj,o);
40733 }
40734 return resultobj;
40735 fail:
40736 return NULL;
40737}
40738
40739
40740static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
40741 PyObject *resultobj;
40742 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40743 bool result;
40744 PyObject * obj0 = 0 ;
40745 char *kwnames[] = {
40746 (char *) "self", NULL
40747 };
40748
40749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
40750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40752 {
40753 PyThreadState* __tstate = wxPyBeginAllowThreads();
40754 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40755
40756 wxPyEndAllowThreads(__tstate);
40757 if (PyErr_Occurred()) SWIG_fail;
40758 }
40759 {
40760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40761 }
40762 return resultobj;
40763 fail:
40764 return NULL;
40765}
40766
40767
40768static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
40769 PyObject *obj;
40770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40771 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40772 Py_INCREF(obj);
40773 return Py_BuildValue((char *)"");
40774}
40775static PyMethodDef SwigMethods[] = {
40776 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
40777 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
40778 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
40779 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
40780 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
40781 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
40782 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
40783 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
40784 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
40785 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
40786 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
40787 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
40788 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
40789 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
40790 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
40791 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
40792 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
40793 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
40794 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
40795 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
40796 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
40797 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
40798 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS },
40799 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS },
40800 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
40801 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
40802 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
40803 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
40804 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
40805 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
40806 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
40807 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
40808 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
40809 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
40810 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
40811 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
40812 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
40813 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
40814 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
40815 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
40816 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
40817 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
40818 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
40819 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
40820 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
40821 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
40822 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
40823 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
40824 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
40825 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
40826 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
40827 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
40828 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
40829 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
40830 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
40831 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
40832 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
40833 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
40834 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
40835 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
40836 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
40837 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
40838 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
40839 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
40840 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
40841 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
40842 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
40843 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
40844 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
40845 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
40846 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
40847 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
40848 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
40849 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
40850 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
40851 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
40852 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
40853 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
40854 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
40855 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
40856 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
40857 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
40858 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
40859 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
40860 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
40861 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
40862 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
40863 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
40864 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
40865 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
40866 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
40867 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
40868 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
40869 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
40870 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
40871 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
40872 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
40873 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
40874 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
40875 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
40876 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
40877 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
40878 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
40879 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
40880 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
40881 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
40882 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
40883 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
40884 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
40885 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
40886 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
40887 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
40888 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40889 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
40890 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
40891 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
40892 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
40893 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
40894 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
40895 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
40896 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
40897 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
40898 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
40899 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
40900 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
40901 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
40902 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
40903 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
40904 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
40905 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
40906 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
40907 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
40908 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
40909 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
40910 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
40911 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
40912 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
40913 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
40914 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
40915 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
40916 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
40917 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
40918 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
40919 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
40920 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
40921 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
40922 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
40923 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
40924 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
40925 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
40926 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
40927 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
40928 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
40929 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
40930 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
40931 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
40932 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40933 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
40934 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40935 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
40936 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
40937 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
40938 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
40939 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40940 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40941 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40942 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40943 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40944 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
40945 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
40946 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
40947 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
40948 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
40949 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
40950 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
40951 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
40952 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
40953 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
40954 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
40955 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
40956 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
40957 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
40958 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
40959 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
40960 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
40961 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
40962 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
40963 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40964 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40965 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
40966 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
40967 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40968 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40969 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40970 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40971 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
40972 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
40973 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
40974 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
40975 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
40976 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
40977 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
40978 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
40979 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
40980 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
40981 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
40982 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
40983 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
40984 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
40985 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
40986 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
40987 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
40988 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
40989 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
40990 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
40991 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
40992 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
40993 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
40994 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
40995 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
40996 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
40997 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
40998 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
40999 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
41000 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
41001 { (char *)"new_EmptyImage", _wrap_new_EmptyImage, METH_VARARGS },
41002 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
41003 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
41004 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
41005 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
41006 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
41007 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
41008 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
41009 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
41010 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
41011 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
41012 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
41013 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
41014 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
41015 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
41016 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
41017 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
41018 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
41019 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
41020 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
41021 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
41022 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
41023 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
41024 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
41025 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
41026 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
41027 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
41028 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
41029 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
41030 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS },
41031 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
41032 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
41033 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
41034 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
41035 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
41036 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
41037 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
41038 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
41039 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
41040 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
41041 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
41042 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
41043 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
41044 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
41045 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
41046 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
41047 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
41048 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
41049 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
41050 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
41051 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
41052 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
41053 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
41054 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
41055 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
41056 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
41057 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
41058 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
41059 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
41060 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
41061 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
41062 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
41063 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
41064 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
41065 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
41066 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
41067 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
41068 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
41069 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
41070 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
41071 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
41072 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
41073 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
41074 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
41075 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
41076 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
41077 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
41078 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
41079 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
41080 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
41081 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
41082 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
41083 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
41084 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
41085 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
41086 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
41087 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
41088 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
41089 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
41090 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
41091 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
41092 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
41093 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
41094 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
41095 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
41096 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
41097 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
41098 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
41099 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
41100 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
41101 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
41102 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41103 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
41104 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
41105 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
41106 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
41107 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
41108 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
41109 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
41110 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
41111 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
41112 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
41113 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
41114 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
41115 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
41116 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
41117 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
41118 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
41119 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
41120 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
41121 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
41122 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
41123 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
41124 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
41125 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
41126 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
41127 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
41128 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
41129 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
41130 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
41131 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
41132 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
41133 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
41134 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
41135 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
41136 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
41137 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
41138 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
41139 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
41140 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
41141 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
41142 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
41143 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
41144 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
41145 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
41146 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41147 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41148 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41149 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41150 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
41151 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
41152 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41153 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41154 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41155 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41156 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
41157 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
41158 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
41159 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
41160 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
41161 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
41162 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
41163 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
41164 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
41165 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
41166 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
41167 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
41168 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
41169 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
41170 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
41171 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
41172 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
41173 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
41174 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
41175 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
41176 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
41177 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
41178 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
41179 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
41180 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
41181 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
41182 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
41183 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
41184 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
41185 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41186 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
41187 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
41188 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
41189 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
41190 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
41191 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
41192 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
41193 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
41194 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
41195 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
41196 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
41197 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
41198 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
41199 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
41200 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
41201 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
41202 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
41203 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
41204 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
41205 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
41206 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
41207 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
41208 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
41209 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
41210 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
41211 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
41212 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
41213 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
41214 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
41215 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
41216 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
41217 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
41218 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
41219 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
41220 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
41221 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
41222 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
41223 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
41224 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
41225 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
41226 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
41227 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
41228 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
41229 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
41230 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
41231 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
41232 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
41233 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
41234 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
41235 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
41236 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41237 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
41238 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
41239 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
41240 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
41241 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
41242 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
41243 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
41244 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
41245 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
41246 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
41247 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
41248 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
41249 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
41250 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
41251 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
41252 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
41253 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
41254 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
41255 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
41256 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
41257 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
41258 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
41259 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
41260 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
41261 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
41262 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
41263 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
41264 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
41265 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
41266 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
41267 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
41268 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
41269 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
41270 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
41271 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
41272 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41273 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
41274 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
41275 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41276 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
41277 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
41278 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
41279 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
41280 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
41281 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
41282 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
41283 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
41284 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
41285 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
41286 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
41287 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
41288 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
41289 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41290 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
41291 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
41292 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
41293 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41294 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
41295 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
41296 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
41297 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
41298 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
41299 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
41300 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
41301 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
41302 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
41303 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
41304 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
41305 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
41306 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
41307 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
41308 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
41309 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
41310 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
41311 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
41312 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
41313 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
41314 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
41315 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
41316 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
41317 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
41318 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
41319 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
41320 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
41321 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
41322 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41323 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
41324 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
41325 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
41326 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
41327 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
41328 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
41329 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
41330 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
41331 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
41332 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
41333 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
41334 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
41335 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
41336 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
41337 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
41338 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
41339 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
41340 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
41341 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
41342 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
41343 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
41344 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
41345 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
41346 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
41347 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
41348 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
41349 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
41350 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
41351 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
41352 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
41353 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
41354 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
41355 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
41356 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
41357 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
41358 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
41359 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
41360 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
41361 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
41362 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
41363 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
41364 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
41365 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
41366 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
41367 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41368 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
41369 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
41370 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
41371 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
41372 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
41373 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
41374 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
41375 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
41376 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
41377 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
41378 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
41379 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
41380 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
41381 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
41382 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
41383 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
41384 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
41385 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
41386 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
41387 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
41388 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
41389 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
41390 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
41391 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
41392 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
41393 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
41394 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
41395 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41396 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
41397 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
41398 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
41399 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
41400 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
41401 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
41402 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
41403 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
41404 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
41405 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
41406 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
41407 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
41408 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
41409 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
41410 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
41411 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
41412 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
41413 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
41414 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
41415 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
41416 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
41417 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
41418 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
41419 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
41420 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
41421 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
41422 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
41423 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
41424 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
41425 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
41426 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
41427 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
41428 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
41429 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
41430 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
41431 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
41432 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
41433 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
41434 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
41435 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
41436 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
41437 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
41438 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
41439 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
41440 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
41441 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
41442 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
41443 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
41444 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
41445 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
41446 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
41447 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
41448 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
41449 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
41450 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
41451 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
41452 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
41453 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
41454 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41455 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41456 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
41457 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
41458 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
41459 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
41460 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS },
41461 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS },
41462 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS },
41463 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS },
41464 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS },
41465 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS },
41466 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS },
41467 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS },
41468 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
41469 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
41470 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
41471 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
41472 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
41473 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
41474 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
41475 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
41476 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
41477 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
41478 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
41479 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
41480 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
41481 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
41482 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
41483 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
41484 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
41485 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
41486 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
41487 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
41488 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
41489 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
41490 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
41491 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
41492 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
41493 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
41494 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
41495 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
41496 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
41497 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
41498 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
41499 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
41500 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
41501 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
41502 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
41503 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
41504 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
41505 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
41506 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
41507 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
41508 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
41509 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
41510 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
41511 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
41512 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
41513 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
41514 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
41515 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
41516 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS },
41517 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS },
41518 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
41519 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
41520 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
41521 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
41522 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
41523 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41524 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
41525 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
41526 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
41527 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
41528 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
41529 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
41530 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
41531 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
41532 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
41533 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
41534 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41535 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
41536 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
41537 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
41538 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
41539 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
41540 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
41541 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
41542 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
41543 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
41544 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
41545 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
41546 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
41547 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
41548 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
41549 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
41550 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
41551 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
41552 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
41553 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
41554 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
41555 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
41556 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
41557 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
41558 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
41559 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
41560 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
41561 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
41562 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
41563 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
41564 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
41565 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
41566 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
41567 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
41568 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS },
41569 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
41570 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
41571 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS },
41572 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41573 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
41574 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
41575 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
41576 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
41577 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
41578 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
41579 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
41580 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
41581 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
41582 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
41583 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
41584 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
41585 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
41586 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
41587 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
41588 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
41589 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
41590 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
41591 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
41592 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
41593 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
41594 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
41595 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
41596 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
41597 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
41598 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
41599 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
41600 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
41601 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41602 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction) _wrap_Window_SetDefaultBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41603 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
41604 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction) _wrap_Window_SetDefaultForegroundColour, METH_VARARGS | METH_KEYWORDS },
41605 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41606 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
41607 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
41608 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
41609 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
41610 { (char *)"Window_SetDefaultFont", (PyCFunction) _wrap_Window_SetDefaultFont, METH_VARARGS | METH_KEYWORDS },
41611 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
41612 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
41613 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
41614 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
41615 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
41616 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
41617 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
41618 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
41619 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
41620 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
41621 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
41622 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
41623 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
41624 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
41625 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
41626 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
41627 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
41628 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
41629 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS },
41630 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
41631 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
41632 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
41633 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
41634 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
41635 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
41636 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
41637 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
41638 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
41639 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
41640 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
41641 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
41642 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
41643 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
41644 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
41645 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
41646 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
41647 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
41648 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
41649 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
41650 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
41651 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
41652 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
41653 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
41654 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41655 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
41656 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
41657 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
41658 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
41659 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
41660 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41661 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
41662 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS },
41663 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
41664 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
41665 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
41666 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
41667 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
41668 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
41669 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
41670 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
41671 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
41672 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
41673 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
41674 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
41675 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
41676 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
41677 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
41678 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
41679 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
41680 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41681 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
41682 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
41683 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
41684 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
41685 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
41686 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
41687 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
41688 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
41689 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
41690 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
41691 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
41692 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
41693 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
41694 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
41695 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
41696 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
41697 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
41698 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
41699 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
41700 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
41701 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
41702 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
41703 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
41704 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
41705 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
41706 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
41707 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
41708 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
41709 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
41710 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
41711 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
41712 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
41713 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
41714 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
41715 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41716 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
41717 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
41718 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
41719 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
41720 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41721 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41722 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
41723 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
41724 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
41725 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
41726 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41727 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
41728 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
41729 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
41730 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
41731 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
41732 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
41733 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
41734 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
41735 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
41736 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
41737 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
41738 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
41739 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
41740 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
41741 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
41742 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
41743 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
41744 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
41745 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
41746 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
41747 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
41748 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
41749 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
41750 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
41751 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
41752 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
41753 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
41754 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41755 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
41756 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
41757 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
41758 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
41759 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
41760 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
41761 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
41762 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
41763 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
41764 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
41765 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
41766 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
41767 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
41768 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
41769 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
41770 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
41771 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
41772 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
41773 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
41774 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
41775 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS },
41776 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
41777 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
41778 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
41779 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
41780 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
41781 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
41782 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
41783 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
41784 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
41785 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
41786 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
41787 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
41788 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
41789 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
41790 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
41791 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
41792 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
41793 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
41794 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41795 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
41796 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
41797 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
41798 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
41799 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
41800 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
41801 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
41802 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
41803 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
41804 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
41805 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
41806 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
41807 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
41808 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
41809 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
41810 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
41811 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
41812 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
41813 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
41814 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
41815 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
41816 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
41817 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
41818 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
41819 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
41820 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
41821 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
41822 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
41823 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
41824 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
41825 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
41826 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
41827 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
41828 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
41829 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
41830 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
41831 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
41832 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
41833 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
41834 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
41835 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41836 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41837 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41838 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41839 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
41840 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
41841 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
41842 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
41843 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41844 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
41845 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
41846 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
41847 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
41848 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
41849 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
41850 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
41851 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
41852 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
41853 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
41854 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
41855 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
41856 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
41857 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
41858 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
41859 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
41860 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
41861 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
41862 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
41863 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
41864 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
41865 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
41866 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
41867 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
41868 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
41869 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
41870 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
41871 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
41872 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
41873 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
41874 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
41875 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41876 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
41877 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
41878 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
41879 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
41880 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
41881 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
41882 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
41883 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41884 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41885 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
41886 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
41887 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
41888 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
41889 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
41890 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
41891 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
41892 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
41893 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
41894 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
41895 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
41896 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
41897 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
41898 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
41899 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
41900 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
41901 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
41902 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
41903 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
41904 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41905 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41906 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
41907 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
41908 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
41909 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41910 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41911 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
41912 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
41913 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41914 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41915 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
41916 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
41917 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
41918 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
41919 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
41920 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
41921 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
41922 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
41923 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
41924 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
41925 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41926 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41927 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
41928 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
41929 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
41930 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
41931 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41932 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
41933 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41934 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
41935 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
41936 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
41937 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
41938 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
41939 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
41940 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
41941 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
41942 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
41943 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
41944 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
41945 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
41946 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
41947 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
41948 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
41949 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
41950 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
41951 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
41952 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
41953 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
41954 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
41955 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
41956 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
41957 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
41958 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
41959 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
41960 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
41961 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
41962 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
41963 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
41964 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
41965 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
41966 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
41967 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
41968 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
41969 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
41970 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
41971 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
41972 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
41973 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
41974 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41975 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
41976 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
41977 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
41978 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
41979 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
41980 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
41981 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
41982 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
41983 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
41984 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
41985 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
41986 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
41987 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
41988 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
41989 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
41990 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
41991 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
41992 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
41993 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
41994 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
41995 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
41996 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
41997 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
41998 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
41999 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
42000 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
42001 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
42002 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
42003 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
42004 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
42005 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
42006 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
42007 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
42008 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
42009 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
42010 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
42011 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
42012 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
42013 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
42014 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
42015 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
42016 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
42017 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
42018 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
42019 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
42020 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
42021 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
42022 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
42023 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
42024 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
42025 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
42026 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
42027 { NULL, NULL }
42028};
42029
42030
42031/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42032
42033static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
42034 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
42035}
42036static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
42037 return (void *)((wxSizer *) ((wxBoxSizer *) x));
42038}
42039static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
42040 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
42041}
42042static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
42043 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42044}
42045static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
42046 return (void *)((wxSizer *) ((wxGridSizer *) x));
42047}
42048static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
42049 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
42050}
42051static void *_p_wxPySizerTo_p_wxSizer(void *x) {
42052 return (void *)((wxSizer *) ((wxPySizer *) x));
42053}
42054static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
42055 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
42056}
42057static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
42058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
42059}
42060static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
42061 return (void *)((wxEvent *) ((wxMenuEvent *) x));
42062}
42063static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
42064 return (void *)((wxEvent *) ((wxCloseEvent *) x));
42065}
42066static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
42067 return (void *)((wxEvent *) ((wxMouseEvent *) x));
42068}
42069static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
42070 return (void *)((wxEvent *) ((wxEraseEvent *) x));
42071}
42072static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
42073 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
42074}
42075static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
42076 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
42077}
42078static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
42079 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
42080}
42081static void *_p_wxPyEventTo_p_wxEvent(void *x) {
42082 return (void *)((wxEvent *) ((wxPyEvent *) x));
42083}
42084static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
42085 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
42086}
42087static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
42088 return (void *)((wxEvent *) ((wxIdleEvent *) x));
42089}
42090static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
42091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
42092}
42093static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
42094 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
42095}
42096static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
42097 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
42098}
42099static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
42100 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
42101}
42102static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
42103 return (void *)((wxEvent *) ((wxActivateEvent *) x));
42104}
42105static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
42106 return (void *)((wxEvent *) ((wxSizeEvent *) x));
42107}
42108static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
42109 return (void *)((wxEvent *) ((wxMoveEvent *) x));
42110}
42111static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
42112 return (void *)((wxEvent *) ((wxPaintEvent *) x));
42113}
42114static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
42115 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
42116}
42117static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
42118 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
42119}
42120static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
42121 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
42122}
42123static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
42124 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
42125}
42126static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
42127 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42128}
42129static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
42130 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
42131}
42132static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
42133 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
42134}
42135static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
42136 return (void *)((wxEvent *) ((wxFocusEvent *) x));
42137}
42138static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
42139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
42140}
42141static void *_p_wxShowEventTo_p_wxEvent(void *x) {
42142 return (void *)((wxEvent *) ((wxShowEvent *) x));
42143}
42144static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
42145 return (void *)((wxEvent *) ((wxCommandEvent *) x));
42146}
42147static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
42148 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
42149}
42150static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
42151 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42152}
42153static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
42154 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
42155}
42156static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
42157 return (void *)((wxEvent *) ((wxKeyEvent *) x));
42158}
42159static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
42160 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
42161}
42162static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
42163 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
42164}
42165static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
42166 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
42167}
42168static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
42169 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
42170}
42171static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
42172 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
42173}
42174static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
42175 return (void *)((wxControl *) ((wxControlWithItems *) x));
42176}
42177static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
42178 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
42179}
42180static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
42181 return (void *)((wxEvtHandler *) ((wxWindow *) x));
42182}
42183static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
42184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42185}
42186static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
42187 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
42188}
42189static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
42190 return (void *)((wxEvtHandler *) ((wxValidator *) x));
42191}
42192static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
42193 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
42194}
42195static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
42196 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
42197}
42198static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
42199 return (void *)((wxEvtHandler *) ((wxMenu *) x));
42200}
42201static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
42202 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
42203}
42204static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
42205 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
42206}
42207static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
42208 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
42209}
42210static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
42211 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
42212}
42213static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
42214 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
42215}
42216static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
42217 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42218}
42219static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
42220 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
42221}
42222static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
42223 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
42224}
42225static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
42226 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42227}
42228static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
42229 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42230}
42231static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
42232 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
42233}
42234static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
42235 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
42236}
42237static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
42238 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
42239}
42240static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
42241 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
42242}
42243static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
42244 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
42245}
42246static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
42247 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
42248}
42249static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
42250 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
42251}
42252static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
42253 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
42254}
42255static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
42256 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
42257}
42258static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
42259 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
42260}
42261static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
42262 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
42263}
42264static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
42265 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
42266}
42267static void *_p_wxMenuEventTo_p_wxObject(void *x) {
42268 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
42269}
42270static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
42271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
42272}
42273static void *_p_wxEraseEventTo_p_wxObject(void *x) {
42274 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
42275}
42276static void *_p_wxMouseEventTo_p_wxObject(void *x) {
42277 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
42278}
42279static void *_p_wxCloseEventTo_p_wxObject(void *x) {
42280 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
42281}
42282static void *_p_wxValidatorTo_p_wxObject(void *x) {
42283 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
42284}
42285static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
42286 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
42287}
42288static void *_p_wxMenuBarTo_p_wxObject(void *x) {
42289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
42290}
42291static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
42292 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
42293}
42294static void *_p_wxSizerTo_p_wxObject(void *x) {
42295 return (void *)((wxObject *) ((wxSizer *) x));
42296}
42297static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
42298 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
42299}
42300static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
42301 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
42302}
42303static void *_p_wxMenuTo_p_wxObject(void *x) {
42304 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
42305}
42306static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
42307 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
42308}
42309static void *_p_wxImageTo_p_wxObject(void *x) {
42310 return (void *)((wxObject *) ((wxImage *) x));
42311}
42312static void *_p_wxScrollEventTo_p_wxObject(void *x) {
42313 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
42314}
42315static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
42316 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
42317}
42318static void *_p_wxPyEventTo_p_wxObject(void *x) {
42319 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
42320}
42321static void *_p_wxWindowTo_p_wxObject(void *x) {
42322 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
42323}
42324static void *_p_wxControlTo_p_wxObject(void *x) {
42325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
42326}
42327static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
42328 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
42329}
42330static void *_p_wxGridSizerTo_p_wxObject(void *x) {
42331 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
42332}
42333static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
42334 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
42335}
42336static void *_p_wxPyAppTo_p_wxObject(void *x) {
42337 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
42338}
42339static void *_p_wxEventTo_p_wxObject(void *x) {
42340 return (void *)((wxObject *) ((wxEvent *) x));
42341}
42342static void *_p_wxActivateEventTo_p_wxObject(void *x) {
42343 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
42344}
42345static void *_p_wxMoveEventTo_p_wxObject(void *x) {
42346 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
42347}
42348static void *_p_wxSizeEventTo_p_wxObject(void *x) {
42349 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
42350}
42351static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
42352 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
42353}
42354static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
42355 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
42356}
42357static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
42358 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
42359}
42360static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
42361 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
42362}
42363static void *_p_wxIdleEventTo_p_wxObject(void *x) {
42364 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
42365}
42366static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
42367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42368}
42369static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
42370 return (void *)((wxObject *) ((wxEvtHandler *) x));
42371}
42372static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
42373 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
42374}
42375static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
42376 return (void *)((wxObject *) ((wxImageHandler *) x));
42377}
42378static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
42379 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
42380}
42381static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
42382 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
42383}
42384static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
42385 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42386}
42387static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
42388 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42389}
42390static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
42391 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
42392}
42393static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
42394 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
42395}
42396static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
42397 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
42398}
42399static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
42400 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
42401}
42402static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
42403 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
42404}
42405static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
42406 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
42407}
42408static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
42409 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
42410}
42411static void *_p_wxPaintEventTo_p_wxObject(void *x) {
42412 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
42413}
42414static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
42415 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
42416}
42417static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
42418 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
42419}
42420static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
42421 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42422}
42423static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
42424 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
42425}
42426static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
42427 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
42428}
42429static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
42430 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
42431}
42432static void *_p_wxFileSystemTo_p_wxObject(void *x) {
42433 return (void *)((wxObject *) ((wxFileSystem *) x));
42434}
42435static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
42436 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
42437}
42438static void *_p_wxFocusEventTo_p_wxObject(void *x) {
42439 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
42440}
42441static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
42442 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
42443}
42444static void *_p_wxSizerItemTo_p_wxObject(void *x) {
42445 return (void *)((wxObject *) ((wxSizerItem *) x));
42446}
42447static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
42448 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
42449}
42450static void *_p_wxShowEventTo_p_wxObject(void *x) {
42451 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
42452}
42453static void *_p_wxFSFileTo_p_wxObject(void *x) {
42454 return (void *)((wxObject *) ((wxFSFile *) x));
42455}
42456static void *_p_wxCommandEventTo_p_wxObject(void *x) {
42457 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
42458}
42459static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
42460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
42461}
42462static void *_p_wxKeyEventTo_p_wxObject(void *x) {
42463 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
42464}
42465static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
42466 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
42467}
42468static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
42469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42470}
42471static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
42472 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42473}
42474static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
42475 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
42476}
42477static void *_p_wxMenuItemTo_p_wxObject(void *x) {
42478 return (void *)((wxObject *) ((wxMenuItem *) x));
42479}
42480static void *_p_wxPySizerTo_p_wxObject(void *x) {
42481 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
42482}
42483static void *_p_wxControlTo_p_wxWindow(void *x) {
42484 return (void *)((wxWindow *) ((wxControl *) x));
42485}
42486static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
42487 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
42488}
42489static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
42490 return (void *)((wxWindow *) ((wxMenuBar *) x));
42491}
42492static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
42493 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
42494}
42495static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
42496 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
42497}
42498static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
42499 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
42500}
42501static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
42502 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
42503}
42504static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
42505 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42506}
42507static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
42508 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
42509}
42510static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
42511 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
42512}
42513static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
42514 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
42515}
42516static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
42517 return (void *)((wxValidator *) ((wxPyValidator *) x));
42518}
42519static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42520static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42521static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42522static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42523static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42524static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42525static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42526static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42527static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42528static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42529static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42530static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42531static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42532static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42533static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42534static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42535static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42536static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42537static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42538static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42539static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42540static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42541static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42542static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42543static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42544static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42545static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42546static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42547static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42548static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42549static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42550static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42551static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42552static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42553static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42554static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42555static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42556static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42557static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42558static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42559static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42560static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42561static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42562static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42563static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42564static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42565static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42566static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42567static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42568static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42569static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42570static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42571static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42572static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42573static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42574static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42575static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42576static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42577static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42578static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42579static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42580static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42581static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42582static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42583static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42584static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42585static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42586static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42587static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42588static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42589static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42590static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42591static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42592static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42593static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42594static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42595static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42596static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42597static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42598static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42599static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42600static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42601static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42602static swig_type_info _swigt__p_byte[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42603static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42604static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42605static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42606static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42607static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42608static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42609static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42610static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42611static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42612static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42613static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42614static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42615static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42616static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42617static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42618static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42619static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42620static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42621static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42622static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42623static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42624static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42625static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42626static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42627static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42628static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42629static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42630static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42631static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42632static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42633static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42634
42635static swig_type_info *swig_types_initial[] = {
42636_swigt__p_wxLayoutConstraints,
42637_swigt__p_wxRealPoint,
42638_swigt__p_wxSizerItem,
42639_swigt__p_wxGBSizerItem,
42640_swigt__p_wxScrollEvent,
42641_swigt__p_wxIndividualLayoutConstraint,
42642_swigt__p_wxSizer,
42643_swigt__p_wxBoxSizer,
42644_swigt__p_wxStaticBoxSizer,
42645_swigt__p_wxGridBagSizer,
42646_swigt__p_wxAcceleratorEntry,
42647_swigt__p_wxUpdateUIEvent,
42648_swigt__p_wxMenu,
42649_swigt__p_wxEvent,
42650_swigt__p_wxGridSizer,
42651_swigt__p_wxFlexGridSizer,
42652_swigt__p_wxInitDialogEvent,
42653_swigt__p_wxItemContainer,
42654_swigt__p_wxNcPaintEvent,
42655_swigt__p_wxPaintEvent,
42656_swigt__p_wxSysColourChangedEvent,
42657_swigt__p_wxMouseCaptureChangedEvent,
42658_swigt__p_wxDisplayChangedEvent,
42659_swigt__p_wxPaletteChangedEvent,
42660_swigt__p_wxControl,
42661_swigt__p_wxFont,
42662_swigt__p_wxMenuBarBase,
42663_swigt__p_wxSetCursorEvent,
42664_swigt__p_wxFSFile,
42665_swigt__p_wxCaret,
42666_swigt__p_wxRegion,
42667_swigt__p_wxPoint2D,
42668_swigt__p_int,
42669_swigt__p_wxSize,
42670_swigt__p_wxDC,
42671_swigt__p_wxPySizer,
42672_swigt__p_wxVisualAttributes,
42673_swigt__p_wxNotifyEvent,
42674_swigt__p_wxPyEvent,
42675_swigt__p_wxPropagationDisabler,
42676_swigt__p_wxAppTraits,
42677_swigt__p_wxArrayString,
42678_swigt__p_wxShowEvent,
42679_swigt__p_wxToolTip,
42680_swigt__p_wxMaximizeEvent,
42681_swigt__p_wxIconizeEvent,
42682_swigt__p_wxActivateEvent,
42683_swigt__p_wxMoveEvent,
42684_swigt__p_wxSizeEvent,
42685_swigt__p_wxQueryNewPaletteEvent,
42686_swigt__p_wxWindowCreateEvent,
42687_swigt__p_wxIdleEvent,
42688_swigt__p_wxMenuItem,
42689_swigt__p_wxStaticBox,
42690_swigt__p_long,
42691_swigt__p_wxTIFFHandler,
42692_swigt__p_wxXPMHandler,
42693_swigt__p_wxPNMHandler,
42694_swigt__p_wxJPEGHandler,
42695_swigt__p_wxPCXHandler,
42696_swigt__p_wxGIFHandler,
42697_swigt__p_wxPNGHandler,
42698_swigt__p_wxANIHandler,
42699_swigt__p_wxMemoryFSHandler,
42700_swigt__p_wxEvtHandler,
42701_swigt__p_wxCURHandler,
42702_swigt__p_wxICOHandler,
42703_swigt__p_wxBMPHandler,
42704_swigt__p_wxImageHandler,
42705_swigt__p_wxFileSystemHandler,
42706_swigt__p_wxPyFileSystemHandler,
42707_swigt__p_wxInternetFSHandler,
42708_swigt__p_wxZipFSHandler,
42709_swigt__p_wxRect,
42710_swigt__p_wxGBSpan,
42711_swigt__p_wxPropagateOnce,
42712_swigt__p_wxAcceleratorTable,
42713_swigt__p_char,
42714_swigt__p_wxGBPosition,
42715_swigt__p_wxImage,
42716_swigt__p_wxFrame,
42717_swigt__p_wxScrollWinEvent,
42718_swigt__p_wxImageHistogram,
42719_swigt__p_byte,
42720_swigt__p_wxPoint,
42721_swigt__p_wxCursor,
42722_swigt__p_wxObject,
42723_swigt__p_wxPyInputStream,
42724_swigt__p_wxOutputStream,
42725_swigt__p_wxInputStream,
42726_swigt__p_wxDateTime,
42727_swigt__p_wxKeyEvent,
42728_swigt__p_wxNavigationKeyEvent,
42729_swigt__p_wxWindowDestroyEvent,
42730_swigt__p_wxWindow,
42731_swigt__p_wxMenuBar,
42732_swigt__p_wxFileSystem,
42733_swigt__p_wxBitmap,
42734_swigt__p_wxMenuEvent,
42735_swigt__p_wxContextMenuEvent,
42736_swigt__p_unsigned_char,
42737_swigt__p_wxCloseEvent,
42738_swigt__p_wxEraseEvent,
42739_swigt__p_wxMouseEvent,
42740_swigt__p_wxPyApp,
42741_swigt__p_wxCommandEvent,
42742_swigt__p_wxPyCommandEvent,
42743_swigt__p_wxPyDropTarget,
42744_swigt__p_wxChildFocusEvent,
42745_swigt__p_wxFocusEvent,
42746_swigt__p_wxDropFilesEvent,
42747_swigt__p_wxControlWithItems,
42748_swigt__p_wxColour,
42749_swigt__p_wxValidator,
42750_swigt__p_wxPyValidator,
427510
42752};
42753
42754
42755/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42756
42757static swig_const_info swig_const_table[] = {
42758{0}};
42759
42760#ifdef __cplusplus
42761}
42762#endif
42763
42764#ifdef __cplusplus
42765extern "C"
42766#endif
42767SWIGEXPORT(void) SWIG_init(void) {
42768 static PyObject *SWIG_globals = 0;
42769 static int typeinit = 0;
42770 PyObject *m, *d;
42771 int i;
42772 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42773 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42774 d = PyModule_GetDict(m);
42775
42776 if (!typeinit) {
42777 for (i = 0; swig_types_initial[i]; i++) {
42778 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42779 }
42780 typeinit = 1;
42781 }
42782 SWIG_InstallConstants(d,swig_const_table);
42783
42784
42785#ifndef wxPyUSE_EXPORT
42786 // Make our API structure a CObject so other modules can import it
42787 // from this module.
42788 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42789 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42790 Py_XDECREF(cobj);
42791#endif
42792
42793 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42794 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42795 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42796 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42797 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42798 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42799 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42800 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42801 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42802 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42803 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42804 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
42805 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42806 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42807 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42808 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42809 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42810 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
42811 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42812 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42813 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42814 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42815 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42816 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42817 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
42818 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB));
42819 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42820 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42821 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42822 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42823 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42824 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42825 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42826 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42827 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42828 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42829 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42830 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42831 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42832 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42833 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42834 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42835 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42836 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42837 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42838 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42839 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42840 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42841 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42842 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42843 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42844 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42845 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42846 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42847 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42848 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42849 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42850 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42851 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42852 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42853 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42854 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42855 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42856 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42857 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42858 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42859 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42860 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42861 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42862 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42863 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42864 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42865 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42866 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42867 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42868 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42869 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42870 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42871 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42872 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42873 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42874 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42875 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42876 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42877 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42878 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42879 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42880 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42881 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42882 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42883 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42884 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42885 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42886 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42887 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42888 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42889 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42890 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42891 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42892 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42893 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42894 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42895 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42896 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42897 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42898 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42899 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42900 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42901 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42902 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42903 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42904 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42905 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42906 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42907 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42908 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42909 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42910 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42911 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42912 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42913 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42914 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42915 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42916 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42917 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42918 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42919 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42920 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42921 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42922 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42923 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42924 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42925 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42926 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42927 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42928 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42929 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42930 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42931 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42932 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42933 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42934 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42935 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42936 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42937 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42938 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42939 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42940 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42941 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42942 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42943 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42944 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42945 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42946 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42947 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42948 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42949 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42950 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42951 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42952 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42953 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42954 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42955 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42956 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42957 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42958 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42959 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42960 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42961 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42962 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42963 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42964 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42965 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42966 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42967 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42968 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42969 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42970 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42971 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42972 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42973 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42974 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42975 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42976 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42977 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42978 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42979 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42980 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42981 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42982 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42983 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42984 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42985 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42986 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42987 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42988 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42989 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42990 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42991 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42992 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42993 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42994 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42995 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42996 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42997 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42998 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42999 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
43000 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
43001 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
43002 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
43003 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
43004 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
43005 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
43006 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
43007 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
43008 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
43009 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
43010 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
43011 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
43012 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
43013 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
43014 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
43015 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
43016 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
43017 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
43018 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
43019 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
43020 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
43021 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
43022 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
43023 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
43024 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
43025 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
43026 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
43027 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
43028 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
43029 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
43030 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
43031 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
43032 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
43033 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
43034 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
43035 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
43036 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
43037 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
43038 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
43039 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
43040 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
43041 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
43042 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
43043 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
43044 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
43045 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
43046 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
43047 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
43048 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
43049 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
43050 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
43051 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
43052 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
43053 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
43054 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
43055 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
43056 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
43057 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
43058 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
43059 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
43060 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
43061 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
43062 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
43063 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
43064 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
43065 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
43066 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
43067 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
43068 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
43069 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
43070 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
43071 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
43072 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
43073 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
43074 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
43075 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
43076 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
43077 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
43078 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
43079 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
43080 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
43081 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
43082 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
43083 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
43084 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
43085 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
43086 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
43087 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
43088 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
43089 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
43090 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
43091 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
43092 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
43093 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
43094 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
43095 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
43096 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
43097 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
43098 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
43099 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
43100 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
43101 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
43102 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
43103 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
43104 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
43105 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
43106 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
43107 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
43108 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
43109 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
43110 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
43111 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
43112 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
43113 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
43114 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
43115 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
43116 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
43117 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
43118 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
43119 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
43120 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
43121 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
43122 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
43123 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
43124 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
43125 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
43126 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
43127 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
43128 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
43129 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
43130 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
43131 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
43132 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
43133 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
43134 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
43135 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
43136 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
43137 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
43138 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
43139 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
43140 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
43141 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
43142 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
43143 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
43144 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
43145 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
43146 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
43147 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
43148 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
43149 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
43150 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
43151 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
43152 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
43153 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
43154 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
43155 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
43156 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
43157 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
43158 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
43159 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
43160 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
43161 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
43162 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
43163 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
43164 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
43165 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
43166 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
43167 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
43168 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
43169 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
43170 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
43171 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
43172 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
43173 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
43174 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
43175 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
43176 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
43177 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
43178 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
43179 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
43180 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
43181 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
43182 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
43183 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
43184 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
43185 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
43186 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
43187 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
43188 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
43189 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
43190 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
43191 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
43192 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
43193 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
43194 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
43195 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
43196 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
43197 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
43198 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
43199 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
43200 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
43201 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
43202 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
43203 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
43204 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
43205 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
43206 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
43207 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
43208 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
43209 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
43210 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
43211 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
43212 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
43213 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
43214 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
43215 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
43216 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
43217 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
43218 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
43219 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
43220 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
43221 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
43222 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
43223 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
43224 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
43225 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
43226 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
43227 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
43228 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
43229 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
43230 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
43231 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
43232 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
43233 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
43234 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
43235 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
43236 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
43237 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
43238 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
43239 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
43240 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
43241 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
43242 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
43243 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
43244 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
43245 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
43246 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
43247 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
43248 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
43249 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
43250 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
43251 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
43252 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
43253 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
43254 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
43255 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
43256 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
43257 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
43258 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
43259 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
43260 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
43261 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
43262 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
43263 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
43264 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
43265 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
43266 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
43267 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
43268 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
43269 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
43270 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
43271 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
43272 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
43273 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
43274 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
43275 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
43276 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
43277 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
43278 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
43279 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
43280 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
43281 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
43282 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
43283 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
43284 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
43285 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
43286 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
43287 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
43288 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
43289 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
43290 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
43291 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
43292 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
43293 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
43294 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
43295 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
43296 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
43297 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
43298 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
43299 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
43300 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
43301 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
43302 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
43303 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
43304 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
43305 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
43306 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
43307 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
43308 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
43309 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
43310 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
43311 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
43312 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
43313 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
43314 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
43315 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
43316 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
43317 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
43318 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
43319 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
43320 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
43321 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
43322 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
43323 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
43324 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
43325 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
43326 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
43327 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
43328 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
43329 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
43330 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
43331 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
43332 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
43333 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
43334 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
43335 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
43336 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
43337 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
43338 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
43339 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
43340 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
43341 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
43342 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
43343 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
43344 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
43345 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
43346 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
43347 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
43348 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
43349 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
43350 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
43351 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
43352 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
43353 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
43354 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
43355 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
43356 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
43357 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
43358 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
43359 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
43360 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
43361 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
43362 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
43363 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
43364 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
43365 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
43366
43367 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43368
43369
43370 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43371
43372 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
43373 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
43374 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
43375 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
43376 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
43377 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
43378 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
43379 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
43380 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
43381 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
43382 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
43383 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
43384 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
43385 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
43386 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
43387 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
43388 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
43389 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
43390 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
43391 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
43392 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
43393 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
43394 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
43395 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
43396 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
43397 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
43398 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
43399 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
43400 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
43401 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
43402 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
43403 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
43404 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
43405 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
43406 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
43407 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
43408 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
43409 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
43410 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
43411 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
43412 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
43413 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
43414 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
43415 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
43416 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
43417 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
43418 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
43419 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
43420 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
43421 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
43422 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
43423 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
43424 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
43425 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
43426 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
43427 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
43428 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
43429 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
43430 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
43431 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
43432 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
43433 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
43434 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
43435 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
43436 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
43437 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
43438 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
43439 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
43440 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
43441 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
43442 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
43443 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
43444 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
43445 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
43446 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
43447 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
43448 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
43449 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
43450 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
43451 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
43452 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
43453 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
43454 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
43455 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
43456 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
43457 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
43458 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
43459 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
43460 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
43461 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
43462 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
43463 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
43464 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
43465 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
43466 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
43467 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
43468 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
43469 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
43470 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
43471 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
43472 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
43473 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
43474 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
43475 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
43476 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
43477 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
43478 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
43479 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
43480 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
43481 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
43482 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
43483 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
43484 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
43485 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
43486 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
43487 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
43488 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
43489 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
43490 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
43491 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
43492 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
43493 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
43494 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
43495 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
43496 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
43497 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
43498 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
43499 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
43500 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
43501 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
43502 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
43503 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
43504 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
43505 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
43506 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
43507 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
43508 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
43509 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
43510 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
43511 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
43512 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
43513 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
43514 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
43515 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
43516 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
43517 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
43518 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
43519 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
43520 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
43521 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
43522 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
43523 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
43524 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
43525 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
43526 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
43527 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
43528 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
43529 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
43530 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
43531 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
43532 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
43533 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
43534 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
43535 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
43536 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
43537 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
43538 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
43539 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
43540 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
43541 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
43542 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
43543 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
43544 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
43545 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
43546 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
43547 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
43548 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
43549 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
43550 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
43551 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
43552
43553 // Initialize threading, some globals and such
43554 __wxPyPreStart(d);
43555
43556
43557 // Although these are defined in __version__ they need to be here too so
43558 // that an assert can be done to ensure that the wxPython and the wxWindows
43559 // versions match.
43560 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
43561 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
43562 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
43563
43564}
43565