]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_core_wrap.cpp
* wxPrintDialog no longer derives from wxDialog.
[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
c32bde28 46#define SWIG_TypePrettyName SWIG_Python_TypePrettyName
d55e5bfc
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53/***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63#include <string.h>
64
65#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66# if defined(_MSC_VER) || defined(__GNUC__)
67# if defined(STATIC_LINKED)
68# define SWIGEXPORT(a) a
69# define SWIGIMPORT(a) extern a
70# else
71# define SWIGEXPORT(a) __declspec(dllexport) a
72# define SWIGIMPORT(a) extern a
73# endif
74# else
75# if defined(__BORLANDC__)
76# define SWIGEXPORT(a) a _export
77# define SWIGIMPORT(a) a _export
78# else
79# define SWIGEXPORT(a) a
80# define SWIGIMPORT(a) a
81# endif
82# endif
83#else
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
86#endif
87
88#ifdef SWIG_GLOBAL
89# define SWIGRUNTIME(a) SWIGEXPORT(a)
90#else
91# define SWIGRUNTIME(a) static a
92#endif
93
94#ifdef __cplusplus
95extern "C" {
96#endif
97
98typedef void *(*swig_converter_func)(void *);
99typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109} swig_type_info;
110
111
112SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
c32bde28 117SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
d55e5bfc
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d55e5bfc
RD
129/***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
d55e5bfc
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199/* Contract support */
200
201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d55e5bfc
RD
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212#define SWIGTYPE_p_wxRealPoint swig_types[1]
213#define SWIGTYPE_p_wxSizerItem swig_types[2]
214#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215#define SWIGTYPE_p_wxScrollEvent swig_types[4]
ae8162c8
RD
216#define SWIGTYPE_p_wxEventLoop swig_types[5]
217#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
218#define SWIGTYPE_p_wxSizer swig_types[7]
219#define SWIGTYPE_p_wxBoxSizer swig_types[8]
220#define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
221#define SWIGTYPE_p_wxGridBagSizer swig_types[10]
222#define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
223#define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
224#define SWIGTYPE_p_wxMenu swig_types[13]
225#define SWIGTYPE_p_wxEvent swig_types[14]
226#define SWIGTYPE_p_wxGridSizer swig_types[15]
227#define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
228#define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
229#define SWIGTYPE_p_wxItemContainer swig_types[18]
230#define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
231#define SWIGTYPE_p_wxPaintEvent swig_types[20]
232#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
233#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
234#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
235#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
236#define SWIGTYPE_p_wxControl swig_types[25]
237#define SWIGTYPE_p_wxFont swig_types[26]
238#define SWIGTYPE_p_wxMenuBarBase swig_types[27]
239#define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
240#define SWIGTYPE_p_wxFSFile swig_types[29]
241#define SWIGTYPE_p_wxCaret swig_types[30]
242#define SWIGTYPE_p_wxRegion swig_types[31]
243#define SWIGTYPE_p_wxPoint2D swig_types[32]
244#define SWIGTYPE_p_int swig_types[33]
245#define SWIGTYPE_p_wxSize swig_types[34]
246#define SWIGTYPE_p_wxDC swig_types[35]
247#define SWIGTYPE_p_wxPySizer swig_types[36]
248#define SWIGTYPE_p_wxVisualAttributes swig_types[37]
249#define SWIGTYPE_p_wxNotifyEvent swig_types[38]
250#define SWIGTYPE_p_wxPyEvent swig_types[39]
251#define SWIGTYPE_p_wxPropagationDisabler swig_types[40]
252#define SWIGTYPE_p_wxAppTraits swig_types[41]
253#define SWIGTYPE_p_wxArrayString swig_types[42]
254#define SWIGTYPE_p_wxShowEvent swig_types[43]
255#define SWIGTYPE_p_wxToolTip swig_types[44]
256#define SWIGTYPE_p_wxIconizeEvent swig_types[45]
257#define SWIGTYPE_p_wxActivateEvent swig_types[46]
258#define SWIGTYPE_p_wxMoveEvent swig_types[47]
259#define SWIGTYPE_p_wxSizeEvent swig_types[48]
260#define SWIGTYPE_p_wxMaximizeEvent swig_types[49]
261#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[50]
262#define SWIGTYPE_p_wxWindowCreateEvent swig_types[51]
263#define SWIGTYPE_p_wxIdleEvent swig_types[52]
264#define SWIGTYPE_p_wxMenuItem swig_types[53]
265#define SWIGTYPE_p_wxStaticBox swig_types[54]
266#define SWIGTYPE_p_long swig_types[55]
267#define SWIGTYPE_p_wxTIFFHandler swig_types[56]
268#define SWIGTYPE_p_wxXPMHandler swig_types[57]
269#define SWIGTYPE_p_wxPNMHandler swig_types[58]
270#define SWIGTYPE_p_wxJPEGHandler swig_types[59]
271#define SWIGTYPE_p_wxPCXHandler swig_types[60]
272#define SWIGTYPE_p_wxGIFHandler swig_types[61]
273#define SWIGTYPE_p_wxPNGHandler swig_types[62]
274#define SWIGTYPE_p_wxANIHandler swig_types[63]
275#define SWIGTYPE_p_wxMemoryFSHandler swig_types[64]
276#define SWIGTYPE_p_wxEvtHandler swig_types[65]
277#define SWIGTYPE_p_wxCURHandler swig_types[66]
278#define SWIGTYPE_p_wxICOHandler swig_types[67]
279#define SWIGTYPE_p_wxBMPHandler swig_types[68]
280#define SWIGTYPE_p_wxImageHandler swig_types[69]
281#define SWIGTYPE_p_wxFileSystemHandler swig_types[70]
282#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
283#define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
284#define SWIGTYPE_p_wxZipFSHandler swig_types[73]
285#define SWIGTYPE_p_wxRect swig_types[74]
286#define SWIGTYPE_p_wxGBSpan swig_types[75]
287#define SWIGTYPE_p_wxPropagateOnce swig_types[76]
288#define SWIGTYPE_p_wxAcceleratorTable swig_types[77]
289#define SWIGTYPE_p_char swig_types[78]
290#define SWIGTYPE_p_wxGBPosition swig_types[79]
291#define SWIGTYPE_p_wxImage swig_types[80]
292#define SWIGTYPE_p_wxFrame swig_types[81]
293#define SWIGTYPE_p_wxScrollWinEvent swig_types[82]
294#define SWIGTYPE_p_wxImageHistogram swig_types[83]
295#define SWIGTYPE_p_byte swig_types[84]
296#define SWIGTYPE_p_wxPoint swig_types[85]
297#define SWIGTYPE_p_wxCursor swig_types[86]
298#define SWIGTYPE_p_wxObject swig_types[87]
299#define SWIGTYPE_p_wxPyInputStream swig_types[88]
300#define SWIGTYPE_p_wxOutputStream swig_types[89]
301#define SWIGTYPE_p_wxInputStream swig_types[90]
302#define SWIGTYPE_p_wxDateTime swig_types[91]
303#define SWIGTYPE_p_wxKeyEvent swig_types[92]
304#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[93]
305#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[94]
306#define SWIGTYPE_p_wxWindow swig_types[95]
307#define SWIGTYPE_p_wxMenuBar swig_types[96]
308#define SWIGTYPE_p_wxFileSystem swig_types[97]
309#define SWIGTYPE_p_wxBitmap swig_types[98]
310#define SWIGTYPE_p_wxMenuEvent swig_types[99]
311#define SWIGTYPE_p_wxContextMenuEvent swig_types[100]
312#define SWIGTYPE_p_unsigned_char swig_types[101]
313#define SWIGTYPE_p_wxCloseEvent swig_types[102]
314#define SWIGTYPE_p_wxEraseEvent swig_types[103]
315#define SWIGTYPE_p_wxMouseEvent swig_types[104]
316#define SWIGTYPE_p_wxPyApp swig_types[105]
317#define SWIGTYPE_p_wxCommandEvent swig_types[106]
318#define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
319#define SWIGTYPE_p_wxPyDropTarget swig_types[108]
320#define SWIGTYPE_p_wxQuantize swig_types[109]
321#define SWIGTYPE_p_wxChildFocusEvent swig_types[110]
322#define SWIGTYPE_p_wxFocusEvent swig_types[111]
323#define SWIGTYPE_p_wxDropFilesEvent swig_types[112]
324#define SWIGTYPE_p_wxControlWithItems swig_types[113]
325#define SWIGTYPE_p_wxColour swig_types[114]
326#define SWIGTYPE_p_wxValidator swig_types[115]
327#define SWIGTYPE_p_wxPyValidator swig_types[116]
328static swig_type_info *swig_types[118];
d55e5bfc
RD
329
330/* -------- TYPES TABLE (END) -------- */
331
332
333/*-----------------------------------------------
334 @(target):= _core_.so
335 ------------------------------------------------*/
336#define SWIG_init init_core_
337
338#define SWIG_name "_core_"
339
c32bde28
RD
340/* Auxiliar swig macros that appear in the header */
341
342#define SWIG_OLDOBJ 1
343#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
344#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
345
346#ifdef __cplusplus
347#define SWIGSTATICINLINE(a) static inline a
348#define SWIGSTATIC(a) static a
c32bde28
RD
349#define swig_new_array(size,Type) (new Type[(size)])
350#define swig_delete(cptr) delete cptr
d55e5bfc 351#define swig_delete_array(cptr) delete[] cptr
c32bde28
RD
352#define swig_const_cast(a,Type) const_cast<Type >(a)
353#define swig_static_cast(a,Type) static_cast<Type >(a)
354#define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
355#define swig_new_copy(ptr,Type) (new Type(*ptr))
356#define swig_numeric_cast(a,Type) static_cast<Type >(a)
d55e5bfc
RD
357
358#else /* C case */
359
360#define SWIGSTATICINLINE(a) static a
361#define SWIGSTATIC(a) static a
c32bde28
RD
362#define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
363#define swig_delete(cptr) free((char*)cptr)
d55e5bfc 364#define swig_delete_array(cptr) free((char*)cptr)
c32bde28
RD
365#define swig_const_cast(a,Type) (Type)(a)
366#define swig_static_cast(a,Type) (Type)(a)
367#define swig_reinterpret_cast(a,Type) (Type)(a)
368#define swig_numeric_cast(a,Type) (Type)(a)
369#define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
d55e5bfc
RD
370
371#endif /* __cplusplus */
372
373
c32bde28
RD
374/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
375#define SWIG_From_signed_SS_char PyInt_FromLong
376/*@@*/
377/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
378#define SWIG_From_unsigned_SS_char PyInt_FromLong
379/*@@*/
380/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
381#define SWIG_From_short PyInt_FromLong
382/*@@*/
383/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
384#define SWIG_From_unsigned_SS_short PyInt_FromLong
385/*@@*/
386/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
387#define SWIG_From_int PyInt_FromLong
388/*@@*/
389/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
390#define SWIG_From_long PyInt_FromLong
391/*@@*/
392/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
393#define SWIG_From_float PyFloat_FromDouble
394/*@@*/
395/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
396#define SWIG_From_double PyFloat_FromDouble
397/*@@*/
d55e5bfc
RD
398
399
400#include "wx/wxPython/wxPython_int.h"
401#include "wx/wxPython/pyclasses.h"
402
403
404#ifndef wxPyUSE_EXPORT
405// Helper functions for dealing with SWIG objects and such. These are
406// located here so they know about the SWIG types and functions declared
407// in the wrapper code.
408
409#include <wx/hashmap.h>
410WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
411
412
413// Maintains a hashmap of className to swig_type_info pointers. Given the
414// name of a class either looks up the type info in the cache, or scans the
415// SWIG tables for it.
416extern PyObject* wxPyPtrTypeMap;
417static
418swig_type_info* wxPyFindSwigType(const wxChar* className) {
419
420 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
421
422 if (typeInfoCache == NULL)
423 typeInfoCache = new wxPyTypeInfoHashMap;
424
425 wxString name(className);
426 swig_type_info* swigType = (*typeInfoCache)[name];
427
428 if (! swigType) {
429 // it wasn't in the cache, so look it up from SWIG
430 name.Append(wxT(" *"));
431 swigType = SWIG_Python_TypeQuery(name.mb_str());
432
433 // if it still wasn't found, try looking for a mapped name
434 if (!swigType) {
435 PyObject* item;
436 name = className;
437
438 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
439 (char*)(const char*)name.mbc_str())) != NULL) {
440 name = wxString(PyString_AsString(item), *wxConvCurrent);
441 name.Append(wxT(" *"));
442 swigType = SWIG_Python_TypeQuery(name.mb_str());
443 }
444 }
445 if (swigType) {
446 // and add it to the map if found
447 (*typeInfoCache)[className] = swigType;
448 }
449 }
450 return swigType;
451}
452
453
454// Check if a class name is a type known to SWIG
455bool wxPyCheckSwigType(const wxChar* className) {
456
457 swig_type_info* swigType = wxPyFindSwigType(className);
458 return swigType != NULL;
459}
460
461
462// Given a pointer to a C++ object and a class name, construct a Python proxy
463// object for it.
464PyObject* wxPyConstructObject(void* ptr,
465 const wxChar* className,
466 int setThisOwn) {
467
468 swig_type_info* swigType = wxPyFindSwigType(className);
469 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
470
471 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
472}
473
474
475// Extract a pointer to the wrapped C++ object from a Python proxy object.
476// Ensures that the proxy object is of the specified (or derived) type. If
477// not able to perform the conversion then a Python exception is set and the
478// error should be handled properly in the caller. Returns True on success.
479bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
480 const wxChar* className) {
481
482 swig_type_info* swigType = wxPyFindSwigType(className);
ae8162c8 483 wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr"));
d55e5bfc
RD
484
485 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
486}
487
488
489// Make a SWIGified pointer object suitable for a .this attribute
490PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
491
492 PyObject* robj = NULL;
493
494 swig_type_info* swigType = wxPyFindSwigType(className);
495 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
496
497#ifdef SWIG_COBJECT_TYPES
498 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
499#else
500 {
501 char result[1024];
502 char *r = result;
503 *(r++) = '_';
504 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
505 strcpy(r, swigType->name);
506 robj = PyString_FromString(result);
507 }
508#endif
509
510 return robj;
511}
512
513
514
515
516// Export a C API in a struct. Other modules will be able to load this from
517// the wx._core_ module and will then have safe access to these functions,
518// even if they are located in another shared library.
519static wxPyCoreAPI API = {
520
521 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
522 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
523 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
524 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
525 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
c32bde28 526 (p_SWIG_Python_TypePrettyName_t)SWIG_Python_TypePrettyName,
d55e5bfc
RD
527 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
528 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
529 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
530 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
531 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
532 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
533 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
534 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
535 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
536 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
537 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
538 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
539
540 wxPyCheckSwigType,
541 wxPyConstructObject,
542 wxPyConvertSwigPtr,
543 wxPyMakeSwigPtr,
544
545 wxPyBeginAllowThreads,
546 wxPyEndAllowThreads,
547 wxPyBeginBlockThreads,
548 wxPyEndBlockThreads,
549
550 wxPy_ConvertList,
551
552 wxString_in_helper,
553 Py2wxString,
554 wx2PyString,
555
556 byte_LIST_helper,
557 int_LIST_helper,
558 long_LIST_helper,
559 string_LIST_helper,
560 wxPoint_LIST_helper,
561 wxBitmap_LIST_helper,
562 wxString_LIST_helper,
563 wxAcceleratorEntry_LIST_helper,
564
565 wxSize_helper,
566 wxPoint_helper,
567 wxRealPoint_helper,
568 wxRect_helper,
569 wxColour_helper,
570 wxPoint2D_helper,
571
572 wxPySimple_typecheck,
573 wxColour_typecheck,
574
575 wxPyCBH_setCallbackInfo,
576 wxPyCBH_findCallback,
577 wxPyCBH_callCallback,
578 wxPyCBH_callCallbackObj,
579 wxPyCBH_delete,
580
581 wxPyMake_wxObject,
582 wxPyMake_wxSizer,
583 wxPyPtrTypeMap_Add,
584 wxPy2int_seq_helper,
585 wxPy4int_seq_helper,
586 wxArrayString2PyList_helper,
587 wxArrayInt2PyList_helper,
588
589 wxPyClientData_dtor,
590 wxPyUserData_dtor,
591 wxPyOORClientData_dtor,
592
593 wxPyCBInputStream_create,
594
595 wxPyInstance_Check,
0439c23b
RD
596 wxPySwigInstance_Check,
597
598 wxPyCheckForApp
d55e5bfc
RD
599
600};
601
602#endif
603
604
605#if ! wxUSE_HOTKEY
606enum wxHotkeyModifier
607{
608 wxMOD_NONE = 0,
609 wxMOD_ALT = 1,
610 wxMOD_CONTROL = 2,
611 wxMOD_SHIFT = 4,
612 wxMOD_WIN = 8
613};
614#define wxEVT_HOTKEY 9999
615#endif
616
617 static const wxString wxPyEmptyString(wxEmptyString);
618wxString wxObject_GetClassName(wxObject *self){
619 return self->GetClassInfo()->GetClassName();
620 }
621void wxObject_Destroy(wxObject *self){
622 delete self;
623 }
624
625#ifndef __WXMAC__
626#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
627#endif
628
629
630#include <limits.h>
631
632
c32bde28
RD
633SWIGSTATICINLINE(int)
634 SWIG_CheckLongInRange(long value, long min_value, long max_value,
635 const char *errmsg)
d55e5bfc 636{
c32bde28
RD
637 if (value < min_value) {
638 if (errmsg) {
639 PyErr_Format(PyExc_OverflowError,
640 "value %ld is less than '%s' minimum %ld",
641 value, errmsg, min_value);
642 }
643 return 0;
644 } else if (value > max_value) {
645 if (errmsg) {
646 PyErr_Format(PyExc_OverflowError,
647 "value %ld is greater than '%s' maximum %ld",
648 value, errmsg, max_value);
d55e5bfc 649 }
c32bde28 650 return 0;
d55e5bfc 651 }
c32bde28 652 return 1;
d55e5bfc
RD
653}
654
655
c32bde28
RD
656// See my_fragments.i
657SWIGSTATICINLINE(int)
658SWIG_AsVal_long(PyObject* obj, long* val)
d55e5bfc 659{
c32bde28
RD
660 if (PyNumber_Check(obj)) {
661 if (val) *val = PyInt_AsLong(obj);
662 return 1;
663 }
d55e5bfc
RD
664 else {
665 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
666 obj->ob_type->tp_name);
667 PyErr_SetObject(PyExc_TypeError, errmsg);
668 Py_DECREF(errmsg);
d55e5bfc 669 }
c32bde28 670 return 0;
d55e5bfc
RD
671}
672
673
674#if INT_MAX != LONG_MAX
675SWIGSTATICINLINE(int)
c32bde28 676 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 677{
c32bde28
RD
678 const char* errmsg = val ? "int" : 0;
679 long v;
680 if (SWIG_AsVal_long(obj, &v)) {
681 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
682 if (val) *val = swig_numeric_cast(v, int);
683 return 1;
684 } else {
685 return 0;
686 }
687 } else {
688 PyErr_Clear();
689 }
690 if (val) {
691 PyErr_SetString(PyExc_TypeError, "an int is expected");
692 }
693 return 0;
d55e5bfc
RD
694}
695#else
c32bde28
RD
696SWIGSTATICINLINE(int)
697 SWIG_AsVal_int(PyObject *obj, int *val)
698{
699 return SWIG_AsVal_long(obj,(long*)val);
700}
d55e5bfc
RD
701#endif
702
703
704SWIGSTATICINLINE(int)
c32bde28 705SWIG_As_int(PyObject* obj)
d55e5bfc 706{
c32bde28
RD
707 int v;
708 if (!SWIG_AsVal_int(obj, &v)) {
709 /*
710 this is needed to make valgrind/purify happier. the other
711 solution is throw an exception, but since this code should work
712 with plain C ....
713 */
714 memset((void*)&v, 0, sizeof(int));
d55e5bfc 715 }
c32bde28
RD
716 return v;
717}
718
719
720SWIGSTATICINLINE(int)
721SWIG_Check_int(PyObject* obj)
722{
723 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
724}
725
726PyObject *wxSize_Get(wxSize *self){
727 bool blocked = wxPyBeginBlockThreads();
728 PyObject* tup = PyTuple_New(2);
729 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
730 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
731 wxPyEndBlockThreads(blocked);
732 return tup;
733 }
734
c32bde28
RD
735// See my_fragments.i
736SWIGSTATICINLINE(int)
737SWIG_AsVal_double(PyObject *obj, double* val)
d55e5bfc 738{
c32bde28
RD
739 if (PyNumber_Check(obj)) {
740 if (val) *val = PyFloat_AsDouble(obj);
741 return 1;
742 }
d55e5bfc
RD
743 else {
744 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
745 obj->ob_type->tp_name);
746 PyErr_SetObject(PyExc_TypeError, errmsg);
747 Py_DECREF(errmsg);
d55e5bfc 748 }
c32bde28 749 return 0;
d55e5bfc
RD
750}
751
752
c32bde28
RD
753SWIGSTATICINLINE(double)
754SWIG_As_double(PyObject* obj)
d55e5bfc 755{
c32bde28
RD
756 double v;
757 if (!SWIG_AsVal_double(obj, &v)) {
758 /*
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
761 with plain C ....
762 */
763 memset((void*)&v, 0, sizeof(double));
d55e5bfc 764 }
c32bde28
RD
765 return v;
766}
767
768
769SWIGSTATICINLINE(int)
770SWIG_Check_double(PyObject* obj)
771{
772 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
773}
774
775void wxRealPoint_Set(wxRealPoint *self,double x,double y){
776 self->x = x;
777 self->y = y;
778 }
779PyObject *wxRealPoint_Get(wxRealPoint *self){
780 bool blocked = wxPyBeginBlockThreads();
781 PyObject* tup = PyTuple_New(2);
782 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
783 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
784 wxPyEndBlockThreads(blocked);
785 return tup;
786 }
787
c32bde28
RD
788SWIGSTATICINLINE(long)
789SWIG_As_long(PyObject* obj)
d55e5bfc 790{
c32bde28
RD
791 long v;
792 if (!SWIG_AsVal_long(obj, &v)) {
793 /*
794 this is needed to make valgrind/purify happier. the other
795 solution is throw an exception, but since this code should work
796 with plain C ....
797 */
798 memset((void*)&v, 0, sizeof(long));
d55e5bfc 799 }
c32bde28
RD
800 return v;
801}
802
803
804SWIGSTATICINLINE(int)
805SWIG_Check_long(PyObject* obj)
806{
807 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
808}
809
810void wxPoint_Set(wxPoint *self,long x,long y){
811 self->x = x;
812 self->y = y;
813 }
814PyObject *wxPoint_Get(wxPoint *self){
815 bool blocked = wxPyBeginBlockThreads();
816 PyObject* tup = PyTuple_New(2);
817 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
818 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
819 wxPyEndBlockThreads(blocked);
820 return tup;
821 }
822void wxRect_Set(wxRect *self,int x,int y,int width,int height){
823 self->x = x;
824 self->y = y;
825 self->width = width;
826 self->height = height;
827 }
828PyObject *wxRect_Get(wxRect *self){
829 bool blocked = wxPyBeginBlockThreads();
830 PyObject* tup = PyTuple_New(4);
831 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
832 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
833 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
834 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
835 wxPyEndBlockThreads(blocked);
836 return tup;
837 }
838
839 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
840 wxRegion reg1(*r1);
841 wxRegion reg2(*r2);
842 wxRect dest(0,0,0,0);
843 PyObject* obj;
844
845 reg1.Intersect(reg2);
846 dest = reg1.GetBox();
847
848 if (dest != wxRect(0,0,0,0)) {
849 bool blocked = wxPyBeginBlockThreads();
850 wxRect* newRect = new wxRect(dest);
ae8162c8 851 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true);
d55e5bfc
RD
852 wxPyEndBlockThreads(blocked);
853 return obj;
854 }
855 Py_INCREF(Py_None);
856 return Py_None;
857 }
858
859
c32bde28 860 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
861 PyObject* o2;
862 PyObject* o3;
c32bde28 863
d55e5bfc
RD
864 if (!target) {
865 target = o;
866 } else if (target == Py_None) {
867 Py_DECREF(Py_None);
868 target = o;
7e63a440
RD
869 } else {
870 if (!PyTuple_Check(target)) {
871 o2 = target;
872 target = PyTuple_New(1);
873 PyTuple_SetItem(target, 0, o2);
874 }
d55e5bfc
RD
875 o3 = PyTuple_New(1);
876 PyTuple_SetItem(o3, 0, o);
877
878 o2 = target;
879 target = PySequence_Concat(o2, o3);
880 Py_DECREF(o2);
881 Py_DECREF(o3);
882 }
883 return target;
7e63a440 884 }
d55e5bfc 885
c32bde28 886
d55e5bfc
RD
887void wxPoint2D_Set(wxPoint2D *self,double x,double y){
888 self->m_x = x;
889 self->m_y = y;
890 }
891PyObject *wxPoint2D_Get(wxPoint2D *self){
892 bool blocked = wxPyBeginBlockThreads();
893 PyObject* tup = PyTuple_New(2);
894 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
895 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
896 wxPyEndBlockThreads(blocked);
897 return tup;
898 }
899
900#include "wx/wxPython/pyistream.h"
901
902wxPyInputStream *new_wxPyInputStream(PyObject *p){
903 wxInputStream* wxis = wxPyCBInputStream::create(p);
904 if (wxis)
905 return new wxPyInputStream(wxis);
906 else
907 return NULL;
908 }
909
910SWIGSTATICINLINE(PyObject*)
c32bde28 911 SWIG_From_char(char c)
d55e5bfc
RD
912{
913 return PyString_FromStringAndSize(&c,1);
914}
915
916
917SWIGSTATICINLINE(PyObject* )
c32bde28 918 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
919{
920 return (value > LONG_MAX) ?
921 PyLong_FromUnsignedLong(value)
c32bde28 922 : PyInt_FromLong(swig_numeric_cast(value,long));
d55e5bfc
RD
923}
924
925
c32bde28 926/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
d55e5bfc 927SWIGSTATIC(int)
c32bde28 928SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
d55e5bfc
RD
929{
930 static swig_type_info* pchar_info = 0;
c32bde28 931 char* vptr = 0;
d55e5bfc 932 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
c32bde28
RD
933 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
934 if (cptr) *cptr = vptr;
935 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
936 return SWIG_OLDOBJ;
d55e5bfc 937 } else {
c32bde28
RD
938 if (PyString_Check(obj)) {
939 if (cptr) {
940 *cptr = PyString_AS_STRING(obj);
941 if (psize) {
942 *psize = PyString_GET_SIZE(obj) + 1;
943 }
944 }
945 return SWIG_PYSTR;
946 }
d55e5bfc 947 }
c32bde28
RD
948 if (cptr) {
949 PyErr_SetString(PyExc_TypeError, "a string is expected");
950 }
951 return 0;
d55e5bfc
RD
952}
953
954
c32bde28
RD
955SWIGSTATIC(int)
956SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
d55e5bfc
RD
957{
958 char* cptr; size_t csize;
c32bde28
RD
959 if (SWIG_AsCharPtrAndSize(obj, &cptr, &csize)) {
960 /* in C you can do:
961
d55e5bfc
RD
962 char x[5] = "hello";
963
964 ie, assing the array using an extra '0' char.
965 */
d55e5bfc 966 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
c32bde28
RD
967 if (csize <= size) {
968 if (val) {
969 if (csize) memcpy(val, cptr, csize);
970 if (csize < size) memset(val + csize, 0, size - csize);
971 }
972 return 1;
d55e5bfc
RD
973 }
974 }
c32bde28
RD
975 if (val) {
976 PyErr_Format(PyExc_TypeError,
977 "a char array of maximum size %ld is expected",
978 size);
979 }
980 return 0;
d55e5bfc
RD
981}
982
983
c32bde28
RD
984SWIGSTATICINLINE(int)
985 SWIG_AsVal_char(PyObject *obj, char *val)
986{
987 const char* errmsg = val ? "char" : 0;
988 long v;
989 if (SWIG_AsVal_long(obj, &v)) {
990 if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) {
991 if (val) *val = v;
992 return 1;
993 } else {
994 return 0;
995 }
996 } else {
997 PyErr_Clear();
998 return SWIG_AsCharArray(obj, val, 1);
999 }
1000 }
1001
1002
d55e5bfc 1003SWIGSTATICINLINE(char)
c32bde28
RD
1004SWIG_As_char(PyObject* obj)
1005{
1006 char v;
1007 if (!SWIG_AsVal_char(obj, &v)) {
1008 /*
1009 this is needed to make valgrind/purify happier. the other
1010 solution is throw an exception, but since this code should work
1011 with plain C ....
1012 */
1013 memset((void*)&v, 0, sizeof(char));
d55e5bfc 1014 }
c32bde28 1015 return v;
d55e5bfc
RD
1016}
1017
c32bde28 1018
d55e5bfc 1019SWIGSTATICINLINE(int)
c32bde28 1020SWIG_Check_char(PyObject* obj)
d55e5bfc 1021{
c32bde28 1022 return SWIG_AsVal_char(obj, (char*)0);
d55e5bfc
RD
1023}
1024
1025void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
1026 // We use only strings for the streams, not unicode
1027 PyObject* str = PyObject_Str(obj);
1028 if (! str) {
1029 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
1030 return;
1031 }
1032 self->Write(PyString_AS_STRING(str),
1033 PyString_GET_SIZE(str));
1034 Py_DECREF(str);
1035 }
1036
1037#include "wx/wxPython/pyistream.h"
1038
1039
1040class wxPyFileSystemHandler : public wxFileSystemHandler
1041{
1042public:
1043 wxPyFileSystemHandler() : wxFileSystemHandler() {}
1044
1045 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
1046 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
1047 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
1048 DEC_PYCALLBACK_STRING__pure(FindNext);
1049
1050 wxString GetProtocol(const wxString& location) {
1051 return wxFileSystemHandler::GetProtocol(location);
1052 }
1053
1054 wxString GetLeftLocation(const wxString& location) {
1055 return wxFileSystemHandler::GetLeftLocation(location);
1056 }
1057
1058 wxString GetAnchor(const wxString& location) {
1059 return wxFileSystemHandler::GetAnchor(location);
1060 }
1061
1062 wxString GetRightLocation(const wxString& location) {
1063 return wxFileSystemHandler::GetRightLocation(location);
1064 }
1065
1066 wxString GetMimeTypeFromExt(const wxString& location) {
1067 return wxFileSystemHandler::GetMimeTypeFromExt(location);
1068 }
1069
1070 PYPRIVATE;
1071};
1072
1073
1074IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
1075IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
1076IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
1077IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
1078
1079
c32bde28
RD
1080SWIGSTATICINLINE(int)
1081 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1082{
c32bde28
RD
1083 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
1084 if (obj == Py_True) {
1085 if (val) *val = true;
1086 return 1;
1087 }
1088 if (obj == Py_False) {
1089 if (val) *val = false;
1090 return 1;
1091 }
1092 int res = 0;
1093 if (SWIG_AsVal_int(obj, &res)) {
1094 if (val) *val = (bool)res;
1095 return 1;
1096 }
1097 if (val) {
1098 PyErr_SetString(PyExc_TypeError, "a bool is expected");
1099 }
1100 return 0;
d55e5bfc
RD
1101}
1102
1103
c32bde28
RD
1104SWIGSTATICINLINE(bool)
1105SWIG_As_bool(PyObject* obj)
d55e5bfc 1106{
c32bde28
RD
1107 bool v;
1108 if (!SWIG_AsVal_bool(obj, &v)) {
1109 /*
1110 this is needed to make valgrind/purify happier. the other
1111 solution is throw an exception, but since this code should work
1112 with plain C ....
1113 */
1114 memset((void*)&v, 0, sizeof(bool));
d55e5bfc 1115 }
c32bde28
RD
1116 return v;
1117}
1118
1119
1120SWIGSTATICINLINE(int)
1121SWIG_Check_bool(PyObject* obj)
1122{
1123 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1124}
1125
ae8162c8
RD
1126wxString FileSystem_URLToFileName(wxString const &url){
1127 wxFileName fname = wxFileSystem::URLToFileName(url);
1128 return fname.GetFullPath();
1129 }
d55e5bfc
RD
1130
1131 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1132 wxImage& image,
1133 long type) {
1134 wxMemoryFSHandler::AddFile(filename, image, type);
1135 }
1136
1137 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1138 const wxBitmap& bitmap,
1139 long type) {
1140 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1141 }
1142
1143 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1144 PyObject* data) {
ae8162c8
RD
1145 if (! PyString_Check(data)) {
1146 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
1147 "Expected string object"));
1148 return;
1149 }
1150
1151 bool blocked = wxPyBeginBlockThreads();
1152 void* ptr = (void*)PyString_AsString(data);
1153 size_t size = PyString_Size(data);
1154 wxPyEndBlockThreads(blocked);
1155
1156 wxMemoryFSHandler::AddFile(filename, ptr, size);
d55e5bfc
RD
1157 }
1158
1159
1160#include "wx/wxPython/pyistream.h"
1161
1162
c32bde28
RD
1163// See my_fragments.i
1164SWIGSTATICINLINE(int)
1165SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1166{
c32bde28
RD
1167 long v = 0;
1168 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1169 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
1170 return 0;
d55e5bfc 1171 }
c32bde28
RD
1172 else if (val)
1173 *val = (unsigned long)v;
1174 return 1;
d55e5bfc
RD
1175}
1176
1177
c32bde28
RD
1178SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value,
1180 unsigned long max_value,
1181 const char *errmsg)
d55e5bfc 1182{
c32bde28
RD
1183 if (value > max_value) {
1184 if (errmsg) {
1185 PyErr_Format(PyExc_OverflowError,
1186 "value %ld is greater than '%s' minimum %ld",
1187 value, errmsg, max_value);
d55e5bfc 1188 }
c32bde28 1189 return 0;
d55e5bfc 1190 }
c32bde28
RD
1191 return 1;
1192 }
d55e5bfc
RD
1193
1194
c32bde28
RD
1195SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject *obj, unsigned char *val)
d55e5bfc 1197{
c32bde28
RD
1198 const char* errmsg = val ? "unsigned char" : 0;
1199 unsigned long v;
1200 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1201 if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) {
1202 if (val) *val = swig_numeric_cast(v, unsigned char);
1203 return 1;
1204 } else {
1205 return 0;
1206 }
1207 } else {
1208 PyErr_Clear();
1209 }
1210 if (val) {
1211 PyErr_SetString(PyExc_TypeError, "an unsigned char is expected");
1212 }
1213 return 0;
d55e5bfc
RD
1214}
1215
1216
c32bde28
RD
1217SWIGSTATICINLINE(unsigned char)
1218SWIG_As_unsigned_SS_char(PyObject* obj)
d55e5bfc 1219{
c32bde28
RD
1220 unsigned char v;
1221 if (!SWIG_AsVal_unsigned_SS_char(obj, &v)) {
1222 /*
1223 this is needed to make valgrind/purify happier. the other
1224 solution is throw an exception, but since this code should work
1225 with plain C ....
1226 */
1227 memset((void*)&v, 0, sizeof(unsigned char));
d55e5bfc 1228 }
c32bde28 1229 return v;
d55e5bfc
RD
1230}
1231
c32bde28
RD
1232
1233SWIGSTATICINLINE(int)
1234SWIG_Check_unsigned_SS_char(PyObject* obj)
1235{
1236 return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
1237}
1238
1239
c24da6d6 1240wxImage *new_wxImage(int width,int height,bool clear){
d55e5bfc
RD
1241 if (width > 0 && height > 0)
1242 return new wxImage(width, height, clear);
1243 else
1244 return new wxImage;
1245 }
d55e5bfc
RD
1246wxImage *new_wxImage(wxBitmap const &bitmap){
1247 return new wxImage(bitmap.ConvertToImage());
1248 }
1249wxImage *new_wxImage(int width,int height,unsigned char *data){
1250 // Copy the source data so the wxImage can clean it up later
1251 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1252 if (copy == NULL) {
1253 PyErr_NoMemory();
1254 return NULL;
1255 }
1256 memcpy(copy, data, width*height*3);
ae8162c8 1257 return new wxImage(width, height, copy, false);
d55e5bfc
RD
1258 }
1259wxSize wxImage_GetSize(wxImage *self){
1260 wxSize size(self->GetWidth(), self->GetHeight());
1261 return size;
1262 }
1263PyObject *wxImage_GetData(wxImage *self){
1264 unsigned char* data = self->GetData();
1265 int len = self->GetWidth() * self->GetHeight() * 3;
1266 PyObject* rv;
1267 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1268 return rv;
1269 }
1270void wxImage_SetData(wxImage *self,PyObject *data){
1271 unsigned char* dataPtr;
1272
1273 if (! PyString_Check(data)) {
ae8162c8
RD
1274 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
1275 "Expected string object"));
d55e5bfc
RD
1276 return /* NULL */ ;
1277 }
1278
1279 size_t len = self->GetWidth() * self->GetHeight() * 3;
1280 dataPtr = (unsigned char*) malloc(len);
1281 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1282 self->SetData(dataPtr);
1283 // wxImage takes ownership of dataPtr...
1284 }
1285PyObject *wxImage_GetDataBuffer(wxImage *self){
1286 unsigned char* data = self->GetData();
1287 int len = self->GetWidth() * self->GetHeight() * 3;
1288 PyObject* rv;
1289 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1290 return rv;
1291 }
1292void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1293 unsigned char* buffer;
1294 int size;
1295
1296 bool blocked = wxPyBeginBlockThreads();
1297 if (!PyArg_Parse(data, "t#", &buffer, &size))
1298 goto done;
1299
1300 if (size != self->GetWidth() * self->GetHeight() * 3) {
1301 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1302 goto done;
1303 }
1304 self->SetData(buffer);
1305 done:
1306 wxPyEndBlockThreads(blocked);
1307 }
1308PyObject *wxImage_GetAlphaData(wxImage *self){
1309 unsigned char* data = self->GetAlpha();
1310 if (! data) {
1311 RETURN_NONE();
1312 } else {
1313 int len = self->GetWidth() * self->GetHeight();
1314 PyObject* rv;
1315 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1316 return rv;
1317 }
1318 }
1319void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1320 unsigned char* dataPtr;
1321
1322 if (! PyString_Check(data)) {
1323 PyErr_SetString(PyExc_TypeError, "Expected string object");
1324 return /* NULL */ ;
1325 }
1326
1327 size_t len = self->GetWidth() * self->GetHeight();
1328 dataPtr = (unsigned char*) malloc(len);
1329 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1330 self->SetAlpha(dataPtr);
1331 // wxImage takes ownership of dataPtr...
1332 }
1333PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1334 unsigned char* data = self->GetAlpha();
1335 int len = self->GetWidth() * self->GetHeight();
1336 PyObject* rv;
1337 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1338 return rv;
1339 }
1340void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1341 unsigned char* buffer;
1342 int size;
1343
1344 bool blocked = wxPyBeginBlockThreads();
1345 if (!PyArg_Parse(data, "t#", &buffer, &size))
1346 goto done;
1347
1348 if (size != self->GetWidth() * self->GetHeight()) {
1349 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1350 goto done;
1351 }
1352 self->SetAlpha(buffer);
1353 done:
1354 wxPyEndBlockThreads(blocked);
1355 }
1356
c32bde28
RD
1357SWIGSTATICINLINE(unsigned long)
1358SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1359{
c32bde28
RD
1360 unsigned long v;
1361 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1362 /*
1363 this is needed to make valgrind/purify happier. the other
1364 solution is throw an exception, but since this code should work
1365 with plain C ....
1366 */
1367 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1368 }
c32bde28
RD
1369 return v;
1370}
1371
1372
1373SWIGSTATICINLINE(int)
1374SWIG_Check_unsigned_SS_long(PyObject* obj)
1375{
1376 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1377}
1378
1fbf26be
RD
1379wxBitmap wxImage_ConvertToBitmap(wxImage *self,int depth){
1380 wxBitmap bitmap(*self, depth);
d55e5bfc
RD
1381 return bitmap;
1382 }
1383wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1384 wxImage mono = self->ConvertToMono( red, green, blue );
1385 wxBitmap bitmap( mono, 1 );
1386 return bitmap;
1387 }
1388 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1389 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1390 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1391 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1392 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
c0de73ae
RD
1393
1394#include <wx/quantize.h>
1395
1396bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours,int flags){
1397 return wxQuantize::Quantize(src, dest,
1398 //NULL, // palette
1399 desiredNoColours,
1400 NULL, // eightBitData
1401 flags);
1402 }
d55e5bfc
RD
1403void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1404 if (PyCallable_Check(func)) {
1405 self->Connect(id, lastId, eventType,
1406 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1407 new wxPyCallback(func));
1408 }
1409 else if (func == Py_None) {
1410 self->Disconnect(id, lastId, eventType,
1411 (wxObjectEventFunction)
1412 &wxPyCallback::EventThunker);
1413 }
1414 else {
1415 wxPyBLOCK_THREADS(
1416 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
1417 }
1418 }
1419bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1420 return self->Disconnect(id, lastId, eventType,
1421 (wxObjectEventFunction)
1422 &wxPyCallback::EventThunker);
1423 }
1424void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1425 if (_self && _self != Py_None) {
1426 self->SetClientObject(new wxPyOORClientData(_self));
1427 }
1428 else {
1429 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1430 if (data) {
1431 self->SetClientObject(NULL); // This will delete it too
1432 }
1433 }
1434 }
c32bde28 1435
19272049 1436int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
d55e5bfc 1437 #if wxUSE_UNICODE
19272049 1438 return self->GetUnicodeKey();
d55e5bfc
RD
1439 #else
1440 return 0;
1441 #endif
1442 }
1443
1444#if UINT_MAX < LONG_MAX
c32bde28
RD
1445/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1446#define SWIG_From_unsigned_SS_int SWIG_From_long
1447/*@@*/
d55e5bfc 1448#else
c32bde28
RD
1449/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1450#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1451/*@@*/
d55e5bfc
RD
1452#endif
1453
1454
1455#if UINT_MAX != ULONG_MAX
c32bde28
RD
1456SWIGSTATICINLINE(int)
1457 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 1458{
c32bde28
RD
1459 const char* errmsg = val ? "unsigned int" : 0;
1460 unsigned long v;
1461 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1462 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1463 if (val) *val = swig_numeric_cast(v, unsigned int);
1464 return 1;
1465 }
1466 } else {
1467 PyErr_Clear();
1468 }
1469 if (val) {
1470 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
1471 }
1472 return 0;
d55e5bfc
RD
1473}
1474#else
c32bde28
RD
1475SWIGSTATICINLINE(unsigned int)
1476 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1477{
1478 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1479}
d55e5bfc
RD
1480#endif
1481
1482
c32bde28
RD
1483SWIGSTATICINLINE(unsigned int)
1484SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 1485{
c32bde28
RD
1486 unsigned int v;
1487 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1488 /*
1489 this is needed to make valgrind/purify happier. the other
1490 solution is throw an exception, but since this code should work
1491 with plain C ....
1492 */
1493 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 1494 }
c32bde28
RD
1495 return v;
1496}
1497
1498
1499SWIGSTATICINLINE(int)
1500SWIG_Check_unsigned_SS_int(PyObject* obj)
1501{
1502 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
1503}
1504
1505void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1506 self->m_size = size;
1507 }
1508void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1509 self->m_pos = pos;
1510 }
1511PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1512 int count = self->GetNumberOfFiles();
1513 wxString* files = self->GetFiles();
1514 PyObject* list = PyList_New(count);
1515
1516 if (!list) {
1517 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1518 return NULL;
1519 }
1520
1521 for (int i=0; i<count; i++) {
1522 PyList_SetItem(list, i, wx2PyString(files[i]));
1523 }
1524 return list;
1525 }
1526
1527
1528wxPyApp *new_wxPyApp(){
1529 wxPythonApp = new wxPyApp();
1530 return wxPythonApp;
1531 }
1532
1533 void wxApp_CleanUp() {
1534 __wxPyCleanup();
1535 }
1536
1537
caef1a4d 1538 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d55e5bfc
RD
1539
1540
ae8162c8
RD
1541#ifdef __WXMAC__
1542
1543// A dummy class that raises an exception if used...
1544class wxEventLoop
1545{
1546public:
1547 wxEventLoop() { wxPyRaiseNotImplemented(); }
1548 int Run() { return 0; }
1549 void Exit(int rc = 0) {}
1550 bool Pending() const { return false; }
1551 bool Dispatch() { return false; }
1552 bool IsRunning() const { return false; }
1553 static wxEventLoop *GetActive() { wxPyRaiseNotImplemented(); return NULL; }
1554 static void SetActive(wxEventLoop* loop) { wxPyRaiseNotImplemented(); }
1555};
1556
1557#else
1558
1559#include <wx/evtloop.h>
1560
1561#endif
1562
1563
d55e5bfc
RD
1564
1565 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1566wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
f20a2e1f 1567void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
d55e5bfc
RD
1568PyObject *wxWindow_GetChildren(wxWindow *self){
1569 wxWindowList& list = self->GetChildren();
1570 return wxPy_ConvertList(&list);
1571 }
1572bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1573 #if wxUSE_HOTKEY
1574 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1575 #else
ae8162c8 1576 return false;
d55e5bfc
RD
1577 #endif
1578 }
1579bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1580
1581
1582
ae8162c8 1583 return false;
d55e5bfc
RD
1584
1585 }
1586long wxWindow_GetHandle(wxWindow *self){
1587 return wxPyGetWinHandle(self);
1588 }
7e63a440
RD
1589void wxWindow_AssociateHandle(wxWindow *self,long handle){
1590 self->AssociateHandle((WXWidget)handle);
1591 }
d55e5bfc
RD
1592
1593wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1594 return wxWindow::FindWindowById(id, parent);
1595}
1596
1597wxWindow* wxFindWindowByName( const wxString& name,
1598 const wxWindow *parent = NULL ) {
1599 return wxWindow::FindWindowByName(name, parent);
1600}
1601
1602wxWindow* wxFindWindowByLabel( const wxString& label,
1603 const wxWindow *parent = NULL ) {
1604 return wxWindow::FindWindowByLabel(label, parent);
1605}
1606
1607
1608#ifdef __WXMSW__
1609#include <wx/msw/private.h> // to get wxGetWindowId
1610#endif
1611
1612
1613 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1614#ifdef __WXMSW__
1615 WXHWND hWnd = (WXHWND)_hWnd;
1616 long id = wxGetWindowId(hWnd);
1617 wxWindow* win = new wxWindow;
1618 parent->AddChild(win);
1619 win->SetEventHandler(win);
1620 win->SetHWND(hWnd);
1621 win->SetId(id);
1622 win->SubclassWin(hWnd);
1623 win->AdoptAttributesFromHWND();
1624 win->SetupColours();
1625 return win;
1626#else
1627 wxPyRaiseNotImplemented();
1628 return NULL;
1629#endif
1630 }
1631
1632
1633IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1634IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1635IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1636
1637IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1638
1639void wxMenu_Destroy(wxMenu *self){ delete self; }
1640PyObject *wxMenu_GetMenuItems(wxMenu *self){
1641 wxMenuItemList& list = self->GetMenuItems();
1642 return wxPy_ConvertList(&list);
1643 }
1644 static const wxString wxPyControlNameStr(wxControlNameStr);
1645int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1646 if (clientData) {
1647 wxPyClientData* data = new wxPyClientData(clientData);
1648 return self->Append(item, data);
1649 } else
1650 return self->Append(item);
1651 }
1652int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1653 if (clientData) {
1654 wxPyClientData* data = new wxPyClientData(clientData);
1655 return self->Insert(item, pos, data);
1656 } else
1657 return self->Insert(item, pos);
1658 }
1659PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1660 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1661 if (data) {
1662 Py_INCREF(data->m_obj);
1663 return data->m_obj;
1664 } else {
1665 Py_INCREF(Py_None);
1666 return Py_None;
1667 }
1668 }
1669void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1670 wxPyClientData* data = new wxPyClientData(clientData);
1671 self->SetClientObject(n, data);
1672 }
1673
1674
248ed943
RD
1675wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData){
1676 wxPyUserData* data = NULL;
1677 if ( userData ) {
1678 bool blocked = wxPyBeginBlockThreads();
1679 data = new wxPyUserData(userData);
1680 wxPyEndBlockThreads(blocked);
1681 }
1682 return new wxSizerItem(window, proportion, flag, border, data);
1683 }
1684wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData){
1685 wxPyUserData* data = NULL;
1686 if ( userData ) {
1687 bool blocked = wxPyBeginBlockThreads();
1688 data = new wxPyUserData(userData);
1689 wxPyEndBlockThreads(blocked);
1690 }
1691 return new wxSizerItem(width, height, proportion, flag, border, data);
1692 }
1693wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData){
1694 wxPyUserData* data = NULL;
1695 if ( userData ) {
1696 bool blocked = wxPyBeginBlockThreads();
1697 data = new wxPyUserData(userData);
1698 wxPyEndBlockThreads(blocked);
1699 }
1700 return new wxSizerItem(sizer, proportion, flag, border, data);
1701 }
d55e5bfc
RD
1702
1703#include <float.h>
c32bde28
RD
1704SWIGSTATICINLINE(int)
1705 SWIG_CheckDoubleInRange(double value, double min_value,
1706 double max_value, const char* errmsg)
1707{
1708 if (value < min_value) {
1709 if (errmsg) {
1710 PyErr_Format(PyExc_OverflowError,
1711 "value %g is less than %s minimum %g",
1712 value, errmsg, min_value);
1713 }
1714 return 0;
1715 } else if (value > max_value) {
1716 if (errmsg) {
1717 PyErr_Format(PyExc_OverflowError,
1718 "value %g is greater than %s maximum %g",
1719 value, errmsg, max_value);
1720 }
1721 return 0;
1722 }
1723 return 1;
1724}
1725
d55e5bfc 1726
c32bde28
RD
1727SWIGSTATICINLINE(int)
1728 SWIG_AsVal_float(PyObject *obj, float *val)
d55e5bfc 1729{
c32bde28
RD
1730 const char* errmsg = val ? "float" : 0;
1731 double v;
1732 if (SWIG_AsVal_double(obj, &v)) {
1733 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
1734 if (val) *val = v;
1735 return 1;
d55e5bfc 1736 } else {
c32bde28 1737 return 0;
d55e5bfc 1738 }
c32bde28
RD
1739 } else {
1740 PyErr_Clear();
d55e5bfc 1741 }
c32bde28
RD
1742 if (val) {
1743 PyErr_SetString(PyExc_TypeError, "a float is expected");
1744 }
1745 return 0;
d55e5bfc
RD
1746}
1747
1748
1749SWIGSTATICINLINE(float)
c32bde28 1750SWIG_As_float(PyObject* obj)
d55e5bfc 1751{
c32bde28
RD
1752 float v;
1753 if (!SWIG_AsVal_float(obj, &v)) {
1754 /*
1755 this is needed to make valgrind/purify happier. the other
1756 solution is throw an exception, but since this code should work
1757 with plain C ....
1758 */
1759 memset((void*)&v, 0, sizeof(float));
1760 }
1761 return v;
d55e5bfc
RD
1762}
1763
c32bde28 1764
d55e5bfc 1765SWIGSTATICINLINE(int)
c32bde28 1766SWIG_Check_float(PyObject* obj)
d55e5bfc 1767{
c32bde28 1768 return SWIG_AsVal_float(obj, (float*)0);
d55e5bfc
RD
1769}
1770
1771PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1772 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1773 if (data) {
1774 Py_INCREF(data->m_obj);
1775 return data->m_obj;
1776 } else {
1777 Py_INCREF(Py_None);
1778 return Py_None;
1779 }
1780 }
1781
1782// Figure out the type of the sizer item
1783
1784struct wxPySizerItemInfo {
1785 wxPySizerItemInfo()
ae8162c8
RD
1786 : window(NULL), sizer(NULL), gotSize(false),
1787 size(wxDefaultSize), gotPos(false), pos(-1)
d55e5bfc
RD
1788 {}
1789
1790 wxWindow* window;
1791 wxSizer* sizer;
1792 bool gotSize;
1793 wxSize size;
1794 bool gotPos;
1795 int pos;
1796};
1797
1798static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1799
1800 wxPySizerItemInfo info;
1801 wxSize size;
1802 wxSize* sizePtr = &size;
1803
1804 // Find out what the type of the item is
1805 // try wxWindow
1806 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1807 PyErr_Clear();
1808 info.window = NULL;
1809
1810 // try wxSizer
1811 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1812 PyErr_Clear();
1813 info.sizer = NULL;
1814
1815 // try wxSize or (w,h)
1816 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1817 info.size = *sizePtr;
ae8162c8 1818 info.gotSize = true;
d55e5bfc
RD
1819 }
1820
1821 // or a single int
1822 if (checkIdx && PyInt_Check(item)) {
1823 info.pos = PyInt_AsLong(item);
ae8162c8 1824 info.gotPos = true;
d55e5bfc
RD
1825 }
1826 }
1827 }
1828
1829 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1830 // no expected type, figure out what kind of error message to generate
1831 if ( !checkSize && !checkIdx )
1832 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1833 else if ( checkSize && !checkIdx )
1834 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1835 else if ( !checkSize && checkIdx)
1836 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1837 else
1838 // can this one happen?
1839 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1840 }
1841
1842 return info;
1843}
1844
1845void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
b0f7404b
RD
1846 if (!self->GetClientObject())
1847 self->SetClientObject(new wxPyOORClientData(_self));
d55e5bfc
RD
1848 }
1849void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1850
1851 wxPyUserData* data = NULL;
1852 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1853 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
1854 if ( userData && (info.window || info.sizer || info.gotSize) )
1855 data = new wxPyUserData(userData);
1856 wxPyEndBlockThreads(blocked);
1857
1858 // Now call the real Add method if a valid item type was found
1859 if ( info.window )
1860 self->Add(info.window, proportion, flag, border, data);
1861 else if ( info.sizer )
1862 self->Add(info.sizer, proportion, flag, border, data);
1863 else if (info.gotSize)
1864 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1865 proportion, flag, border, data);
1866 }
1867void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1868
1869 wxPyUserData* data = NULL;
1870 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1871 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
1872 if ( userData && (info.window || info.sizer || info.gotSize) )
1873 data = new wxPyUserData(userData);
1874 wxPyEndBlockThreads(blocked);
1875
1876 // Now call the real Insert method if a valid item type was found
1877 if ( info.window )
1878 self->Insert(before, info.window, proportion, flag, border, data);
1879 else if ( info.sizer )
1880 self->Insert(before, info.sizer, proportion, flag, border, data);
1881 else if (info.gotSize)
1882 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1883 proportion, flag, border, data);
1884 }
1885void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1886
1887 wxPyUserData* data = NULL;
1888 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1889 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
1890 if ( userData && (info.window || info.sizer || info.gotSize) )
1891 data = new wxPyUserData(userData);
1892 wxPyEndBlockThreads(blocked);
1893
1894 // Now call the real Prepend method if a valid item type was found
1895 if ( info.window )
1896 self->Prepend(info.window, proportion, flag, border, data);
1897 else if ( info.sizer )
1898 self->Prepend(info.sizer, proportion, flag, border, data);
1899 else if (info.gotSize)
1900 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1901 proportion, flag, border, data);
1902 }
1903bool wxSizer_Remove(wxSizer *self,PyObject *item){
1904 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1905 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
d55e5bfc
RD
1906 wxPyEndBlockThreads(blocked);
1907 if ( info.window )
1908 return self->Remove(info.window);
1909 else if ( info.sizer )
1910 return self->Remove(info.sizer);
1911 else if ( info.gotPos )
1912 return self->Remove(info.pos);
1913 else
ae8162c8 1914 return false;
d55e5bfc 1915 }
1a6bba1e
RD
1916bool wxSizer_Detach(wxSizer *self,PyObject *item){
1917 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1918 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
1a6bba1e
RD
1919 wxPyEndBlockThreads(blocked);
1920 if ( info.window )
1921 return self->Detach(info.window);
1922 else if ( info.sizer )
1923 return self->Detach(info.sizer);
1924 else if ( info.gotPos )
1925 return self->Detach(info.pos);
1926 else
ae8162c8 1927 return false;
1a6bba1e 1928 }
d55e5bfc
RD
1929void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
1930 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1931 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
d55e5bfc
RD
1932 wxPyEndBlockThreads(blocked);
1933 if ( info.window )
1934 self->SetItemMinSize(info.window, size);
1935 else if ( info.sizer )
1936 self->SetItemMinSize(info.sizer, size);
1937 else if ( info.gotPos )
1938 self->SetItemMinSize(info.pos, size);
1939 }
1940PyObject *wxSizer_GetChildren(wxSizer *self){
1941 wxSizerItemList& list = self->GetChildren();
1942 return wxPy_ConvertList(&list);
1943 }
7e63a440 1944bool wxSizer_Show(wxSizer *self,PyObject *item,bool show,bool recursive){
c24da6d6 1945 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1946 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
c24da6d6 1947 wxPyEndBlockThreads(blocked);
d55e5bfc 1948 if ( info.window )
7e63a440 1949 return self->Show(info.window, show, recursive);
d55e5bfc 1950 else if ( info.sizer )
7e63a440 1951 return self->Show(info.sizer, show, recursive);
248ed943 1952 else if ( info.gotPos )
7e63a440 1953 return self->Show(info.pos, show);
ae8162c8
RD
1954 else
1955 return false;
d55e5bfc
RD
1956 }
1957bool wxSizer_IsShown(wxSizer *self,PyObject *item){
c24da6d6 1958 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1959 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
c24da6d6 1960 wxPyEndBlockThreads(blocked);
d55e5bfc
RD
1961 if ( info.window )
1962 return self->IsShown(info.window);
1963 else if ( info.sizer )
1964 return self->IsShown(info.sizer);
248ed943
RD
1965 else if ( info.gotPos )
1966 return self->IsShown(info.pos);
d55e5bfc 1967 else
ae8162c8 1968 return false;
d55e5bfc
RD
1969 }
1970
1971// See pyclasses.h
1972IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1973IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1974IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1975
1976
1977
1978
1979bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1980{
1981 if (source == Py_None) {
1982 **obj = wxGBPosition(-1,-1);
ae8162c8 1983 return true;
d55e5bfc
RD
1984 }
1985 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1986}
1987
1988bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1989{
1990 if (source == Py_None) {
1991 **obj = wxGBSpan(-1,-1);
ae8162c8 1992 return true;
d55e5bfc
RD
1993 }
1994 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1995}
1996
1997
1998void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1999 self->SetRow(row);
2000 self->SetCol(col);
2001 }
2002PyObject *wxGBPosition_Get(wxGBPosition *self){
2003 bool blocked = wxPyBeginBlockThreads();
2004 PyObject* tup = PyTuple_New(2);
2005 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
2006 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
2007 wxPyEndBlockThreads(blocked);
2008 return tup;
2009 }
2010void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
2011 self->SetRowspan(rowspan);
2012 self->SetColspan(colspan);
2013 }
2014PyObject *wxGBSpan_Get(wxGBSpan *self){
2015 bool blocked = wxPyBeginBlockThreads();
2016 PyObject* tup = PyTuple_New(2);
2017 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
2018 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
2019 wxPyEndBlockThreads(blocked);
2020 return tup;
2021 }
248ed943
RD
2022wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
2023 wxPyUserData* data = NULL;
2024 if ( userData ) {
2025 bool blocked = wxPyBeginBlockThreads();
2026 data = new wxPyUserData(userData);
2027 wxPyEndBlockThreads(blocked);
2028 }
2029 return new wxGBSizerItem(window, pos, span, flag, border, data);
2030 }
2031wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
2032 wxPyUserData* data = NULL;
2033 if ( userData ) {
2034 bool blocked = wxPyBeginBlockThreads();
2035 data = new wxPyUserData(userData);
2036 wxPyEndBlockThreads(blocked);
2037 }
2038 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
2039 }
2040wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
2041 wxPyUserData* data = NULL;
2042 if ( userData ) {
2043 bool blocked = wxPyBeginBlockThreads();
2044 data = new wxPyUserData(userData);
2045 wxPyEndBlockThreads(blocked);
2046 }
2047 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
2048 }
2049wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
2050 int row, col;
2051 self->GetEndPos(row, col);
2052 return wxGBPosition(row, col);
2053 }
d55e5bfc
RD
2054bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
2055
2056 wxPyUserData* data = NULL;
2057 bool blocked = wxPyBeginBlockThreads();
ae8162c8 2058 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d55e5bfc
RD
2059 if ( userData && (info.window || info.sizer || info.gotSize) )
2060 data = new wxPyUserData(userData);
2061 wxPyEndBlockThreads(blocked);
2062
2063 // Now call the real Add method if a valid item type was found
2064 if ( info.window )
2065 return self->Add(info.window, pos, span, flag, border, data);
2066 else if ( info.sizer )
2067 return self->Add(info.sizer, pos, span, flag, border, data);
2068 else if (info.gotSize)
2069 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
2070 pos, span, flag, border, data);
ae8162c8 2071 return false;
d55e5bfc
RD
2072 }
2073
2074
2075#ifdef __cplusplus
2076extern "C" {
2077#endif
c32bde28 2078static int _wrap_EmptyString_set(PyObject *) {
d55e5bfc
RD
2079 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
2080 return 1;
2081}
2082
2083
2084static PyObject *_wrap_EmptyString_get() {
2085 PyObject *pyobj;
2086
2087 {
2088#if wxUSE_UNICODE
2089 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
2090#else
2091 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
2092#endif
2093 }
2094 return pyobj;
2095}
2096
2097
c32bde28 2098static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2099 PyObject *resultobj;
2100 wxObject *arg1 = (wxObject *) 0 ;
2101 wxString result;
2102 PyObject * obj0 = 0 ;
2103 char *kwnames[] = {
2104 (char *) "self", NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
2108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2110 {
2111 PyThreadState* __tstate = wxPyBeginAllowThreads();
2112 result = wxObject_GetClassName(arg1);
2113
2114 wxPyEndAllowThreads(__tstate);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 {
2118#if wxUSE_UNICODE
2119 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2120#else
2121 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2122#endif
2123 }
2124 return resultobj;
2125 fail:
2126 return NULL;
2127}
2128
2129
c32bde28 2130static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2131 PyObject *resultobj;
2132 wxObject *arg1 = (wxObject *) 0 ;
2133 PyObject * obj0 = 0 ;
2134 char *kwnames[] = {
2135 (char *) "self", NULL
2136 };
2137
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
2139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
2140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 wxObject_Destroy(arg1);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 Py_INCREF(Py_None); resultobj = Py_None;
2149 return resultobj;
2150 fail:
2151 return NULL;
2152}
2153
2154
c32bde28 2155static PyObject * Object_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2156 PyObject *obj;
2157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2158 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
2159 Py_INCREF(obj);
2160 return Py_BuildValue((char *)"");
2161}
c32bde28 2162static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2163 PyObject *resultobj;
2164 wxSize *arg1 = (wxSize *) 0 ;
2165 int arg2 ;
2166 PyObject * obj0 = 0 ;
2167 PyObject * obj1 = 0 ;
2168 char *kwnames[] = {
2169 (char *) "self",(char *) "x", NULL
2170 };
2171
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
2173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2175 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2176 if (PyErr_Occurred()) SWIG_fail;
2177 if (arg1) (arg1)->x = arg2;
2178
2179 Py_INCREF(Py_None); resultobj = Py_None;
2180 return resultobj;
2181 fail:
2182 return NULL;
2183}
2184
2185
c32bde28 2186static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2187 PyObject *resultobj;
2188 wxSize *arg1 = (wxSize *) 0 ;
2189 int result;
2190 PyObject * obj0 = 0 ;
2191 char *kwnames[] = {
2192 (char *) "self", NULL
2193 };
2194
2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
2196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2198 result = (int) ((arg1)->x);
2199
c32bde28 2200 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2201 return resultobj;
2202 fail:
2203 return NULL;
2204}
2205
2206
c32bde28 2207static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2208 PyObject *resultobj;
2209 wxSize *arg1 = (wxSize *) 0 ;
2210 int arg2 ;
2211 PyObject * obj0 = 0 ;
2212 PyObject * obj1 = 0 ;
2213 char *kwnames[] = {
2214 (char *) "self",(char *) "y", NULL
2215 };
2216
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
2218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2220 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2221 if (PyErr_Occurred()) SWIG_fail;
2222 if (arg1) (arg1)->y = arg2;
2223
2224 Py_INCREF(Py_None); resultobj = Py_None;
2225 return resultobj;
2226 fail:
2227 return NULL;
2228}
2229
2230
c32bde28 2231static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2232 PyObject *resultobj;
2233 wxSize *arg1 = (wxSize *) 0 ;
2234 int result;
2235 PyObject * obj0 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 result = (int) ((arg1)->y);
2244
c32bde28 2245 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2246 return resultobj;
2247 fail:
2248 return NULL;
2249}
2250
2251
c32bde28 2252static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2253 PyObject *resultobj;
2254 int arg1 = (int) 0 ;
2255 int arg2 = (int) 0 ;
2256 wxSize *result;
2257 PyObject * obj0 = 0 ;
2258 PyObject * obj1 = 0 ;
2259 char *kwnames[] = {
2260 (char *) "w",(char *) "h", NULL
2261 };
2262
2263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
2264 if (obj0) {
c32bde28 2265 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 if (obj1) {
c32bde28 2269 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 result = (wxSize *)new wxSize(arg1,arg2);
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
2279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
2280 return resultobj;
2281 fail:
2282 return NULL;
2283}
2284
2285
c32bde28 2286static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2287 PyObject *resultobj;
2288 wxSize *arg1 = (wxSize *) 0 ;
2289 PyObject * obj0 = 0 ;
2290 char *kwnames[] = {
2291 (char *) "self", NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
2295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 delete arg1;
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308}
2309
2310
c32bde28 2311static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2312 PyObject *resultobj;
2313 wxSize *arg1 = (wxSize *) 0 ;
2314 wxSize *arg2 = 0 ;
2315 bool result;
2316 wxSize temp2 ;
2317 PyObject * obj0 = 0 ;
2318 PyObject * obj1 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self",(char *) "sz", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
2324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2326 {
2327 arg2 = &temp2;
2328 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2329 }
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 {
2338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2339 }
2340 return resultobj;
2341 fail:
2342 return NULL;
2343}
2344
2345
c32bde28 2346static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2347 PyObject *resultobj;
2348 wxSize *arg1 = (wxSize *) 0 ;
2349 wxSize *arg2 = 0 ;
2350 bool result;
2351 wxSize temp2 ;
2352 PyObject * obj0 = 0 ;
2353 PyObject * obj1 = 0 ;
2354 char *kwnames[] = {
2355 (char *) "self",(char *) "sz", NULL
2356 };
2357
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2361 {
2362 arg2 = &temp2;
2363 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2364 }
2365 {
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
2368
2369 wxPyEndAllowThreads(__tstate);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 {
2373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2374 }
2375 return resultobj;
2376 fail:
2377 return NULL;
2378}
2379
2380
c32bde28 2381static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2382 PyObject *resultobj;
2383 wxSize *arg1 = (wxSize *) 0 ;
2384 wxSize *arg2 = 0 ;
2385 wxSize result;
2386 wxSize temp2 ;
2387 PyObject * obj0 = 0 ;
2388 PyObject * obj1 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "self",(char *) "sz", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2396 {
2397 arg2 = &temp2;
2398 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2399 }
2400 {
2401 PyThreadState* __tstate = wxPyBeginAllowThreads();
2402 result = (arg1)->operator +((wxSize const &)*arg2);
2403
2404 wxPyEndAllowThreads(__tstate);
2405 if (PyErr_Occurred()) SWIG_fail;
2406 }
2407 {
2408 wxSize * resultptr;
2409 resultptr = new wxSize((wxSize &) result);
2410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2411 }
2412 return resultobj;
2413 fail:
2414 return NULL;
2415}
2416
2417
c32bde28 2418static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2419 PyObject *resultobj;
2420 wxSize *arg1 = (wxSize *) 0 ;
2421 wxSize *arg2 = 0 ;
2422 wxSize result;
2423 wxSize temp2 ;
2424 PyObject * obj0 = 0 ;
2425 PyObject * obj1 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "self",(char *) "sz", NULL
2428 };
2429
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2433 {
2434 arg2 = &temp2;
2435 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2436 }
2437 {
2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
2439 result = (arg1)->operator -((wxSize const &)*arg2);
2440
2441 wxPyEndAllowThreads(__tstate);
2442 if (PyErr_Occurred()) SWIG_fail;
2443 }
2444 {
2445 wxSize * resultptr;
2446 resultptr = new wxSize((wxSize &) result);
2447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2448 }
2449 return resultobj;
2450 fail:
2451 return NULL;
2452}
2453
2454
c32bde28 2455static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2456 PyObject *resultobj;
2457 wxSize *arg1 = (wxSize *) 0 ;
2458 wxSize *arg2 = 0 ;
2459 wxSize temp2 ;
2460 PyObject * obj0 = 0 ;
2461 PyObject * obj1 = 0 ;
2462 char *kwnames[] = {
2463 (char *) "self",(char *) "sz", NULL
2464 };
2465
2466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2469 {
2470 arg2 = &temp2;
2471 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2472 }
2473 {
2474 PyThreadState* __tstate = wxPyBeginAllowThreads();
2475 (arg1)->IncTo((wxSize const &)*arg2);
2476
2477 wxPyEndAllowThreads(__tstate);
2478 if (PyErr_Occurred()) SWIG_fail;
2479 }
2480 Py_INCREF(Py_None); resultobj = Py_None;
2481 return resultobj;
2482 fail:
2483 return NULL;
2484}
2485
2486
c32bde28 2487static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2488 PyObject *resultobj;
2489 wxSize *arg1 = (wxSize *) 0 ;
2490 wxSize *arg2 = 0 ;
2491 wxSize temp2 ;
2492 PyObject * obj0 = 0 ;
2493 PyObject * obj1 = 0 ;
2494 char *kwnames[] = {
2495 (char *) "self",(char *) "sz", NULL
2496 };
2497
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2501 {
2502 arg2 = &temp2;
2503 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2504 }
2505 {
2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
2507 (arg1)->DecTo((wxSize const &)*arg2);
2508
2509 wxPyEndAllowThreads(__tstate);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 Py_INCREF(Py_None); resultobj = Py_None;
2513 return resultobj;
2514 fail:
2515 return NULL;
2516}
2517
2518
c32bde28 2519static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2520 PyObject *resultobj;
2521 wxSize *arg1 = (wxSize *) 0 ;
2522 int arg2 ;
2523 int arg3 ;
2524 PyObject * obj0 = 0 ;
2525 PyObject * obj1 = 0 ;
2526 PyObject * obj2 = 0 ;
2527 char *kwnames[] = {
2528 (char *) "self",(char *) "w",(char *) "h", NULL
2529 };
2530
2531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2534 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 2535 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2536 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
2537 if (PyErr_Occurred()) SWIG_fail;
2538 {
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 (arg1)->Set(arg2,arg3);
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 Py_INCREF(Py_None); resultobj = Py_None;
2546 return resultobj;
2547 fail:
2548 return NULL;
2549}
2550
2551
c32bde28 2552static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2553 PyObject *resultobj;
2554 wxSize *arg1 = (wxSize *) 0 ;
2555 int arg2 ;
2556 PyObject * obj0 = 0 ;
2557 PyObject * obj1 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "self",(char *) "w", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2565 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2566 if (PyErr_Occurred()) SWIG_fail;
2567 {
2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
2569 (arg1)->SetWidth(arg2);
2570
2571 wxPyEndAllowThreads(__tstate);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 Py_INCREF(Py_None); resultobj = Py_None;
2575 return resultobj;
2576 fail:
2577 return NULL;
2578}
2579
2580
c32bde28 2581static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2582 PyObject *resultobj;
2583 wxSize *arg1 = (wxSize *) 0 ;
2584 int arg2 ;
2585 PyObject * obj0 = 0 ;
2586 PyObject * obj1 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self",(char *) "h", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2594 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
2595 if (PyErr_Occurred()) SWIG_fail;
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 (arg1)->SetHeight(arg2);
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 Py_INCREF(Py_None); resultobj = Py_None;
2604 return resultobj;
2605 fail:
2606 return NULL;
2607}
2608
2609
c32bde28 2610static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2611 PyObject *resultobj;
2612 wxSize *arg1 = (wxSize *) 0 ;
2613 int result;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = (int)((wxSize const *)arg1)->GetWidth();
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
c32bde28 2629 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2630 return resultobj;
2631 fail:
2632 return NULL;
2633}
2634
2635
c32bde28 2636static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2637 PyObject *resultobj;
2638 wxSize *arg1 = (wxSize *) 0 ;
2639 int result;
2640 PyObject * obj0 = 0 ;
2641 char *kwnames[] = {
2642 (char *) "self", NULL
2643 };
2644
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 result = (int)((wxSize const *)arg1)->GetHeight();
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
c32bde28 2655 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
2656 return resultobj;
2657 fail:
2658 return NULL;
2659}
2660
2661
c32bde28 2662static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2663 PyObject *resultobj;
2664 wxSize *arg1 = (wxSize *) 0 ;
2665 bool result;
2666 PyObject * obj0 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2674 {
2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
2676 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2677
2678 wxPyEndAllowThreads(__tstate);
2679 if (PyErr_Occurred()) SWIG_fail;
2680 }
2681 {
2682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2683 }
2684 return resultobj;
2685 fail:
2686 return NULL;
2687}
2688
2689
c32bde28 2690static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2691 PyObject *resultobj;
2692 wxSize *arg1 = (wxSize *) 0 ;
2693 wxSize *arg2 = 0 ;
2694 wxSize temp2 ;
2695 PyObject * obj0 = 0 ;
2696 PyObject * obj1 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self",(char *) "size", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2704 {
2705 arg2 = &temp2;
2706 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2707 }
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2710 (arg1)->SetDefaults((wxSize const &)*arg2);
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 Py_INCREF(Py_None); resultobj = Py_None;
2716 return resultobj;
2717 fail:
2718 return NULL;
2719}
2720
2721
c32bde28 2722static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2723 PyObject *resultobj;
2724 wxSize *arg1 = (wxSize *) 0 ;
2725 PyObject *result;
2726 PyObject * obj0 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2734 {
2735 PyThreadState* __tstate = wxPyBeginAllowThreads();
2736 result = (PyObject *)wxSize_Get(arg1);
2737
2738 wxPyEndAllowThreads(__tstate);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 resultobj = result;
2742 return resultobj;
2743 fail:
2744 return NULL;
2745}
2746
2747
c32bde28 2748static PyObject * Size_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2749 PyObject *obj;
2750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2752 Py_INCREF(obj);
2753 return Py_BuildValue((char *)"");
2754}
c32bde28 2755static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2756 PyObject *resultobj;
2757 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2758 double arg2 ;
2759 PyObject * obj0 = 0 ;
2760 PyObject * obj1 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self",(char *) "x", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2768 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
2769 if (PyErr_Occurred()) SWIG_fail;
2770 if (arg1) (arg1)->x = arg2;
2771
2772 Py_INCREF(Py_None); resultobj = Py_None;
2773 return resultobj;
2774 fail:
2775 return NULL;
2776}
2777
2778
c32bde28 2779static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2780 PyObject *resultobj;
2781 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2782 double result;
2783 PyObject * obj0 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2791 result = (double) ((arg1)->x);
2792
c32bde28 2793 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2794 return resultobj;
2795 fail:
2796 return NULL;
2797}
2798
2799
c32bde28 2800static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2801 PyObject *resultobj;
2802 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2803 double arg2 ;
2804 PyObject * obj0 = 0 ;
2805 PyObject * obj1 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self",(char *) "y", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2813 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
2814 if (PyErr_Occurred()) SWIG_fail;
2815 if (arg1) (arg1)->y = arg2;
2816
2817 Py_INCREF(Py_None); resultobj = Py_None;
2818 return resultobj;
2819 fail:
2820 return NULL;
2821}
2822
2823
c32bde28 2824static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2825 PyObject *resultobj;
2826 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2827 double result;
2828 PyObject * obj0 = 0 ;
2829 char *kwnames[] = {
2830 (char *) "self", NULL
2831 };
2832
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2836 result = (double) ((arg1)->y);
2837
c32bde28 2838 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
2839 return resultobj;
2840 fail:
2841 return NULL;
2842}
2843
2844
c32bde28 2845static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2846 PyObject *resultobj;
2847 double arg1 = (double) 0.0 ;
2848 double arg2 = (double) 0.0 ;
2849 wxRealPoint *result;
2850 PyObject * obj0 = 0 ;
2851 PyObject * obj1 = 0 ;
2852 char *kwnames[] = {
2853 (char *) "x",(char *) "y", NULL
2854 };
2855
2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2857 if (obj0) {
c32bde28 2858 arg1 = (double)SWIG_As_double(obj0);
d55e5bfc
RD
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 if (obj1) {
c32bde28 2862 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 {
2866 PyThreadState* __tstate = wxPyBeginAllowThreads();
2867 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2868
2869 wxPyEndAllowThreads(__tstate);
2870 if (PyErr_Occurred()) SWIG_fail;
2871 }
2872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
2873 return resultobj;
2874 fail:
2875 return NULL;
2876}
2877
2878
c32bde28 2879static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2880 PyObject *resultobj;
2881 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2882 PyObject * obj0 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 delete arg1;
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901}
2902
2903
c32bde28 2904static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2905 PyObject *resultobj;
2906 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2907 wxRealPoint *arg2 = 0 ;
2908 bool result;
2909 wxRealPoint temp2 ;
2910 PyObject * obj0 = 0 ;
2911 PyObject * obj1 = 0 ;
2912 char *kwnames[] = {
2913 (char *) "self",(char *) "pt", NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2919 {
2920 arg2 = &temp2;
2921 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2922 }
2923 {
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 {
2931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2932 }
2933 return resultobj;
2934 fail:
2935 return NULL;
2936}
2937
2938
c32bde28 2939static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2940 PyObject *resultobj;
2941 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2942 wxRealPoint *arg2 = 0 ;
2943 bool result;
2944 wxRealPoint temp2 ;
2945 PyObject * obj0 = 0 ;
2946 PyObject * obj1 = 0 ;
2947 char *kwnames[] = {
2948 (char *) "self",(char *) "pt", NULL
2949 };
2950
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2954 {
2955 arg2 = &temp2;
2956 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2957 }
2958 {
2959 PyThreadState* __tstate = wxPyBeginAllowThreads();
2960 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
2961
2962 wxPyEndAllowThreads(__tstate);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2967 }
2968 return resultobj;
2969 fail:
2970 return NULL;
2971}
2972
2973
c32bde28 2974static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2975 PyObject *resultobj;
2976 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2977 wxRealPoint *arg2 = 0 ;
2978 wxRealPoint result;
2979 wxRealPoint temp2 ;
2980 PyObject * obj0 = 0 ;
2981 PyObject * obj1 = 0 ;
2982 char *kwnames[] = {
2983 (char *) "self",(char *) "pt", NULL
2984 };
2985
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2989 {
2990 arg2 = &temp2;
2991 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 result = (arg1)->operator +((wxRealPoint const &)*arg2);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 {
3001 wxRealPoint * resultptr;
3002 resultptr = new wxRealPoint((wxRealPoint &) result);
3003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
3004 }
3005 return resultobj;
3006 fail:
3007 return NULL;
3008}
3009
3010
c32bde28 3011static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3012 PyObject *resultobj;
3013 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3014 wxRealPoint *arg2 = 0 ;
3015 wxRealPoint result;
3016 wxRealPoint temp2 ;
3017 PyObject * obj0 = 0 ;
3018 PyObject * obj1 = 0 ;
3019 char *kwnames[] = {
3020 (char *) "self",(char *) "pt", NULL
3021 };
3022
3023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
3024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
3025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3026 {
3027 arg2 = &temp2;
3028 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = (arg1)->operator -((wxRealPoint const &)*arg2);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 {
3038 wxRealPoint * resultptr;
3039 resultptr = new wxRealPoint((wxRealPoint &) result);
3040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
3041 }
3042 return resultobj;
3043 fail:
3044 return NULL;
3045}
3046
3047
c32bde28 3048static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3049 PyObject *resultobj;
3050 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3051 double arg2 ;
3052 double arg3 ;
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055 PyObject * obj2 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self",(char *) "x",(char *) "y", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
3062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3063 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc 3064 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3065 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
3066 if (PyErr_Occurred()) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 wxRealPoint_Set(arg1,arg2,arg3);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 Py_INCREF(Py_None); resultobj = Py_None;
3075 return resultobj;
3076 fail:
3077 return NULL;
3078}
3079
3080
c32bde28 3081static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3082 PyObject *resultobj;
3083 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3084 PyObject *result;
3085 PyObject * obj0 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
3091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 result = (PyObject *)wxRealPoint_Get(arg1);
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 resultobj = result;
3101 return resultobj;
3102 fail:
3103 return NULL;
3104}
3105
3106
c32bde28 3107static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3108 PyObject *obj;
3109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3110 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
3111 Py_INCREF(obj);
3112 return Py_BuildValue((char *)"");
3113}
c32bde28 3114static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3115 PyObject *resultobj;
3116 wxPoint *arg1 = (wxPoint *) 0 ;
3117 int arg2 ;
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj1 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "x", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3127 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3128 if (PyErr_Occurred()) SWIG_fail;
3129 if (arg1) (arg1)->x = arg2;
3130
3131 Py_INCREF(Py_None); resultobj = Py_None;
3132 return resultobj;
3133 fail:
3134 return NULL;
3135}
3136
3137
c32bde28 3138static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3139 PyObject *resultobj;
3140 wxPoint *arg1 = (wxPoint *) 0 ;
3141 int result;
3142 PyObject * obj0 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
3148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3150 result = (int) ((arg1)->x);
3151
c32bde28 3152 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
3153 return resultobj;
3154 fail:
3155 return NULL;
3156}
3157
3158
c32bde28 3159static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3160 PyObject *resultobj;
3161 wxPoint *arg1 = (wxPoint *) 0 ;
3162 int arg2 ;
3163 PyObject * obj0 = 0 ;
3164 PyObject * obj1 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self",(char *) "y", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
3170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3172 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3173 if (PyErr_Occurred()) SWIG_fail;
3174 if (arg1) (arg1)->y = arg2;
3175
3176 Py_INCREF(Py_None); resultobj = Py_None;
3177 return resultobj;
3178 fail:
3179 return NULL;
3180}
3181
3182
c32bde28 3183static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3184 PyObject *resultobj;
3185 wxPoint *arg1 = (wxPoint *) 0 ;
3186 int result;
3187 PyObject * obj0 = 0 ;
3188 char *kwnames[] = {
3189 (char *) "self", NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
3193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3195 result = (int) ((arg1)->y);
3196
c32bde28 3197 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
3198 return resultobj;
3199 fail:
3200 return NULL;
3201}
3202
3203
c32bde28 3204static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3205 PyObject *resultobj;
3206 int arg1 = (int) 0 ;
3207 int arg2 = (int) 0 ;
3208 wxPoint *result;
3209 PyObject * obj0 = 0 ;
3210 PyObject * obj1 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "x",(char *) "y", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
3216 if (obj0) {
c32bde28 3217 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 if (obj1) {
c32bde28 3221 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3222 if (PyErr_Occurred()) SWIG_fail;
3223 }
3224 {
3225 PyThreadState* __tstate = wxPyBeginAllowThreads();
3226 result = (wxPoint *)new wxPoint(arg1,arg2);
3227
3228 wxPyEndAllowThreads(__tstate);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
3231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
3232 return resultobj;
3233 fail:
3234 return NULL;
3235}
3236
3237
c32bde28 3238static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3239 PyObject *resultobj;
3240 wxPoint *arg1 = (wxPoint *) 0 ;
3241 PyObject * obj0 = 0 ;
3242 char *kwnames[] = {
3243 (char *) "self", NULL
3244 };
3245
3246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
3247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 delete arg1;
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 Py_INCREF(Py_None); resultobj = Py_None;
3257 return resultobj;
3258 fail:
3259 return NULL;
3260}
3261
3262
c32bde28 3263static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3264 PyObject *resultobj;
3265 wxPoint *arg1 = (wxPoint *) 0 ;
3266 wxPoint *arg2 = 0 ;
3267 bool result;
3268 wxPoint temp2 ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "pt", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3278 {
3279 arg2 = &temp2;
3280 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3281 }
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 {
3290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3291 }
3292 return resultobj;
3293 fail:
3294 return NULL;
3295}
3296
3297
c32bde28 3298static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3299 PyObject *resultobj;
3300 wxPoint *arg1 = (wxPoint *) 0 ;
3301 wxPoint *arg2 = 0 ;
3302 bool result;
3303 wxPoint temp2 ;
3304 PyObject * obj0 = 0 ;
3305 PyObject * obj1 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self",(char *) "pt", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
3311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3313 {
3314 arg2 = &temp2;
3315 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3316 }
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 {
3325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3326 }
3327 return resultobj;
3328 fail:
3329 return NULL;
3330}
3331
3332
c32bde28 3333static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3334 PyObject *resultobj;
3335 wxPoint *arg1 = (wxPoint *) 0 ;
3336 wxPoint *arg2 = 0 ;
3337 wxPoint result;
3338 wxPoint temp2 ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3341 char *kwnames[] = {
3342 (char *) "self",(char *) "pt", NULL
3343 };
3344
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
3346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3348 {
3349 arg2 = &temp2;
3350 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (arg1)->operator +((wxPoint const &)*arg2);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 {
3360 wxPoint * resultptr;
3361 resultptr = new wxPoint((wxPoint &) result);
3362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3363 }
3364 return resultobj;
3365 fail:
3366 return NULL;
3367}
3368
3369
c32bde28 3370static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3371 PyObject *resultobj;
3372 wxPoint *arg1 = (wxPoint *) 0 ;
3373 wxPoint *arg2 = 0 ;
3374 wxPoint result;
3375 wxPoint temp2 ;
3376 PyObject * obj0 = 0 ;
3377 PyObject * obj1 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self",(char *) "pt", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3385 {
3386 arg2 = &temp2;
3387 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3388 }
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 result = (arg1)->operator -((wxPoint const &)*arg2);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 {
3397 wxPoint * resultptr;
3398 resultptr = new wxPoint((wxPoint &) result);
3399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3400 }
3401 return resultobj;
3402 fail:
3403 return NULL;
3404}
3405
3406
c32bde28 3407static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3408 PyObject *resultobj;
3409 wxPoint *arg1 = (wxPoint *) 0 ;
3410 wxPoint *arg2 = 0 ;
3411 wxPoint *result;
3412 wxPoint temp2 ;
3413 PyObject * obj0 = 0 ;
3414 PyObject * obj1 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "pt", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
3420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
c32bde28 3421 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
3422 {
3423 arg2 = &temp2;
3424 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3425 }
3426 {
3427 PyThreadState* __tstate = wxPyBeginAllowThreads();
3428 {
3429 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3430 result = (wxPoint *) &_result_ref;
3431 }
3432
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
c32bde28 3436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d55e5bfc
RD
3437 return resultobj;
3438 fail:
3439 return NULL;
3440}
3441
3442
c32bde28 3443static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3444 PyObject *resultobj;
3445 wxPoint *arg1 = (wxPoint *) 0 ;
3446 wxPoint *arg2 = 0 ;
3447 wxPoint *result;
3448 wxPoint temp2 ;
3449 PyObject * obj0 = 0 ;
3450 PyObject * obj1 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self",(char *) "pt", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
3456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
c32bde28 3457 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
3458 {
3459 arg2 = &temp2;
3460 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 {
3465 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3466 result = (wxPoint *) &_result_ref;
3467 }
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
c32bde28 3472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d55e5bfc
RD
3473 return resultobj;
3474 fail:
3475 return NULL;
3476}
3477
3478
c32bde28 3479static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3480 PyObject *resultobj;
3481 wxPoint *arg1 = (wxPoint *) 0 ;
3482 long arg2 ;
3483 long arg3 ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486 PyObject * obj2 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "self",(char *) "x",(char *) "y", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
3492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3494 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc 3495 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3496 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
3497 if (PyErr_Occurred()) SWIG_fail;
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 wxPoint_Set(arg1,arg2,arg3);
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 Py_INCREF(Py_None); resultobj = Py_None;
3506 return resultobj;
3507 fail:
3508 return NULL;
3509}
3510
3511
c32bde28 3512static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3513 PyObject *resultobj;
3514 wxPoint *arg1 = (wxPoint *) 0 ;
3515 PyObject *result;
3516 PyObject * obj0 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
3522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 result = (PyObject *)wxPoint_Get(arg1);
3527
3528 wxPyEndAllowThreads(__tstate);
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 resultobj = result;
3532 return resultobj;
3533 fail:
3534 return NULL;
3535}
3536
3537
c32bde28 3538static PyObject * Point_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3539 PyObject *obj;
3540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3541 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3542 Py_INCREF(obj);
3543 return Py_BuildValue((char *)"");
3544}
c32bde28 3545static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3546 PyObject *resultobj;
3547 int arg1 = (int) 0 ;
3548 int arg2 = (int) 0 ;
3549 int arg3 = (int) 0 ;
3550 int arg4 = (int) 0 ;
3551 wxRect *result;
3552 PyObject * obj0 = 0 ;
3553 PyObject * obj1 = 0 ;
3554 PyObject * obj2 = 0 ;
3555 PyObject * obj3 = 0 ;
3556 char *kwnames[] = {
3557 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3558 };
3559
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3561 if (obj0) {
c32bde28 3562 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
3563 if (PyErr_Occurred()) SWIG_fail;
3564 }
3565 if (obj1) {
c32bde28 3566 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 if (obj2) {
c32bde28 3570 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 if (obj3) {
c32bde28 3574 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3585 return resultobj;
3586 fail:
3587 return NULL;
3588}
3589
3590
c32bde28 3591static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3592 PyObject *resultobj;
3593 wxPoint *arg1 = 0 ;
3594 wxPoint *arg2 = 0 ;
3595 wxRect *result;
3596 wxPoint temp1 ;
3597 wxPoint temp2 ;
3598 PyObject * obj0 = 0 ;
3599 PyObject * obj1 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "topLeft",(char *) "bottomRight", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3605 {
3606 arg1 = &temp1;
3607 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3608 }
3609 {
3610 arg2 = &temp2;
3611 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3612 }
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3621 return resultobj;
3622 fail:
3623 return NULL;
3624}
3625
3626
c32bde28 3627static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3628 PyObject *resultobj;
3629 wxPoint *arg1 = 0 ;
3630 wxSize *arg2 = 0 ;
3631 wxRect *result;
3632 wxPoint temp1 ;
3633 wxSize temp2 ;
3634 PyObject * obj0 = 0 ;
3635 PyObject * obj1 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "pos",(char *) "size", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3641 {
3642 arg1 = &temp1;
3643 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3644 }
3645 {
3646 arg2 = &temp2;
3647 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3648 }
3649 {
3650 PyThreadState* __tstate = wxPyBeginAllowThreads();
3651 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3652
3653 wxPyEndAllowThreads(__tstate);
3654 if (PyErr_Occurred()) SWIG_fail;
3655 }
3656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3657 return resultobj;
3658 fail:
3659 return NULL;
3660}
3661
3662
c32bde28 3663static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3664 PyObject *resultobj;
3665 wxRect *arg1 = (wxRect *) 0 ;
3666 PyObject * obj0 = 0 ;
3667 char *kwnames[] = {
3668 (char *) "self", NULL
3669 };
3670
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
3672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3674 {
3675 PyThreadState* __tstate = wxPyBeginAllowThreads();
3676 delete arg1;
3677
3678 wxPyEndAllowThreads(__tstate);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 }
3681 Py_INCREF(Py_None); resultobj = Py_None;
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
c32bde28 3688static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3689 PyObject *resultobj;
3690 wxRect *arg1 = (wxRect *) 0 ;
3691 int result;
3692 PyObject * obj0 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 result = (int)((wxRect const *)arg1)->GetX();
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
c32bde28 3707 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
c32bde28 3714static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3715 PyObject *resultobj;
3716 wxRect *arg1 = (wxRect *) 0 ;
3717 int arg2 ;
3718 PyObject * obj0 = 0 ;
3719 PyObject * obj1 = 0 ;
3720 char *kwnames[] = {
3721 (char *) "self",(char *) "x", NULL
3722 };
3723
3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
3725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3727 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3728 if (PyErr_Occurred()) SWIG_fail;
3729 {
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 (arg1)->SetX(arg2);
3732
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 Py_INCREF(Py_None); resultobj = Py_None;
3737 return resultobj;
3738 fail:
3739 return NULL;
3740}
3741
3742
c32bde28 3743static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3744 PyObject *resultobj;
3745 wxRect *arg1 = (wxRect *) 0 ;
3746 int result;
3747 PyObject * obj0 = 0 ;
3748 char *kwnames[] = {
3749 (char *) "self", NULL
3750 };
3751
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
3753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
3757 result = (int)(arg1)->GetY();
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
c32bde28 3762 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
c32bde28 3769static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3770 PyObject *resultobj;
3771 wxRect *arg1 = (wxRect *) 0 ;
3772 int arg2 ;
3773 PyObject * obj0 = 0 ;
3774 PyObject * obj1 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "self",(char *) "y", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
3780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3782 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3783 if (PyErr_Occurred()) SWIG_fail;
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 (arg1)->SetY(arg2);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 Py_INCREF(Py_None); resultobj = Py_None;
3792 return resultobj;
3793 fail:
3794 return NULL;
3795}
3796
3797
c32bde28 3798static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3799 PyObject *resultobj;
3800 wxRect *arg1 = (wxRect *) 0 ;
3801 int result;
3802 PyObject * obj0 = 0 ;
3803 char *kwnames[] = {
3804 (char *) "self", NULL
3805 };
3806
3807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
3808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 result = (int)((wxRect const *)arg1)->GetWidth();
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
c32bde28 3817 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
3818 return resultobj;
3819 fail:
3820 return NULL;
3821}
3822
3823
c32bde28 3824static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3825 PyObject *resultobj;
3826 wxRect *arg1 = (wxRect *) 0 ;
3827 int arg2 ;
3828 PyObject * obj0 = 0 ;
3829 PyObject * obj1 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "self",(char *) "w", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
3835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3837 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3838 if (PyErr_Occurred()) SWIG_fail;
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 (arg1)->SetWidth(arg2);
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 Py_INCREF(Py_None); resultobj = Py_None;
3847 return resultobj;
3848 fail:
3849 return NULL;
3850}
3851
3852
c32bde28 3853static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3854 PyObject *resultobj;
3855 wxRect *arg1 = (wxRect *) 0 ;
3856 int result;
3857 PyObject * obj0 = 0 ;
3858 char *kwnames[] = {
3859 (char *) "self", NULL
3860 };
3861
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
3863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = (int)((wxRect const *)arg1)->GetHeight();
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
c32bde28 3872 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
3873 return resultobj;
3874 fail:
3875 return NULL;
3876}
3877
3878
c32bde28 3879static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3880 PyObject *resultobj;
3881 wxRect *arg1 = (wxRect *) 0 ;
3882 int arg2 ;
3883 PyObject * obj0 = 0 ;
3884 PyObject * obj1 = 0 ;
3885 char *kwnames[] = {
3886 (char *) "self",(char *) "h", NULL
3887 };
3888
3889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
3890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3892 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
3893 if (PyErr_Occurred()) SWIG_fail;
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 (arg1)->SetHeight(arg2);
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 Py_INCREF(Py_None); resultobj = Py_None;
3902 return resultobj;
3903 fail:
3904 return NULL;
3905}
3906
3907
c32bde28 3908static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3909 PyObject *resultobj;
3910 wxRect *arg1 = (wxRect *) 0 ;
3911 wxPoint result;
3912 PyObject * obj0 = 0 ;
3913 char *kwnames[] = {
3914 (char *) "self", NULL
3915 };
3916
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
3918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 result = ((wxRect const *)arg1)->GetPosition();
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 {
3928 wxPoint * resultptr;
3929 resultptr = new wxPoint((wxPoint &) result);
3930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3931 }
3932 return resultobj;
3933 fail:
3934 return NULL;
3935}
3936
3937
c32bde28 3938static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3939 PyObject *resultobj;
3940 wxRect *arg1 = (wxRect *) 0 ;
3941 wxPoint *arg2 = 0 ;
3942 wxPoint temp2 ;
3943 PyObject * obj0 = 0 ;
3944 PyObject * obj1 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "self",(char *) "p", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3952 {
3953 arg2 = &temp2;
3954 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3955 }
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->SetPosition((wxPoint const &)*arg2);
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967}
3968
3969
c32bde28 3970static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3971 PyObject *resultobj;
3972 wxRect *arg1 = (wxRect *) 0 ;
3973 wxSize result;
3974 PyObject * obj0 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "self", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
3980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 result = ((wxRect const *)arg1)->GetSize();
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 {
3990 wxSize * resultptr;
3991 resultptr = new wxSize((wxSize &) result);
3992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3993 }
3994 return resultobj;
3995 fail:
3996 return NULL;
3997}
3998
3999
c32bde28 4000static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4001 PyObject *resultobj;
4002 wxRect *arg1 = (wxRect *) 0 ;
4003 wxSize *arg2 = 0 ;
4004 wxSize temp2 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj1 = 0 ;
4007 char *kwnames[] = {
4008 (char *) "self",(char *) "s", NULL
4009 };
4010
4011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
4012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4014 {
4015 arg2 = &temp2;
4016 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 (arg1)->SetSize((wxSize const &)*arg2);
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 Py_INCREF(Py_None); resultobj = Py_None;
4026 return resultobj;
4027 fail:
4028 return NULL;
4029}
4030
4031
c32bde28 4032static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4033 PyObject *resultobj;
4034 wxRect *arg1 = (wxRect *) 0 ;
4035 wxPoint result;
4036 PyObject * obj0 = 0 ;
4037 char *kwnames[] = {
4038 (char *) "self", NULL
4039 };
4040
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
4042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 result = ((wxRect const *)arg1)->GetTopLeft();
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 {
4052 wxPoint * resultptr;
4053 resultptr = new wxPoint((wxPoint &) result);
4054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4055 }
4056 return resultobj;
4057 fail:
4058 return NULL;
4059}
4060
4061
c32bde28 4062static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4063 PyObject *resultobj;
4064 wxRect *arg1 = (wxRect *) 0 ;
4065 wxPoint *arg2 = 0 ;
4066 wxPoint temp2 ;
4067 PyObject * obj0 = 0 ;
4068 PyObject * obj1 = 0 ;
4069 char *kwnames[] = {
4070 (char *) "self",(char *) "p", NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
4074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4076 {
4077 arg2 = &temp2;
4078 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4079 }
4080 {
4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4082 (arg1)->SetTopLeft((wxPoint const &)*arg2);
4083
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 Py_INCREF(Py_None); resultobj = Py_None;
4088 return resultobj;
4089 fail:
4090 return NULL;
4091}
4092
4093
c32bde28 4094static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4095 PyObject *resultobj;
4096 wxRect *arg1 = (wxRect *) 0 ;
4097 wxPoint result;
4098 PyObject * obj0 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "self", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
4104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = ((wxRect const *)arg1)->GetBottomRight();
4109
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 {
4114 wxPoint * resultptr;
4115 resultptr = new wxPoint((wxPoint &) result);
4116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4117 }
4118 return resultobj;
4119 fail:
4120 return NULL;
4121}
4122
4123
c32bde28 4124static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4125 PyObject *resultobj;
4126 wxRect *arg1 = (wxRect *) 0 ;
4127 wxPoint *arg2 = 0 ;
4128 wxPoint temp2 ;
4129 PyObject * obj0 = 0 ;
4130 PyObject * obj1 = 0 ;
4131 char *kwnames[] = {
4132 (char *) "self",(char *) "p", NULL
4133 };
4134
4135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
4136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4138 {
4139 arg2 = &temp2;
4140 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4141 }
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 (arg1)->SetBottomRight((wxPoint const &)*arg2);
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 Py_INCREF(Py_None); resultobj = Py_None;
4150 return resultobj;
4151 fail:
4152 return NULL;
4153}
4154
4155
c32bde28 4156static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4157 PyObject *resultobj;
4158 wxRect *arg1 = (wxRect *) 0 ;
4159 int result;
4160 PyObject * obj0 = 0 ;
4161 char *kwnames[] = {
4162 (char *) "self", NULL
4163 };
4164
4165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
4166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (int)((wxRect const *)arg1)->GetLeft();
4171
4172 wxPyEndAllowThreads(__tstate);
4173 if (PyErr_Occurred()) SWIG_fail;
4174 }
c32bde28 4175 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4176 return resultobj;
4177 fail:
4178 return NULL;
4179}
4180
4181
c32bde28 4182static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4183 PyObject *resultobj;
4184 wxRect *arg1 = (wxRect *) 0 ;
4185 int result;
4186 PyObject * obj0 = 0 ;
4187 char *kwnames[] = {
4188 (char *) "self", NULL
4189 };
4190
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
4192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 result = (int)((wxRect const *)arg1)->GetTop();
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
c32bde28 4201 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4202 return resultobj;
4203 fail:
4204 return NULL;
4205}
4206
4207
c32bde28 4208static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4209 PyObject *resultobj;
4210 wxRect *arg1 = (wxRect *) 0 ;
4211 int result;
4212 PyObject * obj0 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 result = (int)((wxRect const *)arg1)->GetBottom();
4223
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
c32bde28 4227 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4228 return resultobj;
4229 fail:
4230 return NULL;
4231}
4232
4233
c32bde28 4234static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4235 PyObject *resultobj;
4236 wxRect *arg1 = (wxRect *) 0 ;
4237 int result;
4238 PyObject * obj0 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 result = (int)((wxRect const *)arg1)->GetRight();
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
c32bde28 4253 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4254 return resultobj;
4255 fail:
4256 return NULL;
4257}
4258
4259
c32bde28 4260static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4261 PyObject *resultobj;
4262 wxRect *arg1 = (wxRect *) 0 ;
4263 int arg2 ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj1 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self",(char *) "left", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
4271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4273 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4274 if (PyErr_Occurred()) SWIG_fail;
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 (arg1)->SetLeft(arg2);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 Py_INCREF(Py_None); resultobj = Py_None;
4283 return resultobj;
4284 fail:
4285 return NULL;
4286}
4287
4288
c32bde28 4289static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4290 PyObject *resultobj;
4291 wxRect *arg1 = (wxRect *) 0 ;
4292 int arg2 ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self",(char *) "right", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4302 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4303 if (PyErr_Occurred()) SWIG_fail;
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 (arg1)->SetRight(arg2);
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 Py_INCREF(Py_None); resultobj = Py_None;
4312 return resultobj;
4313 fail:
4314 return NULL;
4315}
4316
4317
c32bde28 4318static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4319 PyObject *resultobj;
4320 wxRect *arg1 = (wxRect *) 0 ;
4321 int arg2 ;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self",(char *) "top", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
4329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4331 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4332 if (PyErr_Occurred()) SWIG_fail;
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetTop(arg2);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 Py_INCREF(Py_None); resultobj = Py_None;
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
c32bde28 4347static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4348 PyObject *resultobj;
4349 wxRect *arg1 = (wxRect *) 0 ;
4350 int arg2 ;
4351 PyObject * obj0 = 0 ;
4352 PyObject * obj1 = 0 ;
4353 char *kwnames[] = {
4354 (char *) "self",(char *) "bottom", NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
4358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4360 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4361 if (PyErr_Occurred()) SWIG_fail;
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->SetBottom(arg2);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
c32bde28 4376static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4377 PyObject *resultobj;
4378 wxRect *arg1 = (wxRect *) 0 ;
4379 int arg2 ;
4380 int arg3 ;
4381 wxRect *result;
4382 PyObject * obj0 = 0 ;
4383 PyObject * obj1 = 0 ;
4384 PyObject * obj2 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "self",(char *) "dx",(char *) "dy", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4392 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 4393 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4394 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4395 if (PyErr_Occurred()) SWIG_fail;
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 {
4399 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4400 result = (wxRect *) &_result_ref;
4401 }
4402
4403 wxPyEndAllowThreads(__tstate);
4404 if (PyErr_Occurred()) SWIG_fail;
4405 }
4406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4407 return resultobj;
4408 fail:
4409 return NULL;
4410}
4411
4412
c32bde28 4413static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4414 PyObject *resultobj;
4415 wxRect *arg1 = (wxRect *) 0 ;
4416 int arg2 ;
4417 int arg3 ;
4418 wxRect *result;
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
4421 PyObject * obj2 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "self",(char *) "dx",(char *) "dy", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
4427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4429 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 4430 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4431 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4432 if (PyErr_Occurred()) SWIG_fail;
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 {
4436 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4437 result = (wxRect *) &_result_ref;
4438 }
4439
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4444 return resultobj;
4445 fail:
4446 return NULL;
4447}
4448
4449
c32bde28 4450static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4451 PyObject *resultobj;
4452 wxRect *arg1 = (wxRect *) 0 ;
4453 int arg2 ;
4454 int arg3 ;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 PyObject * obj2 = 0 ;
4458 char *kwnames[] = {
4459 (char *) "self",(char *) "dx",(char *) "dy", NULL
4460 };
4461
4462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4465 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 4466 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4467 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4468 if (PyErr_Occurred()) SWIG_fail;
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 (arg1)->Offset(arg2,arg3);
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 Py_INCREF(Py_None); resultobj = Py_None;
4477 return resultobj;
4478 fail:
4479 return NULL;
4480}
4481
4482
c32bde28 4483static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4484 PyObject *resultobj;
4485 wxRect *arg1 = (wxRect *) 0 ;
4486 wxPoint *arg2 = 0 ;
4487 wxPoint temp2 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 char *kwnames[] = {
4491 (char *) "self",(char *) "pt", NULL
4492 };
4493
4494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
4495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4497 {
4498 arg2 = &temp2;
4499 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4500 }
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 (arg1)->Offset((wxPoint const &)*arg2);
4504
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 Py_INCREF(Py_None); resultobj = Py_None;
4509 return resultobj;
4510 fail:
4511 return NULL;
4512}
4513
4514
c32bde28 4515static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4516 PyObject *resultobj;
4517 wxRect *arg1 = (wxRect *) 0 ;
4518 wxRect *arg2 = 0 ;
4519 wxRect *result;
4520 wxRect temp2 ;
4521 PyObject * obj0 = 0 ;
4522 PyObject * obj1 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self",(char *) "rect", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
4528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4530 {
4531 arg2 = &temp2;
4532 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4533 }
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 {
4537 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4538 result = (wxRect *) &_result_ref;
4539 }
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
4545 return resultobj;
4546 fail:
4547 return NULL;
4548}
4549
4550
c32bde28 4551static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4552 PyObject *resultobj;
4553 wxRect *arg1 = (wxRect *) 0 ;
4554 wxRect *arg2 = 0 ;
4555 wxRect result;
4556 wxRect temp2 ;
4557 PyObject * obj0 = 0 ;
4558 PyObject * obj1 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "self",(char *) "rect", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
4564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4566 {
4567 arg2 = &temp2;
4568 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4569 }
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 {
4578 wxRect * resultptr;
4579 resultptr = new wxRect((wxRect &) result);
4580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4581 }
4582 return resultobj;
4583 fail:
4584 return NULL;
4585}
4586
4587
c32bde28 4588static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4589 PyObject *resultobj;
4590 wxRect *arg1 = (wxRect *) 0 ;
4591 wxRect *arg2 = 0 ;
4592 wxRect *result;
4593 wxRect temp2 ;
4594 PyObject * obj0 = 0 ;
4595 PyObject * obj1 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self",(char *) "rect", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
4601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
c32bde28 4602 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
4603 {
4604 arg2 = &temp2;
4605 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4606 }
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 {
4610 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4611 result = (wxRect *) &_result_ref;
4612 }
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 }
c32bde28 4617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d55e5bfc
RD
4618 return resultobj;
4619 fail:
4620 return NULL;
4621}
4622
4623
c32bde28 4624static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4625 PyObject *resultobj;
4626 wxRect *arg1 = (wxRect *) 0 ;
4627 wxRect *arg2 = 0 ;
4628 bool result;
4629 wxRect temp2 ;
4630 PyObject * obj0 = 0 ;
4631 PyObject * obj1 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "self",(char *) "rect", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
4637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4639 {
4640 arg2 = &temp2;
4641 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4642 }
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 {
4651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4652 }
4653 return resultobj;
4654 fail:
4655 return NULL;
4656}
4657
4658
c32bde28 4659static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4660 PyObject *resultobj;
4661 wxRect *arg1 = (wxRect *) 0 ;
4662 wxRect *arg2 = 0 ;
4663 bool result;
4664 wxRect temp2 ;
4665 PyObject * obj0 = 0 ;
4666 PyObject * obj1 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self",(char *) "rect", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4674 {
4675 arg2 = &temp2;
4676 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4677 }
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 {
4686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4687 }
4688 return resultobj;
4689 fail:
4690 return NULL;
4691}
4692
4693
c32bde28 4694static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4695 PyObject *resultobj;
4696 wxRect *arg1 = (wxRect *) 0 ;
4697 int arg2 ;
4698 int arg3 ;
4699 bool result;
4700 PyObject * obj0 = 0 ;
4701 PyObject * obj1 = 0 ;
4702 PyObject * obj2 = 0 ;
4703 char *kwnames[] = {
4704 (char *) "self",(char *) "x",(char *) "y", NULL
4705 };
4706
4707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4710 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 4711 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4712 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
4713 if (PyErr_Occurred()) SWIG_fail;
4714 {
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 {
4722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4723 }
4724 return resultobj;
4725 fail:
4726 return NULL;
4727}
4728
4729
c32bde28 4730static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4731 PyObject *resultobj;
4732 wxRect *arg1 = (wxRect *) 0 ;
4733 wxPoint *arg2 = 0 ;
4734 bool result;
4735 wxPoint temp2 ;
4736 PyObject * obj0 = 0 ;
4737 PyObject * obj1 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "pt", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4745 {
4746 arg2 = &temp2;
4747 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4748 }
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 {
4757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4758 }
4759 return resultobj;
4760 fail:
4761 return NULL;
4762}
4763
4764
c32bde28 4765static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4766 PyObject *resultobj;
4767 wxRect *arg1 = (wxRect *) 0 ;
4768 wxRect *arg2 = 0 ;
4769 bool result;
4770 wxRect temp2 ;
4771 PyObject * obj0 = 0 ;
4772 PyObject * obj1 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "self",(char *) "rect", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
4778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4780 {
4781 arg2 = &temp2;
4782 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4783 }
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 {
4792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4793 }
4794 return resultobj;
4795 fail:
4796 return NULL;
4797}
4798
4799
c32bde28 4800static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4801 PyObject *resultobj;
4802 wxRect *arg1 = (wxRect *) 0 ;
4803 int arg2 ;
4804 PyObject * obj0 = 0 ;
4805 PyObject * obj1 = 0 ;
4806 char *kwnames[] = {
4807 (char *) "self",(char *) "x", NULL
4808 };
4809
4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
4811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4813 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4814 if (PyErr_Occurred()) SWIG_fail;
4815 if (arg1) (arg1)->x = arg2;
4816
4817 Py_INCREF(Py_None); resultobj = Py_None;
4818 return resultobj;
4819 fail:
4820 return NULL;
4821}
4822
4823
c32bde28 4824static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4825 PyObject *resultobj;
4826 wxRect *arg1 = (wxRect *) 0 ;
4827 int result;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4836 result = (int) ((arg1)->x);
4837
c32bde28 4838 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4839 return resultobj;
4840 fail:
4841 return NULL;
4842}
4843
4844
c32bde28 4845static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4846 PyObject *resultobj;
4847 wxRect *arg1 = (wxRect *) 0 ;
4848 int arg2 ;
4849 PyObject * obj0 = 0 ;
4850 PyObject * obj1 = 0 ;
4851 char *kwnames[] = {
4852 (char *) "self",(char *) "y", NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
4856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4858 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4859 if (PyErr_Occurred()) SWIG_fail;
4860 if (arg1) (arg1)->y = arg2;
4861
4862 Py_INCREF(Py_None); resultobj = Py_None;
4863 return resultobj;
4864 fail:
4865 return NULL;
4866}
4867
4868
c32bde28 4869static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4870 PyObject *resultobj;
4871 wxRect *arg1 = (wxRect *) 0 ;
4872 int result;
4873 PyObject * obj0 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
4879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4881 result = (int) ((arg1)->y);
4882
c32bde28 4883 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4884 return resultobj;
4885 fail:
4886 return NULL;
4887}
4888
4889
c32bde28 4890static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4891 PyObject *resultobj;
4892 wxRect *arg1 = (wxRect *) 0 ;
4893 int arg2 ;
4894 PyObject * obj0 = 0 ;
4895 PyObject * obj1 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self",(char *) "width", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
4901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4903 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4904 if (PyErr_Occurred()) SWIG_fail;
4905 if (arg1) (arg1)->width = arg2;
4906
4907 Py_INCREF(Py_None); resultobj = Py_None;
4908 return resultobj;
4909 fail:
4910 return NULL;
4911}
4912
4913
c32bde28 4914static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4915 PyObject *resultobj;
4916 wxRect *arg1 = (wxRect *) 0 ;
4917 int result;
4918 PyObject * obj0 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self", NULL
4921 };
4922
4923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
4924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4926 result = (int) ((arg1)->width);
4927
c32bde28 4928 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4929 return resultobj;
4930 fail:
4931 return NULL;
4932}
4933
4934
c32bde28 4935static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4936 PyObject *resultobj;
4937 wxRect *arg1 = (wxRect *) 0 ;
4938 int arg2 ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 char *kwnames[] = {
4942 (char *) "self",(char *) "height", NULL
4943 };
4944
4945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
4946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4948 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
4949 if (PyErr_Occurred()) SWIG_fail;
4950 if (arg1) (arg1)->height = arg2;
4951
4952 Py_INCREF(Py_None); resultobj = Py_None;
4953 return resultobj;
4954 fail:
4955 return NULL;
4956}
4957
4958
c32bde28 4959static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4960 PyObject *resultobj;
4961 wxRect *arg1 = (wxRect *) 0 ;
4962 int result;
4963 PyObject * obj0 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4971 result = (int) ((arg1)->height);
4972
c32bde28 4973 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
4974 return resultobj;
4975 fail:
4976 return NULL;
4977}
4978
4979
c32bde28 4980static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4981 PyObject *resultobj;
4982 wxRect *arg1 = (wxRect *) 0 ;
4983 int arg2 = (int) 0 ;
4984 int arg3 = (int) 0 ;
4985 int arg4 = (int) 0 ;
4986 int arg5 = (int) 0 ;
4987 PyObject * obj0 = 0 ;
4988 PyObject * obj1 = 0 ;
4989 PyObject * obj2 = 0 ;
4990 PyObject * obj3 = 0 ;
4991 PyObject * obj4 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4999 if (obj1) {
c32bde28 5000 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 if (obj2) {
c32bde28 5004 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 if (obj3) {
c32bde28 5008 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 if (obj4) {
c32bde28 5012 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 Py_INCREF(Py_None); resultobj = Py_None;
5023 return resultobj;
5024 fail:
5025 return NULL;
5026}
5027
5028
c32bde28 5029static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5030 PyObject *resultobj;
5031 wxRect *arg1 = (wxRect *) 0 ;
5032 PyObject *result;
5033 PyObject * obj0 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
5039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
5040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (PyObject *)wxRect_Get(arg1);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = result;
5049 return resultobj;
5050 fail:
5051 return NULL;
5052}
5053
5054
c32bde28 5055static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5056 PyObject *obj;
5057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5058 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
5059 Py_INCREF(obj);
5060 return Py_BuildValue((char *)"");
5061}
c32bde28 5062static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5063 PyObject *resultobj;
5064 wxRect *arg1 = (wxRect *) 0 ;
5065 wxRect *arg2 = (wxRect *) 0 ;
5066 PyObject *result;
5067 PyObject * obj0 = 0 ;
5068 PyObject * obj1 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "r1",(char *) "r2", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
5074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
5075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
5077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5078 {
0439c23b 5079 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 result = (PyObject *)wxIntersectRect(arg1,arg2);
5082
5083 wxPyEndAllowThreads(__tstate);
110da5b0 5084 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5085 }
5086 resultobj = result;
5087 return resultobj;
5088 fail:
5089 return NULL;
5090}
5091
5092
c32bde28 5093static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5094 PyObject *resultobj;
5095 double arg1 = (double) 0.0 ;
5096 double arg2 = (double) 0.0 ;
5097 wxPoint2D *result;
5098 PyObject * obj0 = 0 ;
5099 PyObject * obj1 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "x",(char *) "y", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
5105 if (obj0) {
c32bde28 5106 arg1 = (double)SWIG_As_double(obj0);
d55e5bfc
RD
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 if (obj1) {
c32bde28 5110 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
5121 return resultobj;
5122 fail:
5123 return NULL;
5124}
5125
5126
c32bde28 5127static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5128 PyObject *resultobj;
5129 wxPoint2D *arg1 = 0 ;
5130 wxPoint2D *result;
5131 wxPoint2D temp1 ;
5132 PyObject * obj0 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "pt", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
5138 {
5139 arg1 = &temp1;
5140 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
5141 }
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
5150 return resultobj;
5151 fail:
5152 return NULL;
5153}
5154
5155
c32bde28 5156static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5157 PyObject *resultobj;
5158 wxPoint *arg1 = 0 ;
5159 wxPoint2D *result;
5160 wxPoint temp1 ;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "pt", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
5167 {
5168 arg1 = &temp1;
5169 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
5179 return resultobj;
5180 fail:
5181 return NULL;
5182}
5183
5184
c32bde28 5185static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5186 PyObject *resultobj;
5187 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5188 int *arg2 = (int *) 0 ;
5189 int *arg3 = (int *) 0 ;
5190 int temp2 ;
c32bde28 5191 int res2 = 0 ;
d55e5bfc 5192 int temp3 ;
c32bde28 5193 int res3 = 0 ;
d55e5bfc
RD
5194 PyObject * obj0 = 0 ;
5195 char *kwnames[] = {
5196 (char *) "self", NULL
5197 };
5198
c32bde28
RD
5199 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5200 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
5202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5212 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5213 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5214 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5215 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5216 return resultobj;
5217 fail:
5218 return NULL;
5219}
5220
5221
c32bde28 5222static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5223 PyObject *resultobj;
5224 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5225 int *arg2 = (int *) 0 ;
5226 int *arg3 = (int *) 0 ;
5227 int temp2 ;
c32bde28 5228 int res2 = 0 ;
d55e5bfc 5229 int temp3 ;
c32bde28 5230 int res3 = 0 ;
d55e5bfc
RD
5231 PyObject * obj0 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self", NULL
5234 };
5235
c32bde28
RD
5236 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5237 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5249 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5250 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5251 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5252 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5253 return resultobj;
5254 fail:
5255 return NULL;
5256}
5257
5258
c32bde28 5259static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5260 PyObject *resultobj;
5261 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5262 double result;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
c32bde28 5278 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5279 return resultobj;
5280 fail:
5281 return NULL;
5282}
5283
5284
c32bde28 5285static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5286 PyObject *resultobj;
5287 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5288 double result;
5289 PyObject * obj0 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
5295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
c32bde28 5304 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5305 return resultobj;
5306 fail:
5307 return NULL;
5308}
5309
5310
c32bde28 5311static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5312 PyObject *resultobj;
5313 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5314 double arg2 ;
5315 PyObject * obj0 = 0 ;
5316 PyObject * obj1 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "length", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5324 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
5325 if (PyErr_Occurred()) SWIG_fail;
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 (arg1)->SetVectorLength(arg2);
5329
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 Py_INCREF(Py_None); resultobj = Py_None;
5334 return resultobj;
5335 fail:
5336 return NULL;
5337}
5338
5339
c32bde28 5340static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5341 PyObject *resultobj;
5342 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5343 double arg2 ;
5344 PyObject * obj0 = 0 ;
5345 PyObject * obj1 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self",(char *) "degrees", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
5351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5353 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
5354 if (PyErr_Occurred()) SWIG_fail;
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 (arg1)->SetVectorAngle(arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366}
5367
5368
c32bde28 5369static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5370 PyObject *resultobj;
5371 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5372 wxPoint2D *arg2 = 0 ;
5373 double result;
5374 wxPoint2D temp2 ;
5375 PyObject * obj0 = 0 ;
5376 PyObject * obj1 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "pt", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5384 {
5385 arg2 = &temp2;
5386 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
c32bde28 5395 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5396 return resultobj;
5397 fail:
5398 return NULL;
5399}
5400
5401
c32bde28 5402static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5403 PyObject *resultobj;
5404 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5405 wxPoint2D *arg2 = 0 ;
5406 double result;
5407 wxPoint2D temp2 ;
5408 PyObject * obj0 = 0 ;
5409 PyObject * obj1 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self",(char *) "pt", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 {
5418 arg2 = &temp2;
5419 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5420 }
5421 {
5422 PyThreadState* __tstate = wxPyBeginAllowThreads();
5423 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5424
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
c32bde28 5428 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
c32bde28 5435static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5436 PyObject *resultobj;
5437 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5438 wxPoint2D *arg2 = 0 ;
5439 double result;
5440 wxPoint2D temp2 ;
5441 PyObject * obj0 = 0 ;
5442 PyObject * obj1 = 0 ;
5443 char *kwnames[] = {
5444 (char *) "self",(char *) "vec", NULL
5445 };
5446
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
5448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5450 {
5451 arg2 = &temp2;
5452 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
c32bde28 5461 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5462 return resultobj;
5463 fail:
5464 return NULL;
5465}
5466
5467
c32bde28 5468static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5469 PyObject *resultobj;
5470 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5471 wxPoint2D *arg2 = 0 ;
5472 double result;
5473 wxPoint2D temp2 ;
5474 PyObject * obj0 = 0 ;
5475 PyObject * obj1 = 0 ;
5476 char *kwnames[] = {
5477 (char *) "self",(char *) "vec", NULL
5478 };
5479
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
5481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5483 {
5484 arg2 = &temp2;
5485 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5486 }
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
c32bde28 5494 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5495 return resultobj;
5496 fail:
5497 return NULL;
5498}
5499
5500
c32bde28 5501static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5502 PyObject *resultobj;
5503 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5504 wxPoint2D result;
5505 PyObject * obj0 = 0 ;
5506 char *kwnames[] = {
5507 (char *) "self", NULL
5508 };
5509
5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
5511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 result = (arg1)->operator -();
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) SWIG_fail;
5519 }
5520 {
5521 wxPoint2D * resultptr;
5522 resultptr = new wxPoint2D((wxPoint2D &) result);
5523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
5524 }
5525 return resultobj;
5526 fail:
5527 return NULL;
5528}
5529
5530
c32bde28 5531static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5532 PyObject *resultobj;
5533 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5534 wxPoint2D *arg2 = 0 ;
5535 wxPoint2D *result;
5536 wxPoint2D temp2 ;
5537 PyObject * obj0 = 0 ;
5538 PyObject * obj1 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self",(char *) "pt", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5545 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
5546 {
5547 arg2 = &temp2;
5548 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5549 }
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 {
5553 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5554 result = (wxPoint2D *) &_result_ref;
5555 }
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
c32bde28 5560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
5561 return resultobj;
5562 fail:
5563 return NULL;
5564}
5565
5566
c32bde28 5567static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5568 PyObject *resultobj;
5569 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5570 wxPoint2D *arg2 = 0 ;
5571 wxPoint2D *result;
5572 wxPoint2D temp2 ;
5573 PyObject * obj0 = 0 ;
5574 PyObject * obj1 = 0 ;
5575 char *kwnames[] = {
5576 (char *) "self",(char *) "pt", NULL
5577 };
5578
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
5580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5581 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
5582 {
5583 arg2 = &temp2;
5584 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 {
5589 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5590 result = (wxPoint2D *) &_result_ref;
5591 }
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
c32bde28 5596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
5597 return resultobj;
5598 fail:
5599 return NULL;
5600}
5601
5602
c32bde28 5603static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5604 PyObject *resultobj;
5605 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5606 wxPoint2D *arg2 = 0 ;
5607 wxPoint2D *result;
5608 wxPoint2D temp2 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "pt", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5617 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
5618 {
5619 arg2 = &temp2;
5620 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5621 }
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 {
5625 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5626 result = (wxPoint2D *) &_result_ref;
5627 }
5628
5629 wxPyEndAllowThreads(__tstate);
5630 if (PyErr_Occurred()) SWIG_fail;
5631 }
c32bde28 5632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
5633 return resultobj;
5634 fail:
5635 return NULL;
5636}
5637
5638
c32bde28 5639static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5640 PyObject *resultobj;
5641 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5642 wxPoint2D *arg2 = 0 ;
5643 wxPoint2D *result;
5644 wxPoint2D temp2 ;
5645 PyObject * obj0 = 0 ;
5646 PyObject * obj1 = 0 ;
5647 char *kwnames[] = {
5648 (char *) "self",(char *) "pt", NULL
5649 };
5650
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
5652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5653 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d55e5bfc
RD
5654 {
5655 arg2 = &temp2;
5656 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5657 }
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 {
5661 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5662 result = (wxPoint2D *) &_result_ref;
5663 }
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
c32bde28 5668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d55e5bfc
RD
5669 return resultobj;
5670 fail:
5671 return NULL;
5672}
5673
5674
c32bde28 5675static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5676 PyObject *resultobj;
5677 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5678 wxPoint2D *arg2 = 0 ;
5679 bool result;
5680 wxPoint2D temp2 ;
5681 PyObject * obj0 = 0 ;
5682 PyObject * obj1 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "self",(char *) "pt", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
5688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5690 {
5691 arg2 = &temp2;
5692 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5693 }
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 {
5702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5703 }
5704 return resultobj;
5705 fail:
5706 return NULL;
5707}
5708
5709
c32bde28 5710static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5711 PyObject *resultobj;
5712 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5713 wxPoint2D *arg2 = 0 ;
5714 bool result;
5715 wxPoint2D temp2 ;
5716 PyObject * obj0 = 0 ;
5717 PyObject * obj1 = 0 ;
5718 char *kwnames[] = {
5719 (char *) "self",(char *) "pt", NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
5723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5725 {
5726 arg2 = &temp2;
5727 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5728 }
5729 {
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 {
5737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5738 }
5739 return resultobj;
5740 fail:
5741 return NULL;
5742}
5743
5744
c32bde28 5745static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5746 PyObject *resultobj;
5747 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5748 double arg2 ;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "m_x", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5758 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
5759 if (PyErr_Occurred()) SWIG_fail;
5760 if (arg1) (arg1)->m_x = arg2;
5761
5762 Py_INCREF(Py_None); resultobj = Py_None;
5763 return resultobj;
5764 fail:
5765 return NULL;
5766}
5767
5768
c32bde28 5769static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5770 PyObject *resultobj;
5771 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5772 double result;
5773 PyObject * obj0 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5781 result = (double) ((arg1)->m_x);
5782
c32bde28 5783 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5784 return resultobj;
5785 fail:
5786 return NULL;
5787}
5788
5789
c32bde28 5790static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5791 PyObject *resultobj;
5792 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5793 double arg2 ;
5794 PyObject * obj0 = 0 ;
5795 PyObject * obj1 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "m_y", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
5801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5803 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
5804 if (PyErr_Occurred()) SWIG_fail;
5805 if (arg1) (arg1)->m_y = arg2;
5806
5807 Py_INCREF(Py_None); resultobj = Py_None;
5808 return resultobj;
5809 fail:
5810 return NULL;
5811}
5812
5813
c32bde28 5814static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5815 PyObject *resultobj;
5816 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5817 double result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5826 result = (double) ((arg1)->m_y);
5827
c32bde28 5828 resultobj = SWIG_From_double((double)result);
d55e5bfc
RD
5829 return resultobj;
5830 fail:
5831 return NULL;
5832}
5833
5834
c32bde28 5835static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5836 PyObject *resultobj;
5837 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5838 double arg2 = (double) 0 ;
5839 double arg3 = (double) 0 ;
5840 PyObject * obj0 = 0 ;
5841 PyObject * obj1 = 0 ;
5842 PyObject * obj2 = 0 ;
5843 char *kwnames[] = {
5844 (char *) "self",(char *) "x",(char *) "y", NULL
5845 };
5846
5847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
5848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5850 if (obj1) {
c32bde28 5851 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 if (obj2) {
c32bde28 5855 arg3 = (double)SWIG_As_double(obj2);
d55e5bfc
RD
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 wxPoint2D_Set(arg1,arg2,arg3);
5861
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 Py_INCREF(Py_None); resultobj = Py_None;
5866 return resultobj;
5867 fail:
5868 return NULL;
5869}
5870
5871
c32bde28 5872static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5873 PyObject *resultobj;
5874 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5875 PyObject *result;
5876 PyObject * obj0 = 0 ;
5877 char *kwnames[] = {
5878 (char *) "self", NULL
5879 };
5880
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
5882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 result = (PyObject *)wxPoint2D_Get(arg1);
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 resultobj = result;
5892 return resultobj;
5893 fail:
5894 return NULL;
5895}
5896
5897
c32bde28 5898static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5899 PyObject *obj;
5900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5901 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5902 Py_INCREF(obj);
5903 return Py_BuildValue((char *)"");
5904}
c32bde28 5905static int _wrap_DefaultPosition_set(PyObject *) {
d55e5bfc
RD
5906 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5907 return 1;
5908}
5909
5910
5911static PyObject *_wrap_DefaultPosition_get() {
5912 PyObject *pyobj;
5913
5914 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
5915 return pyobj;
5916}
5917
5918
c32bde28 5919static int _wrap_DefaultSize_set(PyObject *) {
d55e5bfc
RD
5920 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5921 return 1;
5922}
5923
5924
5925static PyObject *_wrap_DefaultSize_get() {
5926 PyObject *pyobj;
5927
5928 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
5929 return pyobj;
5930}
5931
5932
c32bde28 5933static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5934 PyObject *resultobj;
5935 PyObject *arg1 = (PyObject *) 0 ;
5936 wxPyInputStream *result;
5937 PyObject * obj0 = 0 ;
5938 char *kwnames[] = {
5939 (char *) "p", NULL
5940 };
5941
5942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5943 arg1 = obj0;
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
5952 return resultobj;
5953 fail:
5954 return NULL;
5955}
5956
5957
c32bde28 5958static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5959 PyObject *resultobj;
5960 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5961 PyObject * obj0 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
5967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 (arg1)->close();
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 Py_INCREF(Py_None); resultobj = Py_None;
5977 return resultobj;
5978 fail:
5979 return NULL;
5980}
5981
5982
c32bde28 5983static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5984 PyObject *resultobj;
5985 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5986 PyObject * obj0 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->flush();
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
c32bde28 6008static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6009 PyObject *resultobj;
6010 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6011 bool result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (bool)(arg1)->eof();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 {
6028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6029 }
6030 return resultobj;
6031 fail:
6032 return NULL;
6033}
6034
6035
c32bde28 6036static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6037 PyObject *resultobj;
6038 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6039 int arg2 = (int) -1 ;
6040 PyObject *result;
6041 PyObject * obj0 = 0 ;
6042 PyObject * obj1 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self",(char *) "size", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
6048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6050 if (obj1) {
c32bde28 6051 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (PyObject *)(arg1)->read(arg2);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = result;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065}
6066
6067
c32bde28 6068static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6069 PyObject *resultobj;
6070 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6071 int arg2 = (int) -1 ;
6072 PyObject *result;
6073 PyObject * obj0 = 0 ;
6074 PyObject * obj1 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "self",(char *) "size", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
6080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6082 if (obj1) {
c32bde28 6083 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 result = (PyObject *)(arg1)->readline(arg2);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 resultobj = result;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097}
6098
6099
c32bde28 6100static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6101 PyObject *resultobj;
6102 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6103 int arg2 = (int) -1 ;
6104 PyObject *result;
6105 PyObject * obj0 = 0 ;
6106 PyObject * obj1 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self",(char *) "sizehint", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6114 if (obj1) {
c32bde28 6115 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 result = (PyObject *)(arg1)->readlines(arg2);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 resultobj = result;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129}
6130
6131
c32bde28 6132static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6133 PyObject *resultobj;
6134 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6135 int arg2 ;
6136 int arg3 = (int) 0 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 PyObject * obj2 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self",(char *) "offset",(char *) "whence", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6147 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
6148 if (PyErr_Occurred()) SWIG_fail;
6149 if (obj2) {
c32bde28 6150 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 (arg1)->seek(arg2,arg3);
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 Py_INCREF(Py_None); resultobj = Py_None;
6161 return resultobj;
6162 fail:
6163 return NULL;
6164}
6165
6166
c32bde28 6167static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6168 PyObject *resultobj;
6169 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6170 int result;
6171 PyObject * obj0 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "self", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
6177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (int)(arg1)->tell();
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
c32bde28 6186 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
6187 return resultobj;
6188 fail:
6189 return NULL;
6190}
6191
6192
c32bde28 6193static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6194 PyObject *resultobj;
6195 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6196 char result;
6197 PyObject * obj0 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "self", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
6203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (char)(arg1)->Peek();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
c32bde28 6212 resultobj = SWIG_From_char((char)result);
d55e5bfc
RD
6213 return resultobj;
6214 fail:
6215 return NULL;
6216}
6217
6218
c32bde28 6219static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6220 PyObject *resultobj;
6221 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6222 char result;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (char)(arg1)->GetC();
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
c32bde28 6238 resultobj = SWIG_From_char((char)result);
d55e5bfc
RD
6239 return resultobj;
6240 fail:
6241 return NULL;
6242}
6243
6244
c32bde28 6245static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6246 PyObject *resultobj;
6247 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6248 size_t result;
6249 PyObject * obj0 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (size_t)(arg1)->LastRead();
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
c32bde28 6264 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
c32bde28 6271static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6272 PyObject *resultobj;
6273 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6274 bool result;
6275 PyObject * obj0 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = (bool)(arg1)->CanRead();
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6292 }
6293 return resultobj;
6294 fail:
6295 return NULL;
6296}
6297
6298
c32bde28 6299static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6300 PyObject *resultobj;
6301 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6302 bool result;
6303 PyObject * obj0 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "self", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
6309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6311 {
6312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6313 result = (bool)(arg1)->Eof();
6314
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 {
6319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6320 }
6321 return resultobj;
6322 fail:
6323 return NULL;
6324}
6325
6326
c32bde28 6327static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6328 PyObject *resultobj;
6329 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6330 char arg2 ;
6331 bool result;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self",(char *) "c", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
6339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6341 arg2 = (char)SWIG_As_char(obj1);
d55e5bfc
RD
6342 if (PyErr_Occurred()) SWIG_fail;
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 result = (bool)(arg1)->Ungetch(arg2);
6346
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 {
6351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6352 }
6353 return resultobj;
6354 fail:
6355 return NULL;
6356}
6357
6358
c32bde28 6359static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6360 PyObject *resultobj;
6361 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6362 long arg2 ;
6363 int arg3 = (int) wxFromStart ;
6364 long result;
6365 PyObject * obj0 = 0 ;
6366 PyObject * obj1 = 0 ;
6367 PyObject * obj2 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "pos",(char *) "mode", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6375 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
6376 if (PyErr_Occurred()) SWIG_fail;
6377 if (obj2) {
c32bde28 6378 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
c32bde28 6388 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
6389 return resultobj;
6390 fail:
6391 return NULL;
6392}
6393
6394
c32bde28 6395static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6396 PyObject *resultobj;
6397 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6398 long result;
6399 PyObject * obj0 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "self", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
6405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (long)(arg1)->TellI();
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
c32bde28 6414 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
6415 return resultobj;
6416 fail:
6417 return NULL;
6418}
6419
6420
c32bde28 6421static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6422 PyObject *obj;
6423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6424 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6425 Py_INCREF(obj);
6426 return Py_BuildValue((char *)"");
6427}
c32bde28 6428static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6429 PyObject *resultobj;
6430 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6431 PyObject *arg2 = (PyObject *) 0 ;
6432 PyObject * obj0 = 0 ;
6433 PyObject * obj1 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self",(char *) "obj", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 arg2 = obj1;
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 wxOutputStream_write(arg1,arg2);
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 Py_INCREF(Py_None); resultobj = Py_None;
6450 return resultobj;
6451 fail:
6452 return NULL;
6453}
6454
6455
c32bde28 6456static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6457 PyObject *obj;
6458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6459 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6460 Py_INCREF(obj);
6461 return Py_BuildValue((char *)"");
6462}
c32bde28 6463static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6464 PyObject *resultobj;
6465 wxInputStream *arg1 = (wxInputStream *) 0 ;
6466 wxString *arg2 = 0 ;
6467 wxString *arg3 = 0 ;
6468 wxString *arg4 = 0 ;
6469 wxDateTime arg5 ;
6470 wxFSFile *result;
6471 wxPyInputStream *temp1 ;
6472 bool created1 ;
ae8162c8
RD
6473 bool temp2 = false ;
6474 bool temp3 = false ;
6475 bool temp4 = false ;
d55e5bfc
RD
6476 wxDateTime *argp5 ;
6477 PyObject * obj0 = 0 ;
6478 PyObject * obj1 = 0 ;
6479 PyObject * obj2 = 0 ;
6480 PyObject * obj3 = 0 ;
6481 PyObject * obj4 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6487 {
6488 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6489 arg1 = temp1->m_wxis;
ae8162c8 6490 created1 = false;
d55e5bfc
RD
6491 } else {
6492 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 6493 arg1 = wxPyCBInputStream_create(obj0, false);
d55e5bfc
RD
6494 if (arg1 == NULL) {
6495 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6496 SWIG_fail;
6497 }
ae8162c8 6498 created1 = true;
d55e5bfc
RD
6499 }
6500 }
6501 {
6502 arg2 = wxString_in_helper(obj1);
6503 if (arg2 == NULL) SWIG_fail;
ae8162c8 6504 temp2 = true;
d55e5bfc
RD
6505 }
6506 {
6507 arg3 = wxString_in_helper(obj2);
6508 if (arg3 == NULL) SWIG_fail;
ae8162c8 6509 temp3 = true;
d55e5bfc
RD
6510 }
6511 {
6512 arg4 = wxString_in_helper(obj3);
6513 if (arg4 == NULL) SWIG_fail;
ae8162c8 6514 temp4 = true;
d55e5bfc
RD
6515 }
6516 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6517 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6518 arg5 = *argp5;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 {
412d302d 6527 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
6528 }
6529 {
6530 if (created1)
6531 delete arg1;
6532 }
6533 {
6534 if (temp2)
6535 delete arg2;
6536 }
6537 {
6538 if (temp3)
6539 delete arg3;
6540 }
6541 {
6542 if (temp4)
6543 delete arg4;
6544 }
6545 return resultobj;
6546 fail:
6547 {
6548 if (created1)
6549 delete arg1;
6550 }
6551 {
6552 if (temp2)
6553 delete arg2;
6554 }
6555 {
6556 if (temp3)
6557 delete arg3;
6558 }
6559 {
6560 if (temp4)
6561 delete arg4;
6562 }
6563 return NULL;
6564}
6565
6566
c32bde28 6567static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6568 PyObject *resultobj;
6569 wxFSFile *arg1 = (wxFSFile *) 0 ;
6570 PyObject * obj0 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 delete arg1;
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 Py_INCREF(Py_None); resultobj = Py_None;
6586 return resultobj;
6587 fail:
6588 return NULL;
6589}
6590
6591
c32bde28 6592static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6593 PyObject *resultobj;
6594 wxFSFile *arg1 = (wxFSFile *) 0 ;
6595 wxInputStream *result;
6596 PyObject * obj0 = 0 ;
6597 char *kwnames[] = {
6598 (char *) "self", NULL
6599 };
6600
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
6602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 result = (wxInputStream *)(arg1)->GetStream();
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 {
6612 wxPyInputStream * _ptr = NULL;
6613
6614 if (result) {
6615 _ptr = new wxPyInputStream(result);
6616 }
ae8162c8 6617 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
d55e5bfc
RD
6618 }
6619 return resultobj;
6620 fail:
6621 return NULL;
6622}
6623
6624
c32bde28 6625static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6626 PyObject *resultobj;
6627 wxFSFile *arg1 = (wxFSFile *) 0 ;
6628 wxString *result;
6629 PyObject * obj0 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 {
6640 wxString const &_result_ref = (arg1)->GetMimeType();
6641 result = (wxString *) &_result_ref;
6642 }
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 return resultobj;
6655 fail:
6656 return NULL;
6657}
6658
6659
c32bde28 6660static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6661 PyObject *resultobj;
6662 wxFSFile *arg1 = (wxFSFile *) 0 ;
6663 wxString *result;
6664 PyObject * obj0 = 0 ;
6665 char *kwnames[] = {
6666 (char *) "self", NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
6670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 {
6675 wxString const &_result_ref = (arg1)->GetLocation();
6676 result = (wxString *) &_result_ref;
6677 }
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 {
6683#if wxUSE_UNICODE
6684 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6685#else
6686 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6687#endif
6688 }
6689 return resultobj;
6690 fail:
6691 return NULL;
6692}
6693
6694
c32bde28 6695static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6696 PyObject *resultobj;
6697 wxFSFile *arg1 = (wxFSFile *) 0 ;
6698 wxString *result;
6699 PyObject * obj0 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "self", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
6705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 {
6710 wxString const &_result_ref = (arg1)->GetAnchor();
6711 result = (wxString *) &_result_ref;
6712 }
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 {
6718#if wxUSE_UNICODE
6719 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6720#else
6721 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6722#endif
6723 }
6724 return resultobj;
6725 fail:
6726 return NULL;
6727}
6728
6729
c32bde28 6730static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6731 PyObject *resultobj;
6732 wxFSFile *arg1 = (wxFSFile *) 0 ;
6733 wxDateTime result;
6734 PyObject * obj0 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6742 {
6743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6744 result = (arg1)->GetModificationTime();
6745
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 {
6750 wxDateTime * resultptr;
6751 resultptr = new wxDateTime((wxDateTime &) result);
6752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
6753 }
6754 return resultobj;
6755 fail:
6756 return NULL;
6757}
6758
6759
c32bde28 6760static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6761 PyObject *obj;
6762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6763 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6764 Py_INCREF(obj);
6765 return Py_BuildValue((char *)"");
6766}
c32bde28 6767static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6768 PyObject *obj;
6769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6770 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6771 Py_INCREF(obj);
6772 return Py_BuildValue((char *)"");
6773}
c32bde28 6774static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6775 PyObject *resultobj;
6776 wxPyFileSystemHandler *result;
6777 char *kwnames[] = {
6778 NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
c32bde28 6796static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6797 PyObject *resultobj;
6798 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6799 PyObject *arg2 = (PyObject *) 0 ;
6800 PyObject *arg3 = (PyObject *) 0 ;
6801 PyObject * obj0 = 0 ;
6802 PyObject * obj1 = 0 ;
6803 PyObject * obj2 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "self",(char *) "_class", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6811 arg2 = obj1;
6812 arg3 = obj2;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 (arg1)->_setCallbackInfo(arg2,arg3);
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 Py_INCREF(Py_None); resultobj = Py_None;
6821 return resultobj;
6822 fail:
6823 return NULL;
6824}
6825
6826
c32bde28 6827static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6828 PyObject *resultobj;
6829 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6830 wxString *arg2 = 0 ;
6831 bool result;
ae8162c8 6832 bool temp2 = false ;
d55e5bfc
RD
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self",(char *) "location", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6842 {
6843 arg2 = wxString_in_helper(obj1);
6844 if (arg2 == NULL) SWIG_fail;
ae8162c8 6845 temp2 = true;
d55e5bfc
RD
6846 }
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 {
6855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6856 }
6857 {
6858 if (temp2)
6859 delete arg2;
6860 }
6861 return resultobj;
6862 fail:
6863 {
6864 if (temp2)
6865 delete arg2;
6866 }
6867 return NULL;
6868}
6869
6870
c32bde28 6871static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6872 PyObject *resultobj;
6873 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6874 wxFileSystem *arg2 = 0 ;
6875 wxString *arg3 = 0 ;
6876 wxFSFile *result;
ae8162c8 6877 bool temp3 = false ;
d55e5bfc
RD
6878 PyObject * obj0 = 0 ;
6879 PyObject * obj1 = 0 ;
6880 PyObject * obj2 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "fs",(char *) "location", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
6886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6889 SWIG_POINTER_EXCEPTION | 0)) == -1)
6890 SWIG_fail;
6891 if (arg2 == NULL) {
6892 PyErr_SetString(PyExc_TypeError,"null reference");
6893 SWIG_fail;
6894 }
6895 {
6896 arg3 = wxString_in_helper(obj2);
6897 if (arg3 == NULL) SWIG_fail;
ae8162c8 6898 temp3 = true;
d55e5bfc
RD
6899 }
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 {
4cf4100f 6908 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
6909 }
6910 {
6911 if (temp3)
6912 delete arg3;
6913 }
6914 return resultobj;
6915 fail:
6916 {
6917 if (temp3)
6918 delete arg3;
6919 }
6920 return NULL;
6921}
6922
6923
c32bde28 6924static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6925 PyObject *resultobj;
6926 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6927 wxString *arg2 = 0 ;
6928 int arg3 = (int) 0 ;
6929 wxString result;
ae8162c8 6930 bool temp2 = false ;
d55e5bfc
RD
6931 PyObject * obj0 = 0 ;
6932 PyObject * obj1 = 0 ;
6933 PyObject * obj2 = 0 ;
6934 char *kwnames[] = {
6935 (char *) "self",(char *) "spec",(char *) "flags", NULL
6936 };
6937
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
6939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6941 {
6942 arg2 = wxString_in_helper(obj1);
6943 if (arg2 == NULL) SWIG_fail;
ae8162c8 6944 temp2 = true;
d55e5bfc
RD
6945 }
6946 if (obj2) {
c32bde28 6947 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 {
6958#if wxUSE_UNICODE
6959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6960#else
6961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6962#endif
6963 }
6964 {
6965 if (temp2)
6966 delete arg2;
6967 }
6968 return resultobj;
6969 fail:
6970 {
6971 if (temp2)
6972 delete arg2;
6973 }
6974 return NULL;
6975}
6976
6977
c32bde28 6978static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6979 PyObject *resultobj;
6980 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6981 wxString result;
6982 PyObject * obj0 = 0 ;
6983 char *kwnames[] = {
6984 (char *) "self", NULL
6985 };
6986
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
6988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 result = (arg1)->FindNext();
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 {
6998#if wxUSE_UNICODE
6999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7000#else
7001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7002#endif
7003 }
7004 return resultobj;
7005 fail:
7006 return NULL;
7007}
7008
7009
c32bde28 7010static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7011 PyObject *resultobj;
7012 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7013 wxString *arg2 = 0 ;
7014 wxString result;
ae8162c8 7015 bool temp2 = false ;
d55e5bfc
RD
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self",(char *) "location", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7025 {
7026 arg2 = wxString_in_helper(obj1);
7027 if (arg2 == NULL) SWIG_fail;
ae8162c8 7028 temp2 = true;
d55e5bfc
RD
7029 }
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 result = (arg1)->GetProtocol((wxString const &)*arg2);
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038#if wxUSE_UNICODE
7039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7040#else
7041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7042#endif
7043 }
7044 {
7045 if (temp2)
7046 delete arg2;
7047 }
7048 return resultobj;
7049 fail:
7050 {
7051 if (temp2)
7052 delete arg2;
7053 }
7054 return NULL;
7055}
7056
7057
c32bde28 7058static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7059 PyObject *resultobj;
7060 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7061 wxString *arg2 = 0 ;
7062 wxString result;
ae8162c8 7063 bool temp2 = false ;
d55e5bfc
RD
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char *kwnames[] = {
7067 (char *) "self",(char *) "location", NULL
7068 };
7069
7070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
7071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7073 {
7074 arg2 = wxString_in_helper(obj1);
7075 if (arg2 == NULL) SWIG_fail;
ae8162c8 7076 temp2 = true;
d55e5bfc
RD
7077 }
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 {
7086#if wxUSE_UNICODE
7087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7088#else
7089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7090#endif
7091 }
7092 {
7093 if (temp2)
7094 delete arg2;
7095 }
7096 return resultobj;
7097 fail:
7098 {
7099 if (temp2)
7100 delete arg2;
7101 }
7102 return NULL;
7103}
7104
7105
c32bde28 7106static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7107 PyObject *resultobj;
7108 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7109 wxString *arg2 = 0 ;
7110 wxString result;
ae8162c8 7111 bool temp2 = false ;
d55e5bfc
RD
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self",(char *) "location", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7121 {
7122 arg2 = wxString_in_helper(obj1);
7123 if (arg2 == NULL) SWIG_fail;
ae8162c8 7124 temp2 = true;
d55e5bfc
RD
7125 }
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (arg1)->GetAnchor((wxString const &)*arg2);
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 }
7133 {
7134#if wxUSE_UNICODE
7135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7136#else
7137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7138#endif
7139 }
7140 {
7141 if (temp2)
7142 delete arg2;
7143 }
7144 return resultobj;
7145 fail:
7146 {
7147 if (temp2)
7148 delete arg2;
7149 }
7150 return NULL;
7151}
7152
7153
c32bde28 7154static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7155 PyObject *resultobj;
7156 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7157 wxString *arg2 = 0 ;
7158 wxString result;
ae8162c8 7159 bool temp2 = false ;
d55e5bfc
RD
7160 PyObject * obj0 = 0 ;
7161 PyObject * obj1 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self",(char *) "location", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
7167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7169 {
7170 arg2 = wxString_in_helper(obj1);
7171 if (arg2 == NULL) SWIG_fail;
ae8162c8 7172 temp2 = true;
d55e5bfc
RD
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 result = (arg1)->GetRightLocation((wxString const &)*arg2);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 {
7182#if wxUSE_UNICODE
7183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7184#else
7185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7186#endif
7187 }
7188 {
7189 if (temp2)
7190 delete arg2;
7191 }
7192 return resultobj;
7193 fail:
7194 {
7195 if (temp2)
7196 delete arg2;
7197 }
7198 return NULL;
7199}
7200
7201
c32bde28 7202static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7203 PyObject *resultobj;
7204 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7205 wxString *arg2 = 0 ;
7206 wxString result;
ae8162c8 7207 bool temp2 = false ;
d55e5bfc
RD
7208 PyObject * obj0 = 0 ;
7209 PyObject * obj1 = 0 ;
7210 char *kwnames[] = {
7211 (char *) "self",(char *) "location", NULL
7212 };
7213
7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
7215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7217 {
7218 arg2 = wxString_in_helper(obj1);
7219 if (arg2 == NULL) SWIG_fail;
ae8162c8 7220 temp2 = true;
d55e5bfc
RD
7221 }
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230#if wxUSE_UNICODE
7231 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7232#else
7233 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7234#endif
7235 }
7236 {
7237 if (temp2)
7238 delete arg2;
7239 }
7240 return resultobj;
7241 fail:
7242 {
7243 if (temp2)
7244 delete arg2;
7245 }
7246 return NULL;
7247}
7248
7249
c32bde28 7250static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7251 PyObject *obj;
7252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7253 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
7254 Py_INCREF(obj);
7255 return Py_BuildValue((char *)"");
7256}
c32bde28 7257static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7258 PyObject *resultobj;
7259 wxFileSystem *result;
7260 char *kwnames[] = {
7261 NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 result = (wxFileSystem *)new wxFileSystem();
7268
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 {
412d302d 7273 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
7274 }
7275 return resultobj;
7276 fail:
7277 return NULL;
7278}
7279
7280
c32bde28 7281static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7282 PyObject *resultobj;
7283 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7284 PyObject * obj0 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "self", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
7290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 delete arg1;
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 Py_INCREF(Py_None); resultobj = Py_None;
7300 return resultobj;
7301 fail:
7302 return NULL;
7303}
7304
7305
c32bde28 7306static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7307 PyObject *resultobj;
7308 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7309 wxString *arg2 = 0 ;
ae8162c8
RD
7310 bool arg3 = (bool) false ;
7311 bool temp2 = false ;
d55e5bfc
RD
7312 PyObject * obj0 = 0 ;
7313 PyObject * obj1 = 0 ;
7314 PyObject * obj2 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7322 {
7323 arg2 = wxString_in_helper(obj1);
7324 if (arg2 == NULL) SWIG_fail;
ae8162c8 7325 temp2 = true;
d55e5bfc
RD
7326 }
7327 if (obj2) {
c32bde28 7328 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 Py_INCREF(Py_None); resultobj = Py_None;
7339 {
7340 if (temp2)
7341 delete arg2;
7342 }
7343 return resultobj;
7344 fail:
7345 {
7346 if (temp2)
7347 delete arg2;
7348 }
7349 return NULL;
7350}
7351
7352
c32bde28 7353static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7354 PyObject *resultobj;
7355 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7356 wxString result;
7357 PyObject * obj0 = 0 ;
7358 char *kwnames[] = {
7359 (char *) "self", NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
7363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7365 {
7366 PyThreadState* __tstate = wxPyBeginAllowThreads();
7367 result = (arg1)->GetPath();
7368
7369 wxPyEndAllowThreads(__tstate);
7370 if (PyErr_Occurred()) SWIG_fail;
7371 }
7372 {
7373#if wxUSE_UNICODE
7374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7375#else
7376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7377#endif
7378 }
7379 return resultobj;
7380 fail:
7381 return NULL;
7382}
7383
7384
c32bde28 7385static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7386 PyObject *resultobj;
7387 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7388 wxString *arg2 = 0 ;
7389 wxFSFile *result;
ae8162c8 7390 bool temp2 = false ;
d55e5bfc
RD
7391 PyObject * obj0 = 0 ;
7392 PyObject * obj1 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self",(char *) "location", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7400 {
7401 arg2 = wxString_in_helper(obj1);
7402 if (arg2 == NULL) SWIG_fail;
ae8162c8 7403 temp2 = true;
d55e5bfc
RD
7404 }
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 {
4cf4100f 7413 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
7414 }
7415 {
7416 if (temp2)
7417 delete arg2;
7418 }
7419 return resultobj;
7420 fail:
7421 {
7422 if (temp2)
7423 delete arg2;
7424 }
7425 return NULL;
7426}
7427
7428
c32bde28 7429static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7430 PyObject *resultobj;
7431 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7432 wxString *arg2 = 0 ;
7433 int arg3 = (int) 0 ;
7434 wxString result;
ae8162c8 7435 bool temp2 = false ;
d55e5bfc
RD
7436 PyObject * obj0 = 0 ;
7437 PyObject * obj1 = 0 ;
7438 PyObject * obj2 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self",(char *) "spec",(char *) "flags", NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7446 {
7447 arg2 = wxString_in_helper(obj1);
7448 if (arg2 == NULL) SWIG_fail;
ae8162c8 7449 temp2 = true;
d55e5bfc
RD
7450 }
7451 if (obj2) {
c32bde28 7452 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 {
7463#if wxUSE_UNICODE
7464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7465#else
7466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7467#endif
7468 }
7469 {
7470 if (temp2)
7471 delete arg2;
7472 }
7473 return resultobj;
7474 fail:
7475 {
7476 if (temp2)
7477 delete arg2;
7478 }
7479 return NULL;
7480}
7481
7482
c32bde28 7483static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7484 PyObject *resultobj;
7485 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7486 wxString result;
7487 PyObject * obj0 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
7493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 result = (arg1)->FindNext();
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 {
7503#if wxUSE_UNICODE
7504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7505#else
7506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7507#endif
7508 }
7509 return resultobj;
7510 fail:
7511 return NULL;
7512}
7513
7514
c32bde28 7515static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7516 PyObject *resultobj;
7517 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7518 PyObject * obj0 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "handler", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 wxFileSystem::AddHandler(arg1);
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 Py_INCREF(Py_None); resultobj = Py_None;
7534 return resultobj;
7535 fail:
7536 return NULL;
7537}
7538
7539
c32bde28 7540static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7541 PyObject *resultobj;
7542 char *kwnames[] = {
7543 NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 wxFileSystem::CleanUpHandlers();
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 Py_INCREF(Py_None); resultobj = Py_None;
7555 return resultobj;
7556 fail:
7557 return NULL;
7558}
7559
7560
c32bde28 7561static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7562 PyObject *resultobj;
7563 wxString *arg1 = 0 ;
7564 wxString result;
ae8162c8 7565 bool temp1 = false ;
d55e5bfc
RD
7566 PyObject * obj0 = 0 ;
7567 char *kwnames[] = {
7568 (char *) "filename", NULL
7569 };
7570
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7572 {
7573 arg1 = wxString_in_helper(obj0);
7574 if (arg1 == NULL) SWIG_fail;
ae8162c8 7575 temp1 = true;
d55e5bfc
RD
7576 }
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 {
7585#if wxUSE_UNICODE
7586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7587#else
7588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7589#endif
7590 }
7591 {
7592 if (temp1)
7593 delete arg1;
7594 }
7595 return resultobj;
7596 fail:
7597 {
7598 if (temp1)
7599 delete arg1;
7600 }
7601 return NULL;
7602}
7603
7604
c32bde28 7605static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7606 PyObject *resultobj;
7607 wxString *arg1 = 0 ;
7608 wxString result;
ae8162c8 7609 bool temp1 = false ;
d55e5bfc
RD
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "url", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7616 {
7617 arg1 = wxString_in_helper(obj0);
7618 if (arg1 == NULL) SWIG_fail;
ae8162c8 7619 temp1 = true;
d55e5bfc
RD
7620 }
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
ae8162c8 7623 result = FileSystem_URLToFileName((wxString const &)*arg1);
d55e5bfc
RD
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 {
7629#if wxUSE_UNICODE
7630 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7631#else
7632 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7633#endif
7634 }
7635 {
7636 if (temp1)
7637 delete arg1;
7638 }
7639 return resultobj;
7640 fail:
7641 {
7642 if (temp1)
7643 delete arg1;
7644 }
7645 return NULL;
7646}
7647
7648
ae8162c8
RD
7649static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
7650 PyObject *obj;
7651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7652 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7653 Py_INCREF(obj);
7654 return Py_BuildValue((char *)"");
7655}
c32bde28 7656static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7657 PyObject *resultobj;
7658 wxInternetFSHandler *result;
7659 char *kwnames[] = {
7660 NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
7666 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
7672 return resultobj;
7673 fail:
7674 return NULL;
7675}
7676
7677
c32bde28 7678static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7679 PyObject *resultobj;
7680 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7681 wxString *arg2 = 0 ;
7682 bool result;
ae8162c8 7683 bool temp2 = false ;
d55e5bfc
RD
7684 PyObject * obj0 = 0 ;
7685 PyObject * obj1 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self",(char *) "location", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7693 {
7694 arg2 = wxString_in_helper(obj1);
7695 if (arg2 == NULL) SWIG_fail;
ae8162c8 7696 temp2 = true;
d55e5bfc
RD
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 {
7706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7707 }
7708 {
7709 if (temp2)
7710 delete arg2;
7711 }
7712 return resultobj;
7713 fail:
7714 {
7715 if (temp2)
7716 delete arg2;
7717 }
7718 return NULL;
7719}
7720
7721
c32bde28 7722static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7723 PyObject *resultobj;
7724 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7725 wxFileSystem *arg2 = 0 ;
7726 wxString *arg3 = 0 ;
7727 wxFSFile *result;
ae8162c8 7728 bool temp3 = false ;
d55e5bfc
RD
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 PyObject * obj2 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self",(char *) "fs",(char *) "location", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7740 SWIG_POINTER_EXCEPTION | 0)) == -1)
7741 SWIG_fail;
7742 if (arg2 == NULL) {
7743 PyErr_SetString(PyExc_TypeError,"null reference");
7744 SWIG_fail;
7745 }
7746 {
7747 arg3 = wxString_in_helper(obj2);
7748 if (arg3 == NULL) SWIG_fail;
ae8162c8 7749 temp3 = true;
d55e5bfc
RD
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 {
4cf4100f 7759 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
7760 }
7761 {
7762 if (temp3)
7763 delete arg3;
7764 }
7765 return resultobj;
7766 fail:
7767 {
7768 if (temp3)
7769 delete arg3;
7770 }
7771 return NULL;
7772}
7773
7774
c32bde28 7775static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7776 PyObject *obj;
7777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7778 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7779 Py_INCREF(obj);
7780 return Py_BuildValue((char *)"");
7781}
c32bde28 7782static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7783 PyObject *resultobj;
7784 wxZipFSHandler *result;
7785 char *kwnames[] = {
7786 NULL
7787 };
7788
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7790 {
7791 PyThreadState* __tstate = wxPyBeginAllowThreads();
7792 result = (wxZipFSHandler *)new wxZipFSHandler();
7793
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
7798 return resultobj;
7799 fail:
7800 return NULL;
7801}
7802
7803
c32bde28 7804static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7805 PyObject *resultobj;
7806 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7807 wxString *arg2 = 0 ;
7808 bool result;
ae8162c8 7809 bool temp2 = false ;
d55e5bfc
RD
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "location", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7819 {
7820 arg2 = wxString_in_helper(obj1);
7821 if (arg2 == NULL) SWIG_fail;
ae8162c8 7822 temp2 = true;
d55e5bfc
RD
7823 }
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 {
7832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7833 }
7834 {
7835 if (temp2)
7836 delete arg2;
7837 }
7838 return resultobj;
7839 fail:
7840 {
7841 if (temp2)
7842 delete arg2;
7843 }
7844 return NULL;
7845}
7846
7847
c32bde28 7848static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7849 PyObject *resultobj;
7850 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7851 wxFileSystem *arg2 = 0 ;
7852 wxString *arg3 = 0 ;
7853 wxFSFile *result;
ae8162c8 7854 bool temp3 = false ;
d55e5bfc
RD
7855 PyObject * obj0 = 0 ;
7856 PyObject * obj1 = 0 ;
7857 PyObject * obj2 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "fs",(char *) "location", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
7863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7865 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7866 SWIG_POINTER_EXCEPTION | 0)) == -1)
7867 SWIG_fail;
7868 if (arg2 == NULL) {
7869 PyErr_SetString(PyExc_TypeError,"null reference");
7870 SWIG_fail;
7871 }
7872 {
7873 arg3 = wxString_in_helper(obj2);
7874 if (arg3 == NULL) SWIG_fail;
ae8162c8 7875 temp3 = true;
d55e5bfc
RD
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
4cf4100f 7885 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
7886 }
7887 {
7888 if (temp3)
7889 delete arg3;
7890 }
7891 return resultobj;
7892 fail:
7893 {
7894 if (temp3)
7895 delete arg3;
7896 }
7897 return NULL;
7898}
7899
7900
c32bde28 7901static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7902 PyObject *resultobj;
7903 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7904 wxString *arg2 = 0 ;
7905 int arg3 = (int) 0 ;
7906 wxString result;
ae8162c8 7907 bool temp2 = false ;
d55e5bfc
RD
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 PyObject * obj2 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self",(char *) "spec",(char *) "flags", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7918 {
7919 arg2 = wxString_in_helper(obj1);
7920 if (arg2 == NULL) SWIG_fail;
ae8162c8 7921 temp2 = true;
d55e5bfc
RD
7922 }
7923 if (obj2) {
c32bde28 7924 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 {
7935#if wxUSE_UNICODE
7936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7937#else
7938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7939#endif
7940 }
7941 {
7942 if (temp2)
7943 delete arg2;
7944 }
7945 return resultobj;
7946 fail:
7947 {
7948 if (temp2)
7949 delete arg2;
7950 }
7951 return NULL;
7952}
7953
7954
c32bde28 7955static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7956 PyObject *resultobj;
7957 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7958 wxString result;
7959 PyObject * obj0 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 result = (arg1)->FindNext();
7970
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 }
7974 {
7975#if wxUSE_UNICODE
7976 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7977#else
7978 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7979#endif
7980 }
7981 return resultobj;
7982 fail:
7983 return NULL;
7984}
7985
7986
c32bde28 7987static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7988 PyObject *obj;
7989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7990 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7991 Py_INCREF(obj);
7992 return Py_BuildValue((char *)"");
7993}
c32bde28 7994static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7995 PyObject *resultobj;
7996 wxString *arg1 = 0 ;
7997 wxImage *arg2 = 0 ;
7998 long arg3 ;
ae8162c8 7999 bool temp1 = false ;
d55e5bfc
RD
8000 PyObject * obj0 = 0 ;
8001 PyObject * obj1 = 0 ;
8002 PyObject * obj2 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "filename",(char *) "image",(char *) "type", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
8008 {
8009 arg1 = wxString_in_helper(obj0);
8010 if (arg1 == NULL) SWIG_fail;
ae8162c8 8011 temp1 = true;
d55e5bfc
RD
8012 }
8013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
8014 SWIG_POINTER_EXCEPTION | 0)) == -1)
8015 SWIG_fail;
8016 if (arg2 == NULL) {
8017 PyErr_SetString(PyExc_TypeError,"null reference");
8018 SWIG_fail;
8019 }
c32bde28 8020 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
8021 if (PyErr_Occurred()) SWIG_fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 Py_INCREF(Py_None); resultobj = Py_None;
8030 {
8031 if (temp1)
8032 delete arg1;
8033 }
8034 return resultobj;
8035 fail:
8036 {
8037 if (temp1)
8038 delete arg1;
8039 }
8040 return NULL;
8041}
8042
8043
c32bde28 8044static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8045 PyObject *resultobj;
8046 wxString *arg1 = 0 ;
8047 wxBitmap *arg2 = 0 ;
8048 long arg3 ;
ae8162c8 8049 bool temp1 = false ;
d55e5bfc
RD
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 PyObject * obj2 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
8058 {
8059 arg1 = wxString_in_helper(obj0);
8060 if (arg1 == NULL) SWIG_fail;
ae8162c8 8061 temp1 = true;
d55e5bfc
RD
8062 }
8063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
8064 SWIG_POINTER_EXCEPTION | 0)) == -1)
8065 SWIG_fail;
8066 if (arg2 == NULL) {
8067 PyErr_SetString(PyExc_TypeError,"null reference");
8068 SWIG_fail;
8069 }
c32bde28 8070 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
8071 if (PyErr_Occurred()) SWIG_fail;
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 Py_INCREF(Py_None); resultobj = Py_None;
8080 {
8081 if (temp1)
8082 delete arg1;
8083 }
8084 return resultobj;
8085 fail:
8086 {
8087 if (temp1)
8088 delete arg1;
8089 }
8090 return NULL;
8091}
8092
8093
c32bde28 8094static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8095 PyObject *resultobj;
8096 wxString *arg1 = 0 ;
8097 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8 8098 bool temp1 = false ;
d55e5bfc
RD
8099 PyObject * obj0 = 0 ;
8100 PyObject * obj1 = 0 ;
8101 char *kwnames[] = {
8102 (char *) "filename",(char *) "data", NULL
8103 };
8104
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
8106 {
8107 arg1 = wxString_in_helper(obj0);
8108 if (arg1 == NULL) SWIG_fail;
ae8162c8 8109 temp1 = true;
d55e5bfc
RD
8110 }
8111 arg2 = obj1;
8112 {
8113 PyThreadState* __tstate = wxPyBeginAllowThreads();
8114 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
8115
8116 wxPyEndAllowThreads(__tstate);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 }
8119 Py_INCREF(Py_None); resultobj = Py_None;
8120 {
8121 if (temp1)
8122 delete arg1;
8123 }
8124 return resultobj;
8125 fail:
8126 {
8127 if (temp1)
8128 delete arg1;
8129 }
8130 return NULL;
8131}
8132
8133
c32bde28 8134static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8135 PyObject *resultobj;
8136 wxMemoryFSHandler *result;
8137 char *kwnames[] = {
8138 NULL
8139 };
8140
8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
8150 return resultobj;
8151 fail:
8152 return NULL;
8153}
8154
8155
c32bde28 8156static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8157 PyObject *resultobj;
8158 wxString *arg1 = 0 ;
ae8162c8 8159 bool temp1 = false ;
d55e5bfc
RD
8160 PyObject * obj0 = 0 ;
8161 char *kwnames[] = {
8162 (char *) "filename", NULL
8163 };
8164
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
8166 {
8167 arg1 = wxString_in_helper(obj0);
8168 if (arg1 == NULL) SWIG_fail;
ae8162c8 8169 temp1 = true;
d55e5bfc
RD
8170 }
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 Py_INCREF(Py_None); resultobj = Py_None;
8179 {
8180 if (temp1)
8181 delete arg1;
8182 }
8183 return resultobj;
8184 fail:
8185 {
8186 if (temp1)
8187 delete arg1;
8188 }
8189 return NULL;
8190}
8191
8192
c32bde28 8193static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8194 PyObject *resultobj;
8195 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8196 wxString *arg2 = 0 ;
8197 bool result;
ae8162c8 8198 bool temp2 = false ;
d55e5bfc
RD
8199 PyObject * obj0 = 0 ;
8200 PyObject * obj1 = 0 ;
8201 char *kwnames[] = {
8202 (char *) "self",(char *) "location", NULL
8203 };
8204
8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
8206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8208 {
8209 arg2 = wxString_in_helper(obj1);
8210 if (arg2 == NULL) SWIG_fail;
ae8162c8 8211 temp2 = true;
d55e5bfc
RD
8212 }
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 {
8221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8222 }
8223 {
8224 if (temp2)
8225 delete arg2;
8226 }
8227 return resultobj;
8228 fail:
8229 {
8230 if (temp2)
8231 delete arg2;
8232 }
8233 return NULL;
8234}
8235
8236
c32bde28 8237static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8238 PyObject *resultobj;
8239 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8240 wxFileSystem *arg2 = 0 ;
8241 wxString *arg3 = 0 ;
8242 wxFSFile *result;
ae8162c8 8243 bool temp3 = false ;
d55e5bfc
RD
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 PyObject * obj2 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "fs",(char *) "location", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
8252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
8255 SWIG_POINTER_EXCEPTION | 0)) == -1)
8256 SWIG_fail;
8257 if (arg2 == NULL) {
8258 PyErr_SetString(PyExc_TypeError,"null reference");
8259 SWIG_fail;
8260 }
8261 {
8262 arg3 = wxString_in_helper(obj2);
8263 if (arg3 == NULL) SWIG_fail;
ae8162c8 8264 temp3 = true;
d55e5bfc
RD
8265 }
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 {
4cf4100f 8274 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
8275 }
8276 {
8277 if (temp3)
8278 delete arg3;
8279 }
8280 return resultobj;
8281 fail:
8282 {
8283 if (temp3)
8284 delete arg3;
8285 }
8286 return NULL;
8287}
8288
8289
c32bde28 8290static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8291 PyObject *resultobj;
8292 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8293 wxString *arg2 = 0 ;
8294 int arg3 = (int) 0 ;
8295 wxString result;
ae8162c8 8296 bool temp2 = false ;
d55e5bfc
RD
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 PyObject * obj2 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "spec",(char *) "flags", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
8305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8307 {
8308 arg2 = wxString_in_helper(obj1);
8309 if (arg2 == NULL) SWIG_fail;
ae8162c8 8310 temp2 = true;
d55e5bfc
RD
8311 }
8312 if (obj2) {
c32bde28 8313 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 {
8324#if wxUSE_UNICODE
8325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8326#else
8327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8328#endif
8329 }
8330 {
8331 if (temp2)
8332 delete arg2;
8333 }
8334 return resultobj;
8335 fail:
8336 {
8337 if (temp2)
8338 delete arg2;
8339 }
8340 return NULL;
8341}
8342
8343
c32bde28 8344static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8345 PyObject *resultobj;
8346 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8347 wxString result;
8348 PyObject * obj0 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
8354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (arg1)->FindNext();
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 {
8364#if wxUSE_UNICODE
8365 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8366#else
8367 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8368#endif
8369 }
8370 return resultobj;
8371 fail:
8372 return NULL;
8373}
8374
8375
c32bde28 8376static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8377 PyObject *obj;
8378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8379 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8380 Py_INCREF(obj);
8381 return Py_BuildValue((char *)"");
8382}
c32bde28 8383static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8384 PyObject *resultobj;
8385 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8386 wxString result;
8387 PyObject * obj0 = 0 ;
8388 char *kwnames[] = {
8389 (char *) "self", NULL
8390 };
8391
8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
8393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 result = (arg1)->GetName();
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 {
8403#if wxUSE_UNICODE
8404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8405#else
8406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8407#endif
8408 }
8409 return resultobj;
8410 fail:
8411 return NULL;
8412}
8413
8414
c32bde28 8415static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8416 PyObject *resultobj;
8417 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8418 wxString result;
8419 PyObject * obj0 = 0 ;
8420 char *kwnames[] = {
8421 (char *) "self", NULL
8422 };
8423
8424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
8425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (arg1)->GetExtension();
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 {
8435#if wxUSE_UNICODE
8436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8437#else
8438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8439#endif
8440 }
8441 return resultobj;
8442 fail:
8443 return NULL;
8444}
8445
8446
c32bde28 8447static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8448 PyObject *resultobj;
8449 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8450 long result;
8451 PyObject * obj0 = 0 ;
8452 char *kwnames[] = {
8453 (char *) "self", NULL
8454 };
8455
8456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
8457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 result = (long)(arg1)->GetType();
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
c32bde28 8466 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
8467 return resultobj;
8468 fail:
8469 return NULL;
8470}
8471
8472
c32bde28 8473static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8474 PyObject *resultobj;
8475 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8476 wxString result;
8477 PyObject * obj0 = 0 ;
8478 char *kwnames[] = {
8479 (char *) "self", NULL
8480 };
8481
8482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
8483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (arg1)->GetMimeType();
8488
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493#if wxUSE_UNICODE
8494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8495#else
8496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8497#endif
8498 }
8499 return resultobj;
8500 fail:
8501 return NULL;
8502}
8503
8504
c32bde28 8505static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8506 PyObject *resultobj;
8507 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8508 wxString *arg2 = 0 ;
8509 bool result;
ae8162c8 8510 bool temp2 = false ;
d55e5bfc
RD
8511 PyObject * obj0 = 0 ;
8512 PyObject * obj1 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self",(char *) "name", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8520 {
8521 arg2 = wxString_in_helper(obj1);
8522 if (arg2 == NULL) SWIG_fail;
ae8162c8 8523 temp2 = true;
d55e5bfc
RD
8524 }
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 {
8533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8534 }
8535 {
8536 if (temp2)
8537 delete arg2;
8538 }
8539 return resultobj;
8540 fail:
8541 {
8542 if (temp2)
8543 delete arg2;
8544 }
8545 return NULL;
8546}
8547
8548
c32bde28 8549static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8550 PyObject *resultobj;
8551 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8552 wxString *arg2 = 0 ;
ae8162c8 8553 bool temp2 = false ;
d55e5bfc
RD
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self",(char *) "name", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8563 {
8564 arg2 = wxString_in_helper(obj1);
8565 if (arg2 == NULL) SWIG_fail;
ae8162c8 8566 temp2 = true;
d55e5bfc
RD
8567 }
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 (arg1)->SetName((wxString const &)*arg2);
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 Py_INCREF(Py_None); resultobj = Py_None;
8576 {
8577 if (temp2)
8578 delete arg2;
8579 }
8580 return resultobj;
8581 fail:
8582 {
8583 if (temp2)
8584 delete arg2;
8585 }
8586 return NULL;
8587}
8588
8589
c32bde28 8590static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8591 PyObject *resultobj;
8592 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8593 wxString *arg2 = 0 ;
ae8162c8 8594 bool temp2 = false ;
d55e5bfc
RD
8595 PyObject * obj0 = 0 ;
8596 PyObject * obj1 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self",(char *) "extension", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8604 {
8605 arg2 = wxString_in_helper(obj1);
8606 if (arg2 == NULL) SWIG_fail;
ae8162c8 8607 temp2 = true;
d55e5bfc
RD
8608 }
8609 {
8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
8611 (arg1)->SetExtension((wxString const &)*arg2);
8612
8613 wxPyEndAllowThreads(__tstate);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 }
8616 Py_INCREF(Py_None); resultobj = Py_None;
8617 {
8618 if (temp2)
8619 delete arg2;
8620 }
8621 return resultobj;
8622 fail:
8623 {
8624 if (temp2)
8625 delete arg2;
8626 }
8627 return NULL;
8628}
8629
8630
c32bde28 8631static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8632 PyObject *resultobj;
8633 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8634 long arg2 ;
8635 PyObject * obj0 = 0 ;
8636 PyObject * obj1 = 0 ;
8637 char *kwnames[] = {
8638 (char *) "self",(char *) "type", NULL
8639 };
8640
8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
8642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8644 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
8645 if (PyErr_Occurred()) SWIG_fail;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 (arg1)->SetType(arg2);
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 Py_INCREF(Py_None); resultobj = Py_None;
8654 return resultobj;
8655 fail:
8656 return NULL;
8657}
8658
8659
c32bde28 8660static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8661 PyObject *resultobj;
8662 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8663 wxString *arg2 = 0 ;
ae8162c8 8664 bool temp2 = false ;
d55e5bfc
RD
8665 PyObject * obj0 = 0 ;
8666 PyObject * obj1 = 0 ;
8667 char *kwnames[] = {
8668 (char *) "self",(char *) "mimetype", NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
8672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8674 {
8675 arg2 = wxString_in_helper(obj1);
8676 if (arg2 == NULL) SWIG_fail;
ae8162c8 8677 temp2 = true;
d55e5bfc
RD
8678 }
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 (arg1)->SetMimeType((wxString const &)*arg2);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 Py_INCREF(Py_None); resultobj = Py_None;
8687 {
8688 if (temp2)
8689 delete arg2;
8690 }
8691 return resultobj;
8692 fail:
8693 {
8694 if (temp2)
8695 delete arg2;
8696 }
8697 return NULL;
8698}
8699
8700
c32bde28 8701static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8702 PyObject *obj;
8703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8704 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8705 Py_INCREF(obj);
8706 return Py_BuildValue((char *)"");
8707}
c32bde28 8708static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8709 PyObject *resultobj;
8710 wxImageHistogram *result;
8711 char *kwnames[] = {
8712 NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (wxImageHistogram *)new wxImageHistogram();
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
8724 return resultobj;
8725 fail:
8726 return NULL;
8727}
8728
8729
c32bde28 8730static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8731 PyObject *resultobj;
8732 unsigned char arg1 ;
8733 unsigned char arg2 ;
8734 unsigned char arg3 ;
8735 unsigned long result;
8736 PyObject * obj0 = 0 ;
8737 PyObject * obj1 = 0 ;
8738 PyObject * obj2 = 0 ;
8739 char *kwnames[] = {
8740 (char *) "r",(char *) "g",(char *) "b", NULL
8741 };
8742
8743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 8744 arg1 = (unsigned char)SWIG_As_unsigned_SS_char(obj0);
d55e5bfc 8745 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8746 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
d55e5bfc 8747 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8748 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc
RD
8749 if (PyErr_Occurred()) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
c32bde28 8757 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
8758 return resultobj;
8759 fail:
8760 return NULL;
8761}
8762
8763
c32bde28 8764static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8765 PyObject *resultobj;
8766 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8767 unsigned char *arg2 = (unsigned char *) 0 ;
8768 unsigned char *arg3 = (unsigned char *) 0 ;
8769 unsigned char *arg4 = (unsigned char *) 0 ;
8770 unsigned char arg5 = (unsigned char) 1 ;
8771 unsigned char arg6 = (unsigned char) 0 ;
8772 unsigned char arg7 = (unsigned char) 0 ;
8773 bool result;
8774 unsigned char temp2 ;
c32bde28 8775 int res2 = 0 ;
d55e5bfc 8776 unsigned char temp3 ;
c32bde28 8777 int res3 = 0 ;
d55e5bfc 8778 unsigned char temp4 ;
c32bde28 8779 int res4 = 0 ;
d55e5bfc
RD
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 PyObject * obj2 = 0 ;
8783 PyObject * obj3 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8786 };
8787
c32bde28
RD
8788 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8789 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8790 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8794 if (obj1) {
c32bde28 8795 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
d55e5bfc
RD
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 if (obj2) {
c32bde28 8799 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc
RD
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 if (obj3) {
c32bde28 8803 arg7 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc
RD
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 {
8814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8815 }
c32bde28
RD
8816 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8817 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
8818 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8819 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
8820 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8821 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
d55e5bfc
RD
8822 return resultobj;
8823 fail:
8824 return NULL;
8825}
8826
8827
c32bde28 8828static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8829 PyObject *obj;
8830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8831 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8832 Py_INCREF(obj);
8833 return Py_BuildValue((char *)"");
8834}
c32bde28 8835static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8836 PyObject *resultobj;
8837 wxString *arg1 = 0 ;
8838 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8839 int arg3 = (int) -1 ;
8840 wxImage *result;
ae8162c8 8841 bool temp1 = false ;
d55e5bfc
RD
8842 PyObject * obj0 = 0 ;
8843 PyObject * obj1 = 0 ;
8844 PyObject * obj2 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "name",(char *) "type",(char *) "index", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
8850 {
8851 arg1 = wxString_in_helper(obj0);
8852 if (arg1 == NULL) SWIG_fail;
ae8162c8 8853 temp1 = true;
d55e5bfc
RD
8854 }
8855 if (obj1) {
c32bde28 8856 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 if (obj2) {
c32bde28 8860 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8871 {
8872 if (temp1)
8873 delete arg1;
8874 }
8875 return resultobj;
8876 fail:
8877 {
8878 if (temp1)
8879 delete arg1;
8880 }
8881 return NULL;
8882}
8883
8884
c32bde28 8885static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8886 PyObject *resultobj;
8887 wxImage *arg1 = (wxImage *) 0 ;
8888 PyObject * obj0 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "self", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
8894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 delete arg1;
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 Py_INCREF(Py_None); resultobj = Py_None;
8904 return resultobj;
8905 fail:
8906 return NULL;
8907}
8908
8909
c32bde28 8910static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8911 PyObject *resultobj;
8912 wxString *arg1 = 0 ;
8913 wxString *arg2 = 0 ;
8914 int arg3 = (int) -1 ;
8915 wxImage *result;
ae8162c8
RD
8916 bool temp1 = false ;
8917 bool temp2 = false ;
d55e5bfc
RD
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
8920 PyObject * obj2 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
8926 {
8927 arg1 = wxString_in_helper(obj0);
8928 if (arg1 == NULL) SWIG_fail;
ae8162c8 8929 temp1 = true;
d55e5bfc
RD
8930 }
8931 {
8932 arg2 = wxString_in_helper(obj1);
8933 if (arg2 == NULL) SWIG_fail;
ae8162c8 8934 temp2 = true;
d55e5bfc
RD
8935 }
8936 if (obj2) {
c32bde28 8937 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8948 {
8949 if (temp1)
8950 delete arg1;
8951 }
8952 {
8953 if (temp2)
8954 delete arg2;
8955 }
8956 return resultobj;
8957 fail:
8958 {
8959 if (temp1)
8960 delete arg1;
8961 }
8962 {
8963 if (temp2)
8964 delete arg2;
8965 }
8966 return NULL;
8967}
8968
8969
c32bde28 8970static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8971 PyObject *resultobj;
8972 wxInputStream *arg1 = 0 ;
8973 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8974 int arg3 = (int) -1 ;
8975 wxImage *result;
8976 wxPyInputStream *temp1 ;
8977 bool created1 ;
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 PyObject * obj2 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "stream",(char *) "type",(char *) "index", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
8986 {
8987 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8988 arg1 = temp1->m_wxis;
ae8162c8 8989 created1 = false;
d55e5bfc
RD
8990 } else {
8991 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 8992 arg1 = wxPyCBInputStream_create(obj0, false);
d55e5bfc
RD
8993 if (arg1 == NULL) {
8994 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8995 SWIG_fail;
8996 }
ae8162c8 8997 created1 = true;
d55e5bfc
RD
8998 }
8999 }
9000 if (obj1) {
c32bde28 9001 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
9002 if (PyErr_Occurred()) SWIG_fail;
9003 }
9004 if (obj2) {
c32bde28 9005 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
9016 {
9017 if (created1)
9018 delete arg1;
9019 }
9020 return resultobj;
9021 fail:
9022 {
9023 if (created1)
9024 delete arg1;
9025 }
9026 return NULL;
9027}
9028
9029
c32bde28 9030static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9031 PyObject *resultobj;
9032 wxInputStream *arg1 = 0 ;
9033 wxString *arg2 = 0 ;
9034 int arg3 = (int) -1 ;
9035 wxImage *result;
9036 wxPyInputStream *temp1 ;
9037 bool created1 ;
ae8162c8 9038 bool temp2 = false ;
d55e5bfc
RD
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 PyObject * obj2 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
9047 {
9048 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9049 arg1 = temp1->m_wxis;
ae8162c8 9050 created1 = false;
d55e5bfc
RD
9051 } else {
9052 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 9053 arg1 = wxPyCBInputStream_create(obj0, false);
d55e5bfc
RD
9054 if (arg1 == NULL) {
9055 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9056 SWIG_fail;
9057 }
ae8162c8 9058 created1 = true;
d55e5bfc
RD
9059 }
9060 }
9061 {
9062 arg2 = wxString_in_helper(obj1);
9063 if (arg2 == NULL) SWIG_fail;
ae8162c8 9064 temp2 = true;
d55e5bfc
RD
9065 }
9066 if (obj2) {
c32bde28 9067 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
9078 {
9079 if (created1)
9080 delete arg1;
9081 }
9082 {
9083 if (temp2)
9084 delete arg2;
9085 }
9086 return resultobj;
9087 fail:
9088 {
9089 if (created1)
9090 delete arg1;
9091 }
9092 {
9093 if (temp2)
9094 delete arg2;
9095 }
9096 return NULL;
9097}
9098
9099
c32bde28 9100static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9101 PyObject *resultobj;
9102 int arg1 = (int) 0 ;
9103 int arg2 = (int) 0 ;
ae8162c8 9104 bool arg3 = (bool) true ;
d55e5bfc
RD
9105 wxImage *result;
9106 PyObject * obj0 = 0 ;
9107 PyObject * obj1 = 0 ;
9108 PyObject * obj2 = 0 ;
c24da6d6
RD
9109 char *kwnames[] = {
9110 (char *) "width",(char *) "height",(char *) "clear", NULL
9111 };
d55e5bfc 9112
c24da6d6 9113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc 9114 if (obj0) {
c32bde28 9115 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 if (obj1) {
c32bde28 9119 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 if (obj2) {
c32bde28 9123 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 {
9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
c24da6d6 9128 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d55e5bfc
RD
9129
9130 wxPyEndAllowThreads(__tstate);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 }
9133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
9134 return resultobj;
9135 fail:
9136 return NULL;
9137}
9138
9139
c32bde28 9140static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9141 PyObject *resultobj;
9142 wxBitmap *arg1 = 0 ;
9143 wxImage *result;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "bitmap", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
9151 SWIG_POINTER_EXCEPTION | 0)) == -1)
9152 SWIG_fail;
9153 if (arg1 == NULL) {
9154 PyErr_SetString(PyExc_TypeError,"null reference");
9155 SWIG_fail;
9156 }
9157 {
0439c23b 9158 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
9161
9162 wxPyEndAllowThreads(__tstate);
110da5b0 9163 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9164 }
9165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
9166 return resultobj;
9167 fail:
9168 return NULL;
9169}
9170
9171
c32bde28 9172static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9173 PyObject *resultobj;
9174 int arg1 ;
9175 int arg2 ;
9176 unsigned char *arg3 = (unsigned char *) 0 ;
9177 wxImage *result;
9178 PyObject * obj0 = 0 ;
9179 PyObject * obj1 = 0 ;
9180 PyObject * obj2 = 0 ;
9181 char *kwnames[] = {
9182 (char *) "width",(char *) "height",(char *) "data", NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 9186 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc 9187 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9188 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
9189 if (PyErr_Occurred()) SWIG_fail;
9190 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
9191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
9200 return resultobj;
9201 fail:
9202 return NULL;
9203}
9204
9205
c32bde28 9206static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9207 PyObject *resultobj;
9208 wxImage *arg1 = (wxImage *) 0 ;
9209 int arg2 ;
9210 int arg3 ;
9211 PyObject * obj0 = 0 ;
9212 PyObject * obj1 = 0 ;
9213 PyObject * obj2 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self",(char *) "width",(char *) "height", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9221 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9222 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9223 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9224 if (PyErr_Occurred()) SWIG_fail;
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 (arg1)->Create(arg2,arg3);
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 Py_INCREF(Py_None); resultobj = Py_None;
9233 return resultobj;
9234 fail:
9235 return NULL;
9236}
9237
9238
c32bde28 9239static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9240 PyObject *resultobj;
9241 wxImage *arg1 = (wxImage *) 0 ;
9242 PyObject * obj0 = 0 ;
9243 char *kwnames[] = {
9244 (char *) "self", NULL
9245 };
9246
9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
9248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 (arg1)->Destroy();
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 Py_INCREF(Py_None); resultobj = Py_None;
9258 return resultobj;
9259 fail:
9260 return NULL;
9261}
9262
9263
c32bde28 9264static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9265 PyObject *resultobj;
9266 wxImage *arg1 = (wxImage *) 0 ;
9267 int arg2 ;
9268 int arg3 ;
9269 SwigValueWrapper< wxImage > result;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 PyObject * obj2 = 0 ;
9273 char *kwnames[] = {
9274 (char *) "self",(char *) "width",(char *) "height", NULL
9275 };
9276
9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9280 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9281 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9282 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9283 if (PyErr_Occurred()) SWIG_fail;
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (arg1)->Scale(arg2,arg3);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 {
9292 wxImage * resultptr;
9293 resultptr = new wxImage((wxImage &) result);
9294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9295 }
9296 return resultobj;
9297 fail:
9298 return NULL;
9299}
9300
9301
c32bde28 9302static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9303 PyObject *resultobj;
9304 wxImage *arg1 = (wxImage *) 0 ;
9305 int arg2 ;
9306 int arg3 ;
9307 SwigValueWrapper< wxImage > result;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 PyObject * obj2 = 0 ;
9311 char *kwnames[] = {
9312 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9313 };
9314
9315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9318 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9319 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9320 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9321 if (PyErr_Occurred()) SWIG_fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 {
9330 wxImage * resultptr;
9331 resultptr = new wxImage((wxImage &) result);
9332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
9333 }
9334 return resultobj;
9335 fail:
9336 return NULL;
9337}
9338
9339
c32bde28 9340static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9341 PyObject *resultobj;
9342 wxImage *arg1 = (wxImage *) 0 ;
9343 int arg2 ;
9344 int arg3 ;
9345 wxImage *result;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 PyObject * obj2 = 0 ;
9349 char *kwnames[] = {
9350 (char *) "self",(char *) "width",(char *) "height", NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
9354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9356 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9357 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9358 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9359 if (PyErr_Occurred()) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 {
9363 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9364 result = (wxImage *) &_result_ref;
9365 }
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
9371 return resultobj;
9372 fail:
9373 return NULL;
9374}
9375
9376
c32bde28 9377static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9378 PyObject *resultobj;
9379 wxImage *arg1 = (wxImage *) 0 ;
9380 int arg2 ;
9381 int arg3 ;
9382 unsigned char arg4 ;
9383 unsigned char arg5 ;
9384 unsigned char arg6 ;
9385 PyObject * obj0 = 0 ;
9386 PyObject * obj1 = 0 ;
9387 PyObject * obj2 = 0 ;
9388 PyObject * obj3 = 0 ;
9389 PyObject * obj4 = 0 ;
9390 PyObject * obj5 = 0 ;
9391 char *kwnames[] = {
9392 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9393 };
9394
9395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9398 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9399 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9400 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 9401 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9402 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc 9403 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9404 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj4);
d55e5bfc 9405 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9406 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj5);
d55e5bfc
RD
9407 if (PyErr_Occurred()) SWIG_fail;
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 Py_INCREF(Py_None); resultobj = Py_None;
9416 return resultobj;
9417 fail:
9418 return NULL;
9419}
9420
9421
c32bde28 9422static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9423 PyObject *resultobj;
9424 wxImage *arg1 = (wxImage *) 0 ;
9425 int arg2 ;
9426 int arg3 ;
9427 unsigned char result;
9428 PyObject * obj0 = 0 ;
9429 PyObject * obj1 = 0 ;
9430 PyObject * obj2 = 0 ;
9431 char *kwnames[] = {
9432 (char *) "self",(char *) "x",(char *) "y", NULL
9433 };
9434
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
9436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9438 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9439 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9440 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9441 if (PyErr_Occurred()) SWIG_fail;
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
c32bde28 9449 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d55e5bfc
RD
9450 return resultobj;
9451 fail:
9452 return NULL;
9453}
9454
9455
c32bde28 9456static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9457 PyObject *resultobj;
9458 wxImage *arg1 = (wxImage *) 0 ;
9459 int arg2 ;
9460 int arg3 ;
9461 unsigned char result;
9462 PyObject * obj0 = 0 ;
9463 PyObject * obj1 = 0 ;
9464 PyObject * obj2 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self",(char *) "x",(char *) "y", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9472 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9473 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9474 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9475 if (PyErr_Occurred()) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
c32bde28 9483 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d55e5bfc
RD
9484 return resultobj;
9485 fail:
9486 return NULL;
9487}
9488
9489
c32bde28 9490static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9491 PyObject *resultobj;
9492 wxImage *arg1 = (wxImage *) 0 ;
9493 int arg2 ;
9494 int arg3 ;
9495 unsigned char result;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 PyObject * obj2 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self",(char *) "x",(char *) "y", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
9504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9506 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9507 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9508 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9509 if (PyErr_Occurred()) SWIG_fail;
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
c32bde28 9517 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d55e5bfc
RD
9518 return resultobj;
9519 fail:
9520 return NULL;
9521}
9522
9523
c32bde28 9524static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9525 PyObject *resultobj;
9526 wxImage *arg1 = (wxImage *) 0 ;
9527 int arg2 ;
9528 int arg3 ;
9529 unsigned char arg4 ;
9530 PyObject * obj0 = 0 ;
9531 PyObject * obj1 = 0 ;
9532 PyObject * obj2 = 0 ;
9533 PyObject * obj3 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9541 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9542 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9543 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 9544 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9545 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc
RD
9546 if (PyErr_Occurred()) SWIG_fail;
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 (arg1)->SetAlpha(arg2,arg3,arg4);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 Py_INCREF(Py_None); resultobj = Py_None;
9555 return resultobj;
9556 fail:
9557 return NULL;
9558}
9559
9560
c32bde28 9561static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9562 PyObject *resultobj;
9563 wxImage *arg1 = (wxImage *) 0 ;
9564 int arg2 ;
9565 int arg3 ;
9566 unsigned char result;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 PyObject * obj2 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self",(char *) "x",(char *) "y", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9577 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 9578 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9579 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9580 if (PyErr_Occurred()) SWIG_fail;
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9584
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
c32bde28 9588 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d55e5bfc
RD
9589 return resultobj;
9590 fail:
9591 return NULL;
9592}
9593
9594
c32bde28 9595static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9596 PyObject *resultobj;
9597 wxImage *arg1 = (wxImage *) 0 ;
9598 bool result;
9599 PyObject * obj0 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
9609 result = (bool)(arg1)->HasAlpha();
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 {
9615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9616 }
9617 return resultobj;
9618 fail:
9619 return NULL;
9620}
9621
9622
c32bde28 9623static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9624 PyObject *resultobj;
9625 wxImage *arg1 = (wxImage *) 0 ;
9626 byte *arg2 = (byte *) 0 ;
9627 byte *arg3 = (byte *) 0 ;
9628 byte *arg4 = (byte *) 0 ;
9629 byte arg5 = (byte) 0 ;
9630 byte arg6 = (byte) 0 ;
9631 byte arg7 = (byte) 0 ;
9632 bool result;
9633 byte temp2 ;
c32bde28 9634 int res2 = 0 ;
d55e5bfc 9635 byte temp3 ;
c32bde28 9636 int res3 = 0 ;
d55e5bfc 9637 byte temp4 ;
c32bde28 9638 int res4 = 0 ;
d55e5bfc
RD
9639 PyObject * obj0 = 0 ;
9640 PyObject * obj1 = 0 ;
9641 PyObject * obj2 = 0 ;
9642 PyObject * obj3 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9645 };
9646
c32bde28
RD
9647 arg2 = &temp2; res2 = SWIG_NEWOBJ;
9648 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9649 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9653 if (obj1) {
c32bde28 9654 arg5 = (byte)SWIG_As_unsigned_SS_char(obj1);
d55e5bfc
RD
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 if (obj2) {
c32bde28 9658 arg6 = (byte)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc
RD
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 if (obj3) {
c32bde28 9662 arg7 = (byte)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc
RD
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 {
9673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9674 }
c32bde28
RD
9675 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
9676 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_byte, 0)));
9677 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9678 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_byte, 0)));
9679 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9680 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_byte, 0)));
d55e5bfc
RD
9681 return resultobj;
9682 fail:
9683 return NULL;
9684}
9685
9686
c32bde28 9687static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) {
4cf4100f
RD
9688 PyObject *resultobj;
9689 wxImage *arg1 = (wxImage *) 0 ;
9690 byte arg2 = (byte) 128 ;
9691 bool result;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "threshold", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9701 if (obj1) {
c32bde28 9702 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
4cf4100f
RD
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (bool)(arg1)->ConvertAlphaToMask(arg2);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 {
9713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9714 }
9715 return resultobj;
9716 fail:
9717 return NULL;
9718}
9719
9720
c32bde28 9721static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9722 PyObject *resultobj;
9723 wxImage *arg1 = (wxImage *) 0 ;
9724 wxImage *arg2 = 0 ;
9725 byte arg3 ;
9726 byte arg4 ;
9727 byte arg5 ;
9728 bool result;
9729 PyObject * obj0 = 0 ;
9730 PyObject * obj1 = 0 ;
9731 PyObject * obj2 = 0 ;
9732 PyObject * obj3 = 0 ;
9733 PyObject * obj4 = 0 ;
9734 char *kwnames[] = {
9735 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9736 };
9737
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
9739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9742 SWIG_POINTER_EXCEPTION | 0)) == -1)
9743 SWIG_fail;
9744 if (arg2 == NULL) {
9745 PyErr_SetString(PyExc_TypeError,"null reference");
9746 SWIG_fail;
9747 }
c32bde28 9748 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc 9749 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9750 arg4 = (byte)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc 9751 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9752 arg5 = (byte)SWIG_As_unsigned_SS_char(obj4);
d55e5bfc
RD
9753 if (PyErr_Occurred()) SWIG_fail;
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 {
9762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9763 }
9764 return resultobj;
9765 fail:
9766 return NULL;
9767}
9768
9769
c32bde28 9770static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9771 PyObject *resultobj;
9772 wxString *arg1 = 0 ;
9773 bool result;
ae8162c8 9774 bool temp1 = false ;
d55e5bfc
RD
9775 PyObject * obj0 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "name", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9781 {
9782 arg1 = wxString_in_helper(obj0);
9783 if (arg1 == NULL) SWIG_fail;
ae8162c8 9784 temp1 = true;
d55e5bfc
RD
9785 }
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 {
9794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9795 }
9796 {
9797 if (temp1)
9798 delete arg1;
9799 }
9800 return resultobj;
9801 fail:
9802 {
9803 if (temp1)
9804 delete arg1;
9805 }
9806 return NULL;
9807}
9808
9809
c32bde28 9810static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9811 PyObject *resultobj;
9812 wxString *arg1 = 0 ;
9813 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9814 int result;
ae8162c8 9815 bool temp1 = false ;
d55e5bfc
RD
9816 PyObject * obj0 = 0 ;
9817 PyObject * obj1 = 0 ;
9818 char *kwnames[] = {
9819 (char *) "name",(char *) "type", NULL
9820 };
9821
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
9823 {
9824 arg1 = wxString_in_helper(obj0);
9825 if (arg1 == NULL) SWIG_fail;
ae8162c8 9826 temp1 = true;
d55e5bfc
RD
9827 }
9828 if (obj1) {
c32bde28 9829 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
c32bde28 9839 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
9840 {
9841 if (temp1)
9842 delete arg1;
9843 }
9844 return resultobj;
9845 fail:
9846 {
9847 if (temp1)
9848 delete arg1;
9849 }
9850 return NULL;
9851}
9852
9853
c32bde28 9854static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9855 PyObject *resultobj;
9856 wxImage *arg1 = (wxImage *) 0 ;
9857 wxString *arg2 = 0 ;
9858 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9859 int arg4 = (int) -1 ;
9860 bool result;
ae8162c8 9861 bool temp2 = false ;
d55e5bfc
RD
9862 PyObject * obj0 = 0 ;
9863 PyObject * obj1 = 0 ;
9864 PyObject * obj2 = 0 ;
9865 PyObject * obj3 = 0 ;
9866 char *kwnames[] = {
9867 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9868 };
9869
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9873 {
9874 arg2 = wxString_in_helper(obj1);
9875 if (arg2 == NULL) SWIG_fail;
ae8162c8 9876 temp2 = true;
d55e5bfc
RD
9877 }
9878 if (obj2) {
c32bde28 9879 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 if (obj3) {
c32bde28 9883 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 {
9894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9895 }
9896 {
9897 if (temp2)
9898 delete arg2;
9899 }
9900 return resultobj;
9901 fail:
9902 {
9903 if (temp2)
9904 delete arg2;
9905 }
9906 return NULL;
9907}
9908
9909
c32bde28 9910static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9911 PyObject *resultobj;
9912 wxImage *arg1 = (wxImage *) 0 ;
9913 wxString *arg2 = 0 ;
9914 wxString *arg3 = 0 ;
9915 int arg4 = (int) -1 ;
9916 bool result;
ae8162c8
RD
9917 bool temp2 = false ;
9918 bool temp3 = false ;
d55e5bfc
RD
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9921 PyObject * obj2 = 0 ;
9922 PyObject * obj3 = 0 ;
9923 char *kwnames[] = {
9924 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9930 {
9931 arg2 = wxString_in_helper(obj1);
9932 if (arg2 == NULL) SWIG_fail;
ae8162c8 9933 temp2 = true;
d55e5bfc
RD
9934 }
9935 {
9936 arg3 = wxString_in_helper(obj2);
9937 if (arg3 == NULL) SWIG_fail;
ae8162c8 9938 temp3 = true;
d55e5bfc
RD
9939 }
9940 if (obj3) {
c32bde28 9941 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 {
9952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9953 }
9954 {
9955 if (temp2)
9956 delete arg2;
9957 }
9958 {
9959 if (temp3)
9960 delete arg3;
9961 }
9962 return resultobj;
9963 fail:
9964 {
9965 if (temp2)
9966 delete arg2;
9967 }
9968 {
9969 if (temp3)
9970 delete arg3;
9971 }
9972 return NULL;
9973}
9974
9975
c32bde28 9976static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9977 PyObject *resultobj;
9978 wxImage *arg1 = (wxImage *) 0 ;
9979 wxString *arg2 = 0 ;
9980 int arg3 ;
9981 bool result;
ae8162c8 9982 bool temp2 = false ;
d55e5bfc
RD
9983 PyObject * obj0 = 0 ;
9984 PyObject * obj1 = 0 ;
9985 PyObject * obj2 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "self",(char *) "name",(char *) "type", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
9991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9993 {
9994 arg2 = wxString_in_helper(obj1);
9995 if (arg2 == NULL) SWIG_fail;
ae8162c8 9996 temp2 = true;
d55e5bfc 9997 }
c32bde28 9998 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
9999 if (PyErr_Occurred()) SWIG_fail;
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 {
10008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10009 }
10010 {
10011 if (temp2)
10012 delete arg2;
10013 }
10014 return resultobj;
10015 fail:
10016 {
10017 if (temp2)
10018 delete arg2;
10019 }
10020 return NULL;
10021}
10022
10023
c32bde28 10024static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10025 PyObject *resultobj;
10026 wxImage *arg1 = (wxImage *) 0 ;
10027 wxString *arg2 = 0 ;
10028 wxString *arg3 = 0 ;
10029 bool result;
ae8162c8
RD
10030 bool temp2 = false ;
10031 bool temp3 = false ;
d55e5bfc
RD
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj1 = 0 ;
10034 PyObject * obj2 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10037 };
10038
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
10040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10042 {
10043 arg2 = wxString_in_helper(obj1);
10044 if (arg2 == NULL) SWIG_fail;
ae8162c8 10045 temp2 = true;
d55e5bfc
RD
10046 }
10047 {
10048 arg3 = wxString_in_helper(obj2);
10049 if (arg3 == NULL) SWIG_fail;
ae8162c8 10050 temp3 = true;
d55e5bfc
RD
10051 }
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 {
10060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10061 }
10062 {
10063 if (temp2)
10064 delete arg2;
10065 }
10066 {
10067 if (temp3)
10068 delete arg3;
10069 }
10070 return resultobj;
10071 fail:
10072 {
10073 if (temp2)
10074 delete arg2;
10075 }
10076 {
10077 if (temp3)
10078 delete arg3;
10079 }
10080 return NULL;
10081}
10082
10083
c32bde28 10084static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10085 PyObject *resultobj;
10086 wxInputStream *arg1 = 0 ;
10087 bool result;
10088 wxPyInputStream *temp1 ;
10089 bool created1 ;
10090 PyObject * obj0 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "stream", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
10096 {
10097 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
10098 arg1 = temp1->m_wxis;
ae8162c8 10099 created1 = false;
d55e5bfc
RD
10100 } else {
10101 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10102 arg1 = wxPyCBInputStream_create(obj0, false);
d55e5bfc
RD
10103 if (arg1 == NULL) {
10104 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10105 SWIG_fail;
10106 }
ae8162c8 10107 created1 = true;
d55e5bfc
RD
10108 }
10109 }
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = (bool)wxImage::CanRead(*arg1);
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 {
10118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10119 }
10120 {
10121 if (created1)
10122 delete arg1;
10123 }
10124 return resultobj;
10125 fail:
10126 {
10127 if (created1)
10128 delete arg1;
10129 }
10130 return NULL;
10131}
10132
10133
c32bde28 10134static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10135 PyObject *resultobj;
10136 wxImage *arg1 = (wxImage *) 0 ;
10137 wxInputStream *arg2 = 0 ;
10138 long arg3 = (long) wxBITMAP_TYPE_ANY ;
10139 int arg4 = (int) -1 ;
10140 bool result;
10141 wxPyInputStream *temp2 ;
10142 bool created2 ;
10143 PyObject * obj0 = 0 ;
10144 PyObject * obj1 = 0 ;
10145 PyObject * obj2 = 0 ;
10146 PyObject * obj3 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10154 {
10155 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
10156 arg2 = temp2->m_wxis;
ae8162c8 10157 created2 = false;
d55e5bfc
RD
10158 } else {
10159 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10160 arg2 = wxPyCBInputStream_create(obj1, false);
d55e5bfc
RD
10161 if (arg2 == NULL) {
10162 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10163 SWIG_fail;
10164 }
ae8162c8 10165 created2 = true;
d55e5bfc
RD
10166 }
10167 }
10168 if (obj2) {
c32bde28 10169 arg3 = (long)SWIG_As_long(obj2);
d55e5bfc
RD
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 if (obj3) {
c32bde28 10173 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 {
10184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10185 }
10186 {
10187 if (created2)
10188 delete arg2;
10189 }
10190 return resultobj;
10191 fail:
10192 {
10193 if (created2)
10194 delete arg2;
10195 }
10196 return NULL;
10197}
10198
10199
c32bde28 10200static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10201 PyObject *resultobj;
10202 wxImage *arg1 = (wxImage *) 0 ;
10203 wxInputStream *arg2 = 0 ;
10204 wxString *arg3 = 0 ;
10205 int arg4 = (int) -1 ;
10206 bool result;
10207 wxPyInputStream *temp2 ;
10208 bool created2 ;
ae8162c8 10209 bool temp3 = false ;
d55e5bfc
RD
10210 PyObject * obj0 = 0 ;
10211 PyObject * obj1 = 0 ;
10212 PyObject * obj2 = 0 ;
10213 PyObject * obj3 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10221 {
10222 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
10223 arg2 = temp2->m_wxis;
ae8162c8 10224 created2 = false;
d55e5bfc
RD
10225 } else {
10226 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10227 arg2 = wxPyCBInputStream_create(obj1, false);
d55e5bfc
RD
10228 if (arg2 == NULL) {
10229 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10230 SWIG_fail;
10231 }
ae8162c8 10232 created2 = true;
d55e5bfc
RD
10233 }
10234 }
10235 {
10236 arg3 = wxString_in_helper(obj2);
10237 if (arg3 == NULL) SWIG_fail;
ae8162c8 10238 temp3 = true;
d55e5bfc
RD
10239 }
10240 if (obj3) {
c32bde28 10241 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 {
10252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10253 }
10254 {
10255 if (created2)
10256 delete arg2;
10257 }
10258 {
10259 if (temp3)
10260 delete arg3;
10261 }
10262 return resultobj;
10263 fail:
10264 {
10265 if (created2)
10266 delete arg2;
10267 }
10268 {
10269 if (temp3)
10270 delete arg3;
10271 }
10272 return NULL;
10273}
10274
10275
c32bde28 10276static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10277 PyObject *resultobj;
10278 wxImage *arg1 = (wxImage *) 0 ;
10279 bool result;
10280 PyObject * obj0 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
10286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 result = (bool)(arg1)->Ok();
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 {
10296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10297 }
10298 return resultobj;
10299 fail:
10300 return NULL;
10301}
10302
10303
c32bde28 10304static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10305 PyObject *resultobj;
10306 wxImage *arg1 = (wxImage *) 0 ;
10307 int result;
10308 PyObject * obj0 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
10314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (int)(arg1)->GetWidth();
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
c32bde28 10323 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10324 return resultobj;
10325 fail:
10326 return NULL;
10327}
10328
10329
c32bde28 10330static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10331 PyObject *resultobj;
10332 wxImage *arg1 = (wxImage *) 0 ;
10333 int result;
10334 PyObject * obj0 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (int)(arg1)->GetHeight();
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
c32bde28 10349 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
10350 return resultobj;
10351 fail:
10352 return NULL;
10353}
10354
10355
c32bde28 10356static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10357 PyObject *resultobj;
10358 wxImage *arg1 = (wxImage *) 0 ;
10359 wxSize result;
10360 PyObject * obj0 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 result = wxImage_GetSize(arg1);
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 {
10376 wxSize * resultptr;
10377 resultptr = new wxSize((wxSize &) result);
10378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10379 }
10380 return resultobj;
10381 fail:
10382 return NULL;
10383}
10384
10385
c32bde28 10386static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10387 PyObject *resultobj;
10388 wxImage *arg1 = (wxImage *) 0 ;
10389 wxRect *arg2 = 0 ;
10390 SwigValueWrapper< wxImage > result;
10391 wxRect temp2 ;
10392 PyObject * obj0 = 0 ;
10393 PyObject * obj1 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self",(char *) "rect", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10401 {
10402 arg2 = &temp2;
10403 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10404 }
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 {
10413 wxImage * resultptr;
10414 resultptr = new wxImage((wxImage &) result);
10415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10416 }
10417 return resultobj;
10418 fail:
10419 return NULL;
10420}
10421
10422
c32bde28 10423static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10424 PyObject *resultobj;
10425 wxImage *arg1 = (wxImage *) 0 ;
10426 SwigValueWrapper< wxImage > result;
10427 PyObject * obj0 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
10433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 result = (arg1)->Copy();
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 {
10443 wxImage * resultptr;
10444 resultptr = new wxImage((wxImage &) result);
10445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10446 }
10447 return resultobj;
10448 fail:
10449 return NULL;
10450}
10451
10452
c32bde28 10453static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10454 PyObject *resultobj;
10455 wxImage *arg1 = (wxImage *) 0 ;
10456 wxImage *arg2 = 0 ;
10457 int arg3 ;
10458 int arg4 ;
10459 PyObject * obj0 = 0 ;
10460 PyObject * obj1 = 0 ;
10461 PyObject * obj2 = 0 ;
10462 PyObject * obj3 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",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 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10471 SWIG_POINTER_EXCEPTION | 0)) == -1)
10472 SWIG_fail;
10473 if (arg2 == NULL) {
10474 PyErr_SetString(PyExc_TypeError,"null reference");
10475 SWIG_fail;
10476 }
c32bde28 10477 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 10478 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10479 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
10480 if (PyErr_Occurred()) SWIG_fail;
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 Py_INCREF(Py_None); resultobj = Py_None;
10489 return resultobj;
10490 fail:
10491 return NULL;
10492}
10493
10494
c32bde28 10495static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10496 PyObject *resultobj;
10497 wxImage *arg1 = (wxImage *) 0 ;
10498 PyObject *result;
10499 PyObject * obj0 = 0 ;
10500 char *kwnames[] = {
10501 (char *) "self", NULL
10502 };
10503
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
10505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 result = (PyObject *)wxImage_GetData(arg1);
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 resultobj = result;
10515 return resultobj;
10516 fail:
10517 return NULL;
10518}
10519
10520
c32bde28 10521static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10522 PyObject *resultobj;
10523 wxImage *arg1 = (wxImage *) 0 ;
10524 PyObject *arg2 = (PyObject *) 0 ;
10525 PyObject * obj0 = 0 ;
10526 PyObject * obj1 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self",(char *) "data", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
10532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10534 arg2 = obj1;
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 wxImage_SetData(arg1,arg2);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546}
10547
10548
c32bde28 10549static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10550 PyObject *resultobj;
10551 wxImage *arg1 = (wxImage *) 0 ;
10552 PyObject *result;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = result;
10569 return resultobj;
10570 fail:
10571 return NULL;
10572}
10573
10574
c32bde28 10575static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10576 PyObject *resultobj;
10577 wxImage *arg1 = (wxImage *) 0 ;
10578 PyObject *arg2 = (PyObject *) 0 ;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self",(char *) "data", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
10586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10588 arg2 = obj1;
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 wxImage_SetDataBuffer(arg1,arg2);
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 Py_INCREF(Py_None); resultobj = Py_None;
10597 return resultobj;
10598 fail:
10599 return NULL;
10600}
10601
10602
c32bde28 10603static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10604 PyObject *resultobj;
10605 wxImage *arg1 = (wxImage *) 0 ;
10606 PyObject *result;
10607 PyObject * obj0 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
10613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 result = (PyObject *)wxImage_GetAlphaData(arg1);
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 resultobj = result;
10623 return resultobj;
10624 fail:
10625 return NULL;
10626}
10627
10628
c32bde28 10629static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10630 PyObject *resultobj;
10631 wxImage *arg1 = (wxImage *) 0 ;
10632 PyObject *arg2 = (PyObject *) 0 ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self",(char *) "data", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
10640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10642 arg2 = obj1;
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 wxImage_SetAlphaData(arg1,arg2);
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 Py_INCREF(Py_None); resultobj = Py_None;
10651 return resultobj;
10652 fail:
10653 return NULL;
10654}
10655
10656
c32bde28 10657static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10658 PyObject *resultobj;
10659 wxImage *arg1 = (wxImage *) 0 ;
10660 PyObject *result;
10661 PyObject * obj0 = 0 ;
10662 char *kwnames[] = {
10663 (char *) "self", NULL
10664 };
10665
10666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
10667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 resultobj = result;
10677 return resultobj;
10678 fail:
10679 return NULL;
10680}
10681
10682
c32bde28 10683static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10684 PyObject *resultobj;
10685 wxImage *arg1 = (wxImage *) 0 ;
10686 PyObject *arg2 = (PyObject *) 0 ;
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj1 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "data", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10696 arg2 = obj1;
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 wxImage_SetAlphaBuffer(arg1,arg2);
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 Py_INCREF(Py_None); resultobj = Py_None;
10705 return resultobj;
10706 fail:
10707 return NULL;
10708}
10709
10710
c32bde28 10711static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10712 PyObject *resultobj;
10713 wxImage *arg1 = (wxImage *) 0 ;
10714 unsigned char arg2 ;
10715 unsigned char arg3 ;
10716 unsigned char arg4 ;
10717 PyObject * obj0 = 0 ;
10718 PyObject * obj1 = 0 ;
10719 PyObject * obj2 = 0 ;
10720 PyObject * obj3 = 0 ;
10721 char *kwnames[] = {
10722 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10723 };
10724
10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10728 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
d55e5bfc 10729 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10730 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc 10731 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10732 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc
RD
10733 if (PyErr_Occurred()) SWIG_fail;
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 (arg1)->SetMaskColour(arg2,arg3,arg4);
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 Py_INCREF(Py_None); resultobj = Py_None;
10742 return resultobj;
10743 fail:
10744 return NULL;
10745}
10746
10747
c32bde28 10748static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10749 PyObject *resultobj;
10750 wxImage *arg1 = (wxImage *) 0 ;
10751 unsigned char result;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (unsigned char)(arg1)->GetMaskRed();
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
c32bde28 10767 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d55e5bfc
RD
10768 return resultobj;
10769 fail:
10770 return NULL;
10771}
10772
10773
c32bde28 10774static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10775 PyObject *resultobj;
10776 wxImage *arg1 = (wxImage *) 0 ;
10777 unsigned char result;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
10784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (unsigned char)(arg1)->GetMaskGreen();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
c32bde28 10793 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d55e5bfc
RD
10794 return resultobj;
10795 fail:
10796 return NULL;
10797}
10798
10799
c32bde28 10800static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10801 PyObject *resultobj;
10802 wxImage *arg1 = (wxImage *) 0 ;
10803 unsigned char result;
10804 PyObject * obj0 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 result = (unsigned char)(arg1)->GetMaskBlue();
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
c32bde28 10819 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d55e5bfc
RD
10820 return resultobj;
10821 fail:
10822 return NULL;
10823}
10824
10825
c32bde28 10826static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10827 PyObject *resultobj;
10828 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 10829 bool arg2 = (bool) true ;
d55e5bfc
RD
10830 PyObject * obj0 = 0 ;
10831 PyObject * obj1 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self",(char *) "mask", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10839 if (obj1) {
c32bde28 10840 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 (arg1)->SetMask(arg2);
10846
10847 wxPyEndAllowThreads(__tstate);
10848 if (PyErr_Occurred()) SWIG_fail;
10849 }
10850 Py_INCREF(Py_None); resultobj = Py_None;
10851 return resultobj;
10852 fail:
10853 return NULL;
10854}
10855
10856
c32bde28 10857static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10858 PyObject *resultobj;
10859 wxImage *arg1 = (wxImage *) 0 ;
10860 bool result;
10861 PyObject * obj0 = 0 ;
10862 char *kwnames[] = {
10863 (char *) "self", NULL
10864 };
10865
10866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
10867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (bool)(arg1)->HasMask();
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 {
10877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10878 }
10879 return resultobj;
10880 fail:
10881 return NULL;
10882}
10883
10884
c32bde28 10885static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10886 PyObject *resultobj;
10887 wxImage *arg1 = (wxImage *) 0 ;
10888 double arg2 ;
10889 wxPoint *arg3 = 0 ;
ae8162c8 10890 bool arg4 = (bool) true ;
d55e5bfc
RD
10891 wxPoint *arg5 = (wxPoint *) NULL ;
10892 SwigValueWrapper< wxImage > result;
10893 wxPoint temp3 ;
10894 PyObject * obj0 = 0 ;
10895 PyObject * obj1 = 0 ;
10896 PyObject * obj2 = 0 ;
10897 PyObject * obj3 = 0 ;
10898 PyObject * obj4 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
10904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10906 arg2 = (double)SWIG_As_double(obj1);
d55e5bfc
RD
10907 if (PyErr_Occurred()) SWIG_fail;
10908 {
10909 arg3 = &temp3;
10910 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10911 }
10912 if (obj3) {
c32bde28 10913 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc
RD
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 if (obj4) {
10917 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10919 }
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 {
10928 wxImage * resultptr;
10929 resultptr = new wxImage((wxImage &) result);
10930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10931 }
10932 return resultobj;
10933 fail:
10934 return NULL;
10935}
10936
10937
c32bde28 10938static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10939 PyObject *resultobj;
10940 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 10941 bool arg2 = (bool) true ;
d55e5bfc
RD
10942 SwigValueWrapper< wxImage > result;
10943 PyObject * obj0 = 0 ;
10944 PyObject * obj1 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self",(char *) "clockwise", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10952 if (obj1) {
c32bde28 10953 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 result = (arg1)->Rotate90(arg2);
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 {
10964 wxImage * resultptr;
10965 resultptr = new wxImage((wxImage &) result);
10966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
10967 }
10968 return resultobj;
10969 fail:
10970 return NULL;
10971}
10972
10973
c32bde28 10974static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10975 PyObject *resultobj;
10976 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 10977 bool arg2 = (bool) true ;
d55e5bfc
RD
10978 SwigValueWrapper< wxImage > result;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 char *kwnames[] = {
10982 (char *) "self",(char *) "horizontally", NULL
10983 };
10984
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
10986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10988 if (obj1) {
c32bde28 10989 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 {
10993 PyThreadState* __tstate = wxPyBeginAllowThreads();
10994 result = (arg1)->Mirror(arg2);
10995
10996 wxPyEndAllowThreads(__tstate);
10997 if (PyErr_Occurred()) SWIG_fail;
10998 }
10999 {
11000 wxImage * resultptr;
11001 resultptr = new wxImage((wxImage &) result);
11002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
11003 }
11004 return resultobj;
11005 fail:
11006 return NULL;
11007}
11008
11009
c32bde28 11010static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11011 PyObject *resultobj;
11012 wxImage *arg1 = (wxImage *) 0 ;
11013 unsigned char arg2 ;
11014 unsigned char arg3 ;
11015 unsigned char arg4 ;
11016 unsigned char arg5 ;
11017 unsigned char arg6 ;
11018 unsigned char arg7 ;
11019 PyObject * obj0 = 0 ;
11020 PyObject * obj1 = 0 ;
11021 PyObject * obj2 = 0 ;
11022 PyObject * obj3 = 0 ;
11023 PyObject * obj4 = 0 ;
11024 PyObject * obj5 = 0 ;
11025 PyObject * obj6 = 0 ;
11026 char *kwnames[] = {
11027 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11028 };
11029
11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11033 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
d55e5bfc 11034 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11035 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc 11036 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11037 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc 11038 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11039 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj4);
d55e5bfc 11040 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11041 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj5);
d55e5bfc 11042 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11043 arg7 = (unsigned char)SWIG_As_unsigned_SS_char(obj6);
d55e5bfc
RD
11044 if (PyErr_Occurred()) SWIG_fail;
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 Py_INCREF(Py_None); resultobj = Py_None;
11053 return resultobj;
11054 fail:
11055 return NULL;
11056}
11057
11058
c32bde28 11059static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11060 PyObject *resultobj;
11061 wxImage *arg1 = (wxImage *) 0 ;
11062 unsigned char arg2 ;
11063 unsigned char arg3 ;
11064 unsigned char arg4 ;
11065 SwigValueWrapper< wxImage > result;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 PyObject * obj3 = 0 ;
11070 char *kwnames[] = {
11071 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11077 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
d55e5bfc 11078 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11079 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc 11080 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11081 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc
RD
11082 if (PyErr_Occurred()) SWIG_fail;
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 {
11091 wxImage * resultptr;
11092 resultptr = new wxImage((wxImage &) result);
11093 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
11094 }
11095 return resultobj;
11096 fail:
11097 return NULL;
11098}
11099
11100
c32bde28 11101static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11102 PyObject *resultobj;
11103 wxImage *arg1 = (wxImage *) 0 ;
11104 wxString *arg2 = 0 ;
11105 wxString *arg3 = 0 ;
ae8162c8
RD
11106 bool temp2 = false ;
11107 bool temp3 = false ;
d55e5bfc
RD
11108 PyObject * obj0 = 0 ;
11109 PyObject * obj1 = 0 ;
11110 PyObject * obj2 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self",(char *) "name",(char *) "value", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
11116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11118 {
11119 arg2 = wxString_in_helper(obj1);
11120 if (arg2 == NULL) SWIG_fail;
ae8162c8 11121 temp2 = true;
d55e5bfc
RD
11122 }
11123 {
11124 arg3 = wxString_in_helper(obj2);
11125 if (arg3 == NULL) SWIG_fail;
ae8162c8 11126 temp3 = true;
d55e5bfc
RD
11127 }
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 Py_INCREF(Py_None); resultobj = Py_None;
11136 {
11137 if (temp2)
11138 delete arg2;
11139 }
11140 {
11141 if (temp3)
11142 delete arg3;
11143 }
11144 return resultobj;
11145 fail:
11146 {
11147 if (temp2)
11148 delete arg2;
11149 }
11150 {
11151 if (temp3)
11152 delete arg3;
11153 }
11154 return NULL;
11155}
11156
11157
c32bde28 11158static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11159 PyObject *resultobj;
11160 wxImage *arg1 = (wxImage *) 0 ;
11161 wxString *arg2 = 0 ;
11162 int arg3 ;
ae8162c8 11163 bool temp2 = false ;
d55e5bfc
RD
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 PyObject * obj2 = 0 ;
11167 char *kwnames[] = {
11168 (char *) "self",(char *) "name",(char *) "value", NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
11172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11174 {
11175 arg2 = wxString_in_helper(obj1);
11176 if (arg2 == NULL) SWIG_fail;
ae8162c8 11177 temp2 = true;
d55e5bfc 11178 }
c32bde28 11179 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
11180 if (PyErr_Occurred()) SWIG_fail;
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetOption((wxString const &)*arg2,arg3);
11184
11185 wxPyEndAllowThreads(__tstate);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 Py_INCREF(Py_None); resultobj = Py_None;
11189 {
11190 if (temp2)
11191 delete arg2;
11192 }
11193 return resultobj;
11194 fail:
11195 {
11196 if (temp2)
11197 delete arg2;
11198 }
11199 return NULL;
11200}
11201
11202
c32bde28 11203static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11204 PyObject *resultobj;
11205 wxImage *arg1 = (wxImage *) 0 ;
11206 wxString *arg2 = 0 ;
11207 wxString result;
ae8162c8 11208 bool temp2 = false ;
d55e5bfc
RD
11209 PyObject * obj0 = 0 ;
11210 PyObject * obj1 = 0 ;
11211 char *kwnames[] = {
11212 (char *) "self",(char *) "name", NULL
11213 };
11214
11215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
11216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11218 {
11219 arg2 = wxString_in_helper(obj1);
11220 if (arg2 == NULL) SWIG_fail;
ae8162c8 11221 temp2 = true;
d55e5bfc
RD
11222 }
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
11226
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) SWIG_fail;
11229 }
11230 {
11231#if wxUSE_UNICODE
11232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11233#else
11234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11235#endif
11236 }
11237 {
11238 if (temp2)
11239 delete arg2;
11240 }
11241 return resultobj;
11242 fail:
11243 {
11244 if (temp2)
11245 delete arg2;
11246 }
11247 return NULL;
11248}
11249
11250
c32bde28 11251static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11252 PyObject *resultobj;
11253 wxImage *arg1 = (wxImage *) 0 ;
11254 wxString *arg2 = 0 ;
11255 int result;
ae8162c8 11256 bool temp2 = false ;
d55e5bfc
RD
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self",(char *) "name", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11266 {
11267 arg2 = wxString_in_helper(obj1);
11268 if (arg2 == NULL) SWIG_fail;
ae8162c8 11269 temp2 = true;
d55e5bfc
RD
11270 }
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
c32bde28 11278 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
11279 {
11280 if (temp2)
11281 delete arg2;
11282 }
11283 return resultobj;
11284 fail:
11285 {
11286 if (temp2)
11287 delete arg2;
11288 }
11289 return NULL;
11290}
11291
11292
c32bde28 11293static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11294 PyObject *resultobj;
11295 wxImage *arg1 = (wxImage *) 0 ;
11296 wxString *arg2 = 0 ;
11297 bool result;
ae8162c8 11298 bool temp2 = false ;
d55e5bfc
RD
11299 PyObject * obj0 = 0 ;
11300 PyObject * obj1 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self",(char *) "name", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
11306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11308 {
11309 arg2 = wxString_in_helper(obj1);
11310 if (arg2 == NULL) SWIG_fail;
ae8162c8 11311 temp2 = true;
d55e5bfc
RD
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11322 }
11323 {
11324 if (temp2)
11325 delete arg2;
11326 }
11327 return resultobj;
11328 fail:
11329 {
11330 if (temp2)
11331 delete arg2;
11332 }
11333 return NULL;
11334}
11335
11336
c32bde28 11337static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11338 PyObject *resultobj;
11339 wxImage *arg1 = (wxImage *) 0 ;
11340 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11341 unsigned long result;
11342 PyObject * obj0 = 0 ;
11343 PyObject * obj1 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self",(char *) "stopafter", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 if (obj1) {
c32bde28 11352 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 result = (unsigned long)(arg1)->CountColours(arg2);
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
c32bde28 11362 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
11363 return resultobj;
11364 fail:
11365 return NULL;
11366}
11367
11368
c32bde28 11369static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11370 PyObject *resultobj;
11371 wxImage *arg1 = (wxImage *) 0 ;
11372 wxImageHistogram *arg2 = 0 ;
11373 unsigned long result;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "self",(char *) "h", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
11381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11384 SWIG_POINTER_EXCEPTION | 0)) == -1)
11385 SWIG_fail;
11386 if (arg2 == NULL) {
11387 PyErr_SetString(PyExc_TypeError,"null reference");
11388 SWIG_fail;
11389 }
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
c32bde28 11397 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
11398 return resultobj;
11399 fail:
11400 return NULL;
11401}
11402
11403
c32bde28 11404static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11405 PyObject *resultobj;
11406 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11407 PyObject * obj0 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "handler", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
11413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 wxImage::AddHandler(arg1);
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 Py_INCREF(Py_None); resultobj = Py_None;
11423 return resultobj;
11424 fail:
11425 return NULL;
11426}
11427
11428
c32bde28 11429static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11430 PyObject *resultobj;
11431 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11432 PyObject * obj0 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "handler", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 wxImage::InsertHandler(arg1);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 Py_INCREF(Py_None); resultobj = Py_None;
11448 return resultobj;
11449 fail:
11450 return NULL;
11451}
11452
11453
c32bde28 11454static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11455 PyObject *resultobj;
11456 wxString *arg1 = 0 ;
11457 bool result;
ae8162c8 11458 bool temp1 = false ;
d55e5bfc
RD
11459 PyObject * obj0 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "name", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11465 {
11466 arg1 = wxString_in_helper(obj0);
11467 if (arg1 == NULL) SWIG_fail;
ae8162c8 11468 temp1 = true;
d55e5bfc
RD
11469 }
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 {
11478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11479 }
11480 {
11481 if (temp1)
11482 delete arg1;
11483 }
11484 return resultobj;
11485 fail:
11486 {
11487 if (temp1)
11488 delete arg1;
11489 }
11490 return NULL;
11491}
11492
11493
c32bde28 11494static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11495 PyObject *resultobj;
11496 wxString result;
11497 char *kwnames[] = {
11498 NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 result = wxImage::GetImageExtWildcard();
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 {
11510#if wxUSE_UNICODE
11511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11512#else
11513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11514#endif
11515 }
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
c32bde28 11522static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11523 PyObject *resultobj;
11524 wxImage *arg1 = (wxImage *) 0 ;
1fbf26be 11525 int arg2 = (int) -1 ;
d55e5bfc
RD
11526 wxBitmap result;
11527 PyObject * obj0 = 0 ;
1fbf26be 11528 PyObject * obj1 = 0 ;
d55e5bfc 11529 char *kwnames[] = {
1fbf26be 11530 (char *) "self",(char *) "depth", NULL
d55e5bfc
RD
11531 };
11532
1fbf26be 11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
11534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fbf26be
RD
11536 if (obj1) {
11537 arg2 = (int)SWIG_As_int(obj1);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
d55e5bfc 11540 {
0439c23b 11541 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fbf26be 11543 result = wxImage_ConvertToBitmap(arg1,arg2);
d55e5bfc
RD
11544
11545 wxPyEndAllowThreads(__tstate);
110da5b0 11546 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11547 }
11548 {
11549 wxBitmap * resultptr;
11550 resultptr = new wxBitmap((wxBitmap &) result);
11551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11552 }
11553 return resultobj;
11554 fail:
11555 return NULL;
11556}
11557
11558
c32bde28 11559static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11560 PyObject *resultobj;
11561 wxImage *arg1 = (wxImage *) 0 ;
11562 unsigned char arg2 ;
11563 unsigned char arg3 ;
11564 unsigned char arg4 ;
11565 wxBitmap result;
11566 PyObject * obj0 = 0 ;
11567 PyObject * obj1 = 0 ;
11568 PyObject * obj2 = 0 ;
11569 PyObject * obj3 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11577 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
d55e5bfc 11578 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11579 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
d55e5bfc 11580 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11581 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
d55e5bfc
RD
11582 if (PyErr_Occurred()) SWIG_fail;
11583 {
0439c23b 11584 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11587
11588 wxPyEndAllowThreads(__tstate);
110da5b0 11589 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11590 }
11591 {
11592 wxBitmap * resultptr;
11593 resultptr = new wxBitmap((wxBitmap &) result);
11594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
11595 }
11596 return resultobj;
11597 fail:
11598 return NULL;
11599}
11600
11601
c32bde28 11602static PyObject * Image_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11603 PyObject *obj;
11604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11605 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11606 Py_INCREF(obj);
11607 return Py_BuildValue((char *)"");
11608}
c32bde28 11609static int _wrap_NullImage_set(PyObject *) {
d55e5bfc
RD
11610 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11611 return 1;
11612}
11613
11614
11615static PyObject *_wrap_NullImage_get() {
11616 PyObject *pyobj;
11617
11618 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
11619 return pyobj;
11620}
11621
11622
c32bde28 11623static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
d55e5bfc
RD
11624 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11625 return 1;
11626}
11627
11628
11629static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11630 PyObject *pyobj;
11631
11632 {
11633#if wxUSE_UNICODE
11634 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11635#else
11636 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11637#endif
11638 }
11639 return pyobj;
11640}
11641
11642
c32bde28 11643static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
d55e5bfc
RD
11644 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11645 return 1;
11646}
11647
11648
11649static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11650 PyObject *pyobj;
11651
11652 {
11653#if wxUSE_UNICODE
11654 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11655#else
11656 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11657#endif
11658 }
11659 return pyobj;
11660}
11661
11662
c32bde28 11663static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
d55e5bfc
RD
11664 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11665 return 1;
11666}
11667
11668
11669static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11670 PyObject *pyobj;
11671
11672 {
11673#if wxUSE_UNICODE
11674 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11675#else
11676 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11677#endif
11678 }
11679 return pyobj;
11680}
11681
11682
c32bde28 11683static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
d55e5bfc
RD
11684 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11685 return 1;
11686}
11687
11688
11689static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11690 PyObject *pyobj;
11691
11692 {
11693#if wxUSE_UNICODE
11694 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11695#else
11696 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11697#endif
11698 }
11699 return pyobj;
11700}
11701
11702
c32bde28 11703static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
d55e5bfc
RD
11704 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11705 return 1;
11706}
11707
11708
11709static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11710 PyObject *pyobj;
11711
11712 {
11713#if wxUSE_UNICODE
11714 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11715#else
11716 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11717#endif
11718 }
11719 return pyobj;
11720}
11721
11722
c32bde28 11723static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11724 PyObject *resultobj;
11725 wxBMPHandler *result;
11726 char *kwnames[] = {
11727 NULL
11728 };
11729
11730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (wxBMPHandler *)new wxBMPHandler();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
11739 return resultobj;
11740 fail:
11741 return NULL;
11742}
11743
11744
c32bde28 11745static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11746 PyObject *obj;
11747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11748 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11749 Py_INCREF(obj);
11750 return Py_BuildValue((char *)"");
11751}
c32bde28 11752static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11753 PyObject *resultobj;
11754 wxICOHandler *result;
11755 char *kwnames[] = {
11756 NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (wxICOHandler *)new wxICOHandler();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
11768 return resultobj;
11769 fail:
11770 return NULL;
11771}
11772
11773
c32bde28 11774static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11775 PyObject *obj;
11776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11777 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11778 Py_INCREF(obj);
11779 return Py_BuildValue((char *)"");
11780}
c32bde28 11781static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11782 PyObject *resultobj;
11783 wxCURHandler *result;
11784 char *kwnames[] = {
11785 NULL
11786 };
11787
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 result = (wxCURHandler *)new wxCURHandler();
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
11797 return resultobj;
11798 fail:
11799 return NULL;
11800}
11801
11802
c32bde28 11803static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11804 PyObject *obj;
11805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11806 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11807 Py_INCREF(obj);
11808 return Py_BuildValue((char *)"");
11809}
c32bde28 11810static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11811 PyObject *resultobj;
11812 wxANIHandler *result;
11813 char *kwnames[] = {
11814 NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (wxANIHandler *)new wxANIHandler();
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
11826 return resultobj;
11827 fail:
11828 return NULL;
11829}
11830
11831
c32bde28 11832static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11833 PyObject *obj;
11834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11835 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11836 Py_INCREF(obj);
11837 return Py_BuildValue((char *)"");
11838}
c32bde28 11839static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11840 PyObject *resultobj;
11841 wxPNGHandler *result;
11842 char *kwnames[] = {
11843 NULL
11844 };
11845
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 result = (wxPNGHandler *)new wxPNGHandler();
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
11855 return resultobj;
11856 fail:
11857 return NULL;
11858}
11859
11860
c32bde28 11861static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11862 PyObject *obj;
11863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11864 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11865 Py_INCREF(obj);
11866 return Py_BuildValue((char *)"");
11867}
c32bde28 11868static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11869 PyObject *resultobj;
11870 wxGIFHandler *result;
11871 char *kwnames[] = {
11872 NULL
11873 };
11874
11875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (wxGIFHandler *)new wxGIFHandler();
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
11884 return resultobj;
11885 fail:
11886 return NULL;
11887}
11888
11889
c32bde28 11890static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11891 PyObject *obj;
11892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11894 Py_INCREF(obj);
11895 return Py_BuildValue((char *)"");
11896}
c32bde28 11897static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11898 PyObject *resultobj;
11899 wxPCXHandler *result;
11900 char *kwnames[] = {
11901 NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11905 {
11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
11907 result = (wxPCXHandler *)new wxPCXHandler();
11908
11909 wxPyEndAllowThreads(__tstate);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
11913 return resultobj;
11914 fail:
11915 return NULL;
11916}
11917
11918
c32bde28 11919static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11920 PyObject *obj;
11921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11922 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11923 Py_INCREF(obj);
11924 return Py_BuildValue((char *)"");
11925}
c32bde28 11926static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11927 PyObject *resultobj;
11928 wxJPEGHandler *result;
11929 char *kwnames[] = {
11930 NULL
11931 };
11932
11933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (wxJPEGHandler *)new wxJPEGHandler();
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
11942 return resultobj;
11943 fail:
11944 return NULL;
11945}
11946
11947
c32bde28 11948static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11949 PyObject *obj;
11950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11951 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11952 Py_INCREF(obj);
11953 return Py_BuildValue((char *)"");
11954}
c32bde28 11955static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11956 PyObject *resultobj;
11957 wxPNMHandler *result;
11958 char *kwnames[] = {
11959 NULL
11960 };
11961
11962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 result = (wxPNMHandler *)new wxPNMHandler();
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
11970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
11971 return resultobj;
11972 fail:
11973 return NULL;
11974}
11975
11976
c32bde28 11977static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11978 PyObject *obj;
11979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11980 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11981 Py_INCREF(obj);
11982 return Py_BuildValue((char *)"");
11983}
c32bde28 11984static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11985 PyObject *resultobj;
11986 wxXPMHandler *result;
11987 char *kwnames[] = {
11988 NULL
11989 };
11990
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11992 {
11993 PyThreadState* __tstate = wxPyBeginAllowThreads();
11994 result = (wxXPMHandler *)new wxXPMHandler();
11995
11996 wxPyEndAllowThreads(__tstate);
11997 if (PyErr_Occurred()) SWIG_fail;
11998 }
11999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
12000 return resultobj;
12001 fail:
12002 return NULL;
12003}
12004
12005
c32bde28 12006static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12007 PyObject *obj;
12008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12009 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
12010 Py_INCREF(obj);
12011 return Py_BuildValue((char *)"");
12012}
c32bde28 12013static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12014 PyObject *resultobj;
12015 wxTIFFHandler *result;
12016 char *kwnames[] = {
12017 NULL
12018 };
12019
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (wxTIFFHandler *)new wxTIFFHandler();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
12029 return resultobj;
12030 fail:
12031 return NULL;
12032}
12033
12034
c32bde28 12035static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12036 PyObject *obj;
12037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12038 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
12039 Py_INCREF(obj);
12040 return Py_BuildValue((char *)"");
12041}
c32bde28 12042static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) {
c0de73ae
RD
12043 PyObject *resultobj;
12044 wxImage *arg1 = 0 ;
12045 wxImage *arg2 = 0 ;
12046 int arg3 = (int) 236 ;
12047 int arg4 = (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE ;
12048 bool result;
12049 PyObject * obj0 = 0 ;
12050 PyObject * obj1 = 0 ;
12051 PyObject * obj2 = 0 ;
12052 PyObject * obj3 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
12059 SWIG_POINTER_EXCEPTION | 0)) == -1)
12060 SWIG_fail;
12061 if (arg1 == NULL) {
12062 PyErr_SetString(PyExc_TypeError,"null reference");
12063 SWIG_fail;
12064 }
12065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
12066 SWIG_POINTER_EXCEPTION | 0)) == -1)
12067 SWIG_fail;
12068 if (arg2 == NULL) {
12069 PyErr_SetString(PyExc_TypeError,"null reference");
12070 SWIG_fail;
12071 }
12072 if (obj2) {
c32bde28 12073 arg3 = (int)SWIG_As_int(obj2);
c0de73ae
RD
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 if (obj3) {
c32bde28 12077 arg4 = (int)SWIG_As_int(obj3);
c0de73ae
RD
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 {
12088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12089 }
12090 return resultobj;
12091 fail:
12092 return NULL;
12093}
12094
12095
c32bde28 12096static PyObject * Quantize_swigregister(PyObject *, PyObject *args) {
c0de73ae
RD
12097 PyObject *obj;
12098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12099 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj);
12100 Py_INCREF(obj);
12101 return Py_BuildValue((char *)"");
12102}
c32bde28 12103static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12104 PyObject *resultobj;
12105 wxEvtHandler *result;
12106 char *kwnames[] = {
12107 NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
12111 {
12112 PyThreadState* __tstate = wxPyBeginAllowThreads();
12113 result = (wxEvtHandler *)new wxEvtHandler();
12114
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
b0f7404b 12118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
d55e5bfc
RD
12119 return resultobj;
12120 fail:
12121 return NULL;
12122}
12123
12124
c32bde28 12125static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12126 PyObject *resultobj;
12127 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12128 wxEvtHandler *result;
12129 PyObject * obj0 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self", NULL
12132 };
12133
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
12135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12137 {
12138 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 result = (wxEvtHandler *)(arg1)->GetNextHandler();
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 {
412d302d 12145 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
12146 }
12147 return resultobj;
12148 fail:
12149 return NULL;
12150}
12151
12152
c32bde28 12153static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12154 PyObject *resultobj;
12155 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12156 wxEvtHandler *result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 {
412d302d 12173 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
12174 }
12175 return resultobj;
12176 fail:
12177 return NULL;
12178}
12179
12180
c32bde28 12181static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12182 PyObject *resultobj;
12183 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12184 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
12185 PyObject * obj0 = 0 ;
12186 PyObject * obj1 = 0 ;
12187 char *kwnames[] = {
12188 (char *) "self",(char *) "handler", NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
12192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
12195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 (arg1)->SetNextHandler(arg2);
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 Py_INCREF(Py_None); resultobj = Py_None;
12204 return resultobj;
12205 fail:
12206 return NULL;
12207}
12208
12209
c32bde28 12210static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12211 PyObject *resultobj;
12212 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12213 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
12214 PyObject * obj0 = 0 ;
12215 PyObject * obj1 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self",(char *) "handler", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
12224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 (arg1)->SetPreviousHandler(arg2);
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 Py_INCREF(Py_None); resultobj = Py_None;
12233 return resultobj;
12234 fail:
12235 return NULL;
12236}
12237
12238
c32bde28 12239static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12240 PyObject *resultobj;
12241 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12242 bool result;
12243 PyObject * obj0 = 0 ;
12244 char *kwnames[] = {
12245 (char *) "self", NULL
12246 };
12247
12248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
12249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (bool)(arg1)->GetEvtHandlerEnabled();
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 {
12259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12260 }
12261 return resultobj;
12262 fail:
12263 return NULL;
12264}
12265
12266
c32bde28 12267static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12268 PyObject *resultobj;
12269 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12270 bool arg2 ;
12271 PyObject * obj0 = 0 ;
12272 PyObject * obj1 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self",(char *) "enabled", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12280 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
12281 if (PyErr_Occurred()) SWIG_fail;
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 (arg1)->SetEvtHandlerEnabled(arg2);
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 Py_INCREF(Py_None); resultobj = Py_None;
12290 return resultobj;
12291 fail:
12292 return NULL;
12293}
12294
12295
c32bde28 12296static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12297 PyObject *resultobj;
12298 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12299 wxEvent *arg2 = 0 ;
12300 bool result;
12301 PyObject * obj0 = 0 ;
12302 PyObject * obj1 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self",(char *) "event", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12311 SWIG_POINTER_EXCEPTION | 0)) == -1)
12312 SWIG_fail;
12313 if (arg2 == NULL) {
12314 PyErr_SetString(PyExc_TypeError,"null reference");
12315 SWIG_fail;
12316 }
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 result = (bool)(arg1)->ProcessEvent(*arg2);
12320
12321 wxPyEndAllowThreads(__tstate);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 }
12324 {
12325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12326 }
12327 return resultobj;
12328 fail:
12329 return NULL;
12330}
12331
12332
c32bde28 12333static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12334 PyObject *resultobj;
12335 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12336 wxEvent *arg2 = 0 ;
12337 PyObject * obj0 = 0 ;
12338 PyObject * obj1 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self",(char *) "event", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12347 SWIG_POINTER_EXCEPTION | 0)) == -1)
12348 SWIG_fail;
12349 if (arg2 == NULL) {
12350 PyErr_SetString(PyExc_TypeError,"null reference");
12351 SWIG_fail;
12352 }
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 (arg1)->AddPendingEvent(*arg2);
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 Py_INCREF(Py_None); resultobj = Py_None;
12361 return resultobj;
12362 fail:
12363 return NULL;
12364}
12365
12366
c32bde28 12367static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12368 PyObject *resultobj;
12369 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12370 PyObject * obj0 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 (arg1)->ProcessPendingEvents();
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 Py_INCREF(Py_None); resultobj = Py_None;
12386 return resultobj;
12387 fail:
12388 return NULL;
12389}
12390
12391
c32bde28 12392static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12393 PyObject *resultobj;
12394 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12395 int arg2 ;
12396 int arg3 ;
12397 int arg4 ;
12398 PyObject *arg5 = (PyObject *) 0 ;
12399 PyObject * obj0 = 0 ;
12400 PyObject * obj1 = 0 ;
12401 PyObject * obj2 = 0 ;
12402 PyObject * obj3 = 0 ;
12403 PyObject * obj4 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12411 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 12412 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12413 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 12414 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12415 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
12416 if (PyErr_Occurred()) SWIG_fail;
12417 arg5 = obj4;
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 Py_INCREF(Py_None); resultobj = Py_None;
12426 return resultobj;
12427 fail:
12428 return NULL;
12429}
12430
12431
c32bde28 12432static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12433 PyObject *resultobj;
12434 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12435 int arg2 ;
12436 int arg3 = (int) -1 ;
12437 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12438 bool result;
12439 PyObject * obj0 = 0 ;
12440 PyObject * obj1 = 0 ;
12441 PyObject * obj2 = 0 ;
12442 PyObject * obj3 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12450 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12451 if (PyErr_Occurred()) SWIG_fail;
12452 if (obj2) {
c32bde28 12453 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 if (obj3) {
c32bde28 12457 arg4 = (wxEventType)SWIG_As_int(obj3);
d55e5bfc
RD
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 {
12468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12469 }
12470 return resultobj;
12471 fail:
12472 return NULL;
12473}
12474
12475
c32bde28 12476static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12477 PyObject *resultobj;
12478 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12479 PyObject *arg2 = (PyObject *) 0 ;
12480 PyObject * obj0 = 0 ;
12481 PyObject * obj1 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self",(char *) "_self", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
12487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12489 arg2 = obj1;
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 wxEvtHandler__setOORInfo(arg1,arg2);
12493
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 Py_INCREF(Py_None); resultobj = Py_None;
12498 return resultobj;
12499 fail:
12500 return NULL;
12501}
12502
12503
c32bde28 12504static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12505 PyObject *obj;
12506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12507 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12508 Py_INCREF(obj);
12509 return Py_BuildValue((char *)"");
12510}
c32bde28 12511static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12512 PyObject *resultobj;
12513 wxEventType result;
12514 char *kwnames[] = {
12515 NULL
12516 };
12517
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (wxEventType)wxNewEventType();
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
c32bde28 12526 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12527 return resultobj;
12528 fail:
12529 return NULL;
12530}
12531
12532
c32bde28 12533static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12534 PyObject *resultobj;
12535 wxEvent *arg1 = (wxEvent *) 0 ;
12536 PyObject * obj0 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
12542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 delete arg1;
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
12551 Py_INCREF(Py_None); resultobj = Py_None;
12552 return resultobj;
12553 fail:
12554 return NULL;
12555}
12556
12557
c32bde28 12558static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12559 PyObject *resultobj;
12560 wxEvent *arg1 = (wxEvent *) 0 ;
12561 wxEventType arg2 ;
12562 PyObject * obj0 = 0 ;
12563 PyObject * obj1 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self",(char *) "typ", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12571 arg2 = (wxEventType)SWIG_As_int(obj1);
d55e5bfc
RD
12572 if (PyErr_Occurred()) SWIG_fail;
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
12575 (arg1)->SetEventType(arg2);
12576
12577 wxPyEndAllowThreads(__tstate);
12578 if (PyErr_Occurred()) SWIG_fail;
12579 }
12580 Py_INCREF(Py_None); resultobj = Py_None;
12581 return resultobj;
12582 fail:
12583 return NULL;
12584}
12585
12586
c32bde28 12587static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12588 PyObject *resultobj;
12589 wxEvent *arg1 = (wxEvent *) 0 ;
12590 wxEventType result;
12591 PyObject * obj0 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
c32bde28 12606 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12607 return resultobj;
12608 fail:
12609 return NULL;
12610}
12611
12612
c32bde28 12613static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12614 PyObject *resultobj;
12615 wxEvent *arg1 = (wxEvent *) 0 ;
12616 wxObject *result;
12617 PyObject * obj0 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
12623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 {
412d302d 12633 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
12634 }
12635 return resultobj;
12636 fail:
12637 return NULL;
12638}
12639
12640
c32bde28 12641static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12642 PyObject *resultobj;
12643 wxEvent *arg1 = (wxEvent *) 0 ;
12644 wxObject *arg2 = (wxObject *) 0 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self",(char *) "obj", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
12652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 (arg1)->SetEventObject(arg2);
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
12663 Py_INCREF(Py_None); resultobj = Py_None;
12664 return resultobj;
12665 fail:
12666 return NULL;
12667}
12668
12669
c32bde28 12670static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12671 PyObject *resultobj;
12672 wxEvent *arg1 = (wxEvent *) 0 ;
12673 long result;
12674 PyObject * obj0 = 0 ;
12675 char *kwnames[] = {
12676 (char *) "self", NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
12680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12685
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
c32bde28 12689 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
12690 return resultobj;
12691 fail:
12692 return NULL;
12693}
12694
12695
c32bde28 12696static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12697 PyObject *resultobj;
12698 wxEvent *arg1 = (wxEvent *) 0 ;
12699 long arg2 = (long) 0 ;
12700 PyObject * obj0 = 0 ;
12701 PyObject * obj1 = 0 ;
12702 char *kwnames[] = {
12703 (char *) "self",(char *) "ts", NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
12707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12709 if (obj1) {
c32bde28 12710 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 (arg1)->SetTimestamp(arg2);
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
12720 Py_INCREF(Py_None); resultobj = Py_None;
12721 return resultobj;
12722 fail:
12723 return NULL;
12724}
12725
12726
c32bde28 12727static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12728 PyObject *resultobj;
12729 wxEvent *arg1 = (wxEvent *) 0 ;
12730 int result;
12731 PyObject * obj0 = 0 ;
12732 char *kwnames[] = {
12733 (char *) "self", NULL
12734 };
12735
12736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
12737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12739 {
12740 PyThreadState* __tstate = wxPyBeginAllowThreads();
12741 result = (int)((wxEvent const *)arg1)->GetId();
12742
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
c32bde28 12746 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12747 return resultobj;
12748 fail:
12749 return NULL;
12750}
12751
12752
c32bde28 12753static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12754 PyObject *resultobj;
12755 wxEvent *arg1 = (wxEvent *) 0 ;
12756 int arg2 ;
12757 PyObject * obj0 = 0 ;
12758 PyObject * obj1 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self",(char *) "Id", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
12764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12766 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12767 if (PyErr_Occurred()) SWIG_fail;
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 (arg1)->SetId(arg2);
12771
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 Py_INCREF(Py_None); resultobj = Py_None;
12776 return resultobj;
12777 fail:
12778 return NULL;
12779}
12780
12781
c32bde28 12782static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12783 PyObject *resultobj;
12784 wxEvent *arg1 = (wxEvent *) 0 ;
12785 bool result;
12786 PyObject * obj0 = 0 ;
12787 char *kwnames[] = {
12788 (char *) "self", NULL
12789 };
12790
12791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
12792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12797
12798 wxPyEndAllowThreads(__tstate);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 }
12801 {
12802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12803 }
12804 return resultobj;
12805 fail:
12806 return NULL;
12807}
12808
12809
c32bde28 12810static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12811 PyObject *resultobj;
12812 wxEvent *arg1 = (wxEvent *) 0 ;
ae8162c8 12813 bool arg2 = (bool) true ;
d55e5bfc
RD
12814 PyObject * obj0 = 0 ;
12815 PyObject * obj1 = 0 ;
12816 char *kwnames[] = {
12817 (char *) "self",(char *) "skip", NULL
12818 };
12819
12820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
12821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12823 if (obj1) {
c32bde28 12824 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 {
12828 PyThreadState* __tstate = wxPyBeginAllowThreads();
12829 (arg1)->Skip(arg2);
12830
12831 wxPyEndAllowThreads(__tstate);
12832 if (PyErr_Occurred()) SWIG_fail;
12833 }
12834 Py_INCREF(Py_None); resultobj = Py_None;
12835 return resultobj;
12836 fail:
12837 return NULL;
12838}
12839
12840
c32bde28 12841static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12842 PyObject *resultobj;
12843 wxEvent *arg1 = (wxEvent *) 0 ;
12844 bool result;
12845 PyObject * obj0 = 0 ;
12846 char *kwnames[] = {
12847 (char *) "self", NULL
12848 };
12849
12850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
12851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 {
12861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12862 }
12863 return resultobj;
12864 fail:
12865 return NULL;
12866}
12867
12868
c32bde28 12869static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12870 PyObject *resultobj;
12871 wxEvent *arg1 = (wxEvent *) 0 ;
12872 bool result;
12873 PyObject * obj0 = 0 ;
12874 char *kwnames[] = {
12875 (char *) "self", NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
12879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12884
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 {
12889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12890 }
12891 return resultobj;
12892 fail:
12893 return NULL;
12894}
12895
12896
c32bde28 12897static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12898 PyObject *resultobj;
12899 wxEvent *arg1 = (wxEvent *) 0 ;
12900 int result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 result = (int)(arg1)->StopPropagation();
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
c32bde28 12916 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
12917 return resultobj;
12918 fail:
12919 return NULL;
12920}
12921
12922
c32bde28 12923static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12924 PyObject *resultobj;
12925 wxEvent *arg1 = (wxEvent *) 0 ;
12926 int arg2 ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 char *kwnames[] = {
12930 (char *) "self",(char *) "propagationLevel", NULL
12931 };
12932
12933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
12934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12936 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
12937 if (PyErr_Occurred()) SWIG_fail;
12938 {
12939 PyThreadState* __tstate = wxPyBeginAllowThreads();
12940 (arg1)->ResumePropagation(arg2);
12941
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 Py_INCREF(Py_None); resultobj = Py_None;
12946 return resultobj;
12947 fail:
12948 return NULL;
12949}
12950
12951
c32bde28 12952static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12953 PyObject *resultobj;
12954 wxEvent *arg1 = (wxEvent *) 0 ;
12955 wxEvent *result;
12956 PyObject * obj0 = 0 ;
12957 char *kwnames[] = {
12958 (char *) "self", NULL
12959 };
12960
12961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
12962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 result = (wxEvent *)(arg1)->Clone();
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
12972 return resultobj;
12973 fail:
12974 return NULL;
12975}
12976
12977
c32bde28 12978static PyObject * Event_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12979 PyObject *obj;
12980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12981 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12982 Py_INCREF(obj);
12983 return Py_BuildValue((char *)"");
12984}
c32bde28 12985static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12986 PyObject *resultobj;
12987 wxEvent *arg1 = 0 ;
12988 wxPropagationDisabler *result;
12989 PyObject * obj0 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "event", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
12995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12996 SWIG_POINTER_EXCEPTION | 0)) == -1)
12997 SWIG_fail;
12998 if (arg1 == NULL) {
12999 PyErr_SetString(PyExc_TypeError,"null reference");
13000 SWIG_fail;
13001 }
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
13010 return resultobj;
13011 fail:
13012 return NULL;
13013}
13014
13015
c32bde28 13016static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13017 PyObject *resultobj;
13018 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
13019 PyObject * obj0 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
13025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
13026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 delete arg1;
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 Py_INCREF(Py_None); resultobj = Py_None;
13035 return resultobj;
13036 fail:
13037 return NULL;
13038}
13039
13040
c32bde28 13041static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13042 PyObject *obj;
13043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
13045 Py_INCREF(obj);
13046 return Py_BuildValue((char *)"");
13047}
c32bde28 13048static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13049 PyObject *resultobj;
13050 wxEvent *arg1 = 0 ;
13051 wxPropagateOnce *result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "event", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13059 SWIG_POINTER_EXCEPTION | 0)) == -1)
13060 SWIG_fail;
13061 if (arg1 == NULL) {
13062 PyErr_SetString(PyExc_TypeError,"null reference");
13063 SWIG_fail;
13064 }
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
13073 return resultobj;
13074 fail:
13075 return NULL;
13076}
13077
13078
c32bde28 13079static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13080 PyObject *resultobj;
13081 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
13082 PyObject * obj0 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
13088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
13089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 delete arg1;
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 Py_INCREF(Py_None); resultobj = Py_None;
13098 return resultobj;
13099 fail:
13100 return NULL;
13101}
13102
13103
c32bde28 13104static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13105 PyObject *obj;
13106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13107 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
13108 Py_INCREF(obj);
13109 return Py_BuildValue((char *)"");
13110}
c32bde28 13111static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13112 PyObject *resultobj;
13113 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13114 int arg2 = (int) 0 ;
13115 wxCommandEvent *result;
13116 PyObject * obj0 = 0 ;
13117 PyObject * obj1 = 0 ;
13118 char *kwnames[] = {
13119 (char *) "commandType",(char *) "winid", NULL
13120 };
13121
13122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
13123 if (obj0) {
c32bde28 13124 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 if (obj1) {
c32bde28 13128 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
13139 return resultobj;
13140 fail:
13141 return NULL;
13142}
13143
13144
c32bde28 13145static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13146 PyObject *resultobj;
13147 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13148 int result;
13149 PyObject * obj0 = 0 ;
13150 char *kwnames[] = {
13151 (char *) "self", NULL
13152 };
13153
13154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
13155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
13160
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
c32bde28 13164 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13165 return resultobj;
13166 fail:
13167 return NULL;
13168}
13169
13170
c32bde28 13171static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13172 PyObject *resultobj;
13173 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13174 wxString *arg2 = 0 ;
ae8162c8 13175 bool temp2 = false ;
d55e5bfc
RD
13176 PyObject * obj0 = 0 ;
13177 PyObject * obj1 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self",(char *) "s", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
13183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13185 {
13186 arg2 = wxString_in_helper(obj1);
13187 if (arg2 == NULL) SWIG_fail;
ae8162c8 13188 temp2 = true;
d55e5bfc
RD
13189 }
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 (arg1)->SetString((wxString const &)*arg2);
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 Py_INCREF(Py_None); resultobj = Py_None;
13198 {
13199 if (temp2)
13200 delete arg2;
13201 }
13202 return resultobj;
13203 fail:
13204 {
13205 if (temp2)
13206 delete arg2;
13207 }
13208 return NULL;
13209}
13210
13211
c32bde28 13212static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13213 PyObject *resultobj;
13214 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13215 wxString result;
13216 PyObject * obj0 = 0 ;
13217 char *kwnames[] = {
13218 (char *) "self", NULL
13219 };
13220
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
13222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 result = ((wxCommandEvent const *)arg1)->GetString();
13227
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 {
13232#if wxUSE_UNICODE
13233 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13234#else
13235 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13236#endif
13237 }
13238 return resultobj;
13239 fail:
13240 return NULL;
13241}
13242
13243
c32bde28 13244static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13245 PyObject *resultobj;
13246 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13247 bool result;
13248 PyObject * obj0 = 0 ;
13249 char *kwnames[] = {
13250 (char *) "self", NULL
13251 };
13252
13253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
13254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
13259
13260 wxPyEndAllowThreads(__tstate);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
13263 {
13264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13265 }
13266 return resultobj;
13267 fail:
13268 return NULL;
13269}
13270
13271
c32bde28 13272static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13273 PyObject *resultobj;
13274 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13275 bool result;
13276 PyObject * obj0 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
13287
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 {
13292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13293 }
13294 return resultobj;
13295 fail:
13296 return NULL;
13297}
13298
13299
c32bde28 13300static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13301 PyObject *resultobj;
13302 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13303 long arg2 ;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self",(char *) "extraLong", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13313 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
13314 if (PyErr_Occurred()) SWIG_fail;
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 (arg1)->SetExtraLong(arg2);
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 Py_INCREF(Py_None); resultobj = Py_None;
13323 return resultobj;
13324 fail:
13325 return NULL;
13326}
13327
13328
c32bde28 13329static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13330 PyObject *resultobj;
13331 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13332 long result;
13333 PyObject * obj0 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
13339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
c32bde28 13348 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
13349 return resultobj;
13350 fail:
13351 return NULL;
13352}
13353
13354
c32bde28 13355static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13356 PyObject *resultobj;
13357 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13358 int arg2 ;
13359 PyObject * obj0 = 0 ;
13360 PyObject * obj1 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "self",(char *) "i", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
13366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13368 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13369 if (PyErr_Occurred()) SWIG_fail;
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 (arg1)->SetInt(arg2);
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 Py_INCREF(Py_None); resultobj = Py_None;
13378 return resultobj;
13379 fail:
13380 return NULL;
13381}
13382
13383
c32bde28 13384static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13385 PyObject *resultobj;
13386 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13387 long result;
13388 PyObject * obj0 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
c32bde28 13403 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
13404 return resultobj;
13405 fail:
13406 return NULL;
13407}
13408
13409
c32bde28 13410static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13411 PyObject *resultobj;
13412 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13413 wxEvent *result;
13414 PyObject * obj0 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
13420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
13430 return resultobj;
13431 fail:
13432 return NULL;
13433}
13434
13435
c32bde28 13436static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13437 PyObject *obj;
13438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13439 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13440 Py_INCREF(obj);
13441 return Py_BuildValue((char *)"");
13442}
c32bde28 13443static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13444 PyObject *resultobj;
13445 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13446 int arg2 = (int) 0 ;
13447 wxNotifyEvent *result;
13448 PyObject * obj0 = 0 ;
13449 PyObject * obj1 = 0 ;
13450 char *kwnames[] = {
13451 (char *) "commandType",(char *) "winid", NULL
13452 };
13453
13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13455 if (obj0) {
c32bde28 13456 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
13457 if (PyErr_Occurred()) SWIG_fail;
13458 }
13459 if (obj1) {
c32bde28 13460 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13461 if (PyErr_Occurred()) SWIG_fail;
13462 }
13463 {
13464 PyThreadState* __tstate = wxPyBeginAllowThreads();
13465 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13466
13467 wxPyEndAllowThreads(__tstate);
13468 if (PyErr_Occurred()) SWIG_fail;
13469 }
13470 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
13471 return resultobj;
13472 fail:
13473 return NULL;
13474}
13475
13476
c32bde28 13477static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13478 PyObject *resultobj;
13479 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13480 PyObject * obj0 = 0 ;
13481 char *kwnames[] = {
13482 (char *) "self", NULL
13483 };
13484
13485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
13486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 (arg1)->Veto();
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 Py_INCREF(Py_None); resultobj = Py_None;
13496 return resultobj;
13497 fail:
13498 return NULL;
13499}
13500
13501
c32bde28 13502static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13503 PyObject *resultobj;
13504 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13505 PyObject * obj0 = 0 ;
13506 char *kwnames[] = {
13507 (char *) "self", NULL
13508 };
13509
13510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
13511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 (arg1)->Allow();
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
13520 Py_INCREF(Py_None); resultobj = Py_None;
13521 return resultobj;
13522 fail:
13523 return NULL;
13524}
13525
13526
c32bde28 13527static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13528 PyObject *resultobj;
13529 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13530 bool result;
13531 PyObject * obj0 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 result = (bool)(arg1)->IsAllowed();
13542
13543 wxPyEndAllowThreads(__tstate);
13544 if (PyErr_Occurred()) SWIG_fail;
13545 }
13546 {
13547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13548 }
13549 return resultobj;
13550 fail:
13551 return NULL;
13552}
13553
13554
c32bde28 13555static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13556 PyObject *obj;
13557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13558 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13559 Py_INCREF(obj);
13560 return Py_BuildValue((char *)"");
13561}
c32bde28 13562static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13563 PyObject *resultobj;
13564 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13565 int arg2 = (int) 0 ;
13566 int arg3 = (int) 0 ;
13567 int arg4 = (int) 0 ;
13568 wxScrollEvent *result;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 PyObject * obj2 = 0 ;
13572 PyObject * obj3 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13578 if (obj0) {
c32bde28 13579 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 if (obj1) {
c32bde28 13583 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 if (obj2) {
c32bde28 13587 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 if (obj3) {
c32bde28 13591 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
13601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
13602 return resultobj;
13603 fail:
13604 return NULL;
13605}
13606
13607
c32bde28 13608static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13609 PyObject *resultobj;
13610 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13611 int result;
13612 PyObject * obj0 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
13618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
c32bde28 13627 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13628 return resultobj;
13629 fail:
13630 return NULL;
13631}
13632
13633
c32bde28 13634static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13635 PyObject *resultobj;
13636 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13637 int result;
13638 PyObject * obj0 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
13644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
c32bde28 13653 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13654 return resultobj;
13655 fail:
13656 return NULL;
13657}
13658
13659
c32bde28 13660static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13661 PyObject *resultobj;
13662 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13663 int arg2 ;
13664 PyObject * obj0 = 0 ;
13665 PyObject * obj1 = 0 ;
13666 char *kwnames[] = {
13667 (char *) "self",(char *) "orient", NULL
13668 };
13669
13670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13673 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13674 if (PyErr_Occurred()) SWIG_fail;
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 (arg1)->SetOrientation(arg2);
13678
13679 wxPyEndAllowThreads(__tstate);
13680 if (PyErr_Occurred()) SWIG_fail;
13681 }
13682 Py_INCREF(Py_None); resultobj = Py_None;
13683 return resultobj;
13684 fail:
13685 return NULL;
13686}
13687
13688
c32bde28 13689static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13690 PyObject *resultobj;
13691 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13692 int arg2 ;
13693 PyObject * obj0 = 0 ;
13694 PyObject * obj1 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "self",(char *) "pos", NULL
13697 };
13698
13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13702 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13703 if (PyErr_Occurred()) SWIG_fail;
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 (arg1)->SetPosition(arg2);
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 Py_INCREF(Py_None); resultobj = Py_None;
13712 return resultobj;
13713 fail:
13714 return NULL;
13715}
13716
13717
c32bde28 13718static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13719 PyObject *obj;
13720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13721 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13722 Py_INCREF(obj);
13723 return Py_BuildValue((char *)"");
13724}
c32bde28 13725static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13726 PyObject *resultobj;
13727 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13728 int arg2 = (int) 0 ;
13729 int arg3 = (int) 0 ;
13730 wxScrollWinEvent *result;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 PyObject * obj2 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13739 if (obj0) {
c32bde28 13740 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 if (obj1) {
c32bde28 13744 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13745 if (PyErr_Occurred()) SWIG_fail;
13746 }
13747 if (obj2) {
c32bde28 13748 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13754
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
13759 return resultobj;
13760 fail:
13761 return NULL;
13762}
13763
13764
c32bde28 13765static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13766 PyObject *resultobj;
13767 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13768 int result;
13769 PyObject * obj0 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
13775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
c32bde28 13784 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13785 return resultobj;
13786 fail:
13787 return NULL;
13788}
13789
13790
c32bde28 13791static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13792 PyObject *resultobj;
13793 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13794 int result;
13795 PyObject * obj0 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "self", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
13801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
c32bde28 13810 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
13811 return resultobj;
13812 fail:
13813 return NULL;
13814}
13815
13816
c32bde28 13817static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13818 PyObject *resultobj;
13819 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13820 int arg2 ;
13821 PyObject * obj0 = 0 ;
13822 PyObject * obj1 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self",(char *) "orient", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
13828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13830 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13831 if (PyErr_Occurred()) SWIG_fail;
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 (arg1)->SetOrientation(arg2);
13835
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 }
13839 Py_INCREF(Py_None); resultobj = Py_None;
13840 return resultobj;
13841 fail:
13842 return NULL;
13843}
13844
13845
c32bde28 13846static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13847 PyObject *resultobj;
13848 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13849 int arg2 ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "pos", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13859 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13860 if (PyErr_Occurred()) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 (arg1)->SetPosition(arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
c32bde28 13875static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13876 PyObject *obj;
13877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13878 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13879 Py_INCREF(obj);
13880 return Py_BuildValue((char *)"");
13881}
c32bde28 13882static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13883 PyObject *resultobj;
13884 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13885 wxMouseEvent *result;
13886 PyObject * obj0 = 0 ;
13887 char *kwnames[] = {
13888 (char *) "mouseType", NULL
13889 };
13890
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13892 if (obj0) {
c32bde28 13893 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 {
412d302d 13904 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
13905 }
13906 return resultobj;
13907 fail:
13908 return NULL;
13909}
13910
13911
c32bde28 13912static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
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_IsButton",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)->IsButton();
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
c32bde28 13940static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13941 PyObject *resultobj;
13942 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13943 int arg2 = (int) wxMOUSE_BTN_ANY ;
13944 bool result;
13945 PyObject * obj0 = 0 ;
13946 PyObject * obj1 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self",(char *) "but", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
13952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13954 if (obj1) {
c32bde28 13955 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 {
13966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13967 }
13968 return resultobj;
13969 fail:
13970 return NULL;
13971}
13972
13973
c32bde28 13974static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13975 PyObject *resultobj;
13976 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13977 int arg2 = (int) wxMOUSE_BTN_ANY ;
13978 bool result;
13979 PyObject * obj0 = 0 ;
13980 PyObject * obj1 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self",(char *) "but", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
13986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13988 if (obj1) {
c32bde28 13989 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 {
14000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14001 }
14002 return resultobj;
14003 fail:
14004 return NULL;
14005}
14006
14007
c32bde28 14008static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14009 PyObject *resultobj;
14010 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14011 int arg2 = (int) wxMOUSE_BTN_ANY ;
14012 bool result;
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self",(char *) "but", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
14020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14022 if (obj1) {
c32bde28 14023 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 {
14034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14035 }
14036 return resultobj;
14037 fail:
14038 return NULL;
14039}
14040
14041
c32bde28 14042static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14043 PyObject *resultobj;
14044 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14045 int arg2 ;
14046 bool result;
14047 PyObject * obj0 = 0 ;
14048 PyObject * obj1 = 0 ;
14049 char *kwnames[] = {
14050 (char *) "self",(char *) "but", NULL
14051 };
14052
14053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
14054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14056 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14057 if (PyErr_Occurred()) SWIG_fail;
14058 {
14059 PyThreadState* __tstate = wxPyBeginAllowThreads();
14060 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
14061
14062 wxPyEndAllowThreads(__tstate);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 {
14066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14067 }
14068 return resultobj;
14069 fail:
14070 return NULL;
14071}
14072
14073
c32bde28 14074static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14075 PyObject *resultobj;
14076 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14077 int arg2 ;
14078 bool result;
14079 PyObject * obj0 = 0 ;
14080 PyObject * obj1 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self",(char *) "but", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14088 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14089 if (PyErr_Occurred()) SWIG_fail;
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 {
14098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14099 }
14100 return resultobj;
14101 fail:
14102 return NULL;
14103}
14104
14105
c32bde28 14106static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14107 PyObject *resultobj;
14108 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14109 int result;
14110 PyObject * obj0 = 0 ;
14111 char *kwnames[] = {
14112 (char *) "self", NULL
14113 };
14114
14115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
14116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (int)((wxMouseEvent const *)arg1)->GetButton();
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
c32bde28 14125 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14126 return resultobj;
14127 fail:
14128 return NULL;
14129}
14130
14131
c32bde28 14132static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14133 PyObject *resultobj;
14134 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14135 bool result;
14136 PyObject * obj0 = 0 ;
14137 char *kwnames[] = {
14138 (char *) "self", NULL
14139 };
14140
14141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
14142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14144 {
14145 PyThreadState* __tstate = wxPyBeginAllowThreads();
14146 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
14147
14148 wxPyEndAllowThreads(__tstate);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 }
14151 {
14152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14153 }
14154 return resultobj;
14155 fail:
14156 return NULL;
14157}
14158
14159
c32bde28 14160static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14161 PyObject *resultobj;
14162 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14163 bool result;
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
14170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 {
14180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14181 }
14182 return resultobj;
14183 fail:
14184 return NULL;
14185}
14186
14187
c32bde28 14188static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14189 PyObject *resultobj;
14190 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14191 bool result;
14192 PyObject * obj0 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
14198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 {
14208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14209 }
14210 return resultobj;
14211 fail:
14212 return NULL;
14213}
14214
14215
c32bde28 14216static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14217 PyObject *resultobj;
14218 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14219 bool result;
14220 PyObject * obj0 = 0 ;
14221 char *kwnames[] = {
14222 (char *) "self", NULL
14223 };
14224
14225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
14226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
14231
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 {
14236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14237 }
14238 return resultobj;
14239 fail:
14240 return NULL;
14241}
14242
14243
c32bde28 14244static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
14245 PyObject *resultobj;
14246 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14247 bool result;
14248 PyObject * obj0 = 0 ;
14249 char *kwnames[] = {
14250 (char *) "self", NULL
14251 };
14252
14253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
14254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
14259
14260 wxPyEndAllowThreads(__tstate);
14261 if (PyErr_Occurred()) SWIG_fail;
14262 }
14263 {
14264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14265 }
14266 return resultobj;
14267 fail:
14268 return NULL;
14269}
14270
14271
c32bde28 14272static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14273 PyObject *resultobj;
14274 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14275 bool result;
14276 PyObject * obj0 = 0 ;
14277 char *kwnames[] = {
14278 (char *) "self", NULL
14279 };
14280
14281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
14282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14284 {
14285 PyThreadState* __tstate = wxPyBeginAllowThreads();
14286 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
14287
14288 wxPyEndAllowThreads(__tstate);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 {
14292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14293 }
14294 return resultobj;
14295 fail:
14296 return NULL;
14297}
14298
14299
c32bde28 14300static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14301 PyObject *resultobj;
14302 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14303 bool result;
14304 PyObject * obj0 = 0 ;
14305 char *kwnames[] = {
14306 (char *) "self", NULL
14307 };
14308
14309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
14310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14312 {
14313 PyThreadState* __tstate = wxPyBeginAllowThreads();
14314 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
14315
14316 wxPyEndAllowThreads(__tstate);
14317 if (PyErr_Occurred()) SWIG_fail;
14318 }
14319 {
14320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14321 }
14322 return resultobj;
14323 fail:
14324 return NULL;
14325}
14326
14327
c32bde28 14328static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14329 PyObject *resultobj;
14330 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14331 bool result;
14332 PyObject * obj0 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 {
14348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14349 }
14350 return resultobj;
14351 fail:
14352 return NULL;
14353}
14354
14355
c32bde28 14356static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14357 PyObject *resultobj;
14358 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14359 bool result;
14360 PyObject * obj0 = 0 ;
14361 char *kwnames[] = {
14362 (char *) "self", NULL
14363 };
14364
14365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
14366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14368 {
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14371
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 {
14376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14377 }
14378 return resultobj;
14379 fail:
14380 return NULL;
14381}
14382
14383
c32bde28 14384static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14385 PyObject *resultobj;
14386 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14387 bool result;
14388 PyObject * obj0 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
14394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 {
14404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14405 }
14406 return resultobj;
14407 fail:
14408 return NULL;
14409}
14410
14411
c32bde28 14412static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14413 PyObject *resultobj;
14414 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14415 bool result;
14416 PyObject * obj0 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
14422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 {
14432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14433 }
14434 return resultobj;
14435 fail:
14436 return NULL;
14437}
14438
14439
c32bde28 14440static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14441 PyObject *resultobj;
14442 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14443 bool result;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
14450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14461 }
14462 return resultobj;
14463 fail:
14464 return NULL;
14465}
14466
14467
c32bde28 14468static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14469 PyObject *resultobj;
14470 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14471 bool result;
14472 PyObject * obj0 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
14478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 {
14488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14489 }
14490 return resultobj;
14491 fail:
14492 return NULL;
14493}
14494
14495
c32bde28 14496static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14497 PyObject *resultobj;
14498 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14499 bool result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",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 = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 {
14516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14517 }
14518 return resultobj;
14519 fail:
14520 return NULL;
14521}
14522
14523
c32bde28 14524static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14525 PyObject *resultobj;
14526 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14527 bool result;
14528 PyObject * obj0 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "self", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
14534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 result = (bool)(arg1)->LeftIsDown();
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 {
14544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14545 }
14546 return resultobj;
14547 fail:
14548 return NULL;
14549}
14550
14551
c32bde28 14552static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14553 PyObject *resultobj;
14554 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14555 bool result;
14556 PyObject * obj0 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
14562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = (bool)(arg1)->MiddleIsDown();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 {
14572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14573 }
14574 return resultobj;
14575 fail:
14576 return NULL;
14577}
14578
14579
c32bde28 14580static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14581 PyObject *resultobj;
14582 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14583 bool result;
14584 PyObject * obj0 = 0 ;
14585 char *kwnames[] = {
14586 (char *) "self", NULL
14587 };
14588
14589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
14590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14592 {
14593 PyThreadState* __tstate = wxPyBeginAllowThreads();
14594 result = (bool)(arg1)->RightIsDown();
14595
14596 wxPyEndAllowThreads(__tstate);
14597 if (PyErr_Occurred()) SWIG_fail;
14598 }
14599 {
14600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14601 }
14602 return resultobj;
14603 fail:
14604 return NULL;
14605}
14606
14607
c32bde28 14608static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14609 PyObject *resultobj;
14610 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14611 bool result;
14612 PyObject * obj0 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14623
14624 wxPyEndAllowThreads(__tstate);
14625 if (PyErr_Occurred()) SWIG_fail;
14626 }
14627 {
14628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14629 }
14630 return resultobj;
14631 fail:
14632 return NULL;
14633}
14634
14635
c32bde28 14636static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14637 PyObject *resultobj;
14638 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14639 bool result;
14640 PyObject * obj0 = 0 ;
14641 char *kwnames[] = {
14642 (char *) "self", NULL
14643 };
14644
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
14646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 {
14656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14657 }
14658 return resultobj;
14659 fail:
14660 return NULL;
14661}
14662
14663
c32bde28 14664static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14665 PyObject *resultobj;
14666 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14667 bool result;
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
14674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 {
14684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14685 }
14686 return resultobj;
14687 fail:
14688 return NULL;
14689}
14690
14691
c32bde28 14692static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14693 PyObject *resultobj;
14694 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14695 bool result;
14696 PyObject * obj0 = 0 ;
14697 char *kwnames[] = {
14698 (char *) "self", NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
14702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 {
14712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14713 }
14714 return resultobj;
14715 fail:
14716 return NULL;
14717}
14718
14719
c32bde28 14720static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14721 PyObject *resultobj;
14722 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14723 wxPoint result;
14724 PyObject * obj0 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "self", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
14730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (arg1)->GetPosition();
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 wxPoint * resultptr;
14741 resultptr = new wxPoint((wxPoint &) result);
14742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14743 }
14744 return resultobj;
14745 fail:
14746 return NULL;
14747}
14748
14749
c32bde28 14750static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14751 PyObject *resultobj;
14752 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14753 long *arg2 = (long *) 0 ;
14754 long *arg3 = (long *) 0 ;
14755 long temp2 ;
c32bde28 14756 int res2 = 0 ;
d55e5bfc 14757 long temp3 ;
c32bde28 14758 int res3 = 0 ;
d55e5bfc
RD
14759 PyObject * obj0 = 0 ;
14760 char *kwnames[] = {
14761 (char *) "self", NULL
14762 };
14763
c32bde28
RD
14764 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14765 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
14766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
14767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 (arg1)->GetPosition(arg2,arg3);
14772
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14777 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14778 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
14779 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14780 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
14781 return resultobj;
14782 fail:
14783 return NULL;
14784}
14785
14786
c32bde28 14787static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14788 PyObject *resultobj;
14789 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14790 wxDC *arg2 = 0 ;
14791 wxPoint result;
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "self",(char *) "dc", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14802 SWIG_POINTER_EXCEPTION | 0)) == -1)
14803 SWIG_fail;
14804 if (arg2 == NULL) {
14805 PyErr_SetString(PyExc_TypeError,"null reference");
14806 SWIG_fail;
14807 }
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14811
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 {
14816 wxPoint * resultptr;
14817 resultptr = new wxPoint((wxPoint &) result);
14818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14819 }
14820 return resultobj;
14821 fail:
14822 return NULL;
14823}
14824
14825
c32bde28 14826static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14827 PyObject *resultobj;
14828 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14829 int result;
14830 PyObject * obj0 = 0 ;
14831 char *kwnames[] = {
14832 (char *) "self", NULL
14833 };
14834
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
14836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 result = (int)((wxMouseEvent const *)arg1)->GetX();
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
c32bde28 14845 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14846 return resultobj;
14847 fail:
14848 return NULL;
14849}
14850
14851
c32bde28 14852static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14853 PyObject *resultobj;
14854 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14855 int result;
14856 PyObject * obj0 = 0 ;
14857 char *kwnames[] = {
14858 (char *) "self", NULL
14859 };
14860
14861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
14862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 result = (int)((wxMouseEvent const *)arg1)->GetY();
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
c32bde28 14871 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14872 return resultobj;
14873 fail:
14874 return NULL;
14875}
14876
14877
c32bde28 14878static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14879 PyObject *resultobj;
14880 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14881 int result;
14882 PyObject * obj0 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "self", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
14888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
c32bde28 14897 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14898 return resultobj;
14899 fail:
14900 return NULL;
14901}
14902
14903
c32bde28 14904static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14905 PyObject *resultobj;
14906 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14907 int result;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
14914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
c32bde28 14923 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14924 return resultobj;
14925 fail:
14926 return NULL;
14927}
14928
14929
c32bde28 14930static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14931 PyObject *resultobj;
14932 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14933 int result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14945
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
c32bde28 14949 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
14950 return resultobj;
14951 fail:
14952 return NULL;
14953}
14954
14955
c32bde28 14956static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
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_IsPageScroll",kwnames,&obj0)) goto fail;
14966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 {
14976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14977 }
14978 return resultobj;
14979 fail:
14980 return NULL;
14981}
14982
14983
c32bde28 14984static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14985 PyObject *resultobj;
14986 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14987 int arg2 ;
14988 PyObject * obj0 = 0 ;
14989 PyObject * obj1 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self",(char *) "m_x", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14997 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
14998 if (PyErr_Occurred()) SWIG_fail;
14999 if (arg1) (arg1)->m_x = arg2;
15000
15001 Py_INCREF(Py_None); resultobj = Py_None;
15002 return resultobj;
15003 fail:
15004 return NULL;
15005}
15006
15007
c32bde28 15008static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15009 PyObject *resultobj;
15010 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15011 int result;
15012 PyObject * obj0 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15020 result = (int) ((arg1)->m_x);
15021
c32bde28 15022 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15023 return resultobj;
15024 fail:
15025 return NULL;
15026}
15027
15028
c32bde28 15029static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15030 PyObject *resultobj;
15031 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15032 int arg2 ;
15033 PyObject * obj0 = 0 ;
15034 PyObject * obj1 = 0 ;
15035 char *kwnames[] = {
15036 (char *) "self",(char *) "m_y", NULL
15037 };
15038
15039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15042 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15043 if (PyErr_Occurred()) SWIG_fail;
15044 if (arg1) (arg1)->m_y = arg2;
15045
15046 Py_INCREF(Py_None); resultobj = Py_None;
15047 return resultobj;
15048 fail:
15049 return NULL;
15050}
15051
15052
c32bde28 15053static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15054 PyObject *resultobj;
15055 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15056 int result;
15057 PyObject * obj0 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15065 result = (int) ((arg1)->m_y);
15066
c32bde28 15067 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15068 return resultobj;
15069 fail:
15070 return NULL;
15071}
15072
15073
c32bde28 15074static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15075 PyObject *resultobj;
15076 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15077 bool arg2 ;
15078 PyObject * obj0 = 0 ;
15079 PyObject * obj1 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self",(char *) "m_leftDown", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15087 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15088 if (PyErr_Occurred()) SWIG_fail;
15089 if (arg1) (arg1)->m_leftDown = arg2;
15090
15091 Py_INCREF(Py_None); resultobj = Py_None;
15092 return resultobj;
15093 fail:
15094 return NULL;
15095}
15096
15097
c32bde28 15098static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15099 PyObject *resultobj;
15100 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15101 bool result;
15102 PyObject * obj0 = 0 ;
15103 char *kwnames[] = {
15104 (char *) "self", NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15110 result = (bool) ((arg1)->m_leftDown);
15111
15112 {
15113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15114 }
15115 return resultobj;
15116 fail:
15117 return NULL;
15118}
15119
15120
c32bde28 15121static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15122 PyObject *resultobj;
15123 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15124 bool arg2 ;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "self",(char *) "m_middleDown", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15134 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15135 if (PyErr_Occurred()) SWIG_fail;
15136 if (arg1) (arg1)->m_middleDown = arg2;
15137
15138 Py_INCREF(Py_None); resultobj = Py_None;
15139 return resultobj;
15140 fail:
15141 return NULL;
15142}
15143
15144
c32bde28 15145static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15146 PyObject *resultobj;
15147 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15148 bool result;
15149 PyObject * obj0 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15157 result = (bool) ((arg1)->m_middleDown);
15158
15159 {
15160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15161 }
15162 return resultobj;
15163 fail:
15164 return NULL;
15165}
15166
15167
c32bde28 15168static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15169 PyObject *resultobj;
15170 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15171 bool arg2 ;
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self",(char *) "m_rightDown", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15181 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15182 if (PyErr_Occurred()) SWIG_fail;
15183 if (arg1) (arg1)->m_rightDown = arg2;
15184
15185 Py_INCREF(Py_None); resultobj = Py_None;
15186 return resultobj;
15187 fail:
15188 return NULL;
15189}
15190
15191
c32bde28 15192static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15193 PyObject *resultobj;
15194 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15195 bool result;
15196 PyObject * obj0 = 0 ;
15197 char *kwnames[] = {
15198 (char *) "self", NULL
15199 };
15200
15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15204 result = (bool) ((arg1)->m_rightDown);
15205
15206 {
15207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15208 }
15209 return resultobj;
15210 fail:
15211 return NULL;
15212}
15213
15214
c32bde28 15215static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15216 PyObject *resultobj;
15217 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15218 bool arg2 ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 char *kwnames[] = {
15222 (char *) "self",(char *) "m_controlDown", NULL
15223 };
15224
15225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15228 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15229 if (PyErr_Occurred()) SWIG_fail;
15230 if (arg1) (arg1)->m_controlDown = arg2;
15231
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236}
15237
15238
c32bde28 15239static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15240 PyObject *resultobj;
15241 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15242 bool result;
15243 PyObject * obj0 = 0 ;
15244 char *kwnames[] = {
15245 (char *) "self", NULL
15246 };
15247
15248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15251 result = (bool) ((arg1)->m_controlDown);
15252
15253 {
15254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15255 }
15256 return resultobj;
15257 fail:
15258 return NULL;
15259}
15260
15261
c32bde28 15262static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15263 PyObject *resultobj;
15264 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15265 bool arg2 ;
15266 PyObject * obj0 = 0 ;
15267 PyObject * obj1 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self",(char *) "m_shiftDown", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15275 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15276 if (PyErr_Occurred()) SWIG_fail;
15277 if (arg1) (arg1)->m_shiftDown = arg2;
15278
15279 Py_INCREF(Py_None); resultobj = Py_None;
15280 return resultobj;
15281 fail:
15282 return NULL;
15283}
15284
15285
c32bde28 15286static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15287 PyObject *resultobj;
15288 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15289 bool result;
15290 PyObject * obj0 = 0 ;
15291 char *kwnames[] = {
15292 (char *) "self", NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15298 result = (bool) ((arg1)->m_shiftDown);
15299
15300 {
15301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15302 }
15303 return resultobj;
15304 fail:
15305 return NULL;
15306}
15307
15308
c32bde28 15309static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15310 PyObject *resultobj;
15311 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15312 bool arg2 ;
15313 PyObject * obj0 = 0 ;
15314 PyObject * obj1 = 0 ;
15315 char *kwnames[] = {
15316 (char *) "self",(char *) "m_altDown", NULL
15317 };
15318
15319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15322 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15323 if (PyErr_Occurred()) SWIG_fail;
15324 if (arg1) (arg1)->m_altDown = arg2;
15325
15326 Py_INCREF(Py_None); resultobj = Py_None;
15327 return resultobj;
15328 fail:
15329 return NULL;
15330}
15331
15332
c32bde28 15333static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15334 PyObject *resultobj;
15335 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15336 bool result;
15337 PyObject * obj0 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15345 result = (bool) ((arg1)->m_altDown);
15346
15347 {
15348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15349 }
15350 return resultobj;
15351 fail:
15352 return NULL;
15353}
15354
15355
c32bde28 15356static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15357 PyObject *resultobj;
15358 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15359 bool arg2 ;
15360 PyObject * obj0 = 0 ;
15361 PyObject * obj1 = 0 ;
15362 char *kwnames[] = {
15363 (char *) "self",(char *) "m_metaDown", NULL
15364 };
15365
15366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15369 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
15370 if (PyErr_Occurred()) SWIG_fail;
15371 if (arg1) (arg1)->m_metaDown = arg2;
15372
15373 Py_INCREF(Py_None); resultobj = Py_None;
15374 return resultobj;
15375 fail:
15376 return NULL;
15377}
15378
15379
c32bde28 15380static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15381 PyObject *resultobj;
15382 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15383 bool result;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15392 result = (bool) ((arg1)->m_metaDown);
15393
15394 {
15395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15396 }
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
c32bde28 15403static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15404 PyObject *resultobj;
15405 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15406 int arg2 ;
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "m_wheelRotation", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15416 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15417 if (PyErr_Occurred()) SWIG_fail;
15418 if (arg1) (arg1)->m_wheelRotation = arg2;
15419
15420 Py_INCREF(Py_None); resultobj = Py_None;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424}
15425
15426
c32bde28 15427static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15428 PyObject *resultobj;
15429 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15430 int result;
15431 PyObject * obj0 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15439 result = (int) ((arg1)->m_wheelRotation);
15440
c32bde28 15441 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15442 return resultobj;
15443 fail:
15444 return NULL;
15445}
15446
15447
c32bde28 15448static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15449 PyObject *resultobj;
15450 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15451 int arg2 ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self",(char *) "m_wheelDelta", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15461 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15462 if (PyErr_Occurred()) SWIG_fail;
15463 if (arg1) (arg1)->m_wheelDelta = arg2;
15464
15465 Py_INCREF(Py_None); resultobj = Py_None;
15466 return resultobj;
15467 fail:
15468 return NULL;
15469}
15470
15471
c32bde28 15472static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15473 PyObject *resultobj;
15474 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15475 int result;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15484 result = (int) ((arg1)->m_wheelDelta);
15485
c32bde28 15486 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15487 return resultobj;
15488 fail:
15489 return NULL;
15490}
15491
15492
c32bde28 15493static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15494 PyObject *resultobj;
15495 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15496 int arg2 ;
15497 PyObject * obj0 = 0 ;
15498 PyObject * obj1 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self",(char *) "m_linesPerAction", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15506 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15507 if (PyErr_Occurred()) SWIG_fail;
15508 if (arg1) (arg1)->m_linesPerAction = arg2;
15509
15510 Py_INCREF(Py_None); resultobj = Py_None;
15511 return resultobj;
15512 fail:
15513 return NULL;
15514}
15515
15516
c32bde28 15517static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15518 PyObject *resultobj;
15519 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15520 int result;
15521 PyObject * obj0 = 0 ;
15522 char *kwnames[] = {
15523 (char *) "self", NULL
15524 };
15525
15526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15529 result = (int) ((arg1)->m_linesPerAction);
15530
c32bde28 15531 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15532 return resultobj;
15533 fail:
15534 return NULL;
15535}
15536
15537
c32bde28 15538static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15539 PyObject *obj;
15540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15541 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15542 Py_INCREF(obj);
15543 return Py_BuildValue((char *)"");
15544}
c32bde28 15545static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15546 PyObject *resultobj;
15547 int arg1 = (int) 0 ;
15548 int arg2 = (int) 0 ;
15549 wxSetCursorEvent *result;
15550 PyObject * obj0 = 0 ;
15551 PyObject * obj1 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "x",(char *) "y", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15557 if (obj0) {
c32bde28 15558 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 if (obj1) {
c32bde28 15562 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 {
15566 PyThreadState* __tstate = wxPyBeginAllowThreads();
15567 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15568
15569 wxPyEndAllowThreads(__tstate);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
15573 return resultobj;
15574 fail:
15575 return NULL;
15576}
15577
15578
c32bde28 15579static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15580 PyObject *resultobj;
15581 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15582 int result;
15583 PyObject * obj0 = 0 ;
15584 char *kwnames[] = {
15585 (char *) "self", NULL
15586 };
15587
15588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
c32bde28 15598 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15599 return resultobj;
15600 fail:
15601 return NULL;
15602}
15603
15604
c32bde28 15605static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15606 PyObject *resultobj;
15607 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15608 int result;
15609 PyObject * obj0 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self", NULL
15612 };
15613
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 {
15618 PyThreadState* __tstate = wxPyBeginAllowThreads();
15619 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
15620
15621 wxPyEndAllowThreads(__tstate);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 }
c32bde28 15624 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15625 return resultobj;
15626 fail:
15627 return NULL;
15628}
15629
15630
c32bde28 15631static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15632 PyObject *resultobj;
15633 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15634 wxCursor *arg2 = 0 ;
15635 PyObject * obj0 = 0 ;
15636 PyObject * obj1 = 0 ;
15637 char *kwnames[] = {
15638 (char *) "self",(char *) "cursor", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15645 SWIG_POINTER_EXCEPTION | 0)) == -1)
15646 SWIG_fail;
15647 if (arg2 == NULL) {
15648 PyErr_SetString(PyExc_TypeError,"null reference");
15649 SWIG_fail;
15650 }
15651 {
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 (arg1)->SetCursor((wxCursor const &)*arg2);
15654
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 Py_INCREF(Py_None); resultobj = Py_None;
15659 return resultobj;
15660 fail:
15661 return NULL;
15662}
15663
15664
c32bde28 15665static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15666 PyObject *resultobj;
15667 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15668 wxCursor *result;
15669 PyObject * obj0 = 0 ;
15670 char *kwnames[] = {
15671 (char *) "self", NULL
15672 };
15673
15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 {
15680 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15681 result = (wxCursor *) &_result_ref;
15682 }
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 {
15688 wxCursor* resultptr = new wxCursor(*result);
15689 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15690 }
15691 return resultobj;
15692 fail:
15693 return NULL;
15694}
15695
15696
c32bde28 15697static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15698 PyObject *resultobj;
15699 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15700 bool result;
15701 PyObject * obj0 = 0 ;
15702 char *kwnames[] = {
15703 (char *) "self", NULL
15704 };
15705
15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 {
15717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15718 }
15719 return resultobj;
15720 fail:
15721 return NULL;
15722}
15723
15724
c32bde28 15725static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15726 PyObject *obj;
15727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15728 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15729 Py_INCREF(obj);
15730 return Py_BuildValue((char *)"");
15731}
c32bde28 15732static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15733 PyObject *resultobj;
15734 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15735 wxKeyEvent *result;
15736 PyObject * obj0 = 0 ;
15737 char *kwnames[] = {
15738 (char *) "keyType", NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15742 if (obj0) {
c32bde28 15743 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
15754 return resultobj;
15755 fail:
15756 return NULL;
15757}
15758
15759
c32bde28 15760static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15761 PyObject *resultobj;
15762 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15763 bool result;
15764 PyObject * obj0 = 0 ;
15765 char *kwnames[] = {
15766 (char *) "self", NULL
15767 };
15768
15769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 {
15780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15781 }
15782 return resultobj;
15783 fail:
15784 return NULL;
15785}
15786
15787
c32bde28 15788static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15789 PyObject *resultobj;
15790 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15791 bool result;
15792 PyObject * obj0 = 0 ;
15793 char *kwnames[] = {
15794 (char *) "self", NULL
15795 };
15796
15797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15800 {
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15803
15804 wxPyEndAllowThreads(__tstate);
15805 if (PyErr_Occurred()) SWIG_fail;
15806 }
15807 {
15808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15809 }
15810 return resultobj;
15811 fail:
15812 return NULL;
15813}
15814
15815
c32bde28 15816static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15817 PyObject *resultobj;
15818 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15819 bool result;
15820 PyObject * obj0 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self", NULL
15823 };
15824
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 {
15836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15837 }
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
c32bde28 15844static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15845 PyObject *resultobj;
15846 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15847 bool result;
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 {
15864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15865 }
15866 return resultobj;
15867 fail:
15868 return NULL;
15869}
15870
15871
c32bde28 15872static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
15873 PyObject *resultobj;
15874 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15875 bool result;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 {
15892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15893 }
15894 return resultobj;
15895 fail:
15896 return NULL;
15897}
15898
15899
c32bde28 15900static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15901 PyObject *resultobj;
15902 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15903 bool result;
15904 PyObject * obj0 = 0 ;
15905 char *kwnames[] = {
15906 (char *) "self", NULL
15907 };
15908
15909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 {
15920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15921 }
15922 return resultobj;
15923 fail:
15924 return NULL;
15925}
15926
15927
c32bde28 15928static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15929 PyObject *resultobj;
15930 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15931 int result;
15932 PyObject * obj0 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
c32bde28 15947 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15948 return resultobj;
15949 fail:
15950 return NULL;
15951}
15952
15953
c32bde28 15954static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15955 PyObject *resultobj;
15956 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15957 int result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
19272049 15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
d55e5bfc
RD
15964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 15968 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d55e5bfc
RD
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
c32bde28 15973 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
15974 return resultobj;
15975 fail:
15976 return NULL;
15977}
15978
15979
c32bde28 15980static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15981 PyObject *resultobj;
15982 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15983 unsigned int result;
15984 PyObject * obj0 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "self", NULL
15987 };
15988
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
c32bde28 15999 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d55e5bfc
RD
16000 return resultobj;
16001 fail:
16002 return NULL;
16003}
16004
16005
c32bde28 16006static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16007 PyObject *resultobj;
16008 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16009 unsigned int result;
16010 PyObject * obj0 = 0 ;
16011 char *kwnames[] = {
16012 (char *) "self", NULL
16013 };
16014
16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
16016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16018 {
16019 PyThreadState* __tstate = wxPyBeginAllowThreads();
16020 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
16021
16022 wxPyEndAllowThreads(__tstate);
16023 if (PyErr_Occurred()) SWIG_fail;
16024 }
c32bde28 16025 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d55e5bfc
RD
16026 return resultobj;
16027 fail:
16028 return NULL;
16029}
16030
16031
c32bde28 16032static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16033 PyObject *resultobj;
16034 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16035 wxPoint result;
16036 PyObject * obj0 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16044 {
16045 PyThreadState* __tstate = wxPyBeginAllowThreads();
16046 result = (arg1)->GetPosition();
16047
16048 wxPyEndAllowThreads(__tstate);
16049 if (PyErr_Occurred()) SWIG_fail;
16050 }
16051 {
16052 wxPoint * resultptr;
16053 resultptr = new wxPoint((wxPoint &) result);
16054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16055 }
16056 return resultobj;
16057 fail:
16058 return NULL;
16059}
16060
16061
c32bde28 16062static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16063 PyObject *resultobj;
16064 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16065 long *arg2 = (long *) 0 ;
16066 long *arg3 = (long *) 0 ;
16067 long temp2 ;
c32bde28 16068 int res2 = 0 ;
d55e5bfc 16069 long temp3 ;
c32bde28 16070 int res3 = 0 ;
d55e5bfc
RD
16071 PyObject * obj0 = 0 ;
16072 char *kwnames[] = {
16073 (char *) "self", NULL
16074 };
16075
c32bde28
RD
16076 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16077 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 (arg1)->GetPosition(arg2,arg3);
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16089 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16090 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
16091 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16092 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
16093 return resultobj;
16094 fail:
16095 return NULL;
16096}
16097
16098
c32bde28 16099static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16100 PyObject *resultobj;
16101 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16102 int result;
16103 PyObject * obj0 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (int)((wxKeyEvent const *)arg1)->GetX();
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
c32bde28 16118 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16119 return resultobj;
16120 fail:
16121 return NULL;
16122}
16123
16124
c32bde28 16125static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16126 PyObject *resultobj;
16127 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16128 int result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 result = (int)((wxKeyEvent const *)arg1)->GetY();
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
c32bde28 16144 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16145 return resultobj;
16146 fail:
16147 return NULL;
16148}
16149
16150
c32bde28 16151static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16152 PyObject *resultobj;
16153 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16154 int arg2 ;
16155 PyObject * obj0 = 0 ;
16156 PyObject * obj1 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self",(char *) "m_x", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
16162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16164 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
16165 if (PyErr_Occurred()) SWIG_fail;
16166 if (arg1) (arg1)->m_x = arg2;
16167
16168 Py_INCREF(Py_None); resultobj = Py_None;
16169 return resultobj;
16170 fail:
16171 return NULL;
16172}
16173
16174
c32bde28 16175static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16176 PyObject *resultobj;
16177 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16178 int result;
16179 PyObject * obj0 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16187 result = (int) ((arg1)->m_x);
16188
c32bde28 16189 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
c32bde28 16196static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16197 PyObject *resultobj;
16198 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16199 int arg2 ;
16200 PyObject * obj0 = 0 ;
16201 PyObject * obj1 = 0 ;
16202 char *kwnames[] = {
16203 (char *) "self",(char *) "m_y", NULL
16204 };
16205
16206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
16207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16209 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
16210 if (PyErr_Occurred()) SWIG_fail;
16211 if (arg1) (arg1)->m_y = arg2;
16212
16213 Py_INCREF(Py_None); resultobj = Py_None;
16214 return resultobj;
16215 fail:
16216 return NULL;
16217}
16218
16219
c32bde28 16220static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16221 PyObject *resultobj;
16222 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16223 int result;
16224 PyObject * obj0 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
16230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16232 result = (int) ((arg1)->m_y);
16233
c32bde28 16234 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
16235 return resultobj;
16236 fail:
16237 return NULL;
16238}
16239
16240
c32bde28 16241static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16242 PyObject *resultobj;
16243 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16244 long arg2 ;
16245 PyObject * obj0 = 0 ;
16246 PyObject * obj1 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self",(char *) "m_keyCode", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
16252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16254 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
16255 if (PyErr_Occurred()) SWIG_fail;
16256 if (arg1) (arg1)->m_keyCode = arg2;
16257
16258 Py_INCREF(Py_None); resultobj = Py_None;
16259 return resultobj;
16260 fail:
16261 return NULL;
16262}
16263
16264
c32bde28 16265static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16266 PyObject *resultobj;
16267 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16268 long result;
16269 PyObject * obj0 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16277 result = (long) ((arg1)->m_keyCode);
16278
c32bde28 16279 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
16280 return resultobj;
16281 fail:
16282 return NULL;
16283}
16284
16285
c32bde28 16286static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16287 PyObject *resultobj;
16288 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16289 bool arg2 ;
16290 PyObject * obj0 = 0 ;
16291 PyObject * obj1 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self",(char *) "m_controlDown", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
16297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16299 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16300 if (PyErr_Occurred()) SWIG_fail;
16301 if (arg1) (arg1)->m_controlDown = arg2;
16302
16303 Py_INCREF(Py_None); resultobj = Py_None;
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
c32bde28 16310static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16311 PyObject *resultobj;
16312 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16313 bool result;
16314 PyObject * obj0 = 0 ;
16315 char *kwnames[] = {
16316 (char *) "self", NULL
16317 };
16318
16319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
16320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16322 result = (bool) ((arg1)->m_controlDown);
16323
16324 {
16325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16326 }
16327 return resultobj;
16328 fail:
16329 return NULL;
16330}
16331
16332
c32bde28 16333static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16334 PyObject *resultobj;
16335 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16336 bool arg2 ;
16337 PyObject * obj0 = 0 ;
16338 PyObject * obj1 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "self",(char *) "m_shiftDown", NULL
16341 };
16342
16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
16344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16346 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16347 if (PyErr_Occurred()) SWIG_fail;
16348 if (arg1) (arg1)->m_shiftDown = arg2;
16349
16350 Py_INCREF(Py_None); resultobj = Py_None;
16351 return resultobj;
16352 fail:
16353 return NULL;
16354}
16355
16356
c32bde28 16357static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16358 PyObject *resultobj;
16359 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16360 bool result;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16369 result = (bool) ((arg1)->m_shiftDown);
16370
16371 {
16372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16373 }
16374 return resultobj;
16375 fail:
16376 return NULL;
16377}
16378
16379
c32bde28 16380static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16381 PyObject *resultobj;
16382 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16383 bool arg2 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self",(char *) "m_altDown", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
16391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16393 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16394 if (PyErr_Occurred()) SWIG_fail;
16395 if (arg1) (arg1)->m_altDown = arg2;
16396
16397 Py_INCREF(Py_None); resultobj = Py_None;
16398 return resultobj;
16399 fail:
16400 return NULL;
16401}
16402
16403
c32bde28 16404static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16405 PyObject *resultobj;
16406 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16407 bool result;
16408 PyObject * obj0 = 0 ;
16409 char *kwnames[] = {
16410 (char *) "self", NULL
16411 };
16412
16413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
16414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16416 result = (bool) ((arg1)->m_altDown);
16417
16418 {
16419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16420 }
16421 return resultobj;
16422 fail:
16423 return NULL;
16424}
16425
16426
c32bde28 16427static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16428 PyObject *resultobj;
16429 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16430 bool arg2 ;
16431 PyObject * obj0 = 0 ;
16432 PyObject * obj1 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self",(char *) "m_metaDown", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
16438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16440 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16441 if (PyErr_Occurred()) SWIG_fail;
16442 if (arg1) (arg1)->m_metaDown = arg2;
16443
16444 Py_INCREF(Py_None); resultobj = Py_None;
16445 return resultobj;
16446 fail:
16447 return NULL;
16448}
16449
16450
c32bde28 16451static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16452 PyObject *resultobj;
16453 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16454 bool result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16463 result = (bool) ((arg1)->m_metaDown);
16464
16465 {
16466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16467 }
16468 return resultobj;
16469 fail:
16470 return NULL;
16471}
16472
16473
c32bde28 16474static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16475 PyObject *resultobj;
16476 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16477 bool arg2 ;
16478 PyObject * obj0 = 0 ;
16479 PyObject * obj1 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self",(char *) "m_scanCode", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16487 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
16488 if (PyErr_Occurred()) SWIG_fail;
16489 if (arg1) (arg1)->m_scanCode = arg2;
16490
16491 Py_INCREF(Py_None); resultobj = Py_None;
16492 return resultobj;
16493 fail:
16494 return NULL;
16495}
16496
16497
c32bde28 16498static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16499 PyObject *resultobj;
16500 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16501 bool result;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16510 result = (bool) ((arg1)->m_scanCode);
16511
16512 {
16513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16514 }
16515 return resultobj;
16516 fail:
16517 return NULL;
16518}
16519
16520
c32bde28 16521static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16522 PyObject *resultobj;
16523 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16524 unsigned int arg2 ;
16525 PyObject * obj0 = 0 ;
16526 PyObject * obj1 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self",(char *) "m_rawCode", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16534 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
d55e5bfc
RD
16535 if (PyErr_Occurred()) SWIG_fail;
16536 if (arg1) (arg1)->m_rawCode = arg2;
16537
16538 Py_INCREF(Py_None); resultobj = Py_None;
16539 return resultobj;
16540 fail:
16541 return NULL;
16542}
16543
16544
c32bde28 16545static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16546 PyObject *resultobj;
16547 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16548 unsigned int result;
16549 PyObject * obj0 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
16555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16557 result = (unsigned int) ((arg1)->m_rawCode);
16558
c32bde28 16559 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d55e5bfc
RD
16560 return resultobj;
16561 fail:
16562 return NULL;
16563}
16564
16565
c32bde28 16566static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16567 PyObject *resultobj;
16568 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16569 unsigned int arg2 ;
16570 PyObject * obj0 = 0 ;
16571 PyObject * obj1 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self",(char *) "m_rawFlags", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16579 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
d55e5bfc
RD
16580 if (PyErr_Occurred()) SWIG_fail;
16581 if (arg1) (arg1)->m_rawFlags = arg2;
16582
16583 Py_INCREF(Py_None); resultobj = Py_None;
16584 return resultobj;
16585 fail:
16586 return NULL;
16587}
16588
16589
c32bde28 16590static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16591 PyObject *resultobj;
16592 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16593 unsigned int result;
16594 PyObject * obj0 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16602 result = (unsigned int) ((arg1)->m_rawFlags);
16603
c32bde28 16604 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d55e5bfc
RD
16605 return resultobj;
16606 fail:
16607 return NULL;
16608}
16609
16610
c32bde28 16611static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16612 PyObject *obj;
16613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16615 Py_INCREF(obj);
16616 return Py_BuildValue((char *)"");
16617}
c32bde28 16618static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16619 PyObject *resultobj;
16620 wxSize const &arg1_defvalue = wxDefaultSize ;
16621 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16622 int arg2 = (int) 0 ;
16623 wxSizeEvent *result;
16624 wxSize temp1 ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "sz",(char *) "winid", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
16632 if (obj0) {
16633 {
16634 arg1 = &temp1;
16635 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16636 }
16637 }
16638 if (obj1) {
c32bde28 16639 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
16650 return resultobj;
16651 fail:
16652 return NULL;
16653}
16654
16655
c32bde28 16656static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16657 PyObject *resultobj;
16658 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16659 wxSize result;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = ((wxSizeEvent const *)arg1)->GetSize();
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 {
16676 wxSize * resultptr;
16677 resultptr = new wxSize((wxSize &) result);
16678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16679 }
16680 return resultobj;
16681 fail:
16682 return NULL;
16683}
16684
16685
c32bde28 16686static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16687 PyObject *resultobj;
16688 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16689 wxRect result;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 result = ((wxSizeEvent const *)arg1)->GetRect();
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 {
16706 wxRect * resultptr;
16707 resultptr = new wxRect((wxRect &) result);
16708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16709 }
16710 return resultobj;
16711 fail:
16712 return NULL;
16713}
16714
16715
c32bde28 16716static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16717 PyObject *resultobj;
16718 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16719 wxRect arg2 ;
16720 wxRect *argp2 ;
16721 PyObject * obj0 = 0 ;
16722 PyObject * obj1 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "rect", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16730 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16731 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16732 arg2 = *argp2;
16733 {
16734 PyThreadState* __tstate = wxPyBeginAllowThreads();
16735 (arg1)->SetRect(arg2);
16736
16737 wxPyEndAllowThreads(__tstate);
16738 if (PyErr_Occurred()) SWIG_fail;
16739 }
16740 Py_INCREF(Py_None); resultobj = Py_None;
16741 return resultobj;
16742 fail:
16743 return NULL;
16744}
16745
16746
c32bde28 16747static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16748 PyObject *resultobj;
16749 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16750 wxSize arg2 ;
16751 wxSize *argp2 ;
16752 PyObject * obj0 = 0 ;
16753 PyObject * obj1 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "self",(char *) "size", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
16759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16761 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16762 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16763 arg2 = *argp2;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 wxSizeEvent_SetSize(arg1,arg2);
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 Py_INCREF(Py_None); resultobj = Py_None;
16772 return resultobj;
16773 fail:
16774 return NULL;
16775}
16776
16777
c32bde28 16778static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16779 PyObject *resultobj;
16780 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16781 wxSize *arg2 = (wxSize *) 0 ;
16782 PyObject * obj0 = 0 ;
16783 PyObject * obj1 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self",(char *) "m_size", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16793 if (arg1) (arg1)->m_size = *arg2;
16794
16795 Py_INCREF(Py_None); resultobj = Py_None;
16796 return resultobj;
16797 fail:
16798 return NULL;
16799}
16800
16801
c32bde28 16802static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16803 PyObject *resultobj;
16804 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16805 wxSize *result;
16806 PyObject * obj0 = 0 ;
16807 char *kwnames[] = {
16808 (char *) "self", NULL
16809 };
16810
16811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
16812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16814 result = (wxSize *)& ((arg1)->m_size);
16815
16816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
16817 return resultobj;
16818 fail:
16819 return NULL;
16820}
16821
16822
c32bde28 16823static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16824 PyObject *resultobj;
16825 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16826 wxRect *arg2 = (wxRect *) 0 ;
16827 PyObject * obj0 = 0 ;
16828 PyObject * obj1 = 0 ;
16829 char *kwnames[] = {
16830 (char *) "self",(char *) "m_rect", NULL
16831 };
16832
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
16834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16838 if (arg1) (arg1)->m_rect = *arg2;
16839
16840 Py_INCREF(Py_None); resultobj = Py_None;
16841 return resultobj;
16842 fail:
16843 return NULL;
16844}
16845
16846
c32bde28 16847static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16848 PyObject *resultobj;
16849 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16850 wxRect *result;
16851 PyObject * obj0 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "self", NULL
16854 };
16855
16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
16857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16859 result = (wxRect *)& ((arg1)->m_rect);
16860
16861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
16862 return resultobj;
16863 fail:
16864 return NULL;
16865}
16866
16867
c32bde28 16868static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16869 PyObject *obj;
16870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16871 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16872 Py_INCREF(obj);
16873 return Py_BuildValue((char *)"");
16874}
c32bde28 16875static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16876 PyObject *resultobj;
16877 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16878 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16879 int arg2 = (int) 0 ;
16880 wxMoveEvent *result;
16881 wxPoint temp1 ;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "pos",(char *) "winid", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
16889 if (obj0) {
16890 {
16891 arg1 = &temp1;
16892 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16893 }
16894 }
16895 if (obj1) {
c32bde28 16896 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
16897 if (PyErr_Occurred()) SWIG_fail;
16898 }
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
16907 return resultobj;
16908 fail:
16909 return NULL;
16910}
16911
16912
c32bde28 16913static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16914 PyObject *resultobj;
16915 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16916 wxPoint result;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = ((wxMoveEvent const *)arg1)->GetPosition();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 {
16933 wxPoint * resultptr;
16934 resultptr = new wxPoint((wxPoint &) result);
16935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
16936 }
16937 return resultobj;
16938 fail:
16939 return NULL;
16940}
16941
16942
c32bde28 16943static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16944 PyObject *resultobj;
16945 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16946 wxRect result;
16947 PyObject * obj0 = 0 ;
16948 char *kwnames[] = {
16949 (char *) "self", NULL
16950 };
16951
16952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
16953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = ((wxMoveEvent const *)arg1)->GetRect();
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 {
16963 wxRect * resultptr;
16964 resultptr = new wxRect((wxRect &) result);
16965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
16966 }
16967 return resultobj;
16968 fail:
16969 return NULL;
16970}
16971
16972
c32bde28 16973static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16974 PyObject *resultobj;
16975 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16976 wxRect arg2 ;
16977 wxRect *argp2 ;
16978 PyObject * obj0 = 0 ;
16979 PyObject * obj1 = 0 ;
16980 char *kwnames[] = {
16981 (char *) "self",(char *) "rect", NULL
16982 };
16983
16984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
16985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16987 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16988 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16989 arg2 = *argp2;
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
16992 (arg1)->SetRect(arg2);
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 Py_INCREF(Py_None); resultobj = Py_None;
16998 return resultobj;
16999 fail:
17000 return NULL;
17001}
17002
17003
c32bde28 17004static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17005 PyObject *resultobj;
17006 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17007 wxPoint arg2 ;
17008 wxPoint *argp2 ;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self",(char *) "pos", NULL
17013 };
17014
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
17016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17018 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
17019 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
17020 arg2 = *argp2;
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 wxMoveEvent_SetPosition(arg1,arg2);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 Py_INCREF(Py_None); resultobj = Py_None;
17029 return resultobj;
17030 fail:
17031 return NULL;
17032}
17033
17034
c32bde28 17035static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17036 PyObject *resultobj;
17037 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17038 wxPoint *arg2 = (wxPoint *) 0 ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "m_pos", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
17049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17050 if (arg1) (arg1)->m_pos = *arg2;
17051
17052 Py_INCREF(Py_None); resultobj = Py_None;
17053 return resultobj;
17054 fail:
17055 return NULL;
17056}
17057
17058
c32bde28 17059static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17060 PyObject *resultobj;
17061 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17062 wxPoint *result;
17063 PyObject * obj0 = 0 ;
17064 char *kwnames[] = {
17065 (char *) "self", NULL
17066 };
17067
17068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
17069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17071 result = (wxPoint *)& ((arg1)->m_pos);
17072
17073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
17074 return resultobj;
17075 fail:
17076 return NULL;
17077}
17078
17079
c32bde28 17080static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17081 PyObject *resultobj;
17082 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17083 wxRect *arg2 = (wxRect *) 0 ;
17084 PyObject * obj0 = 0 ;
17085 PyObject * obj1 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self",(char *) "m_rect", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
17091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
17094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17095 if (arg1) (arg1)->m_rect = *arg2;
17096
17097 Py_INCREF(Py_None); resultobj = Py_None;
17098 return resultobj;
17099 fail:
17100 return NULL;
17101}
17102
17103
c32bde28 17104static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17105 PyObject *resultobj;
17106 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17107 wxRect *result;
17108 PyObject * obj0 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "self", NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
17114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17116 result = (wxRect *)& ((arg1)->m_rect);
17117
17118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
17119 return resultobj;
17120 fail:
17121 return NULL;
17122}
17123
17124
c32bde28 17125static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17126 PyObject *obj;
17127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17128 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
17129 Py_INCREF(obj);
17130 return Py_BuildValue((char *)"");
17131}
c32bde28 17132static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17133 PyObject *resultobj;
17134 int arg1 = (int) 0 ;
17135 wxPaintEvent *result;
17136 PyObject * obj0 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "Id", NULL
17139 };
17140
17141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
17142 if (obj0) {
c32bde28 17143 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (wxPaintEvent *)new wxPaintEvent(arg1);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
17154 return resultobj;
17155 fail:
17156 return NULL;
17157}
17158
17159
c32bde28 17160static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17161 PyObject *obj;
17162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
17164 Py_INCREF(obj);
17165 return Py_BuildValue((char *)"");
17166}
c32bde28 17167static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17168 PyObject *resultobj;
17169 int arg1 = (int) 0 ;
17170 wxNcPaintEvent *result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "winid", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
17177 if (obj0) {
c32bde28 17178 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 {
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
17184
17185 wxPyEndAllowThreads(__tstate);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
17189 return resultobj;
17190 fail:
17191 return NULL;
17192}
17193
17194
c32bde28 17195static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17196 PyObject *obj;
17197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17198 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
17199 Py_INCREF(obj);
17200 return Py_BuildValue((char *)"");
17201}
c32bde28 17202static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17203 PyObject *resultobj;
17204 int arg1 = (int) 0 ;
17205 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
17206 wxEraseEvent *result;
17207 PyObject * obj0 = 0 ;
17208 PyObject * obj1 = 0 ;
17209 char *kwnames[] = {
17210 (char *) "Id",(char *) "dc", NULL
17211 };
17212
17213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
17214 if (obj0) {
c32bde28 17215 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 if (obj1) {
17219 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17221 }
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
17225
17226 wxPyEndAllowThreads(__tstate);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
17229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
17230 return resultobj;
17231 fail:
17232 return NULL;
17233}
17234
17235
c32bde28 17236static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17237 PyObject *resultobj;
17238 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
17239 wxDC *result;
17240 PyObject * obj0 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "self", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
17246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
17247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17248 {
17249 PyThreadState* __tstate = wxPyBeginAllowThreads();
17250 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
17251
17252 wxPyEndAllowThreads(__tstate);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 }
17255 {
412d302d 17256 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17257 }
17258 return resultobj;
17259 fail:
17260 return NULL;
17261}
17262
17263
c32bde28 17264static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17265 PyObject *obj;
17266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17267 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
17268 Py_INCREF(obj);
17269 return Py_BuildValue((char *)"");
17270}
c32bde28 17271static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17272 PyObject *resultobj;
17273 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17274 int arg2 = (int) 0 ;
17275 wxFocusEvent *result;
17276 PyObject * obj0 = 0 ;
17277 PyObject * obj1 = 0 ;
17278 char *kwnames[] = {
17279 (char *) "type",(char *) "winid", NULL
17280 };
17281
17282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
17283 if (obj0) {
c32bde28 17284 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 if (obj1) {
c32bde28 17288 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17289 if (PyErr_Occurred()) SWIG_fail;
17290 }
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
17299 return resultobj;
17300 fail:
17301 return NULL;
17302}
17303
17304
c32bde28 17305static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17306 PyObject *resultobj;
17307 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17308 wxWindow *result;
17309 PyObject * obj0 = 0 ;
17310 char *kwnames[] = {
17311 (char *) "self", NULL
17312 };
17313
17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
17315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 {
412d302d 17325 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17326 }
17327 return resultobj;
17328 fail:
17329 return NULL;
17330}
17331
17332
c32bde28 17333static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17334 PyObject *resultobj;
17335 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17336 wxWindow *arg2 = (wxWindow *) 0 ;
17337 PyObject * obj0 = 0 ;
17338 PyObject * obj1 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self",(char *) "win", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
17344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 (arg1)->SetWindow(arg2);
17351
17352 wxPyEndAllowThreads(__tstate);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 Py_INCREF(Py_None); resultobj = Py_None;
17356 return resultobj;
17357 fail:
17358 return NULL;
17359}
17360
17361
c32bde28 17362static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17363 PyObject *obj;
17364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17365 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17366 Py_INCREF(obj);
17367 return Py_BuildValue((char *)"");
17368}
c32bde28 17369static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17370 PyObject *resultobj;
17371 wxWindow *arg1 = (wxWindow *) NULL ;
17372 wxChildFocusEvent *result;
17373 PyObject * obj0 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "win", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17379 if (obj0) {
17380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17382 }
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
17391 return resultobj;
17392 fail:
17393 return NULL;
17394}
17395
17396
c32bde28 17397static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17398 PyObject *resultobj;
17399 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17400 wxWindow *result;
17401 PyObject * obj0 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
17407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 {
412d302d 17417 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17418 }
17419 return resultobj;
17420 fail:
17421 return NULL;
17422}
17423
17424
c32bde28 17425static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17426 PyObject *obj;
17427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17428 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17429 Py_INCREF(obj);
17430 return Py_BuildValue((char *)"");
17431}
c32bde28 17432static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17433 PyObject *resultobj;
17434 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
ae8162c8 17435 bool arg2 = (bool) true ;
d55e5bfc
RD
17436 int arg3 = (int) 0 ;
17437 wxActivateEvent *result;
17438 PyObject * obj0 = 0 ;
17439 PyObject * obj1 = 0 ;
17440 PyObject * obj2 = 0 ;
17441 char *kwnames[] = {
17442 (char *) "type",(char *) "active",(char *) "Id", NULL
17443 };
17444
17445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17446 if (obj0) {
c32bde28 17447 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 if (obj1) {
c32bde28 17451 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 if (obj2) {
c32bde28 17455 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
17466 return resultobj;
17467 fail:
17468 return NULL;
17469}
17470
17471
c32bde28 17472static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17473 PyObject *resultobj;
17474 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17475 bool result;
17476 PyObject * obj0 = 0 ;
17477 char *kwnames[] = {
17478 (char *) "self", NULL
17479 };
17480
17481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
17482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17487
17488 wxPyEndAllowThreads(__tstate);
17489 if (PyErr_Occurred()) SWIG_fail;
17490 }
17491 {
17492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17493 }
17494 return resultobj;
17495 fail:
17496 return NULL;
17497}
17498
17499
c32bde28 17500static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17501 PyObject *obj;
17502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17503 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17504 Py_INCREF(obj);
17505 return Py_BuildValue((char *)"");
17506}
c32bde28 17507static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17508 PyObject *resultobj;
17509 int arg1 = (int) 0 ;
17510 wxInitDialogEvent *result;
17511 PyObject * obj0 = 0 ;
17512 char *kwnames[] = {
17513 (char *) "Id", NULL
17514 };
17515
17516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17517 if (obj0) {
c32bde28 17518 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 {
17522 PyThreadState* __tstate = wxPyBeginAllowThreads();
17523 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17524
17525 wxPyEndAllowThreads(__tstate);
17526 if (PyErr_Occurred()) SWIG_fail;
17527 }
17528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
17529 return resultobj;
17530 fail:
17531 return NULL;
17532}
17533
17534
c32bde28 17535static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17536 PyObject *obj;
17537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17538 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17539 Py_INCREF(obj);
17540 return Py_BuildValue((char *)"");
17541}
c32bde28 17542static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17543 PyObject *resultobj;
17544 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17545 int arg2 = (int) 0 ;
17546 wxMenu *arg3 = (wxMenu *) NULL ;
17547 wxMenuEvent *result;
17548 PyObject * obj0 = 0 ;
17549 PyObject * obj1 = 0 ;
17550 PyObject * obj2 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "type",(char *) "winid",(char *) "menu", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17556 if (obj0) {
c32bde28 17557 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 if (obj1) {
c32bde28 17561 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 if (obj2) {
17565 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17567 }
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
17576 return resultobj;
17577 fail:
17578 return NULL;
17579}
17580
17581
c32bde28 17582static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17583 PyObject *resultobj;
17584 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17585 int result;
17586 PyObject * obj0 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
17592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
c32bde28 17601 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
17602 return resultobj;
17603 fail:
17604 return NULL;
17605}
17606
17607
c32bde28 17608static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17609 PyObject *resultobj;
17610 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17611 bool result;
17612 PyObject * obj0 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17620 {
17621 PyThreadState* __tstate = wxPyBeginAllowThreads();
17622 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17623
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 {
17628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17629 }
17630 return resultobj;
17631 fail:
17632 return NULL;
17633}
17634
17635
c32bde28 17636static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17637 PyObject *resultobj;
17638 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17639 wxMenu *result;
17640 PyObject * obj0 = 0 ;
17641 char *kwnames[] = {
17642 (char *) "self", NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
17646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 {
412d302d 17656 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17657 }
17658 return resultobj;
17659 fail:
17660 return NULL;
17661}
17662
17663
c32bde28 17664static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17665 PyObject *obj;
17666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17667 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17668 Py_INCREF(obj);
17669 return Py_BuildValue((char *)"");
17670}
c32bde28 17671static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17672 PyObject *resultobj;
17673 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17674 int arg2 = (int) 0 ;
17675 wxCloseEvent *result;
17676 PyObject * obj0 = 0 ;
17677 PyObject * obj1 = 0 ;
17678 char *kwnames[] = {
17679 (char *) "type",(char *) "winid", NULL
17680 };
17681
17682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17683 if (obj0) {
c32bde28 17684 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 if (obj1) {
c32bde28 17688 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
17689 if (PyErr_Occurred()) SWIG_fail;
17690 }
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
c32bde28 17705static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17706 PyObject *resultobj;
17707 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17708 bool arg2 ;
17709 PyObject * obj0 = 0 ;
17710 PyObject * obj1 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self",(char *) "logOff", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
17716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17718 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
17719 if (PyErr_Occurred()) SWIG_fail;
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 (arg1)->SetLoggingOff(arg2);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 Py_INCREF(Py_None); resultobj = Py_None;
17728 return resultobj;
17729 fail:
17730 return NULL;
17731}
17732
17733
c32bde28 17734static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17735 PyObject *resultobj;
17736 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17737 bool result;
17738 PyObject * obj0 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17749
17750 wxPyEndAllowThreads(__tstate);
17751 if (PyErr_Occurred()) SWIG_fail;
17752 }
17753 {
17754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17755 }
17756 return resultobj;
17757 fail:
17758 return NULL;
17759}
17760
17761
c32bde28 17762static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17763 PyObject *resultobj;
17764 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
ae8162c8 17765 bool arg2 = (bool) true ;
d55e5bfc
RD
17766 PyObject * obj0 = 0 ;
17767 PyObject * obj1 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "veto", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17775 if (obj1) {
c32bde28 17776 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 {
17780 PyThreadState* __tstate = wxPyBeginAllowThreads();
17781 (arg1)->Veto(arg2);
17782
17783 wxPyEndAllowThreads(__tstate);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 }
17786 Py_INCREF(Py_None); resultobj = Py_None;
17787 return resultobj;
17788 fail:
17789 return NULL;
17790}
17791
17792
c32bde28 17793static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17794 PyObject *resultobj;
17795 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17796 bool arg2 ;
17797 PyObject * obj0 = 0 ;
17798 PyObject * obj1 = 0 ;
17799 char *kwnames[] = {
17800 (char *) "self",(char *) "canVeto", NULL
17801 };
17802
17803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
17804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17806 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
17807 if (PyErr_Occurred()) SWIG_fail;
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 (arg1)->SetCanVeto(arg2);
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 Py_INCREF(Py_None); resultobj = Py_None;
17816 return resultobj;
17817 fail:
17818 return NULL;
17819}
17820
17821
c32bde28 17822static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17823 PyObject *resultobj;
17824 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17825 bool result;
17826 PyObject * obj0 = 0 ;
17827 char *kwnames[] = {
17828 (char *) "self", NULL
17829 };
17830
17831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
17832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17834 {
17835 PyThreadState* __tstate = wxPyBeginAllowThreads();
17836 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17837
17838 wxPyEndAllowThreads(__tstate);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 {
17842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847}
17848
17849
c32bde28 17850static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17851 PyObject *resultobj;
17852 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17853 bool result;
17854 PyObject * obj0 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
17860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 {
17870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17871 }
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
c32bde28 17878static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17879 PyObject *obj;
17880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17881 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17882 Py_INCREF(obj);
17883 return Py_BuildValue((char *)"");
17884}
c32bde28 17885static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17886 PyObject *resultobj;
17887 int arg1 = (int) 0 ;
ae8162c8 17888 bool arg2 = (bool) false ;
d55e5bfc
RD
17889 wxShowEvent *result;
17890 PyObject * obj0 = 0 ;
17891 PyObject * obj1 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "winid",(char *) "show", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17897 if (obj0) {
c32bde28 17898 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 if (obj1) {
c32bde28 17902 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
17913 return resultobj;
17914 fail:
17915 return NULL;
17916}
17917
17918
c32bde28 17919static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17920 PyObject *resultobj;
17921 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17922 bool arg2 ;
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self",(char *) "show", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17932 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
17933 if (PyErr_Occurred()) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 (arg1)->SetShow(arg2);
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 Py_INCREF(Py_None); resultobj = Py_None;
17942 return resultobj;
17943 fail:
17944 return NULL;
17945}
17946
17947
c32bde28 17948static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17949 PyObject *resultobj;
17950 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17951 bool result;
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
17958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 {
17968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17969 }
17970 return resultobj;
17971 fail:
17972 return NULL;
17973}
17974
17975
c32bde28 17976static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17977 PyObject *obj;
17978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17979 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17980 Py_INCREF(obj);
17981 return Py_BuildValue((char *)"");
17982}
c32bde28 17983static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17984 PyObject *resultobj;
17985 int arg1 = (int) 0 ;
ae8162c8 17986 bool arg2 = (bool) true ;
d55e5bfc
RD
17987 wxIconizeEvent *result;
17988 PyObject * obj0 = 0 ;
17989 PyObject * obj1 = 0 ;
17990 char *kwnames[] = {
17991 (char *) "id",(char *) "iconized", NULL
17992 };
17993
17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17995 if (obj0) {
c32bde28 17996 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 if (obj1) {
c32bde28 18000 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18001 if (PyErr_Occurred()) SWIG_fail;
18002 }
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
c32bde28 18017static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18018 PyObject *resultobj;
18019 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
18020 bool result;
18021 PyObject * obj0 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
18027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
18028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 result = (bool)(arg1)->Iconized();
18032
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 {
18037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18038 }
18039 return resultobj;
18040 fail:
18041 return NULL;
18042}
18043
18044
c32bde28 18045static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18046 PyObject *obj;
18047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18048 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
18049 Py_INCREF(obj);
18050 return Py_BuildValue((char *)"");
18051}
c32bde28 18052static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18053 PyObject *resultobj;
18054 int arg1 = (int) 0 ;
18055 wxMaximizeEvent *result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "id", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
18062 if (obj0) {
c32bde28 18063 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 {
18067 PyThreadState* __tstate = wxPyBeginAllowThreads();
18068 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
18074 return resultobj;
18075 fail:
18076 return NULL;
18077}
18078
18079
c32bde28 18080static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18081 PyObject *obj;
18082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18083 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
18084 Py_INCREF(obj);
18085 return Py_BuildValue((char *)"");
18086}
c32bde28 18087static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18088 PyObject *resultobj;
18089 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18090 wxPoint result;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
18097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (arg1)->GetPosition();
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 {
18107 wxPoint * resultptr;
18108 resultptr = new wxPoint((wxPoint &) result);
18109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18110 }
18111 return resultobj;
18112 fail:
18113 return NULL;
18114}
18115
18116
c32bde28 18117static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18118 PyObject *resultobj;
18119 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18120 int result;
18121 PyObject * obj0 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
18127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 result = (int)(arg1)->GetNumberOfFiles();
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
c32bde28 18136 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
c32bde28 18143static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18144 PyObject *resultobj;
18145 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18146 PyObject *result;
18147 PyObject * obj0 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "self", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
18153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 resultobj = result;
18163 return resultobj;
18164 fail:
18165 return NULL;
18166}
18167
18168
c32bde28 18169static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18170 PyObject *obj;
18171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18172 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
18173 Py_INCREF(obj);
18174 return Py_BuildValue((char *)"");
18175}
c32bde28 18176static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18177 PyObject *resultobj;
18178 int arg1 = (int) 0 ;
18179 wxUpdateUIEvent *result;
18180 PyObject * obj0 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "commandId", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
18186 if (obj0) {
c32bde28 18187 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
18193
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
18198 return resultobj;
18199 fail:
18200 return NULL;
18201}
18202
18203
c32bde28 18204static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18205 PyObject *resultobj;
18206 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18207 bool result;
18208 PyObject * obj0 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
18214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
18223 {
18224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18225 }
18226 return resultobj;
18227 fail:
18228 return NULL;
18229}
18230
18231
c32bde28 18232static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18233 PyObject *resultobj;
18234 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18235 bool result;
18236 PyObject * obj0 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
18242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 {
18252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18253 }
18254 return resultobj;
18255 fail:
18256 return NULL;
18257}
18258
18259
c32bde28 18260static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18261 PyObject *resultobj;
18262 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18263 wxString result;
18264 PyObject * obj0 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
18270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = ((wxUpdateUIEvent const *)arg1)->GetText();
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280#if wxUSE_UNICODE
18281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18282#else
18283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18284#endif
18285 }
18286 return resultobj;
18287 fail:
18288 return NULL;
18289}
18290
18291
c32bde28 18292static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18293 PyObject *resultobj;
18294 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18295 bool result;
18296 PyObject * obj0 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
18302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 {
18312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18313 }
18314 return resultobj;
18315 fail:
18316 return NULL;
18317}
18318
18319
c32bde28 18320static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18321 PyObject *resultobj;
18322 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18323 bool result;
18324 PyObject * obj0 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "self", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
18330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 {
18340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18341 }
18342 return resultobj;
18343 fail:
18344 return NULL;
18345}
18346
18347
c32bde28 18348static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18349 PyObject *resultobj;
18350 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18351 bool result;
18352 PyObject * obj0 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
18358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 {
18368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18369 }
18370 return resultobj;
18371 fail:
18372 return NULL;
18373}
18374
18375
c32bde28 18376static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18377 PyObject *resultobj;
18378 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18379 bool arg2 ;
18380 PyObject * obj0 = 0 ;
18381 PyObject * obj1 = 0 ;
18382 char *kwnames[] = {
18383 (char *) "self",(char *) "check", NULL
18384 };
18385
18386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
18387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18389 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18390 if (PyErr_Occurred()) SWIG_fail;
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 (arg1)->Check(arg2);
18394
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 Py_INCREF(Py_None); resultobj = Py_None;
18399 return resultobj;
18400 fail:
18401 return NULL;
18402}
18403
18404
c32bde28 18405static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18406 PyObject *resultobj;
18407 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18408 bool arg2 ;
18409 PyObject * obj0 = 0 ;
18410 PyObject * obj1 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self",(char *) "enable", NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
18416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18418 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18419 if (PyErr_Occurred()) SWIG_fail;
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 (arg1)->Enable(arg2);
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 Py_INCREF(Py_None); resultobj = Py_None;
18428 return resultobj;
18429 fail:
18430 return NULL;
18431}
18432
18433
c32bde28 18434static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18435 PyObject *resultobj;
18436 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18437 wxString *arg2 = 0 ;
ae8162c8 18438 bool temp2 = false ;
d55e5bfc
RD
18439 PyObject * obj0 = 0 ;
18440 PyObject * obj1 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self",(char *) "text", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
18446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18448 {
18449 arg2 = wxString_in_helper(obj1);
18450 if (arg2 == NULL) SWIG_fail;
ae8162c8 18451 temp2 = true;
d55e5bfc
RD
18452 }
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 (arg1)->SetText((wxString const &)*arg2);
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 Py_INCREF(Py_None); resultobj = Py_None;
18461 {
18462 if (temp2)
18463 delete arg2;
18464 }
18465 return resultobj;
18466 fail:
18467 {
18468 if (temp2)
18469 delete arg2;
18470 }
18471 return NULL;
18472}
18473
18474
c32bde28 18475static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18476 PyObject *resultobj;
18477 long arg1 ;
18478 PyObject * obj0 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "updateInterval", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
c32bde28 18484 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
18485 if (PyErr_Occurred()) SWIG_fail;
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 wxUpdateUIEvent::SetUpdateInterval(arg1);
18489
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 Py_INCREF(Py_None); resultobj = Py_None;
18494 return resultobj;
18495 fail:
18496 return NULL;
18497}
18498
18499
c32bde28 18500static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18501 PyObject *resultobj;
18502 long result;
18503 char *kwnames[] = {
18504 NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
18510 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18511
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
c32bde28 18515 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
18516 return resultobj;
18517 fail:
18518 return NULL;
18519}
18520
18521
c32bde28 18522static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18523 PyObject *resultobj;
18524 wxWindow *arg1 = (wxWindow *) 0 ;
18525 bool result;
18526 PyObject * obj0 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "win", NULL
18529 };
18530
18531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
18532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18534 {
18535 PyThreadState* __tstate = wxPyBeginAllowThreads();
18536 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18537
18538 wxPyEndAllowThreads(__tstate);
18539 if (PyErr_Occurred()) SWIG_fail;
18540 }
18541 {
18542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18543 }
18544 return resultobj;
18545 fail:
18546 return NULL;
18547}
18548
18549
c32bde28 18550static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18551 PyObject *resultobj;
18552 char *kwnames[] = {
18553 NULL
18554 };
18555
18556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 wxUpdateUIEvent::ResetUpdateTime();
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 Py_INCREF(Py_None); resultobj = Py_None;
18565 return resultobj;
18566 fail:
18567 return NULL;
18568}
18569
18570
c32bde28 18571static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18572 PyObject *resultobj;
18573 int arg1 ;
18574 PyObject * obj0 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "mode", NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
c32bde28 18580 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18581 if (PyErr_Occurred()) SWIG_fail;
18582 {
18583 PyThreadState* __tstate = wxPyBeginAllowThreads();
18584 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18585
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 Py_INCREF(Py_None); resultobj = Py_None;
18590 return resultobj;
18591 fail:
18592 return NULL;
18593}
18594
18595
c32bde28 18596static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18597 PyObject *resultobj;
18598 int result;
18599 char *kwnames[] = {
18600 NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 result = (int)wxUpdateUIEvent::GetMode();
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
c32bde28 18611 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
18612 return resultobj;
18613 fail:
18614 return NULL;
18615}
18616
18617
c32bde28 18618static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18619 PyObject *obj;
18620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18621 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18622 Py_INCREF(obj);
18623 return Py_BuildValue((char *)"");
18624}
c32bde28 18625static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18626 PyObject *resultobj;
18627 wxSysColourChangedEvent *result;
18628 char *kwnames[] = {
18629 NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
18641 return resultobj;
18642 fail:
18643 return NULL;
18644}
18645
18646
c32bde28 18647static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18648 PyObject *obj;
18649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18650 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18651 Py_INCREF(obj);
18652 return Py_BuildValue((char *)"");
18653}
c32bde28 18654static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18655 PyObject *resultobj;
18656 int arg1 = (int) 0 ;
18657 wxWindow *arg2 = (wxWindow *) NULL ;
18658 wxMouseCaptureChangedEvent *result;
18659 PyObject * obj0 = 0 ;
18660 PyObject * obj1 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "winid",(char *) "gainedCapture", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18666 if (obj0) {
c32bde28 18667 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 if (obj1) {
18671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18673 }
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
18682 return resultobj;
18683 fail:
18684 return NULL;
18685}
18686
18687
c32bde28 18688static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18689 PyObject *resultobj;
18690 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18691 wxWindow *result;
18692 PyObject * obj0 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 {
412d302d 18708 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18709 }
18710 return resultobj;
18711 fail:
18712 return NULL;
18713}
18714
18715
c32bde28 18716static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18717 PyObject *obj;
18718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18719 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18720 Py_INCREF(obj);
18721 return Py_BuildValue((char *)"");
18722}
c32bde28 18723static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18724 PyObject *resultobj;
18725 wxDisplayChangedEvent *result;
18726 char *kwnames[] = {
18727 NULL
18728 };
18729
18730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
18739 return resultobj;
18740 fail:
18741 return NULL;
18742}
18743
18744
c32bde28 18745static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18746 PyObject *obj;
18747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18748 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18749 Py_INCREF(obj);
18750 return Py_BuildValue((char *)"");
18751}
c32bde28 18752static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18753 PyObject *resultobj;
18754 int arg1 = (int) 0 ;
18755 wxPaletteChangedEvent *result;
18756 PyObject * obj0 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "id", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18762 if (obj0) {
c32bde28 18763 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18769
18770 wxPyEndAllowThreads(__tstate);
18771 if (PyErr_Occurred()) SWIG_fail;
18772 }
18773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
18774 return resultobj;
18775 fail:
18776 return NULL;
18777}
18778
18779
c32bde28 18780static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18781 PyObject *resultobj;
18782 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18783 wxWindow *arg2 = (wxWindow *) 0 ;
18784 PyObject * obj0 = 0 ;
18785 PyObject * obj1 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "self",(char *) "win", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
18791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 (arg1)->SetChangedWindow(arg2);
18798
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 Py_INCREF(Py_None); resultobj = Py_None;
18803 return resultobj;
18804 fail:
18805 return NULL;
18806}
18807
18808
c32bde28 18809static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18810 PyObject *resultobj;
18811 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18812 wxWindow *result;
18813 PyObject * obj0 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
18819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (wxWindow *)(arg1)->GetChangedWindow();
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 {
412d302d 18829 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18830 }
18831 return resultobj;
18832 fail:
18833 return NULL;
18834}
18835
18836
c32bde28 18837static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18838 PyObject *obj;
18839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18840 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18841 Py_INCREF(obj);
18842 return Py_BuildValue((char *)"");
18843}
c32bde28 18844static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18845 PyObject *resultobj;
18846 int arg1 = (int) 0 ;
18847 wxQueryNewPaletteEvent *result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "winid", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18854 if (obj0) {
c32bde28 18855 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
18866 return resultobj;
18867 fail:
18868 return NULL;
18869}
18870
18871
c32bde28 18872static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18873 PyObject *resultobj;
18874 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18875 bool arg2 ;
18876 PyObject * obj0 = 0 ;
18877 PyObject * obj1 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self",(char *) "realized", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
18883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18885 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
18886 if (PyErr_Occurred()) SWIG_fail;
18887 {
18888 PyThreadState* __tstate = wxPyBeginAllowThreads();
18889 (arg1)->SetPaletteRealized(arg2);
18890
18891 wxPyEndAllowThreads(__tstate);
18892 if (PyErr_Occurred()) SWIG_fail;
18893 }
18894 Py_INCREF(Py_None); resultobj = Py_None;
18895 return resultobj;
18896 fail:
18897 return NULL;
18898}
18899
18900
c32bde28 18901static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18902 PyObject *resultobj;
18903 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18904 bool result;
18905 PyObject * obj0 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "self", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
18911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18913 {
18914 PyThreadState* __tstate = wxPyBeginAllowThreads();
18915 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18916
18917 wxPyEndAllowThreads(__tstate);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 {
18921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18922 }
18923 return resultobj;
18924 fail:
18925 return NULL;
18926}
18927
18928
c32bde28 18929static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18930 PyObject *obj;
18931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18933 Py_INCREF(obj);
18934 return Py_BuildValue((char *)"");
18935}
c32bde28 18936static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18937 PyObject *resultobj;
18938 wxNavigationKeyEvent *result;
18939 char *kwnames[] = {
18940 NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
18952 return resultobj;
18953 fail:
18954 return NULL;
18955}
18956
18957
c32bde28 18958static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18959 PyObject *resultobj;
18960 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18961 bool result;
18962 PyObject * obj0 = 0 ;
18963 char *kwnames[] = {
18964 (char *) "self", NULL
18965 };
18966
18967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
18968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 {
18978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18979 }
18980 return resultobj;
18981 fail:
18982 return NULL;
18983}
18984
18985
c32bde28 18986static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18987 PyObject *resultobj;
18988 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18989 bool arg2 ;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 char *kwnames[] = {
908b74cd 18993 (char *) "self",(char *) "forward", NULL
d55e5bfc
RD
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18999 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19000 if (PyErr_Occurred()) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->SetDirection(arg2);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012}
19013
19014
c32bde28 19015static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19016 PyObject *resultobj;
19017 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19018 bool result;
19019 PyObject * obj0 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
19025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 {
19035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19036 }
19037 return resultobj;
19038 fail:
19039 return NULL;
19040}
19041
19042
c32bde28 19043static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19044 PyObject *resultobj;
19045 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19046 bool arg2 ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
908b74cd 19050 (char *) "self",(char *) "ischange", NULL
d55e5bfc
RD
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19056 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19057 if (PyErr_Occurred()) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->SetWindowChange(arg2);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 Py_INCREF(Py_None); resultobj = Py_None;
19066 return resultobj;
19067 fail:
19068 return NULL;
19069}
19070
19071
c32bde28 19072static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
19073 PyObject *resultobj;
19074 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19075 long arg2 ;
19076 PyObject * obj0 = 0 ;
19077 PyObject * obj1 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "flags", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19085 arg2 = (long)SWIG_As_long(obj1);
908b74cd
RD
19086 if (PyErr_Occurred()) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 (arg1)->SetFlags(arg2);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 Py_INCREF(Py_None); resultobj = Py_None;
19095 return resultobj;
19096 fail:
19097 return NULL;
19098}
19099
19100
c32bde28 19101static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19102 PyObject *resultobj;
19103 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19104 wxWindow *result;
19105 PyObject * obj0 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 {
412d302d 19121 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19122 }
19123 return resultobj;
19124 fail:
19125 return NULL;
19126}
19127
19128
c32bde28 19129static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19130 PyObject *resultobj;
19131 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19132 wxWindow *arg2 = (wxWindow *) 0 ;
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "win", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 (arg1)->SetCurrentFocus(arg2);
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 Py_INCREF(Py_None); resultobj = Py_None;
19152 return resultobj;
19153 fail:
19154 return NULL;
19155}
19156
19157
c32bde28 19158static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19159 PyObject *obj;
19160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19161 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
19162 Py_INCREF(obj);
19163 return Py_BuildValue((char *)"");
19164}
c32bde28 19165static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19166 PyObject *resultobj;
19167 wxWindow *arg1 = (wxWindow *) NULL ;
19168 wxWindowCreateEvent *result;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "win", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
19175 if (obj0) {
19176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19178 }
19179 {
19180 PyThreadState* __tstate = wxPyBeginAllowThreads();
19181 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
19182
19183 wxPyEndAllowThreads(__tstate);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 }
19186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
19187 return resultobj;
19188 fail:
19189 return NULL;
19190}
19191
19192
c32bde28 19193static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19194 PyObject *resultobj;
19195 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
19196 wxWindow *result;
19197 PyObject * obj0 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
19203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
19204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
412d302d 19213 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19214 }
19215 return resultobj;
19216 fail:
19217 return NULL;
19218}
19219
19220
c32bde28 19221static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19222 PyObject *obj;
19223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19224 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
19225 Py_INCREF(obj);
19226 return Py_BuildValue((char *)"");
19227}
c32bde28 19228static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19229 PyObject *resultobj;
19230 wxWindow *arg1 = (wxWindow *) NULL ;
19231 wxWindowDestroyEvent *result;
19232 PyObject * obj0 = 0 ;
19233 char *kwnames[] = {
19234 (char *) "win", NULL
19235 };
19236
19237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
19238 if (obj0) {
19239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19241 }
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
19250 return resultobj;
19251 fail:
19252 return NULL;
19253}
19254
19255
c32bde28 19256static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19257 PyObject *resultobj;
19258 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
19259 wxWindow *result;
19260 PyObject * obj0 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
19267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
19271
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 {
412d302d 19276 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19277 }
19278 return resultobj;
19279 fail:
19280 return NULL;
19281}
19282
19283
c32bde28 19284static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19285 PyObject *obj;
19286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19287 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
19288 Py_INCREF(obj);
19289 return Py_BuildValue((char *)"");
19290}
c32bde28 19291static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19292 PyObject *resultobj;
19293 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19294 int arg2 = (int) 0 ;
19295 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19296 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19297 wxContextMenuEvent *result;
19298 wxPoint temp3 ;
19299 PyObject * obj0 = 0 ;
19300 PyObject * obj1 = 0 ;
19301 PyObject * obj2 = 0 ;
19302 char *kwnames[] = {
19303 (char *) "type",(char *) "winid",(char *) "pt", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
19307 if (obj0) {
c32bde28 19308 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 if (obj1) {
c32bde28 19312 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 if (obj2) {
19316 {
19317 arg3 = &temp3;
19318 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19319 }
19320 }
19321 {
19322 PyThreadState* __tstate = wxPyBeginAllowThreads();
19323 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
19324
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
19329 return resultobj;
19330 fail:
19331 return NULL;
19332}
19333
19334
c32bde28 19335static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19336 PyObject *resultobj;
19337 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19338 wxPoint *result;
19339 PyObject * obj0 = 0 ;
19340 char *kwnames[] = {
19341 (char *) "self", NULL
19342 };
19343
19344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
19345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 {
19350 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
19351 result = (wxPoint *) &_result_ref;
19352 }
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
c32bde28 19364static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19365 PyObject *resultobj;
19366 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19367 wxPoint *arg2 = 0 ;
19368 wxPoint temp2 ;
19369 PyObject * obj0 = 0 ;
19370 PyObject * obj1 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "self",(char *) "pos", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
19376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19378 {
19379 arg2 = &temp2;
19380 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19381 }
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 (arg1)->SetPosition((wxPoint const &)*arg2);
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
19389 Py_INCREF(Py_None); resultobj = Py_None;
19390 return resultobj;
19391 fail:
19392 return NULL;
19393}
19394
19395
c32bde28 19396static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19397 PyObject *obj;
19398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19399 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19400 Py_INCREF(obj);
19401 return Py_BuildValue((char *)"");
19402}
c32bde28 19403static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19404 PyObject *resultobj;
19405 wxIdleEvent *result;
19406 char *kwnames[] = {
19407 NULL
19408 };
19409
19410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19411 {
19412 PyThreadState* __tstate = wxPyBeginAllowThreads();
19413 result = (wxIdleEvent *)new wxIdleEvent();
19414
19415 wxPyEndAllowThreads(__tstate);
19416 if (PyErr_Occurred()) SWIG_fail;
19417 }
19418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
19419 return resultobj;
19420 fail:
19421 return NULL;
19422}
19423
19424
c32bde28 19425static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19426 PyObject *resultobj;
19427 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
ae8162c8 19428 bool arg2 = (bool) true ;
d55e5bfc
RD
19429 PyObject * obj0 = 0 ;
19430 PyObject * obj1 = 0 ;
19431 char *kwnames[] = {
19432 (char *) "self",(char *) "needMore", NULL
19433 };
19434
19435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
19436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19438 if (obj1) {
c32bde28 19439 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
19440 if (PyErr_Occurred()) SWIG_fail;
19441 }
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 (arg1)->RequestMore(arg2);
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 Py_INCREF(Py_None); resultobj = Py_None;
19450 return resultobj;
19451 fail:
19452 return NULL;
19453}
19454
19455
c32bde28 19456static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19457 PyObject *resultobj;
19458 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19459 bool result;
19460 PyObject * obj0 = 0 ;
19461 char *kwnames[] = {
19462 (char *) "self", NULL
19463 };
19464
19465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
19466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19468 {
19469 PyThreadState* __tstate = wxPyBeginAllowThreads();
19470 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19471
19472 wxPyEndAllowThreads(__tstate);
19473 if (PyErr_Occurred()) SWIG_fail;
19474 }
19475 {
19476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19477 }
19478 return resultobj;
19479 fail:
19480 return NULL;
19481}
19482
19483
c32bde28 19484static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19485 PyObject *resultobj;
19486 int arg1 ;
19487 PyObject * obj0 = 0 ;
19488 char *kwnames[] = {
19489 (char *) "mode", NULL
19490 };
19491
19492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
c32bde28 19493 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
19494 if (PyErr_Occurred()) SWIG_fail;
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 wxIdleEvent::SetMode((wxIdleMode )arg1);
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 Py_INCREF(Py_None); resultobj = Py_None;
19503 return resultobj;
19504 fail:
19505 return NULL;
19506}
19507
19508
c32bde28 19509static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19510 PyObject *resultobj;
19511 int result;
19512 char *kwnames[] = {
19513 NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 result = (int)wxIdleEvent::GetMode();
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
c32bde28 19524 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
19525 return resultobj;
19526 fail:
19527 return NULL;
19528}
19529
19530
c32bde28 19531static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19532 PyObject *resultobj;
19533 wxWindow *arg1 = (wxWindow *) 0 ;
19534 bool result;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "win", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
19541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 result = (bool)wxIdleEvent::CanSend(arg1);
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 {
19551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19552 }
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
c32bde28 19559static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19560 PyObject *obj;
19561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19562 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19563 Py_INCREF(obj);
19564 return Py_BuildValue((char *)"");
19565}
c32bde28 19566static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19567 PyObject *resultobj;
19568 int arg1 = (int) 0 ;
19569 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19570 wxPyEvent *result;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "winid",(char *) "commandType", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19578 if (obj0) {
c32bde28 19579 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
19580 if (PyErr_Occurred()) SWIG_fail;
19581 }
19582 if (obj1) {
c32bde28 19583 arg2 = (wxEventType)SWIG_As_int(obj1);
d55e5bfc
RD
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
19594 return resultobj;
19595 fail:
19596 return NULL;
19597}
19598
19599
c32bde28 19600static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19601 PyObject *resultobj;
19602 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19603 PyObject * obj0 = 0 ;
19604 char *kwnames[] = {
19605 (char *) "self", NULL
19606 };
19607
19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
19609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 delete arg1;
19614
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 Py_INCREF(Py_None); resultobj = Py_None;
19619 return resultobj;
19620 fail:
19621 return NULL;
19622}
19623
19624
c32bde28 19625static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19626 PyObject *resultobj;
19627 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19628 PyObject *arg2 = (PyObject *) 0 ;
19629 PyObject * obj0 = 0 ;
19630 PyObject * obj1 = 0 ;
19631 char *kwnames[] = {
19632 (char *) "self",(char *) "self", NULL
19633 };
19634
19635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19638 arg2 = obj1;
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 (arg1)->SetSelf(arg2);
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650}
19651
19652
c32bde28 19653static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19654 PyObject *resultobj;
19655 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19656 PyObject *result;
19657 PyObject * obj0 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
19663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 result = (PyObject *)(arg1)->GetSelf();
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
19672 resultobj = result;
19673 return resultobj;
19674 fail:
19675 return NULL;
19676}
19677
19678
c32bde28 19679static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19680 PyObject *obj;
19681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19682 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19683 Py_INCREF(obj);
19684 return Py_BuildValue((char *)"");
19685}
c32bde28 19686static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19687 PyObject *resultobj;
19688 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19689 int arg2 = (int) 0 ;
19690 wxPyCommandEvent *result;
19691 PyObject * obj0 = 0 ;
19692 PyObject * obj1 = 0 ;
19693 char *kwnames[] = {
19694 (char *) "commandType",(char *) "id", NULL
19695 };
19696
19697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19698 if (obj0) {
c32bde28 19699 arg1 = (wxEventType)SWIG_As_int(obj0);
d55e5bfc
RD
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 if (obj1) {
c32bde28 19703 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
19713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
19714 return resultobj;
19715 fail:
19716 return NULL;
19717}
19718
19719
c32bde28 19720static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19721 PyObject *resultobj;
19722 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19723 PyObject * obj0 = 0 ;
19724 char *kwnames[] = {
19725 (char *) "self", NULL
19726 };
19727
19728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
19729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 delete arg1;
19734
19735 wxPyEndAllowThreads(__tstate);
19736 if (PyErr_Occurred()) SWIG_fail;
19737 }
19738 Py_INCREF(Py_None); resultobj = Py_None;
19739 return resultobj;
19740 fail:
19741 return NULL;
19742}
19743
19744
c32bde28 19745static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19746 PyObject *resultobj;
19747 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19748 PyObject *arg2 = (PyObject *) 0 ;
19749 PyObject * obj0 = 0 ;
19750 PyObject * obj1 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self",(char *) "self", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19758 arg2 = obj1;
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 (arg1)->SetSelf(arg2);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 Py_INCREF(Py_None); resultobj = Py_None;
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
c32bde28 19773static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19774 PyObject *resultobj;
19775 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19776 PyObject *result;
19777 PyObject * obj0 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (PyObject *)(arg1)->GetSelf();
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 resultobj = result;
19793 return resultobj;
19794 fail:
19795 return NULL;
19796}
19797
19798
c32bde28 19799static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19800 PyObject *obj;
19801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19802 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19803 Py_INCREF(obj);
19804 return Py_BuildValue((char *)"");
19805}
c32bde28 19806static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19807 PyObject *resultobj;
19808 wxPyApp *result;
19809 char *kwnames[] = {
19810 NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (wxPyApp *)new_wxPyApp();
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
b0f7404b 19821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
d55e5bfc
RD
19822 return resultobj;
19823 fail:
19824 return NULL;
19825}
19826
19827
c32bde28 19828static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19829 PyObject *resultobj;
19830 wxPyApp *arg1 = (wxPyApp *) 0 ;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 delete arg1;
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850}
19851
19852
c32bde28 19853static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19854 PyObject *resultobj;
19855 wxPyApp *arg1 = (wxPyApp *) 0 ;
19856 PyObject *arg2 = (PyObject *) 0 ;
19857 PyObject *arg3 = (PyObject *) 0 ;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 PyObject * obj2 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self",(char *) "self",(char *) "_class", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19868 arg2 = obj1;
19869 arg3 = obj2;
19870 {
19871 PyThreadState* __tstate = wxPyBeginAllowThreads();
19872 (arg1)->_setCallbackInfo(arg2,arg3);
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
c32bde28 19884static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19885 PyObject *resultobj;
19886 wxPyApp *arg1 = (wxPyApp *) 0 ;
19887 wxString result;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 result = ((wxPyApp const *)arg1)->GetAppName();
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 {
19904#if wxUSE_UNICODE
19905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19906#else
19907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19908#endif
19909 }
19910 return resultobj;
19911 fail:
19912 return NULL;
19913}
19914
19915
c32bde28 19916static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19917 PyObject *resultobj;
19918 wxPyApp *arg1 = (wxPyApp *) 0 ;
19919 wxString *arg2 = 0 ;
ae8162c8 19920 bool temp2 = false ;
d55e5bfc
RD
19921 PyObject * obj0 = 0 ;
19922 PyObject * obj1 = 0 ;
19923 char *kwnames[] = {
19924 (char *) "self",(char *) "name", NULL
19925 };
19926
19927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
19928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19930 {
19931 arg2 = wxString_in_helper(obj1);
19932 if (arg2 == NULL) SWIG_fail;
ae8162c8 19933 temp2 = true;
d55e5bfc
RD
19934 }
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 (arg1)->SetAppName((wxString const &)*arg2);
19938
19939 wxPyEndAllowThreads(__tstate);
19940 if (PyErr_Occurred()) SWIG_fail;
19941 }
19942 Py_INCREF(Py_None); resultobj = Py_None;
19943 {
19944 if (temp2)
19945 delete arg2;
19946 }
19947 return resultobj;
19948 fail:
19949 {
19950 if (temp2)
19951 delete arg2;
19952 }
19953 return NULL;
19954}
19955
19956
c32bde28 19957static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19958 PyObject *resultobj;
19959 wxPyApp *arg1 = (wxPyApp *) 0 ;
19960 wxString result;
19961 PyObject * obj0 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 result = ((wxPyApp const *)arg1)->GetClassName();
19972
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 {
19977#if wxUSE_UNICODE
19978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19979#else
19980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19981#endif
19982 }
19983 return resultobj;
19984 fail:
19985 return NULL;
19986}
19987
19988
c32bde28 19989static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19990 PyObject *resultobj;
19991 wxPyApp *arg1 = (wxPyApp *) 0 ;
19992 wxString *arg2 = 0 ;
ae8162c8 19993 bool temp2 = false ;
d55e5bfc
RD
19994 PyObject * obj0 = 0 ;
19995 PyObject * obj1 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self",(char *) "name", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
20001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20003 {
20004 arg2 = wxString_in_helper(obj1);
20005 if (arg2 == NULL) SWIG_fail;
ae8162c8 20006 temp2 = true;
d55e5bfc
RD
20007 }
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 (arg1)->SetClassName((wxString const &)*arg2);
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 Py_INCREF(Py_None); resultobj = Py_None;
20016 {
20017 if (temp2)
20018 delete arg2;
20019 }
20020 return resultobj;
20021 fail:
20022 {
20023 if (temp2)
20024 delete arg2;
20025 }
20026 return NULL;
20027}
20028
20029
c32bde28 20030static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20031 PyObject *resultobj;
20032 wxPyApp *arg1 = (wxPyApp *) 0 ;
20033 wxString *result;
20034 PyObject * obj0 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "self", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
20040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 {
20045 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
20046 result = (wxString *) &_result_ref;
20047 }
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 {
20053#if wxUSE_UNICODE
20054 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20055#else
20056 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20057#endif
20058 }
20059 return resultobj;
20060 fail:
20061 return NULL;
20062}
20063
20064
c32bde28 20065static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20066 PyObject *resultobj;
20067 wxPyApp *arg1 = (wxPyApp *) 0 ;
20068 wxString *arg2 = 0 ;
ae8162c8 20069 bool temp2 = false ;
d55e5bfc
RD
20070 PyObject * obj0 = 0 ;
20071 PyObject * obj1 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self",(char *) "name", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20079 {
20080 arg2 = wxString_in_helper(obj1);
20081 if (arg2 == NULL) SWIG_fail;
ae8162c8 20082 temp2 = true;
d55e5bfc
RD
20083 }
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 (arg1)->SetVendorName((wxString const &)*arg2);
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 Py_INCREF(Py_None); resultobj = Py_None;
20092 {
20093 if (temp2)
20094 delete arg2;
20095 }
20096 return resultobj;
20097 fail:
20098 {
20099 if (temp2)
20100 delete arg2;
20101 }
20102 return NULL;
20103}
20104
20105
c32bde28 20106static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20107 PyObject *resultobj;
20108 wxPyApp *arg1 = (wxPyApp *) 0 ;
20109 wxAppTraits *result;
20110 PyObject * obj0 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
20116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 result = (wxAppTraits *)(arg1)->GetTraits();
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
20126 return resultobj;
20127 fail:
20128 return NULL;
20129}
20130
20131
c32bde28 20132static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20133 PyObject *resultobj;
20134 wxPyApp *arg1 = (wxPyApp *) 0 ;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 (arg1)->ProcessPendingEvents();
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 Py_INCREF(Py_None); resultobj = Py_None;
20151 return resultobj;
20152 fail:
20153 return NULL;
20154}
20155
20156
c32bde28 20157static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20158 PyObject *resultobj;
20159 wxPyApp *arg1 = (wxPyApp *) 0 ;
ae8162c8 20160 bool arg2 = (bool) false ;
d55e5bfc
RD
20161 bool result;
20162 PyObject * obj0 = 0 ;
20163 PyObject * obj1 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self",(char *) "onlyIfNeeded", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
20169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20171 if (obj1) {
c32bde28 20172 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 result = (bool)(arg1)->Yield(arg2);
20178
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 {
20183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20184 }
20185 return resultobj;
20186 fail:
20187 return NULL;
20188}
20189
20190
c32bde28 20191static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20192 PyObject *resultobj;
20193 wxPyApp *arg1 = (wxPyApp *) 0 ;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 (arg1)->WakeUpIdle();
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 Py_INCREF(Py_None); resultobj = Py_None;
20210 return resultobj;
20211 fail:
20212 return NULL;
20213}
20214
20215
84f85550
RD
20216static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) {
20217 PyObject *resultobj;
20218 bool result;
20219 char *kwnames[] = {
20220 NULL
20221 };
20222
20223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_IsMainLoopRunning",kwnames)) goto fail;
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 result = (bool)wxPyApp::IsMainLoopRunning();
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 {
20232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20233 }
20234 return resultobj;
20235 fail:
20236 return NULL;
20237}
20238
20239
c32bde28 20240static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20241 PyObject *resultobj;
20242 wxPyApp *arg1 = (wxPyApp *) 0 ;
20243 int result;
20244 PyObject * obj0 = 0 ;
20245 char *kwnames[] = {
20246 (char *) "self", NULL
20247 };
20248
20249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
20250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 result = (int)(arg1)->MainLoop();
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
c32bde28 20259 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
c32bde28 20266static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20267 PyObject *resultobj;
20268 wxPyApp *arg1 = (wxPyApp *) 0 ;
20269 PyObject * obj0 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 (arg1)->Exit();
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 Py_INCREF(Py_None); resultobj = Py_None;
20285 return resultobj;
20286 fail:
20287 return NULL;
20288}
20289
20290
c32bde28 20291static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20292 PyObject *resultobj;
20293 wxPyApp *arg1 = (wxPyApp *) 0 ;
20294 PyObject * obj0 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
20300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 (arg1)->ExitMainLoop();
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 Py_INCREF(Py_None); resultobj = Py_None;
20310 return resultobj;
20311 fail:
20312 return NULL;
20313}
20314
20315
c32bde28 20316static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20317 PyObject *resultobj;
20318 wxPyApp *arg1 = (wxPyApp *) 0 ;
20319 bool result;
20320 PyObject * obj0 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self", NULL
20323 };
20324
20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
20326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (bool)(arg1)->Pending();
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20337 }
20338 return resultobj;
20339 fail:
20340 return NULL;
20341}
20342
20343
c32bde28 20344static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20345 PyObject *resultobj;
20346 wxPyApp *arg1 = (wxPyApp *) 0 ;
20347 bool result;
20348 PyObject * obj0 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
20354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 result = (bool)(arg1)->Dispatch();
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 {
20364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20365 }
20366 return resultobj;
20367 fail:
20368 return NULL;
20369}
20370
20371
c32bde28 20372static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20373 PyObject *resultobj;
20374 wxPyApp *arg1 = (wxPyApp *) 0 ;
20375 bool result;
20376 PyObject * obj0 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = (bool)(arg1)->ProcessIdle();
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 {
20392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20393 }
20394 return resultobj;
20395 fail:
20396 return NULL;
20397}
20398
20399
c32bde28 20400static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20401 PyObject *resultobj;
20402 wxPyApp *arg1 = (wxPyApp *) 0 ;
20403 wxWindow *arg2 = (wxWindow *) 0 ;
20404 wxIdleEvent *arg3 = 0 ;
20405 bool result;
20406 PyObject * obj0 = 0 ;
20407 PyObject * obj1 = 0 ;
20408 PyObject * obj2 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self",(char *) "win",(char *) "event", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
20414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20418 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20419 SWIG_POINTER_EXCEPTION | 0)) == -1)
20420 SWIG_fail;
20421 if (arg3 == NULL) {
20422 PyErr_SetString(PyExc_TypeError,"null reference");
20423 SWIG_fail;
20424 }
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20434 }
20435 return resultobj;
20436 fail:
20437 return NULL;
20438}
20439
20440
c32bde28 20441static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20442 PyObject *resultobj;
20443 wxPyApp *arg1 = (wxPyApp *) 0 ;
20444 bool result;
20445 PyObject * obj0 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
20451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (bool)((wxPyApp const *)arg1)->IsActive();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 {
20461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20462 }
20463 return resultobj;
20464 fail:
20465 return NULL;
20466}
20467
20468
c32bde28 20469static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20470 PyObject *resultobj;
20471 wxPyApp *arg1 = (wxPyApp *) 0 ;
20472 wxWindow *arg2 = (wxWindow *) 0 ;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self",(char *) "win", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
20480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 (arg1)->SetTopWindow(arg2);
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 Py_INCREF(Py_None); resultobj = Py_None;
20492 return resultobj;
20493 fail:
20494 return NULL;
20495}
20496
20497
c32bde28 20498static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20499 PyObject *resultobj;
20500 wxPyApp *arg1 = (wxPyApp *) 0 ;
20501 wxWindow *result;
20502 PyObject * obj0 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
20508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
20512 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20513
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 {
412d302d 20518 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20519 }
20520 return resultobj;
20521 fail:
20522 return NULL;
20523}
20524
20525
c32bde28 20526static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20527 PyObject *resultobj;
20528 wxPyApp *arg1 = (wxPyApp *) 0 ;
20529 bool arg2 ;
20530 PyObject * obj0 = 0 ;
20531 PyObject * obj1 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self",(char *) "flag", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
20537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20539 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20540 if (PyErr_Occurred()) SWIG_fail;
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 (arg1)->SetExitOnFrameDelete(arg2);
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 Py_INCREF(Py_None); resultobj = Py_None;
20549 return resultobj;
20550 fail:
20551 return NULL;
20552}
20553
20554
c32bde28 20555static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20556 PyObject *resultobj;
20557 wxPyApp *arg1 = (wxPyApp *) 0 ;
20558 bool result;
20559 PyObject * obj0 = 0 ;
20560 char *kwnames[] = {
20561 (char *) "self", NULL
20562 };
20563
20564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
20565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20567 {
20568 PyThreadState* __tstate = wxPyBeginAllowThreads();
20569 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20570
20571 wxPyEndAllowThreads(__tstate);
20572 if (PyErr_Occurred()) SWIG_fail;
20573 }
20574 {
20575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20576 }
20577 return resultobj;
20578 fail:
20579 return NULL;
20580}
20581
20582
c32bde28 20583static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20584 PyObject *resultobj;
20585 wxPyApp *arg1 = (wxPyApp *) 0 ;
20586 bool arg2 ;
20587 PyObject * obj0 = 0 ;
20588 PyObject * obj1 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self",(char *) "flag", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
20594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20596 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
20597 if (PyErr_Occurred()) SWIG_fail;
20598 {
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 (arg1)->SetUseBestVisual(arg2);
20601
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 Py_INCREF(Py_None); resultobj = Py_None;
20606 return resultobj;
20607 fail:
20608 return NULL;
20609}
20610
20611
c32bde28 20612static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20613 PyObject *resultobj;
20614 wxPyApp *arg1 = (wxPyApp *) 0 ;
20615 bool result;
20616 PyObject * obj0 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 {
20632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20633 }
20634 return resultobj;
20635 fail:
20636 return NULL;
20637}
20638
20639
c32bde28 20640static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20641 PyObject *resultobj;
20642 wxPyApp *arg1 = (wxPyApp *) 0 ;
20643 int arg2 ;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "mode", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20653 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20654 if (PyErr_Occurred()) SWIG_fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 (arg1)->SetPrintMode(arg2);
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 Py_INCREF(Py_None); resultobj = Py_None;
20663 return resultobj;
20664 fail:
20665 return NULL;
20666}
20667
20668
c32bde28 20669static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20670 PyObject *resultobj;
20671 wxPyApp *arg1 = (wxPyApp *) 0 ;
20672 int result;
20673 PyObject * obj0 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20684
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
c32bde28 20688 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20689 return resultobj;
20690 fail:
20691 return NULL;
20692}
20693
20694
c32bde28 20695static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20696 PyObject *resultobj;
20697 wxPyApp *arg1 = (wxPyApp *) 0 ;
20698 int arg2 ;
20699 PyObject * obj0 = 0 ;
20700 PyObject * obj1 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self",(char *) "mode", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20708 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
20709 if (PyErr_Occurred()) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->SetAssertMode(arg2);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 return resultobj;
20719 fail:
20720 return NULL;
20721}
20722
20723
c32bde28 20724static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20725 PyObject *resultobj;
20726 wxPyApp *arg1 = (wxPyApp *) 0 ;
20727 int result;
20728 PyObject * obj0 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "self", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
20734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = (int)(arg1)->GetAssertMode();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
c32bde28 20743 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
20744 return resultobj;
20745 fail:
20746 return NULL;
20747}
20748
20749
c32bde28 20750static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20751 PyObject *resultobj;
20752 bool result;
20753 char *kwnames[] = {
20754 NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 {
20766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20767 }
20768 return resultobj;
20769 fail:
20770 return NULL;
20771}
20772
20773
c32bde28 20774static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20775 PyObject *resultobj;
20776 long result;
20777 char *kwnames[] = {
20778 NULL
20779 };
20780
20781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20782 {
20783 PyThreadState* __tstate = wxPyBeginAllowThreads();
20784 result = (long)wxPyApp::GetMacAboutMenuItemId();
20785
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
c32bde28 20789 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20790 return resultobj;
20791 fail:
20792 return NULL;
20793}
20794
20795
c32bde28 20796static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20797 PyObject *resultobj;
20798 long result;
20799 char *kwnames[] = {
20800 NULL
20801 };
20802
20803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20804 {
20805 PyThreadState* __tstate = wxPyBeginAllowThreads();
20806 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20807
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
c32bde28 20811 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20812 return resultobj;
20813 fail:
20814 return NULL;
20815}
20816
20817
c32bde28 20818static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20819 PyObject *resultobj;
20820 long result;
20821 char *kwnames[] = {
20822 NULL
20823 };
20824
20825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = (long)wxPyApp::GetMacExitMenuItemId();
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
c32bde28 20833 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
20834 return resultobj;
20835 fail:
20836 return NULL;
20837}
20838
20839
c32bde28 20840static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20841 PyObject *resultobj;
20842 wxString result;
20843 char *kwnames[] = {
20844 NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 result = wxPyApp::GetMacHelpMenuTitleName();
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 {
20856#if wxUSE_UNICODE
20857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20858#else
20859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20860#endif
20861 }
20862 return resultobj;
20863 fail:
20864 return NULL;
20865}
20866
20867
c32bde28 20868static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20869 PyObject *resultobj;
20870 bool arg1 ;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "val", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
c32bde28 20877 arg1 = (bool)SWIG_As_bool(obj0);
d55e5bfc
RD
20878 if (PyErr_Occurred()) SWIG_fail;
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20882
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
20886 Py_INCREF(Py_None); resultobj = Py_None;
20887 return resultobj;
20888 fail:
20889 return NULL;
20890}
20891
20892
c32bde28 20893static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20894 PyObject *resultobj;
20895 long arg1 ;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "val", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 20902 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
20903 if (PyErr_Occurred()) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 wxPyApp::SetMacAboutMenuItemId(arg1);
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 Py_INCREF(Py_None); resultobj = Py_None;
20912 return resultobj;
20913 fail:
20914 return NULL;
20915}
20916
20917
c32bde28 20918static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20919 PyObject *resultobj;
20920 long arg1 ;
20921 PyObject * obj0 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "val", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 20927 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
20928 if (PyErr_Occurred()) SWIG_fail;
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 Py_INCREF(Py_None); resultobj = Py_None;
20937 return resultobj;
20938 fail:
20939 return NULL;
20940}
20941
20942
c32bde28 20943static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20944 PyObject *resultobj;
20945 long arg1 ;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "val", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 20952 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
20953 if (PyErr_Occurred()) SWIG_fail;
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 wxPyApp::SetMacExitMenuItemId(arg1);
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 Py_INCREF(Py_None); resultobj = Py_None;
20962 return resultobj;
20963 fail:
20964 return NULL;
20965}
20966
20967
c32bde28 20968static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20969 PyObject *resultobj;
20970 wxString *arg1 = 0 ;
ae8162c8 20971 bool temp1 = false ;
d55e5bfc
RD
20972 PyObject * obj0 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "val", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20978 {
20979 arg1 = wxString_in_helper(obj0);
20980 if (arg1 == NULL) SWIG_fail;
ae8162c8 20981 temp1 = true;
d55e5bfc
RD
20982 }
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20986
20987 wxPyEndAllowThreads(__tstate);
20988 if (PyErr_Occurred()) SWIG_fail;
20989 }
20990 Py_INCREF(Py_None); resultobj = Py_None;
20991 {
20992 if (temp1)
20993 delete arg1;
20994 }
20995 return resultobj;
20996 fail:
20997 {
20998 if (temp1)
20999 delete arg1;
21000 }
21001 return NULL;
21002}
21003
21004
c32bde28 21005static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21006 PyObject *resultobj;
21007 wxPyApp *arg1 = (wxPyApp *) 0 ;
21008 PyObject * obj0 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
21015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 (arg1)->_BootstrapApp();
21019
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 Py_INCREF(Py_None); resultobj = Py_None;
21024 return resultobj;
21025 fail:
21026 return NULL;
21027}
21028
21029
c32bde28 21030static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21031 PyObject *resultobj;
21032 int result;
21033 char *kwnames[] = {
21034 NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (int)wxPyApp::GetComCtl32Version();
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
c32bde28 21045 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21046 return resultobj;
21047 fail:
21048 return NULL;
21049}
21050
21051
c32bde28 21052static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21053 PyObject *obj;
21054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21055 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
21056 Py_INCREF(obj);
21057 return Py_BuildValue((char *)"");
21058}
c32bde28 21059static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21060 PyObject *resultobj;
21061 char *kwnames[] = {
21062 NULL
21063 };
21064
21065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 wxExit();
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 Py_INCREF(Py_None); resultobj = Py_None;
21074 return resultobj;
21075 fail:
21076 return NULL;
21077}
21078
21079
c32bde28 21080static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21081 PyObject *resultobj;
21082 bool result;
21083 char *kwnames[] = {
21084 NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (bool)wxYield();
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 {
21096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21097 }
21098 return resultobj;
21099 fail:
21100 return NULL;
21101}
21102
21103
c32bde28 21104static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21105 PyObject *resultobj;
21106 bool result;
21107 char *kwnames[] = {
21108 NULL
21109 };
21110
21111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (bool)wxYieldIfNeeded();
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 {
21120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21121 }
21122 return resultobj;
21123 fail:
21124 return NULL;
21125}
21126
21127
c32bde28 21128static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21129 PyObject *resultobj;
21130 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 21131 bool arg2 = (bool) false ;
d55e5bfc
RD
21132 bool result;
21133 PyObject * obj0 = 0 ;
21134 PyObject * obj1 = 0 ;
21135 char *kwnames[] = {
21136 (char *) "win",(char *) "onlyIfNeeded", NULL
21137 };
21138
21139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
21140 if (obj0) {
21141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21143 }
21144 if (obj1) {
c32bde28 21145 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 result = (bool)wxSafeYield(arg1,arg2);
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 {
21156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21157 }
21158 return resultobj;
21159 fail:
21160 return NULL;
21161}
21162
21163
c32bde28 21164static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21165 PyObject *resultobj;
21166 char *kwnames[] = {
21167 NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
21171 {
21172 PyThreadState* __tstate = wxPyBeginAllowThreads();
21173 wxWakeUpIdle();
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 Py_INCREF(Py_None); resultobj = Py_None;
21179 return resultobj;
21180 fail:
21181 return NULL;
21182}
21183
21184
c32bde28 21185static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21186 PyObject *resultobj;
21187 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
21188 wxEvent *arg2 = 0 ;
21189 PyObject * obj0 = 0 ;
21190 PyObject * obj1 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "dest",(char *) "event", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
21199 SWIG_POINTER_EXCEPTION | 0)) == -1)
21200 SWIG_fail;
21201 if (arg2 == NULL) {
21202 PyErr_SetString(PyExc_TypeError,"null reference");
21203 SWIG_fail;
21204 }
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 wxPostEvent(arg1,*arg2);
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 Py_INCREF(Py_None); resultobj = Py_None;
21213 return resultobj;
21214 fail:
21215 return NULL;
21216}
21217
21218
c32bde28 21219static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21220 PyObject *resultobj;
21221 char *kwnames[] = {
21222 NULL
21223 };
21224
21225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 wxApp_CleanUp();
21229
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 Py_INCREF(Py_None); resultobj = Py_None;
21234 return resultobj;
21235 fail:
21236 return NULL;
21237}
21238
21239
c32bde28 21240static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21241 PyObject *resultobj;
21242 wxPyApp *result;
21243 char *kwnames[] = {
21244 NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 21250 result = (wxPyApp *)wxPyGetApp();
d55e5bfc
RD
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 {
412d302d 21256 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21257 }
21258 return resultobj;
21259 fail:
21260 return NULL;
21261}
21262
21263
ae8162c8
RD
21264static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
21265 PyObject *resultobj;
21266 wxEventLoop *result;
21267 char *kwnames[] = {
21268 NULL
21269 };
21270
21271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail;
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 result = (wxEventLoop *)new wxEventLoop();
21275
21276 wxPyEndAllowThreads(__tstate);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 }
21279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 1);
21280 return resultobj;
21281 fail:
21282 return NULL;
21283}
21284
21285
21286static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21289 PyObject * obj0 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail;
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 delete arg1;
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 Py_INCREF(Py_None); resultobj = Py_None;
21305 return resultobj;
21306 fail:
21307 return NULL;
21308}
21309
21310
21311static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21314 int result;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (int)(arg1)->Run();
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 resultobj = SWIG_From_int((int)result);
21331 return resultobj;
21332 fail:
21333 return NULL;
21334}
21335
21336
21337static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21340 int arg2 = (int) 0 ;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self",(char *) "rc", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 if (obj1) {
21351 arg2 = (int)SWIG_As_int(obj1);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->Exit(arg2);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 return resultobj;
21363 fail:
21364 return NULL;
21365}
21366
21367
21368static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21371 bool result;
21372 PyObject * obj0 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = (bool)((wxEventLoop const *)arg1)->Pending();
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 {
21388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21389 }
21390 return resultobj;
21391 fail:
21392 return NULL;
21393}
21394
21395
21396static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
21397 PyObject *resultobj;
21398 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21399 bool result;
21400 PyObject * obj0 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21408 {
21409 PyThreadState* __tstate = wxPyBeginAllowThreads();
21410 result = (bool)(arg1)->Dispatch();
21411
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 {
21416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21417 }
21418 return resultobj;
21419 fail:
21420 return NULL;
21421}
21422
21423
21424static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
21425 PyObject *resultobj;
21426 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21427 bool result;
21428 PyObject * obj0 = 0 ;
21429 char *kwnames[] = {
21430 (char *) "self", NULL
21431 };
21432
21433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail;
21434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 result = (bool)((wxEventLoop const *)arg1)->IsRunning();
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
21443 {
21444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21445 }
21446 return resultobj;
21447 fail:
21448 return NULL;
21449}
21450
21451
21452static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxEventLoop *result;
21455 char *kwnames[] = {
21456 NULL
21457 };
21458
21459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail;
21460 {
21461 PyThreadState* __tstate = wxPyBeginAllowThreads();
21462 result = (wxEventLoop *)wxEventLoop::GetActive();
21463
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 0);
21468 return resultobj;
21469 fail:
21470 return NULL;
21471}
21472
21473
21474static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21477 PyObject * obj0 = 0 ;
21478 char *kwnames[] = {
21479 (char *) "loop", NULL
21480 };
21481
21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail;
21483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21485 {
21486 PyThreadState* __tstate = wxPyBeginAllowThreads();
21487 wxEventLoop::SetActive(arg1);
21488
21489 wxPyEndAllowThreads(__tstate);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 Py_INCREF(Py_None); resultobj = Py_None;
21493 return resultobj;
21494 fail:
21495 return NULL;
21496}
21497
21498
21499static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
21500 PyObject *obj;
21501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21502 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj);
21503 Py_INCREF(obj);
21504 return Py_BuildValue((char *)"");
21505}
c32bde28 21506static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21507 PyObject *resultobj;
21508 int arg1 = (int) 0 ;
21509 int arg2 = (int) 0 ;
21510 int arg3 = (int) 0 ;
d55e5bfc
RD
21511 wxAcceleratorEntry *result;
21512 PyObject * obj0 = 0 ;
21513 PyObject * obj1 = 0 ;
21514 PyObject * obj2 = 0 ;
d55e5bfc 21515 char *kwnames[] = {
c24da6d6 21516 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
d55e5bfc
RD
21517 };
21518
c24da6d6 21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc 21520 if (obj0) {
c32bde28 21521 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 if (obj1) {
c32bde28 21525 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 if (obj2) {
c32bde28 21529 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
d55e5bfc
RD
21532 {
21533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c24da6d6 21534 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
d55e5bfc
RD
21535
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
21540 return resultobj;
21541 fail:
21542 return NULL;
21543}
21544
21545
c32bde28 21546static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21547 PyObject *resultobj;
21548 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21549 PyObject * obj0 = 0 ;
21550 char *kwnames[] = {
21551 (char *) "self", NULL
21552 };
21553
21554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
21555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 delete arg1;
21560
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 Py_INCREF(Py_None); resultobj = Py_None;
21565 return resultobj;
21566 fail:
21567 return NULL;
21568}
21569
21570
c32bde28 21571static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21572 PyObject *resultobj;
21573 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21574 int arg2 ;
21575 int arg3 ;
21576 int arg4 ;
d55e5bfc
RD
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 PyObject * obj2 = 0 ;
21580 PyObject * obj3 = 0 ;
d55e5bfc 21581 char *kwnames[] = {
c24da6d6 21582 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
d55e5bfc
RD
21583 };
21584
c24da6d6 21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
21586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21588 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 21589 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21590 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 21591 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21592 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 21593 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
c24da6d6 21596 (arg1)->Set(arg2,arg3,arg4);
d55e5bfc
RD
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 Py_INCREF(Py_None); resultobj = Py_None;
21602 return resultobj;
21603 fail:
21604 return NULL;
21605}
21606
21607
c32bde28 21608static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21609 PyObject *resultobj;
21610 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21611 int result;
21612 PyObject * obj0 = 0 ;
21613 char *kwnames[] = {
21614 (char *) "self", NULL
21615 };
21616
21617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
21618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21620 {
21621 PyThreadState* __tstate = wxPyBeginAllowThreads();
21622 result = (int)(arg1)->GetFlags();
21623
21624 wxPyEndAllowThreads(__tstate);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 }
c32bde28 21627 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21628 return resultobj;
21629 fail:
21630 return NULL;
21631}
21632
21633
c32bde28 21634static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21635 PyObject *resultobj;
21636 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21637 int result;
21638 PyObject * obj0 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
21644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = (int)(arg1)->GetKeyCode();
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
c32bde28 21653 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21654 return resultobj;
21655 fail:
21656 return NULL;
21657}
21658
21659
c32bde28 21660static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21661 PyObject *resultobj;
21662 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21663 int result;
21664 PyObject * obj0 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = (int)(arg1)->GetCommand();
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
c32bde28 21679 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
21680 return resultobj;
21681 fail:
21682 return NULL;
21683}
21684
21685
c32bde28 21686static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21687 PyObject *obj;
21688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21689 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21690 Py_INCREF(obj);
21691 return Py_BuildValue((char *)"");
21692}
c32bde28 21693static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21694 PyObject *resultobj;
21695 int arg1 ;
21696 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21697 wxAcceleratorTable *result;
21698 PyObject * obj0 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "n", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21704 {
21705 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21706 if (arg2) arg1 = PyList_Size(obj0);
21707 else arg1 = 0;
21708 }
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
21711 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
21717 {
21718 delete [] arg2;
21719 }
21720 return resultobj;
21721 fail:
21722 {
21723 delete [] arg2;
21724 }
21725 return NULL;
21726}
21727
21728
c32bde28 21729static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21730 PyObject *resultobj;
21731 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21732 PyObject * obj0 = 0 ;
21733 char *kwnames[] = {
21734 (char *) "self", NULL
21735 };
21736
21737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
21738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 delete arg1;
21743
21744 wxPyEndAllowThreads(__tstate);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 }
21747 Py_INCREF(Py_None); resultobj = Py_None;
21748 return resultobj;
21749 fail:
21750 return NULL;
21751}
21752
21753
c32bde28 21754static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21755 PyObject *resultobj;
21756 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21757 bool result;
21758 PyObject * obj0 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
21764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21775 }
21776 return resultobj;
21777 fail:
21778 return NULL;
21779}
21780
21781
c32bde28 21782static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21783 PyObject *obj;
21784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21785 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21786 Py_INCREF(obj);
21787 return Py_BuildValue((char *)"");
21788}
c32bde28 21789static int _wrap_NullAcceleratorTable_set(PyObject *) {
d55e5bfc
RD
21790 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21791 return 1;
21792}
21793
21794
21795static PyObject *_wrap_NullAcceleratorTable_get() {
21796 PyObject *pyobj;
21797
21798 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
21799 return pyobj;
21800}
21801
21802
c32bde28 21803static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21804 PyObject *resultobj;
21805 wxString *arg1 = 0 ;
21806 wxAcceleratorEntry *result;
ae8162c8 21807 bool temp1 = false ;
d55e5bfc
RD
21808 PyObject * obj0 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "label", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21814 {
21815 arg1 = wxString_in_helper(obj0);
21816 if (arg1 == NULL) SWIG_fail;
ae8162c8 21817 temp1 = true;
d55e5bfc
RD
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
21827 {
21828 if (temp1)
21829 delete arg1;
21830 }
21831 return resultobj;
21832 fail:
21833 {
21834 if (temp1)
21835 delete arg1;
21836 }
21837 return NULL;
21838}
21839
21840
c32bde28 21841static int _wrap_PanelNameStr_set(PyObject *) {
d55e5bfc
RD
21842 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21843 return 1;
21844}
21845
21846
21847static PyObject *_wrap_PanelNameStr_get() {
21848 PyObject *pyobj;
21849
21850 {
21851#if wxUSE_UNICODE
21852 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21853#else
21854 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21855#endif
21856 }
21857 return pyobj;
21858}
21859
21860
c32bde28 21861static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21862 PyObject *resultobj;
21863 wxVisualAttributes *result;
21864 char *kwnames[] = {
21865 NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = (wxVisualAttributes *)new_wxVisualAttributes();
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21877 return resultobj;
21878 fail:
21879 return NULL;
21880}
21881
21882
c32bde28 21883static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21884 PyObject *resultobj;
21885 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21886 PyObject * obj0 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 delete_wxVisualAttributes(arg1);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 Py_INCREF(Py_None); resultobj = Py_None;
21902 return resultobj;
21903 fail:
21904 return NULL;
21905}
21906
21907
c32bde28 21908static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21909 PyObject *resultobj;
21910 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21911 wxFont *arg2 = (wxFont *) 0 ;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self",(char *) "font", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21923 if (arg1) (arg1)->font = *arg2;
21924
21925 Py_INCREF(Py_None); resultobj = Py_None;
21926 return resultobj;
21927 fail:
21928 return NULL;
21929}
21930
21931
c32bde28 21932static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21933 PyObject *resultobj;
21934 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21935 wxFont *result;
21936 PyObject * obj0 = 0 ;
21937 char *kwnames[] = {
21938 (char *) "self", NULL
21939 };
21940
21941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21944 result = (wxFont *)& ((arg1)->font);
21945
21946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21947 return resultobj;
21948 fail:
21949 return NULL;
21950}
21951
21952
c32bde28 21953static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21954 PyObject *resultobj;
21955 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21956 wxColour *arg2 = (wxColour *) 0 ;
21957 PyObject * obj0 = 0 ;
21958 PyObject * obj1 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self",(char *) "colFg", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21968 if (arg1) (arg1)->colFg = *arg2;
21969
21970 Py_INCREF(Py_None); resultobj = Py_None;
21971 return resultobj;
21972 fail:
21973 return NULL;
21974}
21975
21976
c32bde28 21977static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21978 PyObject *resultobj;
21979 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21980 wxColour *result;
21981 PyObject * obj0 = 0 ;
21982 char *kwnames[] = {
21983 (char *) "self", NULL
21984 };
21985
21986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21989 result = (wxColour *)& ((arg1)->colFg);
21990
21991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21992 return resultobj;
21993 fail:
21994 return NULL;
21995}
21996
21997
c32bde28 21998static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21999 PyObject *resultobj;
22000 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22001 wxColour *arg2 = (wxColour *) 0 ;
22002 PyObject * obj0 = 0 ;
22003 PyObject * obj1 = 0 ;
22004 char *kwnames[] = {
22005 (char *) "self",(char *) "colBg", NULL
22006 };
22007
22008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
22009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
22012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22013 if (arg1) (arg1)->colBg = *arg2;
22014
22015 Py_INCREF(Py_None); resultobj = Py_None;
22016 return resultobj;
22017 fail:
22018 return NULL;
22019}
22020
22021
c32bde28 22022static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22023 PyObject *resultobj;
22024 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22025 wxColour *result;
22026 PyObject * obj0 = 0 ;
22027 char *kwnames[] = {
22028 (char *) "self", NULL
22029 };
22030
22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
22032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22034 result = (wxColour *)& ((arg1)->colBg);
22035
22036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
22037 return resultobj;
22038 fail:
22039 return NULL;
22040}
22041
22042
c32bde28 22043static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22044 PyObject *obj;
22045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22046 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
22047 Py_INCREF(obj);
22048 return Py_BuildValue((char *)"");
22049}
c32bde28 22050static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22051 PyObject *resultobj;
22052 wxWindow *arg1 = (wxWindow *) 0 ;
22053 int arg2 = (int) (int)-1 ;
22054 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22055 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22056 wxSize const &arg4_defvalue = wxDefaultSize ;
22057 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22058 long arg5 = (long) 0 ;
22059 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22060 wxString *arg6 = (wxString *) &arg6_defvalue ;
22061 wxWindow *result;
22062 wxPoint temp3 ;
22063 wxSize temp4 ;
ae8162c8 22064 bool temp6 = false ;
d55e5bfc
RD
22065 PyObject * obj0 = 0 ;
22066 PyObject * obj1 = 0 ;
22067 PyObject * obj2 = 0 ;
22068 PyObject * obj3 = 0 ;
22069 PyObject * obj4 = 0 ;
22070 PyObject * obj5 = 0 ;
22071 char *kwnames[] = {
22072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22073 };
22074
22075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22078 if (obj1) {
c32bde28 22079 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 if (obj2) {
22083 {
22084 arg3 = &temp3;
22085 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22086 }
22087 }
22088 if (obj3) {
22089 {
22090 arg4 = &temp4;
22091 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22092 }
22093 }
22094 if (obj4) {
c32bde28 22095 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 if (obj5) {
22099 {
22100 arg6 = wxString_in_helper(obj5);
22101 if (arg6 == NULL) SWIG_fail;
ae8162c8 22102 temp6 = true;
d55e5bfc
RD
22103 }
22104 }
22105 {
0439c23b 22106 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22109
22110 wxPyEndAllowThreads(__tstate);
110da5b0 22111 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22112 }
b0f7404b 22113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d55e5bfc
RD
22114 {
22115 if (temp6)
22116 delete arg6;
22117 }
22118 return resultobj;
22119 fail:
22120 {
22121 if (temp6)
22122 delete arg6;
22123 }
22124 return NULL;
22125}
22126
22127
c32bde28 22128static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22129 PyObject *resultobj;
22130 wxWindow *result;
22131 char *kwnames[] = {
22132 NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
22136 {
0439c23b 22137 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = (wxWindow *)new wxWindow();
22140
22141 wxPyEndAllowThreads(__tstate);
110da5b0 22142 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 22143 }
b0f7404b 22144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d55e5bfc
RD
22145 return resultobj;
22146 fail:
22147 return NULL;
22148}
22149
22150
c32bde28 22151static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22152 PyObject *resultobj;
22153 wxWindow *arg1 = (wxWindow *) 0 ;
22154 wxWindow *arg2 = (wxWindow *) 0 ;
22155 int arg3 = (int) (int)-1 ;
22156 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22157 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22158 wxSize const &arg5_defvalue = wxDefaultSize ;
22159 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22160 long arg6 = (long) 0 ;
22161 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22162 wxString *arg7 = (wxString *) &arg7_defvalue ;
22163 bool result;
22164 wxPoint temp4 ;
22165 wxSize temp5 ;
ae8162c8 22166 bool temp7 = false ;
d55e5bfc
RD
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 PyObject * obj2 = 0 ;
22170 PyObject * obj3 = 0 ;
22171 PyObject * obj4 = 0 ;
22172 PyObject * obj5 = 0 ;
22173 PyObject * obj6 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22183 if (obj2) {
c32bde28 22184 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 if (obj3) {
22188 {
22189 arg4 = &temp4;
22190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22191 }
22192 }
22193 if (obj4) {
22194 {
22195 arg5 = &temp5;
22196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22197 }
22198 }
22199 if (obj5) {
c32bde28 22200 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 if (obj6) {
22204 {
22205 arg7 = wxString_in_helper(obj6);
22206 if (arg7 == NULL) SWIG_fail;
ae8162c8 22207 temp7 = true;
d55e5bfc
RD
22208 }
22209 }
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 {
22218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22219 }
22220 {
22221 if (temp7)
22222 delete arg7;
22223 }
22224 return resultobj;
22225 fail:
22226 {
22227 if (temp7)
22228 delete arg7;
22229 }
22230 return NULL;
22231}
22232
22233
c32bde28 22234static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22235 PyObject *resultobj;
22236 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 22237 bool arg2 = (bool) false ;
d55e5bfc
RD
22238 bool result;
22239 PyObject * obj0 = 0 ;
22240 PyObject * obj1 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self",(char *) "force", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
22246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22248 if (obj1) {
c32bde28 22249 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = (bool)(arg1)->Close(arg2);
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
22260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22261 }
22262 return resultobj;
22263 fail:
22264 return NULL;
22265}
22266
22267
c32bde28 22268static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22269 PyObject *resultobj;
22270 wxWindow *arg1 = (wxWindow *) 0 ;
22271 bool result;
22272 PyObject * obj0 = 0 ;
22273 char *kwnames[] = {
22274 (char *) "self", NULL
22275 };
22276
22277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
22278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 result = (bool)(arg1)->Destroy();
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 {
22288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22289 }
22290 return resultobj;
22291 fail:
22292 return NULL;
22293}
22294
22295
c32bde28 22296static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22297 PyObject *resultobj;
22298 wxWindow *arg1 = (wxWindow *) 0 ;
22299 bool result;
22300 PyObject * obj0 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self", NULL
22303 };
22304
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
22306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (bool)(arg1)->DestroyChildren();
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 {
22316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22317 }
22318 return resultobj;
22319 fail:
22320 return NULL;
22321}
22322
22323
c32bde28 22324static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22325 PyObject *resultobj;
22326 wxWindow *arg1 = (wxWindow *) 0 ;
22327 bool result;
22328 PyObject * obj0 = 0 ;
22329 char *kwnames[] = {
22330 (char *) "self", NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
22334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22336 {
22337 PyThreadState* __tstate = wxPyBeginAllowThreads();
22338 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
22339
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
22343 {
22344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22345 }
22346 return resultobj;
22347 fail:
22348 return NULL;
22349}
22350
22351
c32bde28 22352static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22353 PyObject *resultobj;
22354 wxWindow *arg1 = (wxWindow *) 0 ;
22355 wxString *arg2 = 0 ;
ae8162c8 22356 bool temp2 = false ;
d55e5bfc
RD
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "self",(char *) "title", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
22364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 {
22367 arg2 = wxString_in_helper(obj1);
22368 if (arg2 == NULL) SWIG_fail;
ae8162c8 22369 temp2 = true;
d55e5bfc
RD
22370 }
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 (arg1)->SetTitle((wxString const &)*arg2);
22374
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 Py_INCREF(Py_None); resultobj = Py_None;
22379 {
22380 if (temp2)
22381 delete arg2;
22382 }
22383 return resultobj;
22384 fail:
22385 {
22386 if (temp2)
22387 delete arg2;
22388 }
22389 return NULL;
22390}
22391
22392
c32bde28 22393static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22394 PyObject *resultobj;
22395 wxWindow *arg1 = (wxWindow *) 0 ;
22396 wxString result;
22397 PyObject * obj0 = 0 ;
22398 char *kwnames[] = {
22399 (char *) "self", NULL
22400 };
22401
22402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
22403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 result = ((wxWindow const *)arg1)->GetTitle();
22408
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 {
22413#if wxUSE_UNICODE
22414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22415#else
22416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22417#endif
22418 }
22419 return resultobj;
22420 fail:
22421 return NULL;
22422}
22423
22424
c32bde28 22425static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22426 PyObject *resultobj;
22427 wxWindow *arg1 = (wxWindow *) 0 ;
22428 wxString *arg2 = 0 ;
ae8162c8 22429 bool temp2 = false ;
d55e5bfc
RD
22430 PyObject * obj0 = 0 ;
22431 PyObject * obj1 = 0 ;
22432 char *kwnames[] = {
22433 (char *) "self",(char *) "label", NULL
22434 };
22435
22436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
22437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22439 {
22440 arg2 = wxString_in_helper(obj1);
22441 if (arg2 == NULL) SWIG_fail;
ae8162c8 22442 temp2 = true;
d55e5bfc
RD
22443 }
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 (arg1)->SetLabel((wxString const &)*arg2);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 Py_INCREF(Py_None); resultobj = Py_None;
22452 {
22453 if (temp2)
22454 delete arg2;
22455 }
22456 return resultobj;
22457 fail:
22458 {
22459 if (temp2)
22460 delete arg2;
22461 }
22462 return NULL;
22463}
22464
22465
c32bde28 22466static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22467 PyObject *resultobj;
22468 wxWindow *arg1 = (wxWindow *) 0 ;
22469 wxString result;
22470 PyObject * obj0 = 0 ;
22471 char *kwnames[] = {
22472 (char *) "self", NULL
22473 };
22474
22475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
22476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22478 {
22479 PyThreadState* __tstate = wxPyBeginAllowThreads();
22480 result = ((wxWindow const *)arg1)->GetLabel();
22481
22482 wxPyEndAllowThreads(__tstate);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 {
22486#if wxUSE_UNICODE
22487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22488#else
22489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22490#endif
22491 }
22492 return resultobj;
22493 fail:
22494 return NULL;
22495}
22496
22497
c32bde28 22498static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22499 PyObject *resultobj;
22500 wxWindow *arg1 = (wxWindow *) 0 ;
22501 wxString *arg2 = 0 ;
ae8162c8 22502 bool temp2 = false ;
d55e5bfc
RD
22503 PyObject * obj0 = 0 ;
22504 PyObject * obj1 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self",(char *) "name", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 {
22513 arg2 = wxString_in_helper(obj1);
22514 if (arg2 == NULL) SWIG_fail;
ae8162c8 22515 temp2 = true;
d55e5bfc
RD
22516 }
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 (arg1)->SetName((wxString const &)*arg2);
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 Py_INCREF(Py_None); resultobj = Py_None;
22525 {
22526 if (temp2)
22527 delete arg2;
22528 }
22529 return resultobj;
22530 fail:
22531 {
22532 if (temp2)
22533 delete arg2;
22534 }
22535 return NULL;
22536}
22537
22538
c32bde28 22539static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22540 PyObject *resultobj;
22541 wxWindow *arg1 = (wxWindow *) 0 ;
22542 wxString result;
22543 PyObject * obj0 = 0 ;
22544 char *kwnames[] = {
22545 (char *) "self", NULL
22546 };
22547
22548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
22549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = ((wxWindow const *)arg1)->GetName();
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 {
22559#if wxUSE_UNICODE
22560 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22561#else
22562 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22563#endif
22564 }
22565 return resultobj;
22566 fail:
22567 return NULL;
22568}
22569
22570
c32bde28 22571static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22572 PyObject *resultobj;
22573 wxWindow *arg1 = (wxWindow *) 0 ;
22574 int arg2 ;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 char *kwnames[] = {
22578 (char *) "self",(char *) "variant", NULL
22579 };
22580
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
22582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22584 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22585 if (PyErr_Occurred()) SWIG_fail;
22586 {
22587 PyThreadState* __tstate = wxPyBeginAllowThreads();
22588 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22589
22590 wxPyEndAllowThreads(__tstate);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 Py_INCREF(Py_None); resultobj = Py_None;
22594 return resultobj;
22595 fail:
22596 return NULL;
22597}
22598
22599
c32bde28 22600static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22601 PyObject *resultobj;
22602 wxWindow *arg1 = (wxWindow *) 0 ;
22603 int result;
22604 PyObject * obj0 = 0 ;
22605 char *kwnames[] = {
22606 (char *) "self", NULL
22607 };
22608
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22612 {
22613 PyThreadState* __tstate = wxPyBeginAllowThreads();
22614 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22615
22616 wxPyEndAllowThreads(__tstate);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 }
c32bde28 22619 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22620 return resultobj;
22621 fail:
22622 return NULL;
22623}
22624
22625
c32bde28 22626static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22627 PyObject *resultobj;
22628 wxWindow *arg1 = (wxWindow *) 0 ;
22629 int arg2 ;
22630 PyObject * obj0 = 0 ;
22631 PyObject * obj1 = 0 ;
22632 char *kwnames[] = {
22633 (char *) "self",(char *) "winid", NULL
22634 };
22635
22636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
22637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22639 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
22640 if (PyErr_Occurred()) SWIG_fail;
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 (arg1)->SetId(arg2);
22644
22645 wxPyEndAllowThreads(__tstate);
22646 if (PyErr_Occurred()) SWIG_fail;
22647 }
22648 Py_INCREF(Py_None); resultobj = Py_None;
22649 return resultobj;
22650 fail:
22651 return NULL;
22652}
22653
22654
c32bde28 22655static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22656 PyObject *resultobj;
22657 wxWindow *arg1 = (wxWindow *) 0 ;
22658 int result;
22659 PyObject * obj0 = 0 ;
22660 char *kwnames[] = {
22661 (char *) "self", NULL
22662 };
22663
22664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",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 result = (int)((wxWindow const *)arg1)->GetId();
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
c32bde28 22674 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22675 return resultobj;
22676 fail:
22677 return NULL;
22678}
22679
22680
c32bde28 22681static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22682 PyObject *resultobj;
22683 int result;
22684 char *kwnames[] = {
22685 NULL
22686 };
22687
22688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 result = (int)wxWindow::NewControlId();
22692
22693 wxPyEndAllowThreads(__tstate);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 }
c32bde28 22696 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22697 return resultobj;
22698 fail:
22699 return NULL;
22700}
22701
22702
c32bde28 22703static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22704 PyObject *resultobj;
22705 int arg1 ;
22706 int result;
22707 PyObject * obj0 = 0 ;
22708 char *kwnames[] = {
22709 (char *) "winid", NULL
22710 };
22711
22712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
c32bde28 22713 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
22714 if (PyErr_Occurred()) SWIG_fail;
22715 {
22716 PyThreadState* __tstate = wxPyBeginAllowThreads();
22717 result = (int)wxWindow::NextControlId(arg1);
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
c32bde28 22722 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22723 return resultobj;
22724 fail:
22725 return NULL;
22726}
22727
22728
c32bde28 22729static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22730 PyObject *resultobj;
22731 int arg1 ;
22732 int result;
22733 PyObject * obj0 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "winid", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
c32bde28 22739 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
22740 if (PyErr_Occurred()) SWIG_fail;
22741 {
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = (int)wxWindow::PrevControlId(arg1);
22744
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
c32bde28 22748 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
22749 return resultobj;
22750 fail:
22751 return NULL;
22752}
22753
22754
c32bde28 22755static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22756 PyObject *resultobj;
22757 wxWindow *arg1 = (wxWindow *) 0 ;
22758 wxSize *arg2 = 0 ;
22759 wxSize temp2 ;
22760 PyObject * obj0 = 0 ;
22761 PyObject * obj1 = 0 ;
22762 char *kwnames[] = {
22763 (char *) "self",(char *) "size", NULL
22764 };
22765
22766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
22767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22769 {
22770 arg2 = &temp2;
22771 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22772 }
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 (arg1)->SetSize((wxSize const &)*arg2);
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 Py_INCREF(Py_None); resultobj = Py_None;
22781 return resultobj;
22782 fail:
22783 return NULL;
22784}
22785
22786
c32bde28 22787static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22788 PyObject *resultobj;
22789 wxWindow *arg1 = (wxWindow *) 0 ;
22790 int arg2 ;
22791 int arg3 ;
22792 int arg4 ;
22793 int arg5 ;
22794 int arg6 = (int) wxSIZE_AUTO ;
22795 PyObject * obj0 = 0 ;
22796 PyObject * obj1 = 0 ;
22797 PyObject * obj2 = 0 ;
22798 PyObject * obj3 = 0 ;
22799 PyObject * obj4 = 0 ;
22800 PyObject * obj5 = 0 ;
22801 char *kwnames[] = {
22802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22803 };
22804
22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22808 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22809 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22810 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 22811 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22812 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 22813 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22814 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
22815 if (PyErr_Occurred()) SWIG_fail;
22816 if (obj5) {
c32bde28 22817 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
22818 if (PyErr_Occurred()) SWIG_fail;
22819 }
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22823
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 Py_INCREF(Py_None); resultobj = Py_None;
22828 return resultobj;
22829 fail:
22830 return NULL;
22831}
22832
22833
c32bde28 22834static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22835 PyObject *resultobj;
22836 wxWindow *arg1 = (wxWindow *) 0 ;
22837 wxRect *arg2 = 0 ;
22838 int arg3 = (int) wxSIZE_AUTO ;
22839 wxRect temp2 ;
22840 PyObject * obj0 = 0 ;
22841 PyObject * obj1 = 0 ;
22842 PyObject * obj2 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22845 };
22846
22847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22850 {
22851 arg2 = &temp2;
22852 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22853 }
22854 if (obj2) {
c32bde28 22855 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 {
22859 PyThreadState* __tstate = wxPyBeginAllowThreads();
22860 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22861
22862 wxPyEndAllowThreads(__tstate);
22863 if (PyErr_Occurred()) SWIG_fail;
22864 }
22865 Py_INCREF(Py_None); resultobj = Py_None;
22866 return resultobj;
22867 fail:
22868 return NULL;
22869}
22870
22871
c32bde28 22872static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22873 PyObject *resultobj;
22874 wxWindow *arg1 = (wxWindow *) 0 ;
22875 int arg2 ;
22876 int arg3 ;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 PyObject * obj2 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "width",(char *) "height", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22887 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22888 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22889 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22890 if (PyErr_Occurred()) SWIG_fail;
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 (arg1)->SetSize(arg2,arg3);
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 Py_INCREF(Py_None); resultobj = Py_None;
22899 return resultobj;
22900 fail:
22901 return NULL;
22902}
22903
22904
c32bde28 22905static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22906 PyObject *resultobj;
22907 wxWindow *arg1 = (wxWindow *) 0 ;
22908 wxPoint *arg2 = 0 ;
22909 int arg3 = (int) wxSIZE_USE_EXISTING ;
22910 wxPoint temp2 ;
22911 PyObject * obj0 = 0 ;
22912 PyObject * obj1 = 0 ;
22913 PyObject * obj2 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self",(char *) "pt",(char *) "flags", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22921 {
22922 arg2 = &temp2;
22923 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22924 }
22925 if (obj2) {
c32bde28 22926 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22927 if (PyErr_Occurred()) SWIG_fail;
22928 }
22929 {
22930 PyThreadState* __tstate = wxPyBeginAllowThreads();
22931 (arg1)->Move((wxPoint const &)*arg2,arg3);
22932
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 Py_INCREF(Py_None); resultobj = Py_None;
22937 return resultobj;
22938 fail:
22939 return NULL;
22940}
22941
22942
c32bde28 22943static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22944 PyObject *resultobj;
22945 wxWindow *arg1 = (wxWindow *) 0 ;
22946 int arg2 ;
22947 int arg3 ;
22948 int arg4 = (int) wxSIZE_USE_EXISTING ;
22949 PyObject * obj0 = 0 ;
22950 PyObject * obj1 = 0 ;
22951 PyObject * obj2 = 0 ;
22952 PyObject * obj3 = 0 ;
22953 char *kwnames[] = {
22954 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22955 };
22956
22957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22960 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 22961 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22962 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
22963 if (PyErr_Occurred()) SWIG_fail;
22964 if (obj3) {
c32bde28 22965 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 (arg1)->Move(arg2,arg3,arg4);
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 Py_INCREF(Py_None); resultobj = Py_None;
22976 return resultobj;
22977 fail:
22978 return NULL;
22979}
22980
22981
c32bde28 22982static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
f8167d6e
RD
22983 PyObject *resultobj;
22984 wxWindow *arg1 = (wxWindow *) 0 ;
22985 wxSize const &arg2_defvalue = wxDefaultSize ;
22986 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
22987 wxSize temp2 ;
22988 PyObject * obj0 = 0 ;
22989 PyObject * obj1 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self",(char *) "size", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22997 if (obj1) {
22998 {
22999 arg2 = &temp2;
23000 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23001 }
23002 }
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
23006
23007 wxPyEndAllowThreads(__tstate);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
23010 Py_INCREF(Py_None); resultobj = Py_None;
23011 return resultobj;
23012 fail:
23013 return NULL;
23014}
23015
23016
c32bde28 23017static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23018 PyObject *resultobj;
23019 wxWindow *arg1 = (wxWindow *) 0 ;
23020 PyObject * obj0 = 0 ;
23021 char *kwnames[] = {
23022 (char *) "self", NULL
23023 };
23024
23025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
23026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 (arg1)->Raise();
23031
23032 wxPyEndAllowThreads(__tstate);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 }
23035 Py_INCREF(Py_None); resultobj = Py_None;
23036 return resultobj;
23037 fail:
23038 return NULL;
23039}
23040
23041
c32bde28 23042static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23043 PyObject *resultobj;
23044 wxWindow *arg1 = (wxWindow *) 0 ;
23045 PyObject * obj0 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
23051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 (arg1)->Lower();
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 Py_INCREF(Py_None); resultobj = Py_None;
23061 return resultobj;
23062 fail:
23063 return NULL;
23064}
23065
23066
c32bde28 23067static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23068 PyObject *resultobj;
23069 wxWindow *arg1 = (wxWindow *) 0 ;
23070 wxSize *arg2 = 0 ;
23071 wxSize temp2 ;
23072 PyObject * obj0 = 0 ;
23073 PyObject * obj1 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self",(char *) "size", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23081 {
23082 arg2 = &temp2;
23083 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23084 }
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 (arg1)->SetClientSize((wxSize const &)*arg2);
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 Py_INCREF(Py_None); resultobj = Py_None;
23093 return resultobj;
23094 fail:
23095 return NULL;
23096}
23097
23098
c32bde28 23099static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23100 PyObject *resultobj;
23101 wxWindow *arg1 = (wxWindow *) 0 ;
23102 int arg2 ;
23103 int arg3 ;
23104 PyObject * obj0 = 0 ;
23105 PyObject * obj1 = 0 ;
23106 PyObject * obj2 = 0 ;
23107 char *kwnames[] = {
23108 (char *) "self",(char *) "width",(char *) "height", NULL
23109 };
23110
23111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
23112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23114 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 23115 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23116 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
23117 if (PyErr_Occurred()) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 (arg1)->SetClientSize(arg2,arg3);
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 Py_INCREF(Py_None); resultobj = Py_None;
23126 return resultobj;
23127 fail:
23128 return NULL;
23129}
23130
23131
c32bde28 23132static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23133 PyObject *resultobj;
23134 wxWindow *arg1 = (wxWindow *) 0 ;
23135 wxRect *arg2 = 0 ;
23136 wxRect temp2 ;
23137 PyObject * obj0 = 0 ;
23138 PyObject * obj1 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self",(char *) "rect", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23146 {
23147 arg2 = &temp2;
23148 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
23149 }
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 (arg1)->SetClientSize((wxRect const &)*arg2);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 Py_INCREF(Py_None); resultobj = Py_None;
23158 return resultobj;
23159 fail:
23160 return NULL;
23161}
23162
23163
c32bde28 23164static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23165 PyObject *resultobj;
23166 wxWindow *arg1 = (wxWindow *) 0 ;
23167 wxPoint result;
23168 PyObject * obj0 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
23174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 result = (arg1)->GetPosition();
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 {
23184 wxPoint * resultptr;
23185 resultptr = new wxPoint((wxPoint &) result);
23186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23187 }
23188 return resultobj;
23189 fail:
23190 return NULL;
23191}
23192
23193
c32bde28 23194static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23195 PyObject *resultobj;
23196 wxWindow *arg1 = (wxWindow *) 0 ;
23197 int *arg2 = (int *) 0 ;
23198 int *arg3 = (int *) 0 ;
23199 int temp2 ;
c32bde28 23200 int res2 = 0 ;
d55e5bfc 23201 int temp3 ;
c32bde28 23202 int res3 = 0 ;
d55e5bfc
RD
23203 PyObject * obj0 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self", NULL
23206 };
23207
c32bde28
RD
23208 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23209 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
23211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23213 {
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 (arg1)->GetPosition(arg2,arg3);
23216
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
23220 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23221 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23222 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23223 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23224 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
23225 return resultobj;
23226 fail:
23227 return NULL;
23228}
23229
23230
c32bde28 23231static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23232 PyObject *resultobj;
23233 wxWindow *arg1 = (wxWindow *) 0 ;
23234 wxSize result;
23235 PyObject * obj0 = 0 ;
23236 char *kwnames[] = {
23237 (char *) "self", NULL
23238 };
23239
23240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
23241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 result = ((wxWindow const *)arg1)->GetSize();
23246
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 {
23251 wxSize * resultptr;
23252 resultptr = new wxSize((wxSize &) result);
23253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23254 }
23255 return resultobj;
23256 fail:
23257 return NULL;
23258}
23259
23260
c32bde28 23261static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23262 PyObject *resultobj;
23263 wxWindow *arg1 = (wxWindow *) 0 ;
23264 int *arg2 = (int *) 0 ;
23265 int *arg3 = (int *) 0 ;
23266 int temp2 ;
c32bde28 23267 int res2 = 0 ;
d55e5bfc 23268 int temp3 ;
c32bde28 23269 int res3 = 0 ;
d55e5bfc
RD
23270 PyObject * obj0 = 0 ;
23271 char *kwnames[] = {
23272 (char *) "self", NULL
23273 };
23274
c32bde28
RD
23275 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23276 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
23278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
23283
23284 wxPyEndAllowThreads(__tstate);
23285 if (PyErr_Occurred()) SWIG_fail;
23286 }
23287 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23288 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23289 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23290 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23291 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
23292 return resultobj;
23293 fail:
23294 return NULL;
23295}
23296
23297
c32bde28 23298static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23299 PyObject *resultobj;
23300 wxWindow *arg1 = (wxWindow *) 0 ;
23301 wxRect result;
23302 PyObject * obj0 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
23308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 result = ((wxWindow const *)arg1)->GetRect();
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
23318 wxRect * resultptr;
23319 resultptr = new wxRect((wxRect &) result);
23320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
23321 }
23322 return resultobj;
23323 fail:
23324 return NULL;
23325}
23326
23327
c32bde28 23328static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23329 PyObject *resultobj;
23330 wxWindow *arg1 = (wxWindow *) 0 ;
23331 wxSize result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
23338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 result = ((wxWindow const *)arg1)->GetClientSize();
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 {
23348 wxSize * resultptr;
23349 resultptr = new wxSize((wxSize &) result);
23350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23351 }
23352 return resultobj;
23353 fail:
23354 return NULL;
23355}
23356
23357
c32bde28 23358static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23359 PyObject *resultobj;
23360 wxWindow *arg1 = (wxWindow *) 0 ;
23361 int *arg2 = (int *) 0 ;
23362 int *arg3 = (int *) 0 ;
23363 int temp2 ;
c32bde28 23364 int res2 = 0 ;
d55e5bfc 23365 int temp3 ;
c32bde28 23366 int res3 = 0 ;
d55e5bfc
RD
23367 PyObject * obj0 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self", NULL
23370 };
23371
c32bde28
RD
23372 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23373 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
23374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
23375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23385 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23386 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23387 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23388 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
23389 return resultobj;
23390 fail:
23391 return NULL;
23392}
23393
23394
c32bde28 23395static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23396 PyObject *resultobj;
23397 wxWindow *arg1 = (wxWindow *) 0 ;
23398 wxPoint result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 {
23415 wxPoint * resultptr;
23416 resultptr = new wxPoint((wxPoint &) result);
23417 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23418 }
23419 return resultobj;
23420 fail:
23421 return NULL;
23422}
23423
23424
c32bde28 23425static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23426 PyObject *resultobj;
23427 wxWindow *arg1 = (wxWindow *) 0 ;
23428 wxRect result;
23429 PyObject * obj0 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 {
23438 PyThreadState* __tstate = wxPyBeginAllowThreads();
23439 result = ((wxWindow const *)arg1)->GetClientRect();
23440
23441 wxPyEndAllowThreads(__tstate);
23442 if (PyErr_Occurred()) SWIG_fail;
23443 }
23444 {
23445 wxRect * resultptr;
23446 resultptr = new wxRect((wxRect &) result);
23447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
23448 }
23449 return resultobj;
23450 fail:
23451 return NULL;
23452}
23453
23454
c32bde28 23455static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23456 PyObject *resultobj;
23457 wxWindow *arg1 = (wxWindow *) 0 ;
23458 wxSize result;
23459 PyObject * obj0 = 0 ;
23460 char *kwnames[] = {
23461 (char *) "self", NULL
23462 };
23463
23464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
23465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23467 {
23468 PyThreadState* __tstate = wxPyBeginAllowThreads();
23469 result = ((wxWindow const *)arg1)->GetBestSize();
23470
23471 wxPyEndAllowThreads(__tstate);
23472 if (PyErr_Occurred()) SWIG_fail;
23473 }
23474 {
23475 wxSize * resultptr;
23476 resultptr = new wxSize((wxSize &) result);
23477 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23478 }
23479 return resultobj;
23480 fail:
23481 return NULL;
23482}
23483
23484
c32bde28 23485static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23486 PyObject *resultobj;
23487 wxWindow *arg1 = (wxWindow *) 0 ;
23488 int *arg2 = (int *) 0 ;
23489 int *arg3 = (int *) 0 ;
23490 int temp2 ;
c32bde28 23491 int res2 = 0 ;
d55e5bfc 23492 int temp3 ;
c32bde28 23493 int res3 = 0 ;
d55e5bfc
RD
23494 PyObject * obj0 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self", NULL
23497 };
23498
c32bde28
RD
23499 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23500 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
23501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
23502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23512 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23513 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23514 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23515 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
23516 return resultobj;
23517 fail:
23518 return NULL;
23519}
23520
23521
c32bde28 23522static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
23523 PyObject *resultobj;
23524 wxWindow *arg1 = (wxWindow *) 0 ;
23525 PyObject * obj0 = 0 ;
23526 char *kwnames[] = {
23527 (char *) "self", NULL
23528 };
23529
23530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
23531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 (arg1)->InvalidateBestSize();
23536
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 Py_INCREF(Py_None); resultobj = Py_None;
23541 return resultobj;
23542 fail:
23543 return NULL;
23544}
23545
23546
c32bde28 23547static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
23548 PyObject *resultobj;
23549 wxWindow *arg1 = (wxWindow *) 0 ;
23550 wxSize result;
23551 PyObject * obj0 = 0 ;
23552 char *kwnames[] = {
23553 (char *) "self", NULL
23554 };
23555
23556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
23557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = ((wxWindow const *)arg1)->GetBestFittingSize();
23562
23563 wxPyEndAllowThreads(__tstate);
23564 if (PyErr_Occurred()) SWIG_fail;
23565 }
23566 {
23567 wxSize * resultptr;
23568 resultptr = new wxSize((wxSize &) result);
23569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23570 }
23571 return resultobj;
23572 fail:
23573 return NULL;
23574}
23575
23576
c32bde28 23577static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23578 PyObject *resultobj;
23579 wxWindow *arg1 = (wxWindow *) 0 ;
23580 wxSize result;
23581 PyObject * obj0 = 0 ;
23582 char *kwnames[] = {
23583 (char *) "self", NULL
23584 };
23585
23586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
23587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23589 {
23590 PyThreadState* __tstate = wxPyBeginAllowThreads();
23591 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
23592
23593 wxPyEndAllowThreads(__tstate);
23594 if (PyErr_Occurred()) SWIG_fail;
23595 }
23596 {
23597 wxSize * resultptr;
23598 resultptr = new wxSize((wxSize &) result);
23599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23600 }
23601 return resultobj;
23602 fail:
23603 return NULL;
23604}
23605
23606
c32bde28 23607static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23608 PyObject *resultobj;
23609 wxWindow *arg1 = (wxWindow *) 0 ;
23610 int arg2 = (int) wxBOTH ;
23611 PyObject * obj0 = 0 ;
23612 PyObject * obj1 = 0 ;
23613 char *kwnames[] = {
23614 (char *) "self",(char *) "direction", NULL
23615 };
23616
23617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
23618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23620 if (obj1) {
c32bde28 23621 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 (arg1)->Center(arg2);
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 Py_INCREF(Py_None); resultobj = Py_None;
23632 return resultobj;
23633 fail:
23634 return NULL;
23635}
23636
23637
c32bde28 23638static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23639 PyObject *resultobj;
23640 wxWindow *arg1 = (wxWindow *) 0 ;
23641 int arg2 = (int) wxBOTH ;
23642 PyObject * obj0 = 0 ;
23643 PyObject * obj1 = 0 ;
23644 char *kwnames[] = {
23645 (char *) "self",(char *) "dir", NULL
23646 };
23647
23648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
23649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23651 if (obj1) {
c32bde28 23652 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 (arg1)->CenterOnScreen(arg2);
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 Py_INCREF(Py_None); resultobj = Py_None;
23663 return resultobj;
23664 fail:
23665 return NULL;
23666}
23667
23668
c32bde28 23669static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23670 PyObject *resultobj;
23671 wxWindow *arg1 = (wxWindow *) 0 ;
23672 int arg2 = (int) wxBOTH ;
23673 PyObject * obj0 = 0 ;
23674 PyObject * obj1 = 0 ;
23675 char *kwnames[] = {
23676 (char *) "self",(char *) "dir", NULL
23677 };
23678
23679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
23680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23682 if (obj1) {
c32bde28 23683 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 {
23687 PyThreadState* __tstate = wxPyBeginAllowThreads();
23688 (arg1)->CenterOnParent(arg2);
23689
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 Py_INCREF(Py_None); resultobj = Py_None;
23694 return resultobj;
23695 fail:
23696 return NULL;
23697}
23698
23699
c32bde28 23700static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23701 PyObject *resultobj;
23702 wxWindow *arg1 = (wxWindow *) 0 ;
23703 PyObject * obj0 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
23709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 (arg1)->Fit();
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 Py_INCREF(Py_None); resultobj = Py_None;
23719 return resultobj;
23720 fail:
23721 return NULL;
23722}
23723
23724
c32bde28 23725static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23726 PyObject *resultobj;
23727 wxWindow *arg1 = (wxWindow *) 0 ;
23728 PyObject * obj0 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "self", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
23734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->FitInside();
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 Py_INCREF(Py_None); resultobj = Py_None;
23744 return resultobj;
23745 fail:
23746 return NULL;
23747}
23748
23749
c32bde28 23750static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23751 PyObject *resultobj;
23752 wxWindow *arg1 = (wxWindow *) 0 ;
23753 int arg2 ;
23754 int arg3 ;
23755 int arg4 = (int) -1 ;
23756 int arg5 = (int) -1 ;
23757 int arg6 = (int) -1 ;
23758 int arg7 = (int) -1 ;
23759 PyObject * obj0 = 0 ;
23760 PyObject * obj1 = 0 ;
23761 PyObject * obj2 = 0 ;
23762 PyObject * obj3 = 0 ;
23763 PyObject * obj4 = 0 ;
23764 PyObject * obj5 = 0 ;
23765 PyObject * obj6 = 0 ;
03837c5c
RD
23766 char *kwnames[] = {
23767 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23768 };
d55e5bfc 23769
03837c5c 23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
23771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23773 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 23774 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23775 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
23776 if (PyErr_Occurred()) SWIG_fail;
23777 if (obj3) {
c32bde28 23778 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 if (obj4) {
c32bde28 23782 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 if (obj5) {
c32bde28 23786 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
23787 if (PyErr_Occurred()) SWIG_fail;
23788 }
23789 if (obj6) {
c32bde28 23790 arg7 = (int)SWIG_As_int(obj6);
d55e5bfc
RD
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23796
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 Py_INCREF(Py_None); resultobj = Py_None;
23801 return resultobj;
23802 fail:
23803 return NULL;
23804}
23805
23806
c32bde28 23807static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23808 PyObject *resultobj;
23809 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23810 wxSize *arg2 = 0 ;
23811 wxSize const &arg3_defvalue = wxDefaultSize ;
23812 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
03837c5c
RD
23813 wxSize const &arg4_defvalue = wxDefaultSize ;
23814 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
908b74cd
RD
23815 wxSize temp2 ;
23816 wxSize temp3 ;
03837c5c 23817 wxSize temp4 ;
d55e5bfc
RD
23818 PyObject * obj0 = 0 ;
23819 PyObject * obj1 = 0 ;
23820 PyObject * obj2 = 0 ;
03837c5c
RD
23821 PyObject * obj3 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23824 };
d55e5bfc 23825
03837c5c 23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
23827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23829 {
23830 arg2 = &temp2;
23831 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 23832 }
908b74cd
RD
23833 if (obj2) {
23834 {
23835 arg3 = &temp3;
23836 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23837 }
d55e5bfc 23838 }
03837c5c
RD
23839 if (obj3) {
23840 {
23841 arg4 = &temp4;
23842 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23843 }
23844 }
d55e5bfc
RD
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
03837c5c 23847 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
d55e5bfc
RD
23848
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 Py_INCREF(Py_None); resultobj = Py_None;
23853 return resultobj;
23854 fail:
23855 return NULL;
23856}
23857
23858
c32bde28 23859static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23860 PyObject *resultobj;
23861 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23862 int arg2 ;
23863 int arg3 ;
23864 int arg4 = (int) -1 ;
23865 int arg5 = (int) -1 ;
d55e5bfc
RD
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 PyObject * obj2 = 0 ;
908b74cd
RD
23869 PyObject * obj3 = 0 ;
23870 PyObject * obj4 = 0 ;
03837c5c
RD
23871 char *kwnames[] = {
23872 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23873 };
d55e5bfc 23874
03837c5c 23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d55e5bfc
RD
23876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23878 arg2 = (int)SWIG_As_int(obj1);
908b74cd 23879 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23880 arg3 = (int)SWIG_As_int(obj2);
908b74cd
RD
23881 if (PyErr_Occurred()) SWIG_fail;
23882 if (obj3) {
c32bde28 23883 arg4 = (int)SWIG_As_int(obj3);
908b74cd 23884 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 23885 }
908b74cd 23886 if (obj4) {
c32bde28 23887 arg5 = (int)SWIG_As_int(obj4);
908b74cd 23888 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23889 }
23890 {
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23892 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
d55e5bfc
RD
23893
23894 wxPyEndAllowThreads(__tstate);
23895 if (PyErr_Occurred()) SWIG_fail;
23896 }
23897 Py_INCREF(Py_None); resultobj = Py_None;
23898 return resultobj;
23899 fail:
23900 return NULL;
23901}
23902
23903
c32bde28 23904static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
23905 PyObject *resultobj;
23906 wxWindow *arg1 = (wxWindow *) 0 ;
23907 wxSize *arg2 = 0 ;
23908 wxSize const &arg3_defvalue = wxDefaultSize ;
23909 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23910 wxSize temp2 ;
23911 wxSize temp3 ;
23912 PyObject * obj0 = 0 ;
23913 PyObject * obj1 = 0 ;
23914 PyObject * obj2 = 0 ;
23915 char *kwnames[] = {
23916 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23917 };
d55e5bfc 23918
03837c5c
RD
23919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
23920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23922 {
23923 arg2 = &temp2;
23924 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 23925 }
03837c5c 23926 if (obj2) {
d55e5bfc 23927 {
03837c5c
RD
23928 arg3 = &temp3;
23929 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc
RD
23930 }
23931 }
03837c5c
RD
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23935
23936 wxPyEndAllowThreads(__tstate);
23937 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 23938 }
03837c5c
RD
23939 Py_INCREF(Py_None); resultobj = Py_None;
23940 return resultobj;
23941 fail:
d55e5bfc
RD
23942 return NULL;
23943}
23944
23945
c32bde28 23946static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23947 PyObject *resultobj;
23948 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23949 wxSize result;
d55e5bfc
RD
23950 PyObject * obj0 = 0 ;
23951 char *kwnames[] = {
23952 (char *) "self", NULL
23953 };
23954
908b74cd 23955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
d55e5bfc
RD
23956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23958 {
23959 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23960 result = ((wxWindow const *)arg1)->GetMaxSize();
d55e5bfc
RD
23961
23962 wxPyEndAllowThreads(__tstate);
23963 if (PyErr_Occurred()) SWIG_fail;
23964 }
908b74cd
RD
23965 {
23966 wxSize * resultptr;
23967 resultptr = new wxSize((wxSize &) result);
23968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23969 }
d55e5bfc
RD
23970 return resultobj;
23971 fail:
23972 return NULL;
23973}
23974
23975
c32bde28 23976static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23977 PyObject *resultobj;
23978 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23979 wxSize result;
d55e5bfc
RD
23980 PyObject * obj0 = 0 ;
23981 char *kwnames[] = {
23982 (char *) "self", NULL
23983 };
23984
908b74cd 23985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
d55e5bfc
RD
23986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23990 result = ((wxWindow const *)arg1)->GetMinSize();
d55e5bfc
RD
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
908b74cd
RD
23995 {
23996 wxSize * resultptr;
23997 resultptr = new wxSize((wxSize &) result);
23998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23999 }
d55e5bfc
RD
24000 return resultobj;
24001 fail:
24002 return NULL;
24003}
24004
24005
c32bde28 24006static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
24007 PyObject *resultobj;
24008 wxWindow *arg1 = (wxWindow *) 0 ;
24009 wxSize *arg2 = 0 ;
24010 wxSize temp2 ;
24011 PyObject * obj0 = 0 ;
24012 PyObject * obj1 = 0 ;
24013 char *kwnames[] = {
24014 (char *) "self",(char *) "minSize", NULL
24015 };
24016
24017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
24018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24020 {
24021 arg2 = &temp2;
24022 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24023 }
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 (arg1)->SetMinSize((wxSize const &)*arg2);
24027
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
24031 Py_INCREF(Py_None); resultobj = Py_None;
24032 return resultobj;
24033 fail:
24034 return NULL;
24035}
24036
24037
c32bde28 24038static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
24039 PyObject *resultobj;
24040 wxWindow *arg1 = (wxWindow *) 0 ;
24041 wxSize *arg2 = 0 ;
24042 wxSize temp2 ;
24043 PyObject * obj0 = 0 ;
24044 PyObject * obj1 = 0 ;
24045 char *kwnames[] = {
24046 (char *) "self",(char *) "maxSize", NULL
24047 };
24048
24049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
24050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24052 {
24053 arg2 = &temp2;
24054 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24055 }
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 (arg1)->SetMaxSize((wxSize const &)*arg2);
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 Py_INCREF(Py_None); resultobj = Py_None;
24064 return resultobj;
24065 fail:
24066 return NULL;
24067}
24068
24069
c32bde28 24070static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24071 PyObject *resultobj;
24072 wxWindow *arg1 = (wxWindow *) 0 ;
24073 int result;
24074 PyObject * obj0 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self", NULL
24077 };
24078
908b74cd 24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
d55e5bfc
RD
24080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24084 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d55e5bfc
RD
24085
24086 wxPyEndAllowThreads(__tstate);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
c32bde28 24089 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24090 return resultobj;
24091 fail:
24092 return NULL;
24093}
24094
24095
c32bde28 24096static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24097 PyObject *resultobj;
24098 wxWindow *arg1 = (wxWindow *) 0 ;
24099 int result;
24100 PyObject * obj0 = 0 ;
24101 char *kwnames[] = {
24102 (char *) "self", NULL
24103 };
24104
908b74cd 24105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
d55e5bfc
RD
24106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24110 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d55e5bfc
RD
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
c32bde28 24115 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24116 return resultobj;
24117 fail:
24118 return NULL;
24119}
24120
24121
c32bde28 24122static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24123 PyObject *resultobj;
24124 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24125 int result;
d55e5bfc
RD
24126 PyObject * obj0 = 0 ;
24127 char *kwnames[] = {
24128 (char *) "self", NULL
24129 };
24130
908b74cd 24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
d55e5bfc
RD
24132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24134 {
24135 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24136 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d55e5bfc
RD
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
c32bde28 24141 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24142 return resultobj;
24143 fail:
24144 return NULL;
24145}
24146
24147
c32bde28 24148static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24149 PyObject *resultobj;
24150 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24151 int result;
d55e5bfc
RD
24152 PyObject * obj0 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self", NULL
24155 };
24156
908b74cd 24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
d55e5bfc
RD
24158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24162 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
d55e5bfc
RD
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
c32bde28 24167 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
24168 return resultobj;
24169 fail:
24170 return NULL;
24171}
24172
24173
c32bde28 24174static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24175 PyObject *resultobj;
24176 wxWindow *arg1 = (wxWindow *) 0 ;
24177 wxSize *arg2 = 0 ;
24178 wxSize temp2 ;
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "size", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
24186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24188 {
24189 arg2 = &temp2;
24190 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24191 }
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->SetVirtualSize((wxSize const &)*arg2);
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 Py_INCREF(Py_None); resultobj = Py_None;
24200 return resultobj;
24201 fail:
24202 return NULL;
24203}
24204
24205
c32bde28 24206static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24207 PyObject *resultobj;
24208 wxWindow *arg1 = (wxWindow *) 0 ;
24209 int arg2 ;
24210 int arg3 ;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 PyObject * obj2 = 0 ;
24214 char *kwnames[] = {
24215 (char *) "self",(char *) "w",(char *) "h", NULL
24216 };
24217
24218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
24219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24221 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 24222 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24223 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
24224 if (PyErr_Occurred()) SWIG_fail;
24225 {
24226 PyThreadState* __tstate = wxPyBeginAllowThreads();
24227 (arg1)->SetVirtualSize(arg2,arg3);
24228
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 Py_INCREF(Py_None); resultobj = Py_None;
24233 return resultobj;
24234 fail:
24235 return NULL;
24236}
24237
24238
c32bde28 24239static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24240 PyObject *resultobj;
24241 wxWindow *arg1 = (wxWindow *) 0 ;
24242 wxSize result;
24243 PyObject * obj0 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
24249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24251 {
24252 PyThreadState* __tstate = wxPyBeginAllowThreads();
24253 result = ((wxWindow const *)arg1)->GetVirtualSize();
24254
24255 wxPyEndAllowThreads(__tstate);
24256 if (PyErr_Occurred()) SWIG_fail;
24257 }
24258 {
24259 wxSize * resultptr;
24260 resultptr = new wxSize((wxSize &) result);
24261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24262 }
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
c32bde28 24269static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24270 PyObject *resultobj;
24271 wxWindow *arg1 = (wxWindow *) 0 ;
24272 int *arg2 = (int *) 0 ;
24273 int *arg3 = (int *) 0 ;
24274 int temp2 ;
c32bde28 24275 int res2 = 0 ;
d55e5bfc 24276 int temp3 ;
c32bde28 24277 int res3 = 0 ;
d55e5bfc
RD
24278 PyObject * obj0 = 0 ;
24279 char *kwnames[] = {
24280 (char *) "self", NULL
24281 };
24282
c32bde28
RD
24283 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24284 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
24286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24296 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24297 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24298 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24299 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24300 return resultobj;
24301 fail:
24302 return NULL;
24303}
24304
24305
c32bde28 24306static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24307 PyObject *resultobj;
24308 wxWindow *arg1 = (wxWindow *) 0 ;
24309 wxSize result;
24310 PyObject * obj0 = 0 ;
24311 char *kwnames[] = {
24312 (char *) "self", NULL
24313 };
24314
24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
24316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24318 {
24319 PyThreadState* __tstate = wxPyBeginAllowThreads();
24320 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
24321
24322 wxPyEndAllowThreads(__tstate);
24323 if (PyErr_Occurred()) SWIG_fail;
24324 }
24325 {
24326 wxSize * resultptr;
24327 resultptr = new wxSize((wxSize &) result);
24328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24329 }
24330 return resultobj;
24331 fail:
24332 return NULL;
24333}
24334
24335
c32bde28 24336static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24337 PyObject *resultobj;
24338 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24339 bool arg2 = (bool) true ;
d55e5bfc
RD
24340 bool result;
24341 PyObject * obj0 = 0 ;
24342 PyObject * obj1 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self",(char *) "show", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24350 if (obj1) {
c32bde28 24351 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (bool)(arg1)->Show(arg2);
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 {
24362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24363 }
24364 return resultobj;
24365 fail:
24366 return NULL;
24367}
24368
24369
c32bde28 24370static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24371 PyObject *resultobj;
24372 wxWindow *arg1 = (wxWindow *) 0 ;
24373 bool result;
24374 PyObject * obj0 = 0 ;
24375 char *kwnames[] = {
24376 (char *) "self", NULL
24377 };
24378
24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
24380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
24384 result = (bool)(arg1)->Hide();
24385
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 {
24390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24391 }
24392 return resultobj;
24393 fail:
24394 return NULL;
24395}
24396
24397
c32bde28 24398static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24399 PyObject *resultobj;
24400 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24401 bool arg2 = (bool) true ;
d55e5bfc
RD
24402 bool result;
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self",(char *) "enable", NULL
24407 };
24408
24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
24410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24412 if (obj1) {
c32bde28 24413 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 result = (bool)(arg1)->Enable(arg2);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 {
24424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24425 }
24426 return resultobj;
24427 fail:
24428 return NULL;
24429}
24430
24431
c32bde28 24432static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24433 PyObject *resultobj;
24434 wxWindow *arg1 = (wxWindow *) 0 ;
24435 bool result;
24436 PyObject * obj0 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24444 {
24445 PyThreadState* __tstate = wxPyBeginAllowThreads();
24446 result = (bool)(arg1)->Disable();
24447
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 {
24452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24453 }
24454 return resultobj;
24455 fail:
24456 return NULL;
24457}
24458
24459
c32bde28 24460static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24461 PyObject *resultobj;
24462 wxWindow *arg1 = (wxWindow *) 0 ;
24463 bool result;
24464 PyObject * obj0 = 0 ;
24465 char *kwnames[] = {
24466 (char *) "self", NULL
24467 };
24468
24469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
24470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 result = (bool)((wxWindow const *)arg1)->IsShown();
24475
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 {
24480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24481 }
24482 return resultobj;
24483 fail:
24484 return NULL;
24485}
24486
24487
c32bde28 24488static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24489 PyObject *resultobj;
24490 wxWindow *arg1 = (wxWindow *) 0 ;
24491 bool result;
24492 PyObject * obj0 = 0 ;
24493 char *kwnames[] = {
24494 (char *) "self", NULL
24495 };
24496
24497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
24498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 result = (bool)((wxWindow const *)arg1)->IsEnabled();
24503
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 {
24508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24509 }
24510 return resultobj;
24511 fail:
24512 return NULL;
24513}
24514
24515
c32bde28 24516static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24517 PyObject *resultobj;
24518 wxWindow *arg1 = (wxWindow *) 0 ;
24519 long arg2 ;
24520 PyObject * obj0 = 0 ;
24521 PyObject * obj1 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self",(char *) "style", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
24527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24529 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
24530 if (PyErr_Occurred()) SWIG_fail;
24531 {
24532 PyThreadState* __tstate = wxPyBeginAllowThreads();
24533 (arg1)->SetWindowStyleFlag(arg2);
24534
24535 wxPyEndAllowThreads(__tstate);
24536 if (PyErr_Occurred()) SWIG_fail;
24537 }
24538 Py_INCREF(Py_None); resultobj = Py_None;
24539 return resultobj;
24540 fail:
24541 return NULL;
24542}
24543
24544
c32bde28 24545static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24546 PyObject *resultobj;
24547 wxWindow *arg1 = (wxWindow *) 0 ;
24548 long result;
24549 PyObject * obj0 = 0 ;
24550 char *kwnames[] = {
24551 (char *) "self", NULL
24552 };
24553
24554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
24555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
c32bde28 24564 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24565 return resultobj;
24566 fail:
24567 return NULL;
24568}
24569
24570
c32bde28 24571static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24572 PyObject *resultobj;
24573 wxWindow *arg1 = (wxWindow *) 0 ;
24574 int arg2 ;
24575 bool result;
24576 PyObject * obj0 = 0 ;
24577 PyObject * obj1 = 0 ;
24578 char *kwnames[] = {
24579 (char *) "self",(char *) "flag", NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
24583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24585 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
24586 if (PyErr_Occurred()) SWIG_fail;
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24590
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 {
24595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24596 }
24597 return resultobj;
24598 fail:
24599 return NULL;
24600}
24601
24602
c32bde28 24603static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24604 PyObject *resultobj;
24605 wxWindow *arg1 = (wxWindow *) 0 ;
24606 bool result;
24607 PyObject * obj0 = 0 ;
24608 char *kwnames[] = {
24609 (char *) "self", NULL
24610 };
24611
24612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
24613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (bool)((wxWindow const *)arg1)->IsRetained();
24618
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
24622 {
24623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24624 }
24625 return resultobj;
24626 fail:
24627 return NULL;
24628}
24629
24630
c32bde28 24631static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24632 PyObject *resultobj;
24633 wxWindow *arg1 = (wxWindow *) 0 ;
24634 long arg2 ;
24635 PyObject * obj0 = 0 ;
24636 PyObject * obj1 = 0 ;
24637 char *kwnames[] = {
24638 (char *) "self",(char *) "exStyle", NULL
24639 };
24640
24641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
24642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24644 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
24645 if (PyErr_Occurred()) SWIG_fail;
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->SetExtraStyle(arg2);
24649
24650 wxPyEndAllowThreads(__tstate);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
24653 Py_INCREF(Py_None); resultobj = Py_None;
24654 return resultobj;
24655 fail:
24656 return NULL;
24657}
24658
24659
c32bde28 24660static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24661 PyObject *resultobj;
24662 wxWindow *arg1 = (wxWindow *) 0 ;
24663 long result;
24664 PyObject * obj0 = 0 ;
24665 char *kwnames[] = {
24666 (char *) "self", NULL
24667 };
24668
24669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
24670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
c32bde28 24679 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
24680 return resultobj;
24681 fail:
24682 return NULL;
24683}
24684
24685
c32bde28 24686static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24687 PyObject *resultobj;
24688 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24689 bool arg2 = (bool) true ;
d55e5bfc
RD
24690 PyObject * obj0 = 0 ;
24691 PyObject * obj1 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "modal", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
24697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24699 if (obj1) {
c32bde28 24700 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 (arg1)->MakeModal(arg2);
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 Py_INCREF(Py_None); resultobj = Py_None;
24711 return resultobj;
24712 fail:
24713 return NULL;
24714}
24715
24716
c32bde28 24717static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24718 PyObject *resultobj;
24719 wxWindow *arg1 = (wxWindow *) 0 ;
24720 bool arg2 ;
24721 PyObject * obj0 = 0 ;
24722 PyObject * obj1 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self",(char *) "enableTheme", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
24728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24730 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
24731 if (PyErr_Occurred()) SWIG_fail;
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 (arg1)->SetThemeEnabled(arg2);
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 Py_INCREF(Py_None); resultobj = Py_None;
24740 return resultobj;
24741 fail:
24742 return NULL;
24743}
24744
24745
c32bde28 24746static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24747 PyObject *resultobj;
24748 wxWindow *arg1 = (wxWindow *) 0 ;
24749 bool result;
24750 PyObject * obj0 = 0 ;
24751 char *kwnames[] = {
24752 (char *) "self", NULL
24753 };
24754
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
24756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24758 {
24759 PyThreadState* __tstate = wxPyBeginAllowThreads();
24760 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24761
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 {
24766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24767 }
24768 return resultobj;
24769 fail:
24770 return NULL;
24771}
24772
24773
c32bde28 24774static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24775 PyObject *resultobj;
24776 wxWindow *arg1 = (wxWindow *) 0 ;
24777 PyObject * obj0 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
24783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 (arg1)->SetFocus();
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 Py_INCREF(Py_None); resultobj = Py_None;
24793 return resultobj;
24794 fail:
24795 return NULL;
24796}
24797
24798
c32bde28 24799static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24800 PyObject *resultobj;
24801 wxWindow *arg1 = (wxWindow *) 0 ;
24802 PyObject * obj0 = 0 ;
24803 char *kwnames[] = {
24804 (char *) "self", NULL
24805 };
24806
24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
24808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 (arg1)->SetFocusFromKbd();
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 Py_INCREF(Py_None); resultobj = Py_None;
24818 return resultobj;
24819 fail:
24820 return NULL;
24821}
24822
24823
c32bde28 24824static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24825 PyObject *resultobj;
24826 wxWindow *result;
24827 char *kwnames[] = {
24828 NULL
24829 };
24830
24831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24832 {
0439c23b 24833 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24834 PyThreadState* __tstate = wxPyBeginAllowThreads();
24835 result = (wxWindow *)wxWindow::FindFocus();
24836
24837 wxPyEndAllowThreads(__tstate);
110da5b0 24838 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24839 }
24840 {
412d302d 24841 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24842 }
24843 return resultobj;
24844 fail:
24845 return NULL;
24846}
24847
24848
c32bde28 24849static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24850 PyObject *resultobj;
24851 wxWindow *arg1 = (wxWindow *) 0 ;
24852 bool result;
24853 PyObject * obj0 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
24859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24861 {
24862 PyThreadState* __tstate = wxPyBeginAllowThreads();
24863 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24864
24865 wxPyEndAllowThreads(__tstate);
24866 if (PyErr_Occurred()) SWIG_fail;
24867 }
24868 {
24869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24870 }
24871 return resultobj;
24872 fail:
24873 return NULL;
24874}
24875
24876
c32bde28 24877static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24878 PyObject *resultobj;
24879 wxWindow *arg1 = (wxWindow *) 0 ;
24880 bool result;
24881 PyObject * obj0 = 0 ;
24882 char *kwnames[] = {
24883 (char *) "self", NULL
24884 };
24885
24886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24892
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
24896 {
24897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24898 }
24899 return resultobj;
24900 fail:
24901 return NULL;
24902}
24903
24904
c32bde28 24905static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24906 PyObject *resultobj;
24907 wxWindow *arg1 = (wxWindow *) 0 ;
24908 wxWindow *result;
24909 PyObject * obj0 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "self", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
24915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24917 {
24918 PyThreadState* __tstate = wxPyBeginAllowThreads();
24919 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24920
24921 wxPyEndAllowThreads(__tstate);
24922 if (PyErr_Occurred()) SWIG_fail;
24923 }
24924 {
412d302d 24925 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24926 }
24927 return resultobj;
24928 fail:
24929 return NULL;
24930}
24931
24932
c32bde28 24933static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24934 PyObject *resultobj;
24935 wxWindow *arg1 = (wxWindow *) 0 ;
24936 wxWindow *arg2 = (wxWindow *) 0 ;
24937 wxWindow *result;
24938 PyObject * obj0 = 0 ;
24939 PyObject * obj1 = 0 ;
24940 char *kwnames[] = {
24941 (char *) "self",(char *) "child", NULL
24942 };
24943
24944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24952
24953 wxPyEndAllowThreads(__tstate);
24954 if (PyErr_Occurred()) SWIG_fail;
24955 }
24956 {
412d302d 24957 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24958 }
24959 return resultobj;
24960 fail:
24961 return NULL;
24962}
24963
24964
c32bde28 24965static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24966 PyObject *resultobj;
24967 wxWindow *arg1 = (wxWindow *) 0 ;
24968 wxWindow *arg2 = (wxWindow *) 0 ;
24969 PyObject * obj0 = 0 ;
24970 PyObject * obj1 = 0 ;
24971 char *kwnames[] = {
24972 (char *) "self",(char *) "win", NULL
24973 };
24974
24975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
24976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 (arg1)->SetTmpDefaultItem(arg2);
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 Py_INCREF(Py_None); resultobj = Py_None;
24988 return resultobj;
24989 fail:
24990 return NULL;
24991}
24992
24993
c32bde28 24994static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
24995 PyObject *resultobj;
24996 wxWindow *arg1 = (wxWindow *) 0 ;
24997 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
24998 bool result;
24999 PyObject * obj0 = 0 ;
25000 PyObject * obj1 = 0 ;
25001 char *kwnames[] = {
25002 (char *) "self",(char *) "flags", NULL
25003 };
25004
25005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
25006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25008 if (obj1) {
c32bde28 25009 arg2 = (int)SWIG_As_int(obj1);
908b74cd
RD
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 result = (bool)(arg1)->Navigate(arg2);
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 {
25020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25021 }
25022 return resultobj;
25023 fail:
25024 return NULL;
25025}
25026
25027
c32bde28 25028static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883
RD
25029 PyObject *resultobj;
25030 wxWindow *arg1 = (wxWindow *) 0 ;
25031 wxWindow *arg2 = (wxWindow *) 0 ;
25032 PyObject * obj0 = 0 ;
25033 PyObject * obj1 = 0 ;
25034 char *kwnames[] = {
25035 (char *) "self",(char *) "win", NULL
25036 };
25037
25038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
25039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 (arg1)->MoveAfterInTabOrder(arg2);
25046
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 Py_INCREF(Py_None); resultobj = Py_None;
25051 return resultobj;
25052 fail:
25053 return NULL;
25054}
25055
25056
c32bde28 25057static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883
RD
25058 PyObject *resultobj;
25059 wxWindow *arg1 = (wxWindow *) 0 ;
25060 wxWindow *arg2 = (wxWindow *) 0 ;
25061 PyObject * obj0 = 0 ;
25062 PyObject * obj1 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self",(char *) "win", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
25068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 (arg1)->MoveBeforeInTabOrder(arg2);
25075
25076 wxPyEndAllowThreads(__tstate);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
25079 Py_INCREF(Py_None); resultobj = Py_None;
25080 return resultobj;
25081 fail:
25082 return NULL;
25083}
25084
25085
c32bde28 25086static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25087 PyObject *resultobj;
25088 wxWindow *arg1 = (wxWindow *) 0 ;
25089 PyObject *result;
25090 PyObject * obj0 = 0 ;
25091 char *kwnames[] = {
25092 (char *) "self", NULL
25093 };
25094
25095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
25096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 result = (PyObject *)wxWindow_GetChildren(arg1);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 resultobj = result;
25106 return resultobj;
25107 fail:
25108 return NULL;
25109}
25110
25111
c32bde28 25112static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25113 PyObject *resultobj;
25114 wxWindow *arg1 = (wxWindow *) 0 ;
25115 wxWindow *result;
25116 PyObject * obj0 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
25122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
412d302d 25132 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25133 }
25134 return resultobj;
25135 fail:
25136 return NULL;
25137}
25138
25139
c32bde28 25140static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25141 PyObject *resultobj;
25142 wxWindow *arg1 = (wxWindow *) 0 ;
25143 wxWindow *result;
25144 PyObject * obj0 = 0 ;
25145 char *kwnames[] = {
25146 (char *) "self", NULL
25147 };
25148
25149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
25150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 {
412d302d 25160 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25161 }
25162 return resultobj;
25163 fail:
25164 return NULL;
25165}
25166
25167
c32bde28 25168static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25169 PyObject *resultobj;
25170 wxWindow *arg1 = (wxWindow *) 0 ;
25171 bool result;
25172 PyObject * obj0 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "self", NULL
25175 };
25176
25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
25178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
25183
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 {
25188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25189 }
25190 return resultobj;
25191 fail:
25192 return NULL;
25193}
25194
25195
c32bde28 25196static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25197 PyObject *resultobj;
25198 wxWindow *arg1 = (wxWindow *) 0 ;
25199 wxWindow *arg2 = (wxWindow *) 0 ;
25200 bool result;
25201 PyObject * obj0 = 0 ;
25202 PyObject * obj1 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "self",(char *) "newParent", NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
25208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 result = (bool)(arg1)->Reparent(arg2);
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 {
25220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25221 }
25222 return resultobj;
25223 fail:
25224 return NULL;
25225}
25226
25227
c32bde28 25228static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25229 PyObject *resultobj;
25230 wxWindow *arg1 = (wxWindow *) 0 ;
25231 wxWindow *arg2 = (wxWindow *) 0 ;
25232 PyObject * obj0 = 0 ;
25233 PyObject * obj1 = 0 ;
25234 char *kwnames[] = {
25235 (char *) "self",(char *) "child", NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
25239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 (arg1)->AddChild(arg2);
25246
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 Py_INCREF(Py_None); resultobj = Py_None;
25251 return resultobj;
25252 fail:
25253 return NULL;
25254}
25255
25256
c32bde28 25257static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25258 PyObject *resultobj;
25259 wxWindow *arg1 = (wxWindow *) 0 ;
25260 wxWindow *arg2 = (wxWindow *) 0 ;
25261 PyObject * obj0 = 0 ;
25262 PyObject * obj1 = 0 ;
25263 char *kwnames[] = {
25264 (char *) "self",(char *) "child", NULL
25265 };
25266
25267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 (arg1)->RemoveChild(arg2);
25275
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 Py_INCREF(Py_None); resultobj = Py_None;
25280 return resultobj;
25281 fail:
25282 return NULL;
25283}
25284
25285
c32bde28 25286static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25287 PyObject *resultobj;
25288 wxWindow *arg1 = (wxWindow *) 0 ;
25289 long arg2 ;
25290 wxWindow *result;
25291 PyObject * obj0 = 0 ;
25292 PyObject * obj1 = 0 ;
25293 char *kwnames[] = {
25294 (char *) "self",(char *) "winid", NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
25298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25300 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
25301 if (PyErr_Occurred()) SWIG_fail;
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 result = (wxWindow *)(arg1)->FindWindow(arg2);
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 {
412d302d 25310 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25311 }
25312 return resultobj;
25313 fail:
25314 return NULL;
25315}
25316
25317
c32bde28 25318static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25319 PyObject *resultobj;
25320 wxWindow *arg1 = (wxWindow *) 0 ;
25321 wxString *arg2 = 0 ;
25322 wxWindow *result;
ae8162c8 25323 bool temp2 = false ;
d55e5bfc
RD
25324 PyObject * obj0 = 0 ;
25325 PyObject * obj1 = 0 ;
25326 char *kwnames[] = {
25327 (char *) "self",(char *) "name", NULL
25328 };
25329
25330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
25331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25333 {
25334 arg2 = wxString_in_helper(obj1);
25335 if (arg2 == NULL) SWIG_fail;
ae8162c8 25336 temp2 = true;
d55e5bfc
RD
25337 }
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
25341
25342 wxPyEndAllowThreads(__tstate);
25343 if (PyErr_Occurred()) SWIG_fail;
25344 }
25345 {
412d302d 25346 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25347 }
25348 {
25349 if (temp2)
25350 delete arg2;
25351 }
25352 return resultobj;
25353 fail:
25354 {
25355 if (temp2)
25356 delete arg2;
25357 }
25358 return NULL;
25359}
25360
25361
c32bde28 25362static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25363 PyObject *resultobj;
25364 wxWindow *arg1 = (wxWindow *) 0 ;
25365 wxEvtHandler *result;
25366 PyObject * obj0 = 0 ;
25367 char *kwnames[] = {
25368 (char *) "self", NULL
25369 };
25370
25371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
25372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
25377
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
25381 {
412d302d 25382 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25383 }
25384 return resultobj;
25385 fail:
25386 return NULL;
25387}
25388
25389
c32bde28 25390static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25391 PyObject *resultobj;
25392 wxWindow *arg1 = (wxWindow *) 0 ;
25393 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25394 PyObject * obj0 = 0 ;
25395 PyObject * obj1 = 0 ;
25396 char *kwnames[] = {
25397 (char *) "self",(char *) "handler", NULL
25398 };
25399
25400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
25401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25405 {
25406 PyThreadState* __tstate = wxPyBeginAllowThreads();
25407 (arg1)->SetEventHandler(arg2);
25408
25409 wxPyEndAllowThreads(__tstate);
25410 if (PyErr_Occurred()) SWIG_fail;
25411 }
25412 Py_INCREF(Py_None); resultobj = Py_None;
25413 return resultobj;
25414 fail:
25415 return NULL;
25416}
25417
25418
c32bde28 25419static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25420 PyObject *resultobj;
25421 wxWindow *arg1 = (wxWindow *) 0 ;
25422 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 char *kwnames[] = {
25426 (char *) "self",(char *) "handler", NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
25430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 (arg1)->PushEventHandler(arg2);
25437
25438 wxPyEndAllowThreads(__tstate);
25439 if (PyErr_Occurred()) SWIG_fail;
25440 }
25441 Py_INCREF(Py_None); resultobj = Py_None;
25442 return resultobj;
25443 fail:
25444 return NULL;
25445}
25446
25447
c32bde28 25448static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25449 PyObject *resultobj;
25450 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 25451 bool arg2 = (bool) false ;
d55e5bfc
RD
25452 wxEvtHandler *result;
25453 PyObject * obj0 = 0 ;
25454 PyObject * obj1 = 0 ;
25455 char *kwnames[] = {
25456 (char *) "self",(char *) "deleteHandler", NULL
25457 };
25458
25459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
25460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25462 if (obj1) {
c32bde28 25463 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
25464 if (PyErr_Occurred()) SWIG_fail;
25465 }
25466 {
25467 PyThreadState* __tstate = wxPyBeginAllowThreads();
25468 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
25469
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 {
412d302d 25474 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25475 }
25476 return resultobj;
25477 fail:
25478 return NULL;
25479}
25480
25481
c32bde28 25482static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25483 PyObject *resultobj;
25484 wxWindow *arg1 = (wxWindow *) 0 ;
25485 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25486 bool result;
25487 PyObject * obj0 = 0 ;
25488 PyObject * obj1 = 0 ;
25489 char *kwnames[] = {
25490 (char *) "self",(char *) "handler", NULL
25491 };
25492
25493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
25494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 result = (bool)(arg1)->RemoveEventHandler(arg2);
25501
25502 wxPyEndAllowThreads(__tstate);
25503 if (PyErr_Occurred()) SWIG_fail;
25504 }
25505 {
25506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25507 }
25508 return resultobj;
25509 fail:
25510 return NULL;
25511}
25512
25513
c32bde28 25514static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25515 PyObject *resultobj;
25516 wxWindow *arg1 = (wxWindow *) 0 ;
25517 wxValidator *arg2 = 0 ;
25518 PyObject * obj0 = 0 ;
25519 PyObject * obj1 = 0 ;
25520 char *kwnames[] = {
25521 (char *) "self",(char *) "validator", NULL
25522 };
25523
25524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
25525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
25528 SWIG_POINTER_EXCEPTION | 0)) == -1)
25529 SWIG_fail;
25530 if (arg2 == NULL) {
25531 PyErr_SetString(PyExc_TypeError,"null reference");
25532 SWIG_fail;
25533 }
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 (arg1)->SetValidator((wxValidator const &)*arg2);
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 Py_INCREF(Py_None); resultobj = Py_None;
25542 return resultobj;
25543 fail:
25544 return NULL;
25545}
25546
25547
c32bde28 25548static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25549 PyObject *resultobj;
25550 wxWindow *arg1 = (wxWindow *) 0 ;
25551 wxValidator *result;
25552 PyObject * obj0 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
25558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 result = (wxValidator *)(arg1)->GetValidator();
25563
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 {
412d302d 25568 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25569 }
25570 return resultobj;
25571 fail:
25572 return NULL;
25573}
25574
25575
c32bde28 25576static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25577 PyObject *resultobj;
25578 wxWindow *arg1 = (wxWindow *) 0 ;
25579 bool result;
25580 PyObject * obj0 = 0 ;
25581 char *kwnames[] = {
25582 (char *) "self", NULL
25583 };
25584
25585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
25586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25588 {
25589 PyThreadState* __tstate = wxPyBeginAllowThreads();
25590 result = (bool)(arg1)->Validate();
25591
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 {
25596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25597 }
25598 return resultobj;
25599 fail:
25600 return NULL;
25601}
25602
25603
c32bde28 25604static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25605 PyObject *resultobj;
25606 wxWindow *arg1 = (wxWindow *) 0 ;
25607 bool result;
25608 PyObject * obj0 = 0 ;
25609 char *kwnames[] = {
25610 (char *) "self", NULL
25611 };
25612
25613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
25614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25616 {
25617 PyThreadState* __tstate = wxPyBeginAllowThreads();
25618 result = (bool)(arg1)->TransferDataToWindow();
25619
25620 wxPyEndAllowThreads(__tstate);
25621 if (PyErr_Occurred()) SWIG_fail;
25622 }
25623 {
25624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25625 }
25626 return resultobj;
25627 fail:
25628 return NULL;
25629}
25630
25631
c32bde28 25632static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25633 PyObject *resultobj;
25634 wxWindow *arg1 = (wxWindow *) 0 ;
25635 bool result;
25636 PyObject * obj0 = 0 ;
25637 char *kwnames[] = {
25638 (char *) "self", NULL
25639 };
25640
25641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25644 {
25645 PyThreadState* __tstate = wxPyBeginAllowThreads();
25646 result = (bool)(arg1)->TransferDataFromWindow();
25647
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 {
25652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25653 }
25654 return resultobj;
25655 fail:
25656 return NULL;
25657}
25658
25659
c32bde28 25660static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25661 PyObject *resultobj;
25662 wxWindow *arg1 = (wxWindow *) 0 ;
25663 PyObject * obj0 = 0 ;
25664 char *kwnames[] = {
25665 (char *) "self", NULL
25666 };
25667
25668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25671 {
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 (arg1)->InitDialog();
25674
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 Py_INCREF(Py_None); resultobj = Py_None;
25679 return resultobj;
25680 fail:
25681 return NULL;
25682}
25683
25684
c32bde28 25685static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25686 PyObject *resultobj;
25687 wxWindow *arg1 = (wxWindow *) 0 ;
25688 wxAcceleratorTable *arg2 = 0 ;
25689 PyObject * obj0 = 0 ;
25690 PyObject * obj1 = 0 ;
25691 char *kwnames[] = {
25692 (char *) "self",(char *) "accel", NULL
25693 };
25694
25695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
25696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25699 SWIG_POINTER_EXCEPTION | 0)) == -1)
25700 SWIG_fail;
25701 if (arg2 == NULL) {
25702 PyErr_SetString(PyExc_TypeError,"null reference");
25703 SWIG_fail;
25704 }
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 Py_INCREF(Py_None); resultobj = Py_None;
25713 return resultobj;
25714 fail:
25715 return NULL;
25716}
25717
25718
c32bde28 25719static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25720 PyObject *resultobj;
25721 wxWindow *arg1 = (wxWindow *) 0 ;
25722 wxAcceleratorTable *result;
25723 PyObject * obj0 = 0 ;
25724 char *kwnames[] = {
25725 (char *) "self", NULL
25726 };
25727
25728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
25729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25731 {
25732 PyThreadState* __tstate = wxPyBeginAllowThreads();
25733 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25734
25735 wxPyEndAllowThreads(__tstate);
25736 if (PyErr_Occurred()) SWIG_fail;
25737 }
25738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
25739 return resultobj;
25740 fail:
25741 return NULL;
25742}
25743
25744
c32bde28 25745static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25746 PyObject *resultobj;
25747 wxWindow *arg1 = (wxWindow *) 0 ;
25748 int arg2 ;
25749 int arg3 ;
25750 int arg4 ;
25751 bool result;
25752 PyObject * obj0 = 0 ;
25753 PyObject * obj1 = 0 ;
25754 PyObject * obj2 = 0 ;
25755 PyObject * obj3 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25763 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 25764 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25765 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 25766 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25767 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
25768 if (PyErr_Occurred()) SWIG_fail;
25769 {
25770 PyThreadState* __tstate = wxPyBeginAllowThreads();
25771 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25772
25773 wxPyEndAllowThreads(__tstate);
25774 if (PyErr_Occurred()) SWIG_fail;
25775 }
25776 {
25777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25778 }
25779 return resultobj;
25780 fail:
25781 return NULL;
25782}
25783
25784
c32bde28 25785static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25786 PyObject *resultobj;
25787 wxWindow *arg1 = (wxWindow *) 0 ;
25788 int arg2 ;
25789 bool result;
25790 PyObject * obj0 = 0 ;
25791 PyObject * obj1 = 0 ;
25792 char *kwnames[] = {
25793 (char *) "self",(char *) "hotkeyId", NULL
25794 };
25795
25796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
25797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25799 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
25800 if (PyErr_Occurred()) SWIG_fail;
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25804
25805 wxPyEndAllowThreads(__tstate);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
25808 {
25809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25810 }
25811 return resultobj;
25812 fail:
25813 return NULL;
25814}
25815
25816
c32bde28 25817static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25818 PyObject *resultobj;
25819 wxWindow *arg1 = (wxWindow *) 0 ;
25820 wxPoint *arg2 = 0 ;
25821 wxPoint result;
25822 wxPoint temp2 ;
25823 PyObject * obj0 = 0 ;
25824 PyObject * obj1 = 0 ;
25825 char *kwnames[] = {
25826 (char *) "self",(char *) "pt", NULL
25827 };
25828
25829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
25830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25832 {
25833 arg2 = &temp2;
25834 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25835 }
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25839
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 {
25844 wxPoint * resultptr;
25845 resultptr = new wxPoint((wxPoint &) result);
25846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25847 }
25848 return resultobj;
25849 fail:
25850 return NULL;
25851}
25852
25853
c32bde28 25854static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25855 PyObject *resultobj;
25856 wxWindow *arg1 = (wxWindow *) 0 ;
25857 wxSize *arg2 = 0 ;
25858 wxSize result;
25859 wxSize temp2 ;
25860 PyObject * obj0 = 0 ;
25861 PyObject * obj1 = 0 ;
25862 char *kwnames[] = {
25863 (char *) "self",(char *) "sz", NULL
25864 };
25865
25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
25867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25869 {
25870 arg2 = &temp2;
25871 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25872 }
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 {
25881 wxSize * resultptr;
25882 resultptr = new wxSize((wxSize &) result);
25883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25884 }
25885 return resultobj;
25886 fail:
25887 return NULL;
25888}
25889
25890
c32bde28 25891static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25892 PyObject *resultobj;
25893 wxWindow *arg1 = (wxWindow *) 0 ;
25894 wxPoint *arg2 = 0 ;
25895 wxPoint result;
25896 wxPoint temp2 ;
25897 PyObject * obj0 = 0 ;
25898 PyObject * obj1 = 0 ;
25899 char *kwnames[] = {
25900 (char *) "self",(char *) "pt", NULL
25901 };
25902
25903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
25904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25906 {
25907 arg2 = &temp2;
25908 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25909 }
25910 {
25911 PyThreadState* __tstate = wxPyBeginAllowThreads();
25912 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25913
25914 wxPyEndAllowThreads(__tstate);
25915 if (PyErr_Occurred()) SWIG_fail;
25916 }
25917 {
25918 wxPoint * resultptr;
25919 resultptr = new wxPoint((wxPoint &) result);
25920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25921 }
25922 return resultobj;
25923 fail:
25924 return NULL;
25925}
25926
25927
c32bde28 25928static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25929 PyObject *resultobj;
25930 wxWindow *arg1 = (wxWindow *) 0 ;
25931 wxSize *arg2 = 0 ;
25932 wxSize result;
25933 wxSize temp2 ;
25934 PyObject * obj0 = 0 ;
25935 PyObject * obj1 = 0 ;
25936 char *kwnames[] = {
25937 (char *) "self",(char *) "sz", NULL
25938 };
25939
25940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
25941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25943 {
25944 arg2 = &temp2;
25945 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25946 }
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25950
25951 wxPyEndAllowThreads(__tstate);
25952 if (PyErr_Occurred()) SWIG_fail;
25953 }
25954 {
25955 wxSize * resultptr;
25956 resultptr = new wxSize((wxSize &) result);
25957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
25958 }
25959 return resultobj;
25960 fail:
25961 return NULL;
25962}
25963
25964
c32bde28 25965static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25966 PyObject *resultobj;
25967 wxWindow *arg1 = (wxWindow *) 0 ;
25968 wxPoint *arg2 = 0 ;
25969 wxPoint result;
25970 wxPoint temp2 ;
25971 PyObject * obj0 = 0 ;
25972 PyObject * obj1 = 0 ;
25973 char *kwnames[] = {
25974 (char *) "self",(char *) "pt", NULL
25975 };
25976
25977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
25978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25980 {
25981 arg2 = &temp2;
25982 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25983 }
25984 {
25985 PyThreadState* __tstate = wxPyBeginAllowThreads();
25986 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25987
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 {
25992 wxPoint * resultptr;
25993 resultptr = new wxPoint((wxPoint &) result);
25994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
25995 }
25996 return resultobj;
25997 fail:
25998 return NULL;
25999}
26000
26001
c32bde28 26002static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26003 PyObject *resultobj;
26004 wxWindow *arg1 = (wxWindow *) 0 ;
26005 wxSize *arg2 = 0 ;
26006 wxSize result;
26007 wxSize temp2 ;
26008 PyObject * obj0 = 0 ;
26009 PyObject * obj1 = 0 ;
26010 char *kwnames[] = {
26011 (char *) "self",(char *) "sz", NULL
26012 };
26013
26014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
26015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26017 {
26018 arg2 = &temp2;
26019 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26020 }
26021 {
26022 PyThreadState* __tstate = wxPyBeginAllowThreads();
26023 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
26024
26025 wxPyEndAllowThreads(__tstate);
26026 if (PyErr_Occurred()) SWIG_fail;
26027 }
26028 {
26029 wxSize * resultptr;
26030 resultptr = new wxSize((wxSize &) result);
26031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
26032 }
26033 return resultobj;
26034 fail:
26035 return NULL;
26036}
26037
26038
c32bde28 26039static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26040 PyObject *resultobj;
26041 wxWindow *arg1 = (wxWindow *) 0 ;
26042 int arg2 ;
26043 int arg3 ;
26044 PyObject * obj0 = 0 ;
26045 PyObject * obj1 = 0 ;
26046 PyObject * obj2 = 0 ;
26047 char *kwnames[] = {
26048 (char *) "self",(char *) "x",(char *) "y", NULL
26049 };
26050
26051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
26052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26054 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 26055 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26056 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
26057 if (PyErr_Occurred()) SWIG_fail;
26058 {
26059 PyThreadState* __tstate = wxPyBeginAllowThreads();
26060 (arg1)->WarpPointer(arg2,arg3);
26061
26062 wxPyEndAllowThreads(__tstate);
26063 if (PyErr_Occurred()) SWIG_fail;
26064 }
26065 Py_INCREF(Py_None); resultobj = Py_None;
26066 return resultobj;
26067 fail:
26068 return NULL;
26069}
26070
26071
c32bde28 26072static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26073 PyObject *resultobj;
26074 wxWindow *arg1 = (wxWindow *) 0 ;
26075 PyObject * obj0 = 0 ;
26076 char *kwnames[] = {
26077 (char *) "self", NULL
26078 };
26079
26080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
26081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26083 {
26084 PyThreadState* __tstate = wxPyBeginAllowThreads();
26085 (arg1)->CaptureMouse();
26086
26087 wxPyEndAllowThreads(__tstate);
26088 if (PyErr_Occurred()) SWIG_fail;
26089 }
26090 Py_INCREF(Py_None); resultobj = Py_None;
26091 return resultobj;
26092 fail:
26093 return NULL;
26094}
26095
26096
c32bde28 26097static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26098 PyObject *resultobj;
26099 wxWindow *arg1 = (wxWindow *) 0 ;
26100 PyObject * obj0 = 0 ;
26101 char *kwnames[] = {
26102 (char *) "self", NULL
26103 };
26104
26105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
26106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26108 {
26109 PyThreadState* __tstate = wxPyBeginAllowThreads();
26110 (arg1)->ReleaseMouse();
26111
26112 wxPyEndAllowThreads(__tstate);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 }
26115 Py_INCREF(Py_None); resultobj = Py_None;
26116 return resultobj;
26117 fail:
26118 return NULL;
26119}
26120
26121
c32bde28 26122static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26123 PyObject *resultobj;
26124 wxWindow *result;
26125 char *kwnames[] = {
26126 NULL
26127 };
26128
26129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
26130 {
0439c23b 26131 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 result = (wxWindow *)wxWindow::GetCapture();
26134
26135 wxPyEndAllowThreads(__tstate);
110da5b0 26136 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26137 }
26138 {
412d302d 26139 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26140 }
26141 return resultobj;
26142 fail:
26143 return NULL;
26144}
26145
26146
c32bde28 26147static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26148 PyObject *resultobj;
26149 wxWindow *arg1 = (wxWindow *) 0 ;
26150 bool result;
26151 PyObject * obj0 = 0 ;
26152 char *kwnames[] = {
26153 (char *) "self", NULL
26154 };
26155
26156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
26157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26159 {
26160 PyThreadState* __tstate = wxPyBeginAllowThreads();
26161 result = (bool)((wxWindow const *)arg1)->HasCapture();
26162
26163 wxPyEndAllowThreads(__tstate);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 }
26166 {
26167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26168 }
26169 return resultobj;
26170 fail:
26171 return NULL;
26172}
26173
26174
c32bde28 26175static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26176 PyObject *resultobj;
26177 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 26178 bool arg2 = (bool) true ;
d55e5bfc
RD
26179 wxRect *arg3 = (wxRect *) NULL ;
26180 PyObject * obj0 = 0 ;
26181 PyObject * obj1 = 0 ;
26182 PyObject * obj2 = 0 ;
26183 char *kwnames[] = {
26184 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26185 };
26186
26187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
26188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26190 if (obj1) {
c32bde28 26191 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 if (obj2) {
26195 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
26196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26197 }
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 (arg1)->Refresh(arg2,(wxRect const *)arg3);
26201
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 Py_INCREF(Py_None); resultobj = Py_None;
26206 return resultobj;
26207 fail:
26208 return NULL;
26209}
26210
26211
c32bde28 26212static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26213 PyObject *resultobj;
26214 wxWindow *arg1 = (wxWindow *) 0 ;
26215 wxRect *arg2 = 0 ;
26216 wxRect temp2 ;
26217 PyObject * obj0 = 0 ;
26218 PyObject * obj1 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self",(char *) "rect", NULL
26221 };
26222
26223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
26224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26226 {
26227 arg2 = &temp2;
26228 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26229 }
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 (arg1)->RefreshRect((wxRect const &)*arg2);
26233
26234 wxPyEndAllowThreads(__tstate);
26235 if (PyErr_Occurred()) SWIG_fail;
26236 }
26237 Py_INCREF(Py_None); resultobj = Py_None;
26238 return resultobj;
26239 fail:
26240 return NULL;
26241}
26242
26243
c32bde28 26244static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26245 PyObject *resultobj;
26246 wxWindow *arg1 = (wxWindow *) 0 ;
26247 PyObject * obj0 = 0 ;
26248 char *kwnames[] = {
26249 (char *) "self", NULL
26250 };
26251
26252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
26253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 (arg1)->Update();
26258
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 Py_INCREF(Py_None); resultobj = Py_None;
26263 return resultobj;
26264 fail:
26265 return NULL;
26266}
26267
26268
c32bde28 26269static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26270 PyObject *resultobj;
26271 wxWindow *arg1 = (wxWindow *) 0 ;
26272 PyObject * obj0 = 0 ;
26273 char *kwnames[] = {
26274 (char *) "self", NULL
26275 };
26276
26277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
26278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->ClearBackground();
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 Py_INCREF(Py_None); resultobj = Py_None;
26288 return resultobj;
26289 fail:
26290 return NULL;
26291}
26292
26293
c32bde28 26294static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26295 PyObject *resultobj;
26296 wxWindow *arg1 = (wxWindow *) 0 ;
26297 PyObject * obj0 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self", NULL
26300 };
26301
26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
26303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 (arg1)->Freeze();
26308
26309 wxPyEndAllowThreads(__tstate);
26310 if (PyErr_Occurred()) SWIG_fail;
26311 }
26312 Py_INCREF(Py_None); resultobj = Py_None;
26313 return resultobj;
26314 fail:
26315 return NULL;
26316}
26317
26318
c32bde28 26319static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26320 PyObject *resultobj;
26321 wxWindow *arg1 = (wxWindow *) 0 ;
26322 PyObject * obj0 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
26328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26330 {
26331 PyThreadState* __tstate = wxPyBeginAllowThreads();
26332 (arg1)->Thaw();
26333
26334 wxPyEndAllowThreads(__tstate);
26335 if (PyErr_Occurred()) SWIG_fail;
26336 }
26337 Py_INCREF(Py_None); resultobj = Py_None;
26338 return resultobj;
26339 fail:
26340 return NULL;
26341}
26342
26343
c32bde28 26344static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26345 PyObject *resultobj;
26346 wxWindow *arg1 = (wxWindow *) 0 ;
26347 wxDC *arg2 = 0 ;
26348 PyObject * obj0 = 0 ;
26349 PyObject * obj1 = 0 ;
26350 char *kwnames[] = {
26351 (char *) "self",(char *) "dc", NULL
26352 };
26353
26354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
26355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26358 SWIG_POINTER_EXCEPTION | 0)) == -1)
26359 SWIG_fail;
26360 if (arg2 == NULL) {
26361 PyErr_SetString(PyExc_TypeError,"null reference");
26362 SWIG_fail;
26363 }
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 (arg1)->PrepareDC(*arg2);
26367
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 Py_INCREF(Py_None); resultobj = Py_None;
26372 return resultobj;
26373 fail:
26374 return NULL;
26375}
26376
26377
c32bde28 26378static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26379 PyObject *resultobj;
26380 wxWindow *arg1 = (wxWindow *) 0 ;
26381 wxRegion *result;
26382 PyObject * obj0 = 0 ;
26383 char *kwnames[] = {
26384 (char *) "self", NULL
26385 };
26386
26387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
26388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26390 {
26391 PyThreadState* __tstate = wxPyBeginAllowThreads();
26392 {
26393 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
26394 result = (wxRegion *) &_result_ref;
26395 }
26396
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
26401 return resultobj;
26402 fail:
26403 return NULL;
26404}
26405
26406
c32bde28 26407static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26408 PyObject *resultobj;
26409 wxWindow *arg1 = (wxWindow *) 0 ;
26410 wxRect result;
26411 PyObject * obj0 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
26417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 wxRect * resultptr;
26428 resultptr = new wxRect((wxRect &) result);
26429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
26430 }
26431 return resultobj;
26432 fail:
26433 return NULL;
26434}
26435
26436
c32bde28 26437static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26438 PyObject *resultobj;
26439 wxWindow *arg1 = (wxWindow *) 0 ;
26440 int arg2 ;
26441 int arg3 ;
26442 int arg4 = (int) 1 ;
26443 int arg5 = (int) 1 ;
26444 bool result;
26445 PyObject * obj0 = 0 ;
26446 PyObject * obj1 = 0 ;
26447 PyObject * obj2 = 0 ;
26448 PyObject * obj3 = 0 ;
26449 PyObject * obj4 = 0 ;
26450 char *kwnames[] = {
26451 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26452 };
26453
26454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26457 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 26458 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26459 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
26460 if (PyErr_Occurred()) SWIG_fail;
26461 if (obj3) {
c32bde28 26462 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
26463 if (PyErr_Occurred()) SWIG_fail;
26464 }
26465 if (obj4) {
c32bde28 26466 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 {
26477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26478 }
26479 return resultobj;
26480 fail:
26481 return NULL;
26482}
26483
26484
c32bde28 26485static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26486 PyObject *resultobj;
26487 wxWindow *arg1 = (wxWindow *) 0 ;
26488 wxPoint *arg2 = 0 ;
26489 bool result;
26490 wxPoint temp2 ;
26491 PyObject * obj0 = 0 ;
26492 PyObject * obj1 = 0 ;
26493 char *kwnames[] = {
26494 (char *) "self",(char *) "pt", NULL
26495 };
26496
26497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
26498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26500 {
26501 arg2 = &temp2;
26502 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26503 }
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
26507
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 {
26512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26513 }
26514 return resultobj;
26515 fail:
26516 return NULL;
26517}
26518
26519
c32bde28 26520static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26521 PyObject *resultobj;
26522 wxWindow *arg1 = (wxWindow *) 0 ;
26523 wxRect *arg2 = 0 ;
26524 bool result;
26525 wxRect temp2 ;
26526 PyObject * obj0 = 0 ;
26527 PyObject * obj1 = 0 ;
26528 char *kwnames[] = {
26529 (char *) "self",(char *) "rect", NULL
26530 };
26531
26532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
26533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26535 {
26536 arg2 = &temp2;
26537 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26538 }
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 {
26547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26548 }
26549 return resultobj;
26550 fail:
26551 return NULL;
26552}
26553
26554
c32bde28 26555static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26556 PyObject *resultobj;
26557 wxWindow *arg1 = (wxWindow *) 0 ;
26558 wxVisualAttributes result;
26559 PyObject * obj0 = 0 ;
26560 char *kwnames[] = {
26561 (char *) "self", NULL
26562 };
26563
26564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
26565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
26570
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 {
26575 wxVisualAttributes * resultptr;
26576 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26578 }
26579 return resultobj;
26580 fail:
26581 return NULL;
26582}
26583
26584
c32bde28 26585static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26586 PyObject *resultobj;
26587 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26588 wxVisualAttributes result;
26589 PyObject * obj0 = 0 ;
26590 char *kwnames[] = {
26591 (char *) "variant", NULL
26592 };
26593
26594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26595 if (obj0) {
c32bde28 26596 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
26597 if (PyErr_Occurred()) SWIG_fail;
26598 }
26599 {
0439c23b 26600 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26601 PyThreadState* __tstate = wxPyBeginAllowThreads();
26602 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
26603
26604 wxPyEndAllowThreads(__tstate);
110da5b0 26605 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26606 }
26607 {
26608 wxVisualAttributes * resultptr;
26609 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26611 }
26612 return resultobj;
26613 fail:
26614 return NULL;
26615}
26616
26617
c32bde28 26618static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26619 PyObject *resultobj;
26620 wxWindow *arg1 = (wxWindow *) 0 ;
26621 wxColour *arg2 = 0 ;
26622 bool result;
26623 wxColour temp2 ;
26624 PyObject * obj0 = 0 ;
26625 PyObject * obj1 = 0 ;
26626 char *kwnames[] = {
26627 (char *) "self",(char *) "colour", NULL
26628 };
26629
26630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26633 {
26634 arg2 = &temp2;
26635 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26636 }
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
26640
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 {
26645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26646 }
26647 return resultobj;
26648 fail:
26649 return NULL;
26650}
26651
26652
c32bde28 26653static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26654 PyObject *resultobj;
26655 wxWindow *arg1 = (wxWindow *) 0 ;
26656 wxColour *arg2 = 0 ;
26657 wxColour temp2 ;
26658 PyObject * obj0 = 0 ;
26659 PyObject * obj1 = 0 ;
26660 char *kwnames[] = {
26661 (char *) "self",(char *) "colour", NULL
26662 };
26663
412d302d 26664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
26665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26667 {
26668 arg2 = &temp2;
26669 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26670 }
26671 {
26672 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 26673 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
d55e5bfc
RD
26674
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
26678 Py_INCREF(Py_None); resultobj = Py_None;
26679 return resultobj;
26680 fail:
26681 return NULL;
26682}
26683
26684
c32bde28 26685static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26686 PyObject *resultobj;
26687 wxWindow *arg1 = (wxWindow *) 0 ;
26688 wxColour *arg2 = 0 ;
26689 bool result;
26690 wxColour temp2 ;
26691 PyObject * obj0 = 0 ;
26692 PyObject * obj1 = 0 ;
26693 char *kwnames[] = {
26694 (char *) "self",(char *) "colour", NULL
26695 };
26696
26697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
26698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26700 {
26701 arg2 = &temp2;
26702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26703 }
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 {
26712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26713 }
26714 return resultobj;
26715 fail:
26716 return NULL;
26717}
26718
26719
c32bde28 26720static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26721 PyObject *resultobj;
26722 wxWindow *arg1 = (wxWindow *) 0 ;
26723 wxColour *arg2 = 0 ;
26724 wxColour temp2 ;
26725 PyObject * obj0 = 0 ;
26726 PyObject * obj1 = 0 ;
26727 char *kwnames[] = {
26728 (char *) "self",(char *) "colour", NULL
26729 };
26730
fa47d7a7 26731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
26732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26734 {
26735 arg2 = &temp2;
26736 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26737 }
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26740 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
d55e5bfc
RD
26741
26742 wxPyEndAllowThreads(__tstate);
26743 if (PyErr_Occurred()) SWIG_fail;
26744 }
26745 Py_INCREF(Py_None); resultobj = Py_None;
26746 return resultobj;
26747 fail:
26748 return NULL;
26749}
26750
26751
c32bde28 26752static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26753 PyObject *resultobj;
26754 wxWindow *arg1 = (wxWindow *) 0 ;
26755 wxColour result;
26756 PyObject * obj0 = 0 ;
26757 char *kwnames[] = {
26758 (char *) "self", NULL
26759 };
26760
26761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
26762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26767
26768 wxPyEndAllowThreads(__tstate);
26769 if (PyErr_Occurred()) SWIG_fail;
26770 }
26771 {
26772 wxColour * resultptr;
26773 resultptr = new wxColour((wxColour &) result);
26774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26775 }
26776 return resultobj;
26777 fail:
26778 return NULL;
26779}
26780
26781
c32bde28 26782static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26783 PyObject *resultobj;
26784 wxWindow *arg1 = (wxWindow *) 0 ;
26785 wxColour result;
26786 PyObject * obj0 = 0 ;
26787 char *kwnames[] = {
26788 (char *) "self", NULL
26789 };
26790
26791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
26792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = ((wxWindow const *)arg1)->GetForegroundColour();
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 {
26802 wxColour * resultptr;
26803 resultptr = new wxColour((wxColour &) result);
26804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26805 }
26806 return resultobj;
26807 fail:
26808 return NULL;
26809}
26810
26811
c32bde28 26812static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
0f63ec68
RD
26813 PyObject *resultobj;
26814 wxWindow *arg1 = (wxWindow *) 0 ;
26815 int arg2 ;
26816 bool result;
26817 PyObject * obj0 = 0 ;
26818 PyObject * obj1 = 0 ;
26819 char *kwnames[] = {
26820 (char *) "self",(char *) "style", NULL
26821 };
26822
26823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail;
26824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26826 arg2 = (int)SWIG_As_int(obj1);
0f63ec68
RD
26827 if (PyErr_Occurred()) SWIG_fail;
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2);
26831
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 {
26836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26837 }
26838 return resultobj;
26839 fail:
26840 return NULL;
26841}
26842
26843
c32bde28 26844static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
0f63ec68
RD
26845 PyObject *resultobj;
26846 wxWindow *arg1 = (wxWindow *) 0 ;
26847 int result;
26848 PyObject * obj0 = 0 ;
26849 char *kwnames[] = {
26850 (char *) "self", NULL
26851 };
26852
26853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundStyle",kwnames,&obj0)) goto fail;
26854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26856 {
26857 PyThreadState* __tstate = wxPyBeginAllowThreads();
26858 result = (int)((wxWindow const *)arg1)->GetBackgroundStyle();
26859
26860 wxPyEndAllowThreads(__tstate);
26861 if (PyErr_Occurred()) SWIG_fail;
26862 }
c32bde28 26863 resultobj = SWIG_From_int((int)result);
0f63ec68
RD
26864 return resultobj;
26865 fail:
26866 return NULL;
26867}
26868
26869
c32bde28 26870static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26871 PyObject *resultobj;
26872 wxWindow *arg1 = (wxWindow *) 0 ;
26873 wxCursor *arg2 = 0 ;
26874 bool result;
26875 PyObject * obj0 = 0 ;
26876 PyObject * obj1 = 0 ;
26877 char *kwnames[] = {
26878 (char *) "self",(char *) "cursor", NULL
26879 };
26880
26881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
26882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26885 SWIG_POINTER_EXCEPTION | 0)) == -1)
26886 SWIG_fail;
26887 if (arg2 == NULL) {
26888 PyErr_SetString(PyExc_TypeError,"null reference");
26889 SWIG_fail;
26890 }
26891 {
26892 PyThreadState* __tstate = wxPyBeginAllowThreads();
26893 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26894
26895 wxPyEndAllowThreads(__tstate);
26896 if (PyErr_Occurred()) SWIG_fail;
26897 }
26898 {
26899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26900 }
26901 return resultobj;
26902 fail:
26903 return NULL;
26904}
26905
26906
c32bde28 26907static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26908 PyObject *resultobj;
26909 wxWindow *arg1 = (wxWindow *) 0 ;
a001823c 26910 wxCursor result;
d55e5bfc
RD
26911 PyObject * obj0 = 0 ;
26912 char *kwnames[] = {
26913 (char *) "self", NULL
26914 };
26915
26916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
26917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
a001823c 26921 result = (arg1)->GetCursor();
d55e5bfc
RD
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 {
a001823c
RD
26927 wxCursor * resultptr;
26928 resultptr = new wxCursor((wxCursor &) result);
26929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
d55e5bfc
RD
26930 }
26931 return resultobj;
26932 fail:
26933 return NULL;
26934}
26935
26936
c32bde28 26937static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26938 PyObject *resultobj;
26939 wxWindow *arg1 = (wxWindow *) 0 ;
26940 wxFont *arg2 = 0 ;
26941 bool result;
26942 PyObject * obj0 = 0 ;
26943 PyObject * obj1 = 0 ;
26944 char *kwnames[] = {
26945 (char *) "self",(char *) "font", NULL
26946 };
26947
26948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
26949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26952 SWIG_POINTER_EXCEPTION | 0)) == -1)
26953 SWIG_fail;
26954 if (arg2 == NULL) {
26955 PyErr_SetString(PyExc_TypeError,"null reference");
26956 SWIG_fail;
26957 }
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
26965 {
26966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26967 }
26968 return resultobj;
26969 fail:
26970 return NULL;
26971}
26972
26973
c32bde28 26974static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26975 PyObject *resultobj;
26976 wxWindow *arg1 = (wxWindow *) 0 ;
26977 wxFont *arg2 = 0 ;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "font", NULL
26982 };
26983
fa47d7a7 26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
26985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26988 SWIG_POINTER_EXCEPTION | 0)) == -1)
26989 SWIG_fail;
26990 if (arg2 == NULL) {
26991 PyErr_SetString(PyExc_TypeError,"null reference");
26992 SWIG_fail;
26993 }
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26996 (arg1)->SetOwnFont((wxFont const &)*arg2);
d55e5bfc
RD
26997
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
27001 Py_INCREF(Py_None); resultobj = Py_None;
27002 return resultobj;
27003 fail:
27004 return NULL;
27005}
27006
27007
c32bde28 27008static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27009 PyObject *resultobj;
27010 wxWindow *arg1 = (wxWindow *) 0 ;
a001823c 27011 wxFont result;
d55e5bfc
RD
27012 PyObject * obj0 = 0 ;
27013 char *kwnames[] = {
27014 (char *) "self", NULL
27015 };
27016
27017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
27018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
a001823c 27022 result = (arg1)->GetFont();
d55e5bfc
RD
27023
27024 wxPyEndAllowThreads(__tstate);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 {
a001823c
RD
27028 wxFont * resultptr;
27029 resultptr = new wxFont((wxFont &) result);
27030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d55e5bfc
RD
27031 }
27032 return resultobj;
27033 fail:
27034 return NULL;
27035}
27036
27037
c32bde28 27038static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27039 PyObject *resultobj;
27040 wxWindow *arg1 = (wxWindow *) 0 ;
27041 wxCaret *arg2 = (wxCaret *) 0 ;
27042 PyObject * obj0 = 0 ;
27043 PyObject * obj1 = 0 ;
27044 char *kwnames[] = {
27045 (char *) "self",(char *) "caret", NULL
27046 };
27047
27048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
27049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
27052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 (arg1)->SetCaret(arg2);
27056
27057 wxPyEndAllowThreads(__tstate);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 Py_INCREF(Py_None); resultobj = Py_None;
27061 return resultobj;
27062 fail:
27063 return NULL;
27064}
27065
27066
c32bde28 27067static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27068 PyObject *resultobj;
27069 wxWindow *arg1 = (wxWindow *) 0 ;
27070 wxCaret *result;
27071 PyObject * obj0 = 0 ;
27072 char *kwnames[] = {
27073 (char *) "self", NULL
27074 };
27075
27076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
27077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
27081 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
27082
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
27087 return resultobj;
27088 fail:
27089 return NULL;
27090}
27091
27092
c32bde28 27093static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27094 PyObject *resultobj;
27095 wxWindow *arg1 = (wxWindow *) 0 ;
27096 int result;
27097 PyObject * obj0 = 0 ;
27098 char *kwnames[] = {
27099 (char *) "self", NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
27103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27105 {
27106 PyThreadState* __tstate = wxPyBeginAllowThreads();
27107 result = (int)((wxWindow const *)arg1)->GetCharHeight();
27108
27109 wxPyEndAllowThreads(__tstate);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 }
c32bde28 27112 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
27113 return resultobj;
27114 fail:
27115 return NULL;
27116}
27117
27118
c32bde28 27119static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27120 PyObject *resultobj;
27121 wxWindow *arg1 = (wxWindow *) 0 ;
27122 int result;
27123 PyObject * obj0 = 0 ;
27124 char *kwnames[] = {
27125 (char *) "self", NULL
27126 };
27127
27128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
27129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27131 {
27132 PyThreadState* __tstate = wxPyBeginAllowThreads();
27133 result = (int)((wxWindow const *)arg1)->GetCharWidth();
27134
27135 wxPyEndAllowThreads(__tstate);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
c32bde28 27138 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
27139 return resultobj;
27140 fail:
27141 return NULL;
27142}
27143
27144
c32bde28 27145static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27146 PyObject *resultobj;
27147 wxWindow *arg1 = (wxWindow *) 0 ;
27148 wxString *arg2 = 0 ;
27149 int *arg3 = (int *) 0 ;
27150 int *arg4 = (int *) 0 ;
ae8162c8 27151 bool temp2 = false ;
d55e5bfc 27152 int temp3 ;
c32bde28 27153 int res3 = 0 ;
d55e5bfc 27154 int temp4 ;
c32bde28 27155 int res4 = 0 ;
d55e5bfc
RD
27156 PyObject * obj0 = 0 ;
27157 PyObject * obj1 = 0 ;
27158 char *kwnames[] = {
27159 (char *) "self",(char *) "string", NULL
27160 };
27161
c32bde28
RD
27162 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27163 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
27164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
27165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27167 {
27168 arg2 = wxString_in_helper(obj1);
27169 if (arg2 == NULL) SWIG_fail;
ae8162c8 27170 temp2 = true;
d55e5bfc
RD
27171 }
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
27175
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27180 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27181 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27182 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
27183 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27184 {
27185 if (temp2)
27186 delete arg2;
27187 }
27188 return resultobj;
27189 fail:
27190 {
27191 if (temp2)
27192 delete arg2;
27193 }
27194 return NULL;
27195}
27196
27197
c32bde28 27198static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27199 PyObject *resultobj;
27200 wxWindow *arg1 = (wxWindow *) 0 ;
27201 wxString *arg2 = 0 ;
27202 int *arg3 = (int *) 0 ;
27203 int *arg4 = (int *) 0 ;
27204 int *arg5 = (int *) 0 ;
27205 int *arg6 = (int *) 0 ;
27206 wxFont *arg7 = (wxFont *) NULL ;
ae8162c8 27207 bool temp2 = false ;
d55e5bfc 27208 int temp3 ;
c32bde28 27209 int res3 = 0 ;
d55e5bfc 27210 int temp4 ;
c32bde28 27211 int res4 = 0 ;
d55e5bfc 27212 int temp5 ;
c32bde28 27213 int res5 = 0 ;
d55e5bfc 27214 int temp6 ;
c32bde28 27215 int res6 = 0 ;
d55e5bfc
RD
27216 PyObject * obj0 = 0 ;
27217 PyObject * obj1 = 0 ;
27218 PyObject * obj2 = 0 ;
27219 char *kwnames[] = {
27220 (char *) "self",(char *) "string",(char *) "font", NULL
27221 };
27222
c32bde28
RD
27223 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27224 arg4 = &temp4; res4 = SWIG_NEWOBJ;
27225 arg5 = &temp5; res5 = SWIG_NEWOBJ;
27226 arg6 = &temp6; res6 = SWIG_NEWOBJ;
d55e5bfc
RD
27227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
27228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27230 {
27231 arg2 = wxString_in_helper(obj1);
27232 if (arg2 == NULL) SWIG_fail;
ae8162c8 27233 temp2 = true;
d55e5bfc
RD
27234 }
27235 if (obj2) {
27236 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
27237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27238 }
27239 {
27240 PyThreadState* __tstate = wxPyBeginAllowThreads();
27241 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
27242
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27247 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27248 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27249 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
27250 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
27251 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
27252 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
27253 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
27254 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27255 {
27256 if (temp2)
27257 delete arg2;
27258 }
27259 return resultobj;
27260 fail:
27261 {
27262 if (temp2)
27263 delete arg2;
27264 }
27265 return NULL;
27266}
27267
27268
c32bde28 27269static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27270 PyObject *resultobj;
27271 wxWindow *arg1 = (wxWindow *) 0 ;
27272 int *arg2 = (int *) 0 ;
27273 int *arg3 = (int *) 0 ;
27274 int temp2 ;
c32bde28 27275 int res2 = 0 ;
d55e5bfc 27276 int temp3 ;
c32bde28 27277 int res3 = 0 ;
d55e5bfc
RD
27278 PyObject * obj0 = 0 ;
27279 PyObject * obj1 = 0 ;
27280 PyObject * obj2 = 0 ;
27281 char *kwnames[] = {
27282 (char *) "self",(char *) "x",(char *) "y", NULL
27283 };
27284
27285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
27286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27288 {
c32bde28
RD
27289 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
27290 temp2 = SWIG_As_int(obj1);
27291 if (PyErr_Occurred()) SWIG_fail;
27292 arg2 = &temp2;
27293 res2 = SWIG_NEWOBJ;
27294 }
d55e5bfc
RD
27295 }
27296 {
c32bde28
RD
27297 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
27298 temp3 = SWIG_As_int(obj2);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 arg3 = &temp3;
27301 res3 = SWIG_NEWOBJ;
27302 }
d55e5bfc
RD
27303 }
27304 {
27305 PyThreadState* __tstate = wxPyBeginAllowThreads();
27306 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
27307
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27312 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27313 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27314 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27315 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27316 return resultobj;
27317 fail:
27318 return NULL;
27319}
27320
27321
c32bde28 27322static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27323 PyObject *resultobj;
27324 wxWindow *arg1 = (wxWindow *) 0 ;
27325 int *arg2 = (int *) 0 ;
27326 int *arg3 = (int *) 0 ;
27327 int temp2 ;
c32bde28 27328 int res2 = 0 ;
d55e5bfc 27329 int temp3 ;
c32bde28 27330 int res3 = 0 ;
d55e5bfc
RD
27331 PyObject * obj0 = 0 ;
27332 PyObject * obj1 = 0 ;
27333 PyObject * obj2 = 0 ;
27334 char *kwnames[] = {
27335 (char *) "self",(char *) "x",(char *) "y", NULL
27336 };
27337
27338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
27339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27341 {
c32bde28
RD
27342 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
27343 temp2 = SWIG_As_int(obj1);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 arg2 = &temp2;
27346 res2 = SWIG_NEWOBJ;
27347 }
d55e5bfc
RD
27348 }
27349 {
c32bde28
RD
27350 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
27351 temp3 = SWIG_As_int(obj2);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 arg3 = &temp3;
27354 res3 = SWIG_NEWOBJ;
27355 }
d55e5bfc
RD
27356 }
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
27364 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27365 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27366 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27367 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27368 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
27369 return resultobj;
27370 fail:
27371 return NULL;
27372}
27373
27374
c32bde28 27375static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27376 PyObject *resultobj;
27377 wxWindow *arg1 = (wxWindow *) 0 ;
27378 wxPoint *arg2 = 0 ;
27379 wxPoint result;
27380 wxPoint temp2 ;
27381 PyObject * obj0 = 0 ;
27382 PyObject * obj1 = 0 ;
27383 char *kwnames[] = {
27384 (char *) "self",(char *) "pt", NULL
27385 };
27386
27387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
27388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27390 {
27391 arg2 = &temp2;
27392 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27393 }
27394 {
27395 PyThreadState* __tstate = wxPyBeginAllowThreads();
27396 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
27397
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 {
27402 wxPoint * resultptr;
27403 resultptr = new wxPoint((wxPoint &) result);
27404 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27405 }
27406 return resultobj;
27407 fail:
27408 return NULL;
27409}
27410
27411
c32bde28 27412static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27413 PyObject *resultobj;
27414 wxWindow *arg1 = (wxWindow *) 0 ;
27415 wxPoint *arg2 = 0 ;
27416 wxPoint result;
27417 wxPoint temp2 ;
27418 PyObject * obj0 = 0 ;
27419 PyObject * obj1 = 0 ;
27420 char *kwnames[] = {
27421 (char *) "self",(char *) "pt", NULL
27422 };
27423
27424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
27425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27427 {
27428 arg2 = &temp2;
27429 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27430 }
27431 {
27432 PyThreadState* __tstate = wxPyBeginAllowThreads();
27433 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
27434
27435 wxPyEndAllowThreads(__tstate);
27436 if (PyErr_Occurred()) SWIG_fail;
27437 }
27438 {
27439 wxPoint * resultptr;
27440 resultptr = new wxPoint((wxPoint &) result);
27441 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27442 }
27443 return resultobj;
27444 fail:
27445 return NULL;
27446}
27447
27448
c32bde28 27449static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27450 PyObject *resultobj;
27451 wxWindow *arg1 = (wxWindow *) 0 ;
27452 int arg2 ;
27453 int arg3 ;
27454 int result;
27455 PyObject * obj0 = 0 ;
27456 PyObject * obj1 = 0 ;
27457 PyObject * obj2 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self",(char *) "x",(char *) "y", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
27463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27465 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 27466 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27467 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
27468 if (PyErr_Occurred()) SWIG_fail;
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
c32bde28 27476 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
27477 return resultobj;
27478 fail:
27479 return NULL;
27480}
27481
27482
c32bde28 27483static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27484 PyObject *resultobj;
27485 wxWindow *arg1 = (wxWindow *) 0 ;
27486 wxPoint *arg2 = 0 ;
27487 int result;
27488 wxPoint temp2 ;
27489 PyObject * obj0 = 0 ;
27490 PyObject * obj1 = 0 ;
27491 char *kwnames[] = {
27492 (char *) "self",(char *) "pt", NULL
27493 };
27494
27495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
27496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27498 {
27499 arg2 = &temp2;
27500 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27501 }
27502 {
27503 PyThreadState* __tstate = wxPyBeginAllowThreads();
27504 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
27505
27506 wxPyEndAllowThreads(__tstate);
27507 if (PyErr_Occurred()) SWIG_fail;
27508 }
c32bde28 27509 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
27510 return resultobj;
27511 fail:
27512 return NULL;
27513}
27514
27515
c32bde28 27516static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
27517 PyObject *resultobj;
27518 wxWindow *arg1 = (wxWindow *) 0 ;
27519 long arg2 ;
27520 int result;
27521 PyObject * obj0 = 0 ;
27522 PyObject * obj1 = 0 ;
27523
27524 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
27525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27527 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
27528 if (PyErr_Occurred()) SWIG_fail;
27529 {
27530 PyThreadState* __tstate = wxPyBeginAllowThreads();
27531 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
27532
27533 wxPyEndAllowThreads(__tstate);
27534 if (PyErr_Occurred()) SWIG_fail;
27535 }
c32bde28 27536 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
27537 return resultobj;
27538 fail:
27539 return NULL;
27540}
27541
27542
c32bde28 27543static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
27544 PyObject *resultobj;
27545 wxWindow *arg1 = (wxWindow *) 0 ;
27546 int result;
27547 PyObject * obj0 = 0 ;
27548
27549 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
27550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27552 {
27553 PyThreadState* __tstate = wxPyBeginAllowThreads();
27554 result = (int)((wxWindow const *)arg1)->GetBorder();
27555
27556 wxPyEndAllowThreads(__tstate);
27557 if (PyErr_Occurred()) SWIG_fail;
27558 }
c32bde28 27559 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
27560 return resultobj;
27561 fail:
27562 return NULL;
27563}
27564
27565
27566static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
27567 int argc;
27568 PyObject *argv[3];
27569 int ii;
27570
27571 argc = PyObject_Length(args);
27572 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27573 argv[ii] = PyTuple_GetItem(args,ii);
27574 }
27575 if (argc == 1) {
27576 int _v;
27577 {
27578 void *ptr;
27579 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27580 _v = 0;
27581 PyErr_Clear();
27582 } else {
27583 _v = 1;
27584 }
27585 }
27586 if (_v) {
27587 return _wrap_Window_GetBorder__SWIG_1(self,args);
27588 }
27589 }
27590 if (argc == 2) {
27591 int _v;
27592 {
27593 void *ptr;
27594 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27595 _v = 0;
27596 PyErr_Clear();
27597 } else {
27598 _v = 1;
27599 }
27600 }
27601 if (_v) {
c32bde28 27602 _v = SWIG_Check_long(argv[1]);
d55e5bfc
RD
27603 if (_v) {
27604 return _wrap_Window_GetBorder__SWIG_0(self,args);
27605 }
27606 }
27607 }
27608
27609 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
27610 return NULL;
27611}
27612
27613
c32bde28 27614static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27615 PyObject *resultobj;
27616 wxWindow *arg1 = (wxWindow *) 0 ;
27617 long arg2 = (long) wxUPDATE_UI_NONE ;
27618 PyObject * obj0 = 0 ;
27619 PyObject * obj1 = 0 ;
27620 char *kwnames[] = {
27621 (char *) "self",(char *) "flags", NULL
27622 };
27623
27624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
27625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27627 if (obj1) {
c32bde28 27628 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
27629 if (PyErr_Occurred()) SWIG_fail;
27630 }
27631 {
27632 PyThreadState* __tstate = wxPyBeginAllowThreads();
27633 (arg1)->UpdateWindowUI(arg2);
27634
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
27638 Py_INCREF(Py_None); resultobj = Py_None;
27639 return resultobj;
27640 fail:
27641 return NULL;
27642}
27643
27644
c32bde28 27645static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27646 PyObject *resultobj;
27647 wxWindow *arg1 = (wxWindow *) 0 ;
27648 wxMenu *arg2 = (wxMenu *) 0 ;
7a0b95b0
RD
27649 int arg3 = (int) -1 ;
27650 int arg4 = (int) -1 ;
d55e5bfc
RD
27651 bool result;
27652 PyObject * obj0 = 0 ;
27653 PyObject * obj1 = 0 ;
27654 PyObject * obj2 = 0 ;
27655 PyObject * obj3 = 0 ;
27656 char *kwnames[] = {
27657 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27658 };
27659
7a0b95b0 27660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
27661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0b95b0 27665 if (obj2) {
c32bde28 27666 arg3 = (int)SWIG_As_int(obj2);
7a0b95b0
RD
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
27669 if (obj3) {
c32bde28 27670 arg4 = (int)SWIG_As_int(obj3);
7a0b95b0
RD
27671 if (PyErr_Occurred()) SWIG_fail;
27672 }
d55e5bfc
RD
27673 {
27674 PyThreadState* __tstate = wxPyBeginAllowThreads();
27675 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
27676
27677 wxPyEndAllowThreads(__tstate);
27678 if (PyErr_Occurred()) SWIG_fail;
27679 }
27680 {
27681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27682 }
27683 return resultobj;
27684 fail:
27685 return NULL;
27686}
27687
27688
c32bde28 27689static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27690 PyObject *resultobj;
27691 wxWindow *arg1 = (wxWindow *) 0 ;
27692 wxMenu *arg2 = (wxMenu *) 0 ;
7a0b95b0
RD
27693 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27694 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d55e5bfc
RD
27695 bool result;
27696 wxPoint temp3 ;
27697 PyObject * obj0 = 0 ;
27698 PyObject * obj1 = 0 ;
27699 PyObject * obj2 = 0 ;
27700 char *kwnames[] = {
27701 (char *) "self",(char *) "menu",(char *) "pos", NULL
27702 };
27703
7a0b95b0 27704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
27705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7a0b95b0
RD
27709 if (obj2) {
27710 {
27711 arg3 = &temp3;
27712 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27713 }
d55e5bfc
RD
27714 }
27715 {
27716 PyThreadState* __tstate = wxPyBeginAllowThreads();
27717 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
27718
27719 wxPyEndAllowThreads(__tstate);
27720 if (PyErr_Occurred()) SWIG_fail;
27721 }
27722 {
27723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27724 }
27725 return resultobj;
27726 fail:
27727 return NULL;
27728}
27729
27730
c32bde28 27731static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27732 PyObject *resultobj;
27733 wxWindow *arg1 = (wxWindow *) 0 ;
27734 long result;
27735 PyObject * obj0 = 0 ;
27736 char *kwnames[] = {
27737 (char *) "self", NULL
27738 };
27739
27740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
27741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27743 {
27744 PyThreadState* __tstate = wxPyBeginAllowThreads();
27745 result = (long)wxWindow_GetHandle(arg1);
27746
27747 wxPyEndAllowThreads(__tstate);
27748 if (PyErr_Occurred()) SWIG_fail;
27749 }
c32bde28 27750 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
27751 return resultobj;
27752 fail:
27753 return NULL;
27754}
27755
27756
7e63a440
RD
27757static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
27758 PyObject *resultobj;
27759 wxWindow *arg1 = (wxWindow *) 0 ;
27760 long arg2 ;
27761 PyObject * obj0 = 0 ;
27762 PyObject * obj1 = 0 ;
27763 char *kwnames[] = {
27764 (char *) "self",(char *) "handle", NULL
27765 };
27766
27767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AssociateHandle",kwnames,&obj0,&obj1)) goto fail;
27768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27770 arg2 = (long)SWIG_As_long(obj1);
27771 if (PyErr_Occurred()) SWIG_fail;
27772 {
27773 PyThreadState* __tstate = wxPyBeginAllowThreads();
27774 wxWindow_AssociateHandle(arg1,arg2);
27775
27776 wxPyEndAllowThreads(__tstate);
27777 if (PyErr_Occurred()) SWIG_fail;
27778 }
27779 Py_INCREF(Py_None); resultobj = Py_None;
27780 return resultobj;
27781 fail:
27782 return NULL;
27783}
27784
27785
27786static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
27787 PyObject *resultobj;
27788 wxWindow *arg1 = (wxWindow *) 0 ;
27789 PyObject * obj0 = 0 ;
27790 char *kwnames[] = {
27791 (char *) "self", NULL
27792 };
27793
27794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DissociateHandle",kwnames,&obj0)) goto fail;
27795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27797 {
27798 PyThreadState* __tstate = wxPyBeginAllowThreads();
27799 (arg1)->DissociateHandle();
27800
27801 wxPyEndAllowThreads(__tstate);
27802 if (PyErr_Occurred()) SWIG_fail;
27803 }
27804 Py_INCREF(Py_None); resultobj = Py_None;
27805 return resultobj;
27806 fail:
27807 return NULL;
27808}
27809
27810
c32bde28 27811static PyObject *_wrap_Window_OnPaint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27812 PyObject *resultobj;
27813 wxWindow *arg1 = (wxWindow *) 0 ;
27814 wxPaintEvent *arg2 = 0 ;
27815 PyObject * obj0 = 0 ;
27816 PyObject * obj1 = 0 ;
27817 char *kwnames[] = {
27818 (char *) "self",(char *) "event", NULL
27819 };
27820
27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
27822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPaintEvent,
27825 SWIG_POINTER_EXCEPTION | 0)) == -1)
27826 SWIG_fail;
27827 if (arg2 == NULL) {
27828 PyErr_SetString(PyExc_TypeError,"null reference");
27829 SWIG_fail;
27830 }
27831 {
27832 PyThreadState* __tstate = wxPyBeginAllowThreads();
27833 (arg1)->OnPaint(*arg2);
27834
27835 wxPyEndAllowThreads(__tstate);
27836 if (PyErr_Occurred()) SWIG_fail;
27837 }
27838 Py_INCREF(Py_None); resultobj = Py_None;
27839 return resultobj;
27840 fail:
27841 return NULL;
27842}
27843
27844
c32bde28 27845static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27846 PyObject *resultobj;
27847 wxWindow *arg1 = (wxWindow *) 0 ;
27848 int arg2 ;
27849 bool result;
27850 PyObject * obj0 = 0 ;
27851 PyObject * obj1 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "self",(char *) "orient", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
27857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27859 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
27860 if (PyErr_Occurred()) SWIG_fail;
27861 {
27862 PyThreadState* __tstate = wxPyBeginAllowThreads();
27863 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27864
27865 wxPyEndAllowThreads(__tstate);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 {
27869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27870 }
27871 return resultobj;
27872 fail:
27873 return NULL;
27874}
27875
27876
c32bde28 27877static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27878 PyObject *resultobj;
27879 wxWindow *arg1 = (wxWindow *) 0 ;
27880 int arg2 ;
27881 int arg3 ;
27882 int arg4 ;
27883 int arg5 ;
ae8162c8 27884 bool arg6 = (bool) true ;
d55e5bfc
RD
27885 PyObject * obj0 = 0 ;
27886 PyObject * obj1 = 0 ;
27887 PyObject * obj2 = 0 ;
27888 PyObject * obj3 = 0 ;
27889 PyObject * obj4 = 0 ;
27890 PyObject * obj5 = 0 ;
27891 char *kwnames[] = {
79fccf9d 27892 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d55e5bfc
RD
27893 };
27894
27895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27898 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 27899 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27900 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 27901 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27902 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 27903 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27904 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
27905 if (PyErr_Occurred()) SWIG_fail;
27906 if (obj5) {
c32bde28 27907 arg6 = (bool)SWIG_As_bool(obj5);
d55e5bfc
RD
27908 if (PyErr_Occurred()) SWIG_fail;
27909 }
27910 {
27911 PyThreadState* __tstate = wxPyBeginAllowThreads();
27912 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27913
27914 wxPyEndAllowThreads(__tstate);
27915 if (PyErr_Occurred()) SWIG_fail;
27916 }
27917 Py_INCREF(Py_None); resultobj = Py_None;
27918 return resultobj;
27919 fail:
27920 return NULL;
27921}
27922
27923
c32bde28 27924static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27925 PyObject *resultobj;
27926 wxWindow *arg1 = (wxWindow *) 0 ;
27927 int arg2 ;
27928 int arg3 ;
ae8162c8 27929 bool arg4 = (bool) true ;
d55e5bfc
RD
27930 PyObject * obj0 = 0 ;
27931 PyObject * obj1 = 0 ;
27932 PyObject * obj2 = 0 ;
27933 PyObject * obj3 = 0 ;
27934 char *kwnames[] = {
27935 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27936 };
27937
27938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27941 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 27942 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27943 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
27944 if (PyErr_Occurred()) SWIG_fail;
27945 if (obj3) {
c32bde28 27946 arg4 = (bool)SWIG_As_bool(obj3);
d55e5bfc
RD
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 (arg1)->SetScrollPos(arg2,arg3,arg4);
27952
27953 wxPyEndAllowThreads(__tstate);
27954 if (PyErr_Occurred()) SWIG_fail;
27955 }
27956 Py_INCREF(Py_None); resultobj = Py_None;
27957 return resultobj;
27958 fail:
27959 return NULL;
27960}
27961
27962
c32bde28 27963static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27964 PyObject *resultobj;
27965 wxWindow *arg1 = (wxWindow *) 0 ;
27966 int arg2 ;
27967 int result;
27968 PyObject * obj0 = 0 ;
27969 PyObject * obj1 = 0 ;
27970 char *kwnames[] = {
27971 (char *) "self",(char *) "orientation", NULL
27972 };
27973
27974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
27975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27977 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
27978 if (PyErr_Occurred()) SWIG_fail;
27979 {
27980 PyThreadState* __tstate = wxPyBeginAllowThreads();
27981 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27982
27983 wxPyEndAllowThreads(__tstate);
27984 if (PyErr_Occurred()) SWIG_fail;
27985 }
c32bde28 27986 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
27987 return resultobj;
27988 fail:
27989 return NULL;
27990}
27991
27992
c32bde28 27993static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27994 PyObject *resultobj;
27995 wxWindow *arg1 = (wxWindow *) 0 ;
27996 int arg2 ;
27997 int result;
27998 PyObject * obj0 = 0 ;
27999 PyObject * obj1 = 0 ;
28000 char *kwnames[] = {
28001 (char *) "self",(char *) "orientation", NULL
28002 };
28003
28004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
28005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28007 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
28008 if (PyErr_Occurred()) SWIG_fail;
28009 {
28010 PyThreadState* __tstate = wxPyBeginAllowThreads();
28011 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
28012
28013 wxPyEndAllowThreads(__tstate);
28014 if (PyErr_Occurred()) SWIG_fail;
28015 }
c32bde28 28016 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
28017 return resultobj;
28018 fail:
28019 return NULL;
28020}
28021
28022
c32bde28 28023static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28024 PyObject *resultobj;
28025 wxWindow *arg1 = (wxWindow *) 0 ;
28026 int arg2 ;
28027 int result;
28028 PyObject * obj0 = 0 ;
28029 PyObject * obj1 = 0 ;
28030 char *kwnames[] = {
28031 (char *) "self",(char *) "orientation", NULL
28032 };
28033
28034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
28035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28037 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
28038 if (PyErr_Occurred()) SWIG_fail;
28039 {
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
28042
28043 wxPyEndAllowThreads(__tstate);
28044 if (PyErr_Occurred()) SWIG_fail;
28045 }
c32bde28 28046 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
28047 return resultobj;
28048 fail:
28049 return NULL;
28050}
28051
28052
c32bde28 28053static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28054 PyObject *resultobj;
28055 wxWindow *arg1 = (wxWindow *) 0 ;
28056 int arg2 ;
28057 int arg3 ;
28058 wxRect *arg4 = (wxRect *) NULL ;
28059 PyObject * obj0 = 0 ;
28060 PyObject * obj1 = 0 ;
28061 PyObject * obj2 = 0 ;
28062 PyObject * obj3 = 0 ;
28063 char *kwnames[] = {
28064 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28065 };
28066
28067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28070 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 28071 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28072 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
28073 if (PyErr_Occurred()) SWIG_fail;
28074 if (obj3) {
28075 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
28076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28077 }
28078 {
28079 PyThreadState* __tstate = wxPyBeginAllowThreads();
28080 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
28081
28082 wxPyEndAllowThreads(__tstate);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 Py_INCREF(Py_None); resultobj = Py_None;
28086 return resultobj;
28087 fail:
28088 return NULL;
28089}
28090
28091
c32bde28 28092static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28093 PyObject *resultobj;
28094 wxWindow *arg1 = (wxWindow *) 0 ;
28095 int arg2 ;
28096 bool result;
28097 PyObject * obj0 = 0 ;
28098 PyObject * obj1 = 0 ;
28099 char *kwnames[] = {
28100 (char *) "self",(char *) "lines", NULL
28101 };
28102
28103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
28104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28106 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
28107 if (PyErr_Occurred()) SWIG_fail;
28108 {
28109 PyThreadState* __tstate = wxPyBeginAllowThreads();
28110 result = (bool)(arg1)->ScrollLines(arg2);
28111
28112 wxPyEndAllowThreads(__tstate);
28113 if (PyErr_Occurred()) SWIG_fail;
28114 }
28115 {
28116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28117 }
28118 return resultobj;
28119 fail:
28120 return NULL;
28121}
28122
28123
c32bde28 28124static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28125 PyObject *resultobj;
28126 wxWindow *arg1 = (wxWindow *) 0 ;
28127 int arg2 ;
28128 bool result;
28129 PyObject * obj0 = 0 ;
28130 PyObject * obj1 = 0 ;
28131 char *kwnames[] = {
28132 (char *) "self",(char *) "pages", NULL
28133 };
28134
28135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
28136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28138 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
28139 if (PyErr_Occurred()) SWIG_fail;
28140 {
28141 PyThreadState* __tstate = wxPyBeginAllowThreads();
28142 result = (bool)(arg1)->ScrollPages(arg2);
28143
28144 wxPyEndAllowThreads(__tstate);
28145 if (PyErr_Occurred()) SWIG_fail;
28146 }
28147 {
28148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28149 }
28150 return resultobj;
28151 fail:
28152 return NULL;
28153}
28154
28155
c32bde28 28156static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28157 PyObject *resultobj;
28158 wxWindow *arg1 = (wxWindow *) 0 ;
28159 bool result;
28160 PyObject * obj0 = 0 ;
28161 char *kwnames[] = {
28162 (char *) "self", NULL
28163 };
28164
28165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
28166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28168 {
28169 PyThreadState* __tstate = wxPyBeginAllowThreads();
28170 result = (bool)(arg1)->LineUp();
28171
28172 wxPyEndAllowThreads(__tstate);
28173 if (PyErr_Occurred()) SWIG_fail;
28174 }
28175 {
28176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28177 }
28178 return resultobj;
28179 fail:
28180 return NULL;
28181}
28182
28183
c32bde28 28184static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28185 PyObject *resultobj;
28186 wxWindow *arg1 = (wxWindow *) 0 ;
28187 bool result;
28188 PyObject * obj0 = 0 ;
28189 char *kwnames[] = {
28190 (char *) "self", NULL
28191 };
28192
28193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
28194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28196 {
28197 PyThreadState* __tstate = wxPyBeginAllowThreads();
28198 result = (bool)(arg1)->LineDown();
28199
28200 wxPyEndAllowThreads(__tstate);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 }
28203 {
28204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28205 }
28206 return resultobj;
28207 fail:
28208 return NULL;
28209}
28210
28211
c32bde28 28212static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28213 PyObject *resultobj;
28214 wxWindow *arg1 = (wxWindow *) 0 ;
28215 bool result;
28216 PyObject * obj0 = 0 ;
28217 char *kwnames[] = {
28218 (char *) "self", NULL
28219 };
28220
28221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
28222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28224 {
28225 PyThreadState* __tstate = wxPyBeginAllowThreads();
28226 result = (bool)(arg1)->PageUp();
28227
28228 wxPyEndAllowThreads(__tstate);
28229 if (PyErr_Occurred()) SWIG_fail;
28230 }
28231 {
28232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28233 }
28234 return resultobj;
28235 fail:
28236 return NULL;
28237}
28238
28239
c32bde28 28240static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28241 PyObject *resultobj;
28242 wxWindow *arg1 = (wxWindow *) 0 ;
28243 bool result;
28244 PyObject * obj0 = 0 ;
28245 char *kwnames[] = {
28246 (char *) "self", NULL
28247 };
28248
28249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
28250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 result = (bool)(arg1)->PageDown();
28255
28256 wxPyEndAllowThreads(__tstate);
28257 if (PyErr_Occurred()) SWIG_fail;
28258 }
28259 {
28260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28261 }
28262 return resultobj;
28263 fail:
28264 return NULL;
28265}
28266
28267
c32bde28 28268static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28269 PyObject *resultobj;
28270 wxWindow *arg1 = (wxWindow *) 0 ;
28271 wxString *arg2 = 0 ;
ae8162c8 28272 bool temp2 = false ;
d55e5bfc
RD
28273 PyObject * obj0 = 0 ;
28274 PyObject * obj1 = 0 ;
28275 char *kwnames[] = {
28276 (char *) "self",(char *) "text", NULL
28277 };
28278
28279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
28280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28282 {
28283 arg2 = wxString_in_helper(obj1);
28284 if (arg2 == NULL) SWIG_fail;
ae8162c8 28285 temp2 = true;
d55e5bfc
RD
28286 }
28287 {
28288 PyThreadState* __tstate = wxPyBeginAllowThreads();
28289 (arg1)->SetHelpText((wxString const &)*arg2);
28290
28291 wxPyEndAllowThreads(__tstate);
28292 if (PyErr_Occurred()) SWIG_fail;
28293 }
28294 Py_INCREF(Py_None); resultobj = Py_None;
28295 {
28296 if (temp2)
28297 delete arg2;
28298 }
28299 return resultobj;
28300 fail:
28301 {
28302 if (temp2)
28303 delete arg2;
28304 }
28305 return NULL;
28306}
28307
28308
c32bde28 28309static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28310 PyObject *resultobj;
28311 wxWindow *arg1 = (wxWindow *) 0 ;
28312 wxString *arg2 = 0 ;
ae8162c8 28313 bool temp2 = false ;
d55e5bfc
RD
28314 PyObject * obj0 = 0 ;
28315 PyObject * obj1 = 0 ;
28316 char *kwnames[] = {
28317 (char *) "self",(char *) "text", NULL
28318 };
28319
28320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
28321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28323 {
28324 arg2 = wxString_in_helper(obj1);
28325 if (arg2 == NULL) SWIG_fail;
ae8162c8 28326 temp2 = true;
d55e5bfc
RD
28327 }
28328 {
28329 PyThreadState* __tstate = wxPyBeginAllowThreads();
28330 (arg1)->SetHelpTextForId((wxString const &)*arg2);
28331
28332 wxPyEndAllowThreads(__tstate);
28333 if (PyErr_Occurred()) SWIG_fail;
28334 }
28335 Py_INCREF(Py_None); resultobj = Py_None;
28336 {
28337 if (temp2)
28338 delete arg2;
28339 }
28340 return resultobj;
28341 fail:
28342 {
28343 if (temp2)
28344 delete arg2;
28345 }
28346 return NULL;
28347}
28348
28349
c32bde28 28350static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28351 PyObject *resultobj;
28352 wxWindow *arg1 = (wxWindow *) 0 ;
28353 wxString result;
28354 PyObject * obj0 = 0 ;
28355 char *kwnames[] = {
28356 (char *) "self", NULL
28357 };
28358
28359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
28360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28362 {
28363 PyThreadState* __tstate = wxPyBeginAllowThreads();
28364 result = ((wxWindow const *)arg1)->GetHelpText();
28365
28366 wxPyEndAllowThreads(__tstate);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 }
28369 {
28370#if wxUSE_UNICODE
28371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28372#else
28373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28374#endif
28375 }
28376 return resultobj;
28377 fail:
28378 return NULL;
28379}
28380
28381
c32bde28 28382static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28383 PyObject *resultobj;
28384 wxWindow *arg1 = (wxWindow *) 0 ;
28385 wxString *arg2 = 0 ;
ae8162c8 28386 bool temp2 = false ;
d55e5bfc
RD
28387 PyObject * obj0 = 0 ;
28388 PyObject * obj1 = 0 ;
28389 char *kwnames[] = {
28390 (char *) "self",(char *) "tip", NULL
28391 };
28392
28393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
28394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28396 {
28397 arg2 = wxString_in_helper(obj1);
28398 if (arg2 == NULL) SWIG_fail;
ae8162c8 28399 temp2 = true;
d55e5bfc
RD
28400 }
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 (arg1)->SetToolTip((wxString const &)*arg2);
28404
28405 wxPyEndAllowThreads(__tstate);
28406 if (PyErr_Occurred()) SWIG_fail;
28407 }
28408 Py_INCREF(Py_None); resultobj = Py_None;
28409 {
28410 if (temp2)
28411 delete arg2;
28412 }
28413 return resultobj;
28414 fail:
28415 {
28416 if (temp2)
28417 delete arg2;
28418 }
28419 return NULL;
28420}
28421
28422
c32bde28 28423static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28424 PyObject *resultobj;
28425 wxWindow *arg1 = (wxWindow *) 0 ;
28426 wxToolTip *arg2 = (wxToolTip *) 0 ;
28427 PyObject * obj0 = 0 ;
28428 PyObject * obj1 = 0 ;
28429 char *kwnames[] = {
28430 (char *) "self",(char *) "tip", NULL
28431 };
28432
28433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
28434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
28437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28438 {
28439 PyThreadState* __tstate = wxPyBeginAllowThreads();
28440 (arg1)->SetToolTip(arg2);
28441
28442 wxPyEndAllowThreads(__tstate);
28443 if (PyErr_Occurred()) SWIG_fail;
28444 }
28445 Py_INCREF(Py_None); resultobj = Py_None;
28446 return resultobj;
28447 fail:
28448 return NULL;
28449}
28450
28451
c32bde28 28452static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28453 PyObject *resultobj;
28454 wxWindow *arg1 = (wxWindow *) 0 ;
28455 wxToolTip *result;
28456 PyObject * obj0 = 0 ;
28457 char *kwnames[] = {
28458 (char *) "self", NULL
28459 };
28460
28461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
28462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28464 {
28465 PyThreadState* __tstate = wxPyBeginAllowThreads();
28466 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
28467
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 {
412d302d 28472 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28473 }
28474 return resultobj;
28475 fail:
28476 return NULL;
28477}
28478
28479
c32bde28 28480static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28481 PyObject *resultobj;
28482 wxWindow *arg1 = (wxWindow *) 0 ;
28483 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
28484 PyObject * obj0 = 0 ;
28485 PyObject * obj1 = 0 ;
28486 char *kwnames[] = {
28487 (char *) "self",(char *) "dropTarget", NULL
28488 };
28489
28490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
28491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
28494 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
28495 {
28496 PyThreadState* __tstate = wxPyBeginAllowThreads();
28497 (arg1)->SetDropTarget(arg2);
28498
28499 wxPyEndAllowThreads(__tstate);
28500 if (PyErr_Occurred()) SWIG_fail;
28501 }
28502 Py_INCREF(Py_None); resultobj = Py_None;
28503 return resultobj;
28504 fail:
28505 return NULL;
28506}
28507
28508
c32bde28 28509static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28510 PyObject *resultobj;
28511 wxWindow *arg1 = (wxWindow *) 0 ;
28512 wxPyDropTarget *result;
28513 PyObject * obj0 = 0 ;
28514 char *kwnames[] = {
28515 (char *) "self", NULL
28516 };
28517
28518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
28519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28521 {
28522 PyThreadState* __tstate = wxPyBeginAllowThreads();
28523 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
28524
28525 wxPyEndAllowThreads(__tstate);
28526 if (PyErr_Occurred()) SWIG_fail;
28527 }
28528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
28529 return resultobj;
28530 fail:
28531 return NULL;
28532}
28533
28534
c32bde28 28535static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28536 PyObject *resultobj;
28537 wxWindow *arg1 = (wxWindow *) 0 ;
28538 bool arg2 ;
28539 PyObject * obj0 = 0 ;
28540 PyObject * obj1 = 0 ;
28541 char *kwnames[] = {
28542 (char *) "self",(char *) "accept", NULL
28543 };
28544
28545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
28546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28548 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
28549 if (PyErr_Occurred()) SWIG_fail;
28550 {
28551 PyThreadState* __tstate = wxPyBeginAllowThreads();
28552 (arg1)->DragAcceptFiles(arg2);
28553
28554 wxPyEndAllowThreads(__tstate);
28555 if (PyErr_Occurred()) SWIG_fail;
28556 }
28557 Py_INCREF(Py_None); resultobj = Py_None;
28558 return resultobj;
28559 fail:
28560 return NULL;
28561}
28562
28563
c32bde28 28564static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28565 PyObject *resultobj;
28566 wxWindow *arg1 = (wxWindow *) 0 ;
28567 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
28568 PyObject * obj0 = 0 ;
28569 PyObject * obj1 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "self",(char *) "constraints", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
28575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
28578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28579 {
28580 PyThreadState* __tstate = wxPyBeginAllowThreads();
28581 (arg1)->SetConstraints(arg2);
28582
28583 wxPyEndAllowThreads(__tstate);
28584 if (PyErr_Occurred()) SWIG_fail;
28585 }
28586 Py_INCREF(Py_None); resultobj = Py_None;
28587 return resultobj;
28588 fail:
28589 return NULL;
28590}
28591
28592
c32bde28 28593static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28594 PyObject *resultobj;
28595 wxWindow *arg1 = (wxWindow *) 0 ;
28596 wxLayoutConstraints *result;
28597 PyObject * obj0 = 0 ;
28598 char *kwnames[] = {
28599 (char *) "self", NULL
28600 };
28601
28602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
28603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28605 {
28606 PyThreadState* __tstate = wxPyBeginAllowThreads();
28607 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
28608
28609 wxPyEndAllowThreads(__tstate);
28610 if (PyErr_Occurred()) SWIG_fail;
28611 }
28612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
28613 return resultobj;
28614 fail:
28615 return NULL;
28616}
28617
28618
c32bde28 28619static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28620 PyObject *resultobj;
28621 wxWindow *arg1 = (wxWindow *) 0 ;
28622 bool arg2 ;
28623 PyObject * obj0 = 0 ;
28624 PyObject * obj1 = 0 ;
28625 char *kwnames[] = {
28626 (char *) "self",(char *) "autoLayout", NULL
28627 };
28628
28629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
28630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28632 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
28633 if (PyErr_Occurred()) SWIG_fail;
28634 {
28635 PyThreadState* __tstate = wxPyBeginAllowThreads();
28636 (arg1)->SetAutoLayout(arg2);
28637
28638 wxPyEndAllowThreads(__tstate);
28639 if (PyErr_Occurred()) SWIG_fail;
28640 }
28641 Py_INCREF(Py_None); resultobj = Py_None;
28642 return resultobj;
28643 fail:
28644 return NULL;
28645}
28646
28647
c32bde28 28648static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28649 PyObject *resultobj;
28650 wxWindow *arg1 = (wxWindow *) 0 ;
28651 bool result;
28652 PyObject * obj0 = 0 ;
28653 char *kwnames[] = {
28654 (char *) "self", NULL
28655 };
28656
28657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
28658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28660 {
28661 PyThreadState* __tstate = wxPyBeginAllowThreads();
28662 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
28663
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 {
28668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28669 }
28670 return resultobj;
28671 fail:
28672 return NULL;
28673}
28674
28675
c32bde28 28676static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28677 PyObject *resultobj;
28678 wxWindow *arg1 = (wxWindow *) 0 ;
28679 bool result;
28680 PyObject * obj0 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "self", NULL
28683 };
28684
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
28686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28688 {
28689 PyThreadState* __tstate = wxPyBeginAllowThreads();
28690 result = (bool)(arg1)->Layout();
28691
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 {
28696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28697 }
28698 return resultobj;
28699 fail:
28700 return NULL;
28701}
28702
28703
c32bde28 28704static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28705 PyObject *resultobj;
28706 wxWindow *arg1 = (wxWindow *) 0 ;
28707 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 28708 bool arg3 = (bool) true ;
d55e5bfc
RD
28709 PyObject * obj0 = 0 ;
28710 PyObject * obj1 = 0 ;
28711 PyObject * obj2 = 0 ;
28712 char *kwnames[] = {
28713 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28714 };
28715
28716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
28717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28721 if (obj2) {
c32bde28 28722 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 {
28726 PyThreadState* __tstate = wxPyBeginAllowThreads();
28727 (arg1)->SetSizer(arg2,arg3);
28728
28729 wxPyEndAllowThreads(__tstate);
28730 if (PyErr_Occurred()) SWIG_fail;
28731 }
28732 Py_INCREF(Py_None); resultobj = Py_None;
28733 return resultobj;
28734 fail:
28735 return NULL;
28736}
28737
28738
c32bde28 28739static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28740 PyObject *resultobj;
28741 wxWindow *arg1 = (wxWindow *) 0 ;
28742 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 28743 bool arg3 = (bool) true ;
d55e5bfc
RD
28744 PyObject * obj0 = 0 ;
28745 PyObject * obj1 = 0 ;
28746 PyObject * obj2 = 0 ;
28747 char *kwnames[] = {
28748 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28749 };
28750
28751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
28752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28756 if (obj2) {
c32bde28 28757 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
28758 if (PyErr_Occurred()) SWIG_fail;
28759 }
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 (arg1)->SetSizerAndFit(arg2,arg3);
28763
28764 wxPyEndAllowThreads(__tstate);
28765 if (PyErr_Occurred()) SWIG_fail;
28766 }
28767 Py_INCREF(Py_None); resultobj = Py_None;
28768 return resultobj;
28769 fail:
28770 return NULL;
28771}
28772
28773
c32bde28 28774static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28775 PyObject *resultobj;
28776 wxWindow *arg1 = (wxWindow *) 0 ;
28777 wxSizer *result;
28778 PyObject * obj0 = 0 ;
28779 char *kwnames[] = {
28780 (char *) "self", NULL
28781 };
28782
28783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
28784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
28788 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28789
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 {
412d302d 28794 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
28795 }
28796 return resultobj;
28797 fail:
28798 return NULL;
28799}
28800
28801
c32bde28 28802static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28803 PyObject *resultobj;
28804 wxWindow *arg1 = (wxWindow *) 0 ;
28805 wxSizer *arg2 = (wxSizer *) 0 ;
28806 PyObject * obj0 = 0 ;
28807 PyObject * obj1 = 0 ;
28808 char *kwnames[] = {
28809 (char *) "self",(char *) "sizer", NULL
28810 };
28811
28812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
28813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28815 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28817 {
28818 PyThreadState* __tstate = wxPyBeginAllowThreads();
28819 (arg1)->SetContainingSizer(arg2);
28820
28821 wxPyEndAllowThreads(__tstate);
28822 if (PyErr_Occurred()) SWIG_fail;
28823 }
28824 Py_INCREF(Py_None); resultobj = Py_None;
28825 return resultobj;
28826 fail:
28827 return NULL;
28828}
28829
28830
c32bde28 28831static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28832 PyObject *resultobj;
28833 wxWindow *arg1 = (wxWindow *) 0 ;
28834 wxSizer *result;
28835 PyObject * obj0 = 0 ;
28836 char *kwnames[] = {
28837 (char *) "self", NULL
28838 };
28839
28840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
28841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28843 {
28844 PyThreadState* __tstate = wxPyBeginAllowThreads();
28845 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28846
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
28850 {
412d302d 28851 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
28852 }
28853 return resultobj;
28854 fail:
28855 return NULL;
28856}
28857
28858
c32bde28 28859static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28860 PyObject *resultobj;
28861 wxWindow *arg1 = (wxWindow *) 0 ;
28862 PyObject * obj0 = 0 ;
28863 char *kwnames[] = {
28864 (char *) "self", NULL
28865 };
28866
28867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28870 {
28871 PyThreadState* __tstate = wxPyBeginAllowThreads();
28872 (arg1)->InheritAttributes();
28873
28874 wxPyEndAllowThreads(__tstate);
28875 if (PyErr_Occurred()) SWIG_fail;
28876 }
28877 Py_INCREF(Py_None); resultobj = Py_None;
28878 return resultobj;
28879 fail:
28880 return NULL;
28881}
28882
28883
c32bde28 28884static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28885 PyObject *resultobj;
28886 wxWindow *arg1 = (wxWindow *) 0 ;
28887 bool result;
28888 PyObject * obj0 = 0 ;
28889 char *kwnames[] = {
28890 (char *) "self", NULL
28891 };
28892
28893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28896 {
28897 PyThreadState* __tstate = wxPyBeginAllowThreads();
28898 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28899
28900 wxPyEndAllowThreads(__tstate);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 }
28903 {
28904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28905 }
28906 return resultobj;
28907 fail:
28908 return NULL;
28909}
28910
28911
c32bde28 28912static PyObject * Window_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28913 PyObject *obj;
28914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28915 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28916 Py_INCREF(obj);
28917 return Py_BuildValue((char *)"");
28918}
c32bde28 28919static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28920 PyObject *resultobj;
28921 long arg1 ;
28922 wxWindow *arg2 = (wxWindow *) NULL ;
28923 wxWindow *result;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 char *kwnames[] = {
28927 (char *) "id",(char *) "parent", NULL
28928 };
28929
28930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
c32bde28 28931 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
28932 if (PyErr_Occurred()) SWIG_fail;
28933 if (obj1) {
28934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28936 }
28937 {
0439c23b 28938 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28939 PyThreadState* __tstate = wxPyBeginAllowThreads();
28940 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28941
28942 wxPyEndAllowThreads(__tstate);
110da5b0 28943 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28944 }
28945 {
412d302d 28946 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28947 }
28948 return resultobj;
28949 fail:
28950 return NULL;
28951}
28952
28953
c32bde28 28954static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28955 PyObject *resultobj;
28956 wxString *arg1 = 0 ;
28957 wxWindow *arg2 = (wxWindow *) NULL ;
28958 wxWindow *result;
ae8162c8 28959 bool temp1 = false ;
d55e5bfc
RD
28960 PyObject * obj0 = 0 ;
28961 PyObject * obj1 = 0 ;
28962 char *kwnames[] = {
28963 (char *) "name",(char *) "parent", NULL
28964 };
28965
28966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28967 {
28968 arg1 = wxString_in_helper(obj0);
28969 if (arg1 == NULL) SWIG_fail;
ae8162c8 28970 temp1 = true;
d55e5bfc
RD
28971 }
28972 if (obj1) {
28973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28975 }
28976 {
0439c23b 28977 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28978 PyThreadState* __tstate = wxPyBeginAllowThreads();
28979 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28980
28981 wxPyEndAllowThreads(__tstate);
110da5b0 28982 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28983 }
28984 {
412d302d 28985 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28986 }
28987 {
28988 if (temp1)
28989 delete arg1;
28990 }
28991 return resultobj;
28992 fail:
28993 {
28994 if (temp1)
28995 delete arg1;
28996 }
28997 return NULL;
28998}
28999
29000
c32bde28 29001static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29002 PyObject *resultobj;
29003 wxString *arg1 = 0 ;
29004 wxWindow *arg2 = (wxWindow *) NULL ;
29005 wxWindow *result;
ae8162c8 29006 bool temp1 = false ;
d55e5bfc
RD
29007 PyObject * obj0 = 0 ;
29008 PyObject * obj1 = 0 ;
29009 char *kwnames[] = {
29010 (char *) "label",(char *) "parent", NULL
29011 };
29012
29013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
29014 {
29015 arg1 = wxString_in_helper(obj0);
29016 if (arg1 == NULL) SWIG_fail;
ae8162c8 29017 temp1 = true;
d55e5bfc
RD
29018 }
29019 if (obj1) {
29020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29022 }
29023 {
0439c23b 29024 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29025 PyThreadState* __tstate = wxPyBeginAllowThreads();
29026 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
29027
29028 wxPyEndAllowThreads(__tstate);
110da5b0 29029 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29030 }
29031 {
412d302d 29032 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29033 }
29034 {
29035 if (temp1)
29036 delete arg1;
29037 }
29038 return resultobj;
29039 fail:
29040 {
29041 if (temp1)
29042 delete arg1;
29043 }
29044 return NULL;
29045}
29046
29047
c32bde28 29048static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29049 PyObject *resultobj;
29050 wxWindow *arg1 = (wxWindow *) 0 ;
29051 unsigned long arg2 ;
29052 wxWindow *result;
29053 PyObject * obj0 = 0 ;
29054 PyObject * obj1 = 0 ;
29055 char *kwnames[] = {
29056 (char *) "parent",(char *) "_hWnd", NULL
29057 };
29058
29059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
29060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29062 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
29063 if (PyErr_Occurred()) SWIG_fail;
29064 {
29065 PyThreadState* __tstate = wxPyBeginAllowThreads();
29066 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
29067
29068 wxPyEndAllowThreads(__tstate);
29069 if (PyErr_Occurred()) SWIG_fail;
29070 }
29071 {
412d302d 29072 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29073 }
29074 return resultobj;
29075 fail:
29076 return NULL;
29077}
29078
29079
c32bde28 29080static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29081 PyObject *resultobj;
29082 wxValidator *result;
29083 char *kwnames[] = {
29084 NULL
29085 };
29086
29087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
29088 {
29089 PyThreadState* __tstate = wxPyBeginAllowThreads();
29090 result = (wxValidator *)new wxValidator();
29091
29092 wxPyEndAllowThreads(__tstate);
29093 if (PyErr_Occurred()) SWIG_fail;
29094 }
b0f7404b 29095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
d55e5bfc
RD
29096 return resultobj;
29097 fail:
29098 return NULL;
29099}
29100
29101
c32bde28 29102static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29103 PyObject *resultobj;
29104 wxValidator *arg1 = (wxValidator *) 0 ;
29105 wxValidator *result;
29106 PyObject * obj0 = 0 ;
29107 char *kwnames[] = {
29108 (char *) "self", NULL
29109 };
29110
29111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
29112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29114 {
29115 PyThreadState* __tstate = wxPyBeginAllowThreads();
29116 result = (wxValidator *)(arg1)->Clone();
29117
29118 wxPyEndAllowThreads(__tstate);
29119 if (PyErr_Occurred()) SWIG_fail;
29120 }
29121 {
412d302d 29122 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29123 }
29124 return resultobj;
29125 fail:
29126 return NULL;
29127}
29128
29129
c32bde28 29130static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29131 PyObject *resultobj;
29132 wxValidator *arg1 = (wxValidator *) 0 ;
29133 wxWindow *arg2 = (wxWindow *) 0 ;
29134 bool result;
29135 PyObject * obj0 = 0 ;
29136 PyObject * obj1 = 0 ;
29137 char *kwnames[] = {
29138 (char *) "self",(char *) "parent", NULL
29139 };
29140
29141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
29142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29146 {
29147 PyThreadState* __tstate = wxPyBeginAllowThreads();
29148 result = (bool)(arg1)->Validate(arg2);
29149
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 {
29154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29155 }
29156 return resultobj;
29157 fail:
29158 return NULL;
29159}
29160
29161
c32bde28 29162static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29163 PyObject *resultobj;
29164 wxValidator *arg1 = (wxValidator *) 0 ;
29165 bool result;
29166 PyObject * obj0 = 0 ;
29167 char *kwnames[] = {
29168 (char *) "self", NULL
29169 };
29170
29171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
29172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29174 {
29175 PyThreadState* __tstate = wxPyBeginAllowThreads();
29176 result = (bool)(arg1)->TransferToWindow();
29177
29178 wxPyEndAllowThreads(__tstate);
29179 if (PyErr_Occurred()) SWIG_fail;
29180 }
29181 {
29182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29183 }
29184 return resultobj;
29185 fail:
29186 return NULL;
29187}
29188
29189
c32bde28 29190static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29191 PyObject *resultobj;
29192 wxValidator *arg1 = (wxValidator *) 0 ;
29193 bool result;
29194 PyObject * obj0 = 0 ;
29195 char *kwnames[] = {
29196 (char *) "self", NULL
29197 };
29198
29199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
29200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29202 {
29203 PyThreadState* __tstate = wxPyBeginAllowThreads();
29204 result = (bool)(arg1)->TransferFromWindow();
29205
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 {
29210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29211 }
29212 return resultobj;
29213 fail:
29214 return NULL;
29215}
29216
29217
c32bde28 29218static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29219 PyObject *resultobj;
29220 wxValidator *arg1 = (wxValidator *) 0 ;
29221 wxWindow *result;
29222 PyObject * obj0 = 0 ;
29223 char *kwnames[] = {
29224 (char *) "self", NULL
29225 };
29226
29227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
29228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 result = (wxWindow *)(arg1)->GetWindow();
29233
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 {
412d302d 29238 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29239 }
29240 return resultobj;
29241 fail:
29242 return NULL;
29243}
29244
29245
c32bde28 29246static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29247 PyObject *resultobj;
29248 wxValidator *arg1 = (wxValidator *) 0 ;
29249 wxWindow *arg2 = (wxWindow *) 0 ;
29250 PyObject * obj0 = 0 ;
29251 PyObject * obj1 = 0 ;
29252 char *kwnames[] = {
29253 (char *) "self",(char *) "window", NULL
29254 };
29255
29256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
29257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29261 {
29262 PyThreadState* __tstate = wxPyBeginAllowThreads();
29263 (arg1)->SetWindow(arg2);
29264
29265 wxPyEndAllowThreads(__tstate);
29266 if (PyErr_Occurred()) SWIG_fail;
29267 }
29268 Py_INCREF(Py_None); resultobj = Py_None;
29269 return resultobj;
29270 fail:
29271 return NULL;
29272}
29273
29274
c32bde28 29275static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29276 PyObject *resultobj;
29277 bool result;
29278 char *kwnames[] = {
29279 NULL
29280 };
29281
29282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
29283 {
29284 PyThreadState* __tstate = wxPyBeginAllowThreads();
29285 result = (bool)wxValidator::IsSilent();
29286
29287 wxPyEndAllowThreads(__tstate);
29288 if (PyErr_Occurred()) SWIG_fail;
29289 }
29290 {
29291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29292 }
29293 return resultobj;
29294 fail:
29295 return NULL;
29296}
29297
29298
c32bde28 29299static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 29300 PyObject *resultobj;
ae8162c8 29301 int arg1 = (int) true ;
d55e5bfc
RD
29302 PyObject * obj0 = 0 ;
29303 char *kwnames[] = {
29304 (char *) "doIt", NULL
29305 };
29306
29307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
29308 if (obj0) {
c32bde28 29309 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
29310 if (PyErr_Occurred()) SWIG_fail;
29311 }
29312 {
29313 PyThreadState* __tstate = wxPyBeginAllowThreads();
29314 wxValidator::SetBellOnError(arg1);
29315
29316 wxPyEndAllowThreads(__tstate);
29317 if (PyErr_Occurred()) SWIG_fail;
29318 }
29319 Py_INCREF(Py_None); resultobj = Py_None;
29320 return resultobj;
29321 fail:
29322 return NULL;
29323}
29324
29325
c32bde28 29326static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29327 PyObject *obj;
29328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29329 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
29330 Py_INCREF(obj);
29331 return Py_BuildValue((char *)"");
29332}
c32bde28 29333static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29334 PyObject *resultobj;
29335 wxPyValidator *result;
29336 char *kwnames[] = {
29337 NULL
29338 };
29339
29340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
29341 {
29342 PyThreadState* __tstate = wxPyBeginAllowThreads();
29343 result = (wxPyValidator *)new wxPyValidator();
29344
29345 wxPyEndAllowThreads(__tstate);
29346 if (PyErr_Occurred()) SWIG_fail;
29347 }
29348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
29349 return resultobj;
29350 fail:
29351 return NULL;
29352}
29353
29354
c32bde28 29355static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29356 PyObject *resultobj;
29357 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
29358 PyObject *arg2 = (PyObject *) 0 ;
29359 PyObject *arg3 = (PyObject *) 0 ;
ae8162c8 29360 int arg4 = (int) true ;
d55e5bfc
RD
29361 PyObject * obj0 = 0 ;
29362 PyObject * obj1 = 0 ;
29363 PyObject * obj2 = 0 ;
29364 PyObject * obj3 = 0 ;
29365 char *kwnames[] = {
29366 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29367 };
29368
29369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
29371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29372 arg2 = obj1;
29373 arg3 = obj2;
29374 if (obj3) {
c32bde28 29375 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
29376 if (PyErr_Occurred()) SWIG_fail;
29377 }
29378 {
29379 PyThreadState* __tstate = wxPyBeginAllowThreads();
29380 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
29381
29382 wxPyEndAllowThreads(__tstate);
29383 if (PyErr_Occurred()) SWIG_fail;
29384 }
29385 Py_INCREF(Py_None); resultobj = Py_None;
29386 return resultobj;
29387 fail:
29388 return NULL;
29389}
29390
29391
c32bde28 29392static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29393 PyObject *obj;
29394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29395 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
29396 Py_INCREF(obj);
29397 return Py_BuildValue((char *)"");
29398}
c32bde28 29399static int _wrap_DefaultValidator_set(PyObject *) {
d55e5bfc
RD
29400 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
29401 return 1;
29402}
29403
29404
29405static PyObject *_wrap_DefaultValidator_get() {
29406 PyObject *pyobj;
29407
29408 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
29409 return pyobj;
29410}
29411
29412
c32bde28 29413static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29414 PyObject *resultobj;
29415 wxString const &arg1_defvalue = wxPyEmptyString ;
29416 wxString *arg1 = (wxString *) &arg1_defvalue ;
29417 long arg2 = (long) 0 ;
29418 wxMenu *result;
ae8162c8 29419 bool temp1 = false ;
d55e5bfc
RD
29420 PyObject * obj0 = 0 ;
29421 PyObject * obj1 = 0 ;
29422 char *kwnames[] = {
29423 (char *) "title",(char *) "style", NULL
29424 };
29425
29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
29427 if (obj0) {
29428 {
29429 arg1 = wxString_in_helper(obj0);
29430 if (arg1 == NULL) SWIG_fail;
ae8162c8 29431 temp1 = true;
d55e5bfc
RD
29432 }
29433 }
29434 if (obj1) {
c32bde28 29435 arg2 = (long)SWIG_As_long(obj1);
d55e5bfc
RD
29436 if (PyErr_Occurred()) SWIG_fail;
29437 }
29438 {
0439c23b 29439 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
29442
29443 wxPyEndAllowThreads(__tstate);
110da5b0 29444 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 29445 }
b0f7404b 29446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
d55e5bfc
RD
29447 {
29448 if (temp1)
29449 delete arg1;
29450 }
29451 return resultobj;
29452 fail:
29453 {
29454 if (temp1)
29455 delete arg1;
29456 }
29457 return NULL;
29458}
29459
29460
c32bde28 29461static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29462 PyObject *resultobj;
29463 wxMenu *arg1 = (wxMenu *) 0 ;
29464 int arg2 ;
29465 wxString *arg3 = 0 ;
29466 wxString const &arg4_defvalue = wxPyEmptyString ;
29467 wxString *arg4 = (wxString *) &arg4_defvalue ;
29468 int arg5 = (int) wxITEM_NORMAL ;
29469 wxMenuItem *result;
ae8162c8
RD
29470 bool temp3 = false ;
29471 bool temp4 = false ;
d55e5bfc
RD
29472 PyObject * obj0 = 0 ;
29473 PyObject * obj1 = 0 ;
29474 PyObject * obj2 = 0 ;
29475 PyObject * obj3 = 0 ;
29476 PyObject * obj4 = 0 ;
29477 char *kwnames[] = {
29478 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29479 };
29480
29481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29484 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
29485 if (PyErr_Occurred()) SWIG_fail;
29486 {
29487 arg3 = wxString_in_helper(obj2);
29488 if (arg3 == NULL) SWIG_fail;
ae8162c8 29489 temp3 = true;
d55e5bfc
RD
29490 }
29491 if (obj3) {
29492 {
29493 arg4 = wxString_in_helper(obj3);
29494 if (arg4 == NULL) SWIG_fail;
ae8162c8 29495 temp4 = true;
d55e5bfc
RD
29496 }
29497 }
29498 if (obj4) {
c32bde28 29499 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 {
29503 PyThreadState* __tstate = wxPyBeginAllowThreads();
29504 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
29505
29506 wxPyEndAllowThreads(__tstate);
29507 if (PyErr_Occurred()) SWIG_fail;
29508 }
29509 {
412d302d 29510 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29511 }
29512 {
29513 if (temp3)
29514 delete arg3;
29515 }
29516 {
29517 if (temp4)
29518 delete arg4;
29519 }
29520 return resultobj;
29521 fail:
29522 {
29523 if (temp3)
29524 delete arg3;
29525 }
29526 {
29527 if (temp4)
29528 delete arg4;
29529 }
29530 return NULL;
29531}
29532
29533
c32bde28 29534static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29535 PyObject *resultobj;
29536 wxMenu *arg1 = (wxMenu *) 0 ;
29537 wxMenuItem *result;
29538 PyObject * obj0 = 0 ;
29539 char *kwnames[] = {
29540 (char *) "self", NULL
29541 };
29542
29543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
29544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29546 {
29547 PyThreadState* __tstate = wxPyBeginAllowThreads();
29548 result = (wxMenuItem *)(arg1)->AppendSeparator();
29549
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 {
412d302d 29554 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29555 }
29556 return resultobj;
29557 fail:
29558 return NULL;
29559}
29560
29561
c32bde28 29562static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29563 PyObject *resultobj;
29564 wxMenu *arg1 = (wxMenu *) 0 ;
29565 int arg2 ;
29566 wxString *arg3 = 0 ;
29567 wxString const &arg4_defvalue = wxPyEmptyString ;
29568 wxString *arg4 = (wxString *) &arg4_defvalue ;
29569 wxMenuItem *result;
ae8162c8
RD
29570 bool temp3 = false ;
29571 bool temp4 = false ;
d55e5bfc
RD
29572 PyObject * obj0 = 0 ;
29573 PyObject * obj1 = 0 ;
29574 PyObject * obj2 = 0 ;
29575 PyObject * obj3 = 0 ;
29576 char *kwnames[] = {
29577 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29578 };
29579
29580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29583 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
29584 if (PyErr_Occurred()) SWIG_fail;
29585 {
29586 arg3 = wxString_in_helper(obj2);
29587 if (arg3 == NULL) SWIG_fail;
ae8162c8 29588 temp3 = true;
d55e5bfc
RD
29589 }
29590 if (obj3) {
29591 {
29592 arg4 = wxString_in_helper(obj3);
29593 if (arg4 == NULL) SWIG_fail;
ae8162c8 29594 temp4 = true;
d55e5bfc
RD
29595 }
29596 }
29597 {
29598 PyThreadState* __tstate = wxPyBeginAllowThreads();
29599 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29600
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 {
412d302d 29605 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29606 }
29607 {
29608 if (temp3)
29609 delete arg3;
29610 }
29611 {
29612 if (temp4)
29613 delete arg4;
29614 }
29615 return resultobj;
29616 fail:
29617 {
29618 if (temp3)
29619 delete arg3;
29620 }
29621 {
29622 if (temp4)
29623 delete arg4;
29624 }
29625 return NULL;
29626}
29627
29628
c32bde28 29629static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29630 PyObject *resultobj;
29631 wxMenu *arg1 = (wxMenu *) 0 ;
29632 int arg2 ;
29633 wxString *arg3 = 0 ;
29634 wxString const &arg4_defvalue = wxPyEmptyString ;
29635 wxString *arg4 = (wxString *) &arg4_defvalue ;
29636 wxMenuItem *result;
ae8162c8
RD
29637 bool temp3 = false ;
29638 bool temp4 = false ;
d55e5bfc
RD
29639 PyObject * obj0 = 0 ;
29640 PyObject * obj1 = 0 ;
29641 PyObject * obj2 = 0 ;
29642 PyObject * obj3 = 0 ;
29643 char *kwnames[] = {
29644 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29645 };
29646
29647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29650 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
29651 if (PyErr_Occurred()) SWIG_fail;
29652 {
29653 arg3 = wxString_in_helper(obj2);
29654 if (arg3 == NULL) SWIG_fail;
ae8162c8 29655 temp3 = true;
d55e5bfc
RD
29656 }
29657 if (obj3) {
29658 {
29659 arg4 = wxString_in_helper(obj3);
29660 if (arg4 == NULL) SWIG_fail;
ae8162c8 29661 temp4 = true;
d55e5bfc
RD
29662 }
29663 }
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
29666 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
29667
29668 wxPyEndAllowThreads(__tstate);
29669 if (PyErr_Occurred()) SWIG_fail;
29670 }
29671 {
412d302d 29672 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29673 }
29674 {
29675 if (temp3)
29676 delete arg3;
29677 }
29678 {
29679 if (temp4)
29680 delete arg4;
29681 }
29682 return resultobj;
29683 fail:
29684 {
29685 if (temp3)
29686 delete arg3;
29687 }
29688 {
29689 if (temp4)
29690 delete arg4;
29691 }
29692 return NULL;
29693}
29694
29695
c32bde28 29696static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29697 PyObject *resultobj;
29698 wxMenu *arg1 = (wxMenu *) 0 ;
29699 int arg2 ;
29700 wxString *arg3 = 0 ;
29701 wxMenu *arg4 = (wxMenu *) 0 ;
29702 wxString const &arg5_defvalue = wxPyEmptyString ;
29703 wxString *arg5 = (wxString *) &arg5_defvalue ;
29704 wxMenuItem *result;
ae8162c8
RD
29705 bool temp3 = false ;
29706 bool temp5 = false ;
d55e5bfc
RD
29707 PyObject * obj0 = 0 ;
29708 PyObject * obj1 = 0 ;
29709 PyObject * obj2 = 0 ;
29710 PyObject * obj3 = 0 ;
29711 PyObject * obj4 = 0 ;
29712 char *kwnames[] = {
29713 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29714 };
29715
29716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29719 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
29720 if (PyErr_Occurred()) SWIG_fail;
29721 {
29722 arg3 = wxString_in_helper(obj2);
29723 if (arg3 == NULL) SWIG_fail;
ae8162c8 29724 temp3 = true;
d55e5bfc
RD
29725 }
29726 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29728 if (obj4) {
29729 {
29730 arg5 = wxString_in_helper(obj4);
29731 if (arg5 == NULL) SWIG_fail;
ae8162c8 29732 temp5 = true;
d55e5bfc
RD
29733 }
29734 }
29735 {
29736 PyThreadState* __tstate = wxPyBeginAllowThreads();
29737 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
29738
29739 wxPyEndAllowThreads(__tstate);
29740 if (PyErr_Occurred()) SWIG_fail;
29741 }
29742 {
412d302d 29743 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29744 }
29745 {
29746 if (temp3)
29747 delete arg3;
29748 }
29749 {
29750 if (temp5)
29751 delete arg5;
29752 }
29753 return resultobj;
29754 fail:
29755 {
29756 if (temp3)
29757 delete arg3;
29758 }
29759 {
29760 if (temp5)
29761 delete arg5;
29762 }
29763 return NULL;
29764}
29765
29766
c32bde28 29767static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29768 PyObject *resultobj;
29769 wxMenu *arg1 = (wxMenu *) 0 ;
29770 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29771 wxMenuItem *result;
29772 PyObject * obj0 = 0 ;
29773 PyObject * obj1 = 0 ;
29774 char *kwnames[] = {
29775 (char *) "self",(char *) "item", NULL
29776 };
29777
29778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
29779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29781 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29783 {
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 result = (wxMenuItem *)(arg1)->Append(arg2);
29786
29787 wxPyEndAllowThreads(__tstate);
29788 if (PyErr_Occurred()) SWIG_fail;
29789 }
29790 {
412d302d 29791 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29792 }
29793 return resultobj;
29794 fail:
29795 return NULL;
29796}
29797
29798
c32bde28 29799static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29800 PyObject *resultobj;
29801 wxMenu *arg1 = (wxMenu *) 0 ;
29802 PyObject * obj0 = 0 ;
29803 char *kwnames[] = {
29804 (char *) "self", NULL
29805 };
29806
29807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
29808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 (arg1)->Break();
29813
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 Py_INCREF(Py_None); resultobj = Py_None;
29818 return resultobj;
29819 fail:
29820 return NULL;
29821}
29822
29823
c32bde28 29824static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29825 PyObject *resultobj;
29826 wxMenu *arg1 = (wxMenu *) 0 ;
29827 size_t arg2 ;
29828 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
29829 wxMenuItem *result;
29830 PyObject * obj0 = 0 ;
29831 PyObject * obj1 = 0 ;
29832 PyObject * obj2 = 0 ;
29833 char *kwnames[] = {
29834 (char *) "self",(char *) "pos",(char *) "item", NULL
29835 };
29836
29837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
29838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29840 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
29841 if (PyErr_Occurred()) SWIG_fail;
29842 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29844 {
29845 PyThreadState* __tstate = wxPyBeginAllowThreads();
29846 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
29847
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 {
412d302d 29852 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29853 }
29854 return resultobj;
29855 fail:
29856 return NULL;
29857}
29858
29859
c32bde28 29860static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29861 PyObject *resultobj;
29862 wxMenu *arg1 = (wxMenu *) 0 ;
29863 size_t arg2 ;
29864 int arg3 ;
29865 wxString *arg4 = 0 ;
29866 wxString const &arg5_defvalue = wxPyEmptyString ;
29867 wxString *arg5 = (wxString *) &arg5_defvalue ;
29868 int arg6 = (int) wxITEM_NORMAL ;
29869 wxMenuItem *result;
ae8162c8
RD
29870 bool temp4 = false ;
29871 bool temp5 = false ;
d55e5bfc
RD
29872 PyObject * obj0 = 0 ;
29873 PyObject * obj1 = 0 ;
29874 PyObject * obj2 = 0 ;
29875 PyObject * obj3 = 0 ;
29876 PyObject * obj4 = 0 ;
29877 PyObject * obj5 = 0 ;
29878 char *kwnames[] = {
29879 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29880 };
29881
29882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29885 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 29886 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29887 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
29888 if (PyErr_Occurred()) SWIG_fail;
29889 {
29890 arg4 = wxString_in_helper(obj3);
29891 if (arg4 == NULL) SWIG_fail;
ae8162c8 29892 temp4 = true;
d55e5bfc
RD
29893 }
29894 if (obj4) {
29895 {
29896 arg5 = wxString_in_helper(obj4);
29897 if (arg5 == NULL) SWIG_fail;
ae8162c8 29898 temp5 = true;
d55e5bfc
RD
29899 }
29900 }
29901 if (obj5) {
c32bde28 29902 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
29903 if (PyErr_Occurred()) SWIG_fail;
29904 }
29905 {
29906 PyThreadState* __tstate = wxPyBeginAllowThreads();
29907 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
29908
29909 wxPyEndAllowThreads(__tstate);
29910 if (PyErr_Occurred()) SWIG_fail;
29911 }
29912 {
412d302d 29913 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29914 }
29915 {
29916 if (temp4)
29917 delete arg4;
29918 }
29919 {
29920 if (temp5)
29921 delete arg5;
29922 }
29923 return resultobj;
29924 fail:
29925 {
29926 if (temp4)
29927 delete arg4;
29928 }
29929 {
29930 if (temp5)
29931 delete arg5;
29932 }
29933 return NULL;
29934}
29935
29936
c32bde28 29937static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29938 PyObject *resultobj;
29939 wxMenu *arg1 = (wxMenu *) 0 ;
29940 size_t arg2 ;
29941 wxMenuItem *result;
29942 PyObject * obj0 = 0 ;
29943 PyObject * obj1 = 0 ;
29944 char *kwnames[] = {
29945 (char *) "self",(char *) "pos", NULL
29946 };
29947
29948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
29949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29951 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
29952 if (PyErr_Occurred()) SWIG_fail;
29953 {
29954 PyThreadState* __tstate = wxPyBeginAllowThreads();
29955 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
29956
29957 wxPyEndAllowThreads(__tstate);
29958 if (PyErr_Occurred()) SWIG_fail;
29959 }
29960 {
412d302d 29961 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
29962 }
29963 return resultobj;
29964 fail:
29965 return NULL;
29966}
29967
29968
c32bde28 29969static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29970 PyObject *resultobj;
29971 wxMenu *arg1 = (wxMenu *) 0 ;
29972 size_t arg2 ;
29973 int arg3 ;
29974 wxString *arg4 = 0 ;
29975 wxString const &arg5_defvalue = wxPyEmptyString ;
29976 wxString *arg5 = (wxString *) &arg5_defvalue ;
29977 wxMenuItem *result;
ae8162c8
RD
29978 bool temp4 = false ;
29979 bool temp5 = false ;
d55e5bfc
RD
29980 PyObject * obj0 = 0 ;
29981 PyObject * obj1 = 0 ;
29982 PyObject * obj2 = 0 ;
29983 PyObject * obj3 = 0 ;
29984 PyObject * obj4 = 0 ;
29985 char *kwnames[] = {
29986 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29987 };
29988
29989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29992 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 29993 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29994 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
29995 if (PyErr_Occurred()) SWIG_fail;
29996 {
29997 arg4 = wxString_in_helper(obj3);
29998 if (arg4 == NULL) SWIG_fail;
ae8162c8 29999 temp4 = true;
d55e5bfc
RD
30000 }
30001 if (obj4) {
30002 {
30003 arg5 = wxString_in_helper(obj4);
30004 if (arg5 == NULL) SWIG_fail;
ae8162c8 30005 temp5 = true;
d55e5bfc
RD
30006 }
30007 }
30008 {
30009 PyThreadState* __tstate = wxPyBeginAllowThreads();
30010 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
30011
30012 wxPyEndAllowThreads(__tstate);
30013 if (PyErr_Occurred()) SWIG_fail;
30014 }
30015 {
412d302d 30016 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30017 }
30018 {
30019 if (temp4)
30020 delete arg4;
30021 }
30022 {
30023 if (temp5)
30024 delete arg5;
30025 }
30026 return resultobj;
30027 fail:
30028 {
30029 if (temp4)
30030 delete arg4;
30031 }
30032 {
30033 if (temp5)
30034 delete arg5;
30035 }
30036 return NULL;
30037}
30038
30039
c32bde28 30040static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30041 PyObject *resultobj;
30042 wxMenu *arg1 = (wxMenu *) 0 ;
30043 size_t arg2 ;
30044 int arg3 ;
30045 wxString *arg4 = 0 ;
30046 wxString const &arg5_defvalue = wxPyEmptyString ;
30047 wxString *arg5 = (wxString *) &arg5_defvalue ;
30048 wxMenuItem *result;
ae8162c8
RD
30049 bool temp4 = false ;
30050 bool temp5 = false ;
d55e5bfc
RD
30051 PyObject * obj0 = 0 ;
30052 PyObject * obj1 = 0 ;
30053 PyObject * obj2 = 0 ;
30054 PyObject * obj3 = 0 ;
30055 PyObject * obj4 = 0 ;
30056 char *kwnames[] = {
30057 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
30058 };
30059
30060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30063 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 30064 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30065 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
30066 if (PyErr_Occurred()) SWIG_fail;
30067 {
30068 arg4 = wxString_in_helper(obj3);
30069 if (arg4 == NULL) SWIG_fail;
ae8162c8 30070 temp4 = true;
d55e5bfc
RD
30071 }
30072 if (obj4) {
30073 {
30074 arg5 = wxString_in_helper(obj4);
30075 if (arg5 == NULL) SWIG_fail;
ae8162c8 30076 temp5 = true;
d55e5bfc
RD
30077 }
30078 }
30079 {
30080 PyThreadState* __tstate = wxPyBeginAllowThreads();
30081 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
30082
30083 wxPyEndAllowThreads(__tstate);
30084 if (PyErr_Occurred()) SWIG_fail;
30085 }
30086 {
412d302d 30087 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30088 }
30089 {
30090 if (temp4)
30091 delete arg4;
30092 }
30093 {
30094 if (temp5)
30095 delete arg5;
30096 }
30097 return resultobj;
30098 fail:
30099 {
30100 if (temp4)
30101 delete arg4;
30102 }
30103 {
30104 if (temp5)
30105 delete arg5;
30106 }
30107 return NULL;
30108}
30109
30110
c32bde28 30111static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30112 PyObject *resultobj;
30113 wxMenu *arg1 = (wxMenu *) 0 ;
30114 size_t arg2 ;
30115 int arg3 ;
30116 wxString *arg4 = 0 ;
30117 wxMenu *arg5 = (wxMenu *) 0 ;
30118 wxString const &arg6_defvalue = wxPyEmptyString ;
30119 wxString *arg6 = (wxString *) &arg6_defvalue ;
30120 wxMenuItem *result;
ae8162c8
RD
30121 bool temp4 = false ;
30122 bool temp6 = false ;
d55e5bfc
RD
30123 PyObject * obj0 = 0 ;
30124 PyObject * obj1 = 0 ;
30125 PyObject * obj2 = 0 ;
30126 PyObject * obj3 = 0 ;
30127 PyObject * obj4 = 0 ;
30128 PyObject * obj5 = 0 ;
30129 char *kwnames[] = {
30130 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30131 };
30132
30133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
30134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30136 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 30137 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30138 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
30139 if (PyErr_Occurred()) SWIG_fail;
30140 {
30141 arg4 = wxString_in_helper(obj3);
30142 if (arg4 == NULL) SWIG_fail;
ae8162c8 30143 temp4 = true;
d55e5bfc
RD
30144 }
30145 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
30146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30147 if (obj5) {
30148 {
30149 arg6 = wxString_in_helper(obj5);
30150 if (arg6 == NULL) SWIG_fail;
ae8162c8 30151 temp6 = true;
d55e5bfc
RD
30152 }
30153 }
30154 {
30155 PyThreadState* __tstate = wxPyBeginAllowThreads();
30156 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
30157
30158 wxPyEndAllowThreads(__tstate);
30159 if (PyErr_Occurred()) SWIG_fail;
30160 }
30161 {
412d302d 30162 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30163 }
30164 {
30165 if (temp4)
30166 delete arg4;
30167 }
30168 {
30169 if (temp6)
30170 delete arg6;
30171 }
30172 return resultobj;
30173 fail:
30174 {
30175 if (temp4)
30176 delete arg4;
30177 }
30178 {
30179 if (temp6)
30180 delete arg6;
30181 }
30182 return NULL;
30183}
30184
30185
c32bde28 30186static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30187 PyObject *resultobj;
30188 wxMenu *arg1 = (wxMenu *) 0 ;
30189 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30190 wxMenuItem *result;
30191 PyObject * obj0 = 0 ;
30192 PyObject * obj1 = 0 ;
30193 char *kwnames[] = {
30194 (char *) "self",(char *) "item", NULL
30195 };
30196
30197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
30198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30202 {
30203 PyThreadState* __tstate = wxPyBeginAllowThreads();
30204 result = (wxMenuItem *)(arg1)->Prepend(arg2);
30205
30206 wxPyEndAllowThreads(__tstate);
30207 if (PyErr_Occurred()) SWIG_fail;
30208 }
30209 {
412d302d 30210 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30211 }
30212 return resultobj;
30213 fail:
30214 return NULL;
30215}
30216
30217
c32bde28 30218static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30219 PyObject *resultobj;
30220 wxMenu *arg1 = (wxMenu *) 0 ;
30221 int arg2 ;
30222 wxString *arg3 = 0 ;
30223 wxString const &arg4_defvalue = wxPyEmptyString ;
30224 wxString *arg4 = (wxString *) &arg4_defvalue ;
30225 int arg5 = (int) wxITEM_NORMAL ;
30226 wxMenuItem *result;
ae8162c8
RD
30227 bool temp3 = false ;
30228 bool temp4 = false ;
d55e5bfc
RD
30229 PyObject * obj0 = 0 ;
30230 PyObject * obj1 = 0 ;
30231 PyObject * obj2 = 0 ;
30232 PyObject * obj3 = 0 ;
30233 PyObject * obj4 = 0 ;
30234 char *kwnames[] = {
30235 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
30236 };
30237
30238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30241 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30242 if (PyErr_Occurred()) SWIG_fail;
30243 {
30244 arg3 = wxString_in_helper(obj2);
30245 if (arg3 == NULL) SWIG_fail;
ae8162c8 30246 temp3 = true;
d55e5bfc
RD
30247 }
30248 if (obj3) {
30249 {
30250 arg4 = wxString_in_helper(obj3);
30251 if (arg4 == NULL) SWIG_fail;
ae8162c8 30252 temp4 = true;
d55e5bfc
RD
30253 }
30254 }
30255 if (obj4) {
c32bde28 30256 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
30257 if (PyErr_Occurred()) SWIG_fail;
30258 }
30259 {
30260 PyThreadState* __tstate = wxPyBeginAllowThreads();
30261 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
30262
30263 wxPyEndAllowThreads(__tstate);
30264 if (PyErr_Occurred()) SWIG_fail;
30265 }
30266 {
412d302d 30267 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30268 }
30269 {
30270 if (temp3)
30271 delete arg3;
30272 }
30273 {
30274 if (temp4)
30275 delete arg4;
30276 }
30277 return resultobj;
30278 fail:
30279 {
30280 if (temp3)
30281 delete arg3;
30282 }
30283 {
30284 if (temp4)
30285 delete arg4;
30286 }
30287 return NULL;
30288}
30289
30290
c32bde28 30291static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30292 PyObject *resultobj;
30293 wxMenu *arg1 = (wxMenu *) 0 ;
30294 wxMenuItem *result;
30295 PyObject * obj0 = 0 ;
30296 char *kwnames[] = {
30297 (char *) "self", NULL
30298 };
30299
30300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
30301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30303 {
30304 PyThreadState* __tstate = wxPyBeginAllowThreads();
30305 result = (wxMenuItem *)(arg1)->PrependSeparator();
30306
30307 wxPyEndAllowThreads(__tstate);
30308 if (PyErr_Occurred()) SWIG_fail;
30309 }
30310 {
412d302d 30311 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30312 }
30313 return resultobj;
30314 fail:
30315 return NULL;
30316}
30317
30318
c32bde28 30319static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30320 PyObject *resultobj;
30321 wxMenu *arg1 = (wxMenu *) 0 ;
30322 int arg2 ;
30323 wxString *arg3 = 0 ;
30324 wxString const &arg4_defvalue = wxPyEmptyString ;
30325 wxString *arg4 = (wxString *) &arg4_defvalue ;
30326 wxMenuItem *result;
ae8162c8
RD
30327 bool temp3 = false ;
30328 bool temp4 = false ;
d55e5bfc
RD
30329 PyObject * obj0 = 0 ;
30330 PyObject * obj1 = 0 ;
30331 PyObject * obj2 = 0 ;
30332 PyObject * obj3 = 0 ;
30333 char *kwnames[] = {
30334 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30335 };
30336
30337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30340 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30341 if (PyErr_Occurred()) SWIG_fail;
30342 {
30343 arg3 = wxString_in_helper(obj2);
30344 if (arg3 == NULL) SWIG_fail;
ae8162c8 30345 temp3 = true;
d55e5bfc
RD
30346 }
30347 if (obj3) {
30348 {
30349 arg4 = wxString_in_helper(obj3);
30350 if (arg4 == NULL) SWIG_fail;
ae8162c8 30351 temp4 = true;
d55e5bfc
RD
30352 }
30353 }
30354 {
30355 PyThreadState* __tstate = wxPyBeginAllowThreads();
30356 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30357
30358 wxPyEndAllowThreads(__tstate);
30359 if (PyErr_Occurred()) SWIG_fail;
30360 }
30361 {
412d302d 30362 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30363 }
30364 {
30365 if (temp3)
30366 delete arg3;
30367 }
30368 {
30369 if (temp4)
30370 delete arg4;
30371 }
30372 return resultobj;
30373 fail:
30374 {
30375 if (temp3)
30376 delete arg3;
30377 }
30378 {
30379 if (temp4)
30380 delete arg4;
30381 }
30382 return NULL;
30383}
30384
30385
c32bde28 30386static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30387 PyObject *resultobj;
30388 wxMenu *arg1 = (wxMenu *) 0 ;
30389 int arg2 ;
30390 wxString *arg3 = 0 ;
30391 wxString const &arg4_defvalue = wxPyEmptyString ;
30392 wxString *arg4 = (wxString *) &arg4_defvalue ;
30393 wxMenuItem *result;
ae8162c8
RD
30394 bool temp3 = false ;
30395 bool temp4 = false ;
d55e5bfc
RD
30396 PyObject * obj0 = 0 ;
30397 PyObject * obj1 = 0 ;
30398 PyObject * obj2 = 0 ;
30399 PyObject * obj3 = 0 ;
30400 char *kwnames[] = {
30401 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
30402 };
30403
30404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30407 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30408 if (PyErr_Occurred()) SWIG_fail;
30409 {
30410 arg3 = wxString_in_helper(obj2);
30411 if (arg3 == NULL) SWIG_fail;
ae8162c8 30412 temp3 = true;
d55e5bfc
RD
30413 }
30414 if (obj3) {
30415 {
30416 arg4 = wxString_in_helper(obj3);
30417 if (arg4 == NULL) SWIG_fail;
ae8162c8 30418 temp4 = true;
d55e5bfc
RD
30419 }
30420 }
30421 {
30422 PyThreadState* __tstate = wxPyBeginAllowThreads();
30423 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
30424
30425 wxPyEndAllowThreads(__tstate);
30426 if (PyErr_Occurred()) SWIG_fail;
30427 }
30428 {
412d302d 30429 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30430 }
30431 {
30432 if (temp3)
30433 delete arg3;
30434 }
30435 {
30436 if (temp4)
30437 delete arg4;
30438 }
30439 return resultobj;
30440 fail:
30441 {
30442 if (temp3)
30443 delete arg3;
30444 }
30445 {
30446 if (temp4)
30447 delete arg4;
30448 }
30449 return NULL;
30450}
30451
30452
c32bde28 30453static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30454 PyObject *resultobj;
30455 wxMenu *arg1 = (wxMenu *) 0 ;
30456 int arg2 ;
30457 wxString *arg3 = 0 ;
30458 wxMenu *arg4 = (wxMenu *) 0 ;
30459 wxString const &arg5_defvalue = wxPyEmptyString ;
30460 wxString *arg5 = (wxString *) &arg5_defvalue ;
30461 wxMenuItem *result;
ae8162c8
RD
30462 bool temp3 = false ;
30463 bool temp5 = false ;
d55e5bfc
RD
30464 PyObject * obj0 = 0 ;
30465 PyObject * obj1 = 0 ;
30466 PyObject * obj2 = 0 ;
30467 PyObject * obj3 = 0 ;
30468 PyObject * obj4 = 0 ;
30469 char *kwnames[] = {
30470 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
30471 };
30472
30473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30476 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30477 if (PyErr_Occurred()) SWIG_fail;
30478 {
30479 arg3 = wxString_in_helper(obj2);
30480 if (arg3 == NULL) SWIG_fail;
ae8162c8 30481 temp3 = true;
d55e5bfc
RD
30482 }
30483 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
30484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30485 if (obj4) {
30486 {
30487 arg5 = wxString_in_helper(obj4);
30488 if (arg5 == NULL) SWIG_fail;
ae8162c8 30489 temp5 = true;
d55e5bfc
RD
30490 }
30491 }
30492 {
30493 PyThreadState* __tstate = wxPyBeginAllowThreads();
30494 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
30495
30496 wxPyEndAllowThreads(__tstate);
30497 if (PyErr_Occurred()) SWIG_fail;
30498 }
30499 {
412d302d 30500 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30501 }
30502 {
30503 if (temp3)
30504 delete arg3;
30505 }
30506 {
30507 if (temp5)
30508 delete arg5;
30509 }
30510 return resultobj;
30511 fail:
30512 {
30513 if (temp3)
30514 delete arg3;
30515 }
30516 {
30517 if (temp5)
30518 delete arg5;
30519 }
30520 return NULL;
30521}
30522
30523
c32bde28 30524static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30525 PyObject *resultobj;
30526 wxMenu *arg1 = (wxMenu *) 0 ;
30527 int arg2 ;
30528 wxMenuItem *result;
30529 PyObject * obj0 = 0 ;
30530 PyObject * obj1 = 0 ;
30531 char *kwnames[] = {
30532 (char *) "self",(char *) "id", NULL
30533 };
30534
30535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
30536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30538 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30539 if (PyErr_Occurred()) SWIG_fail;
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 result = (wxMenuItem *)(arg1)->Remove(arg2);
30543
30544 wxPyEndAllowThreads(__tstate);
30545 if (PyErr_Occurred()) SWIG_fail;
30546 }
30547 {
412d302d 30548 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30549 }
30550 return resultobj;
30551 fail:
30552 return NULL;
30553}
30554
30555
c32bde28 30556static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30557 PyObject *resultobj;
30558 wxMenu *arg1 = (wxMenu *) 0 ;
30559 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30560 wxMenuItem *result;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 char *kwnames[] = {
30564 (char *) "self",(char *) "item", NULL
30565 };
30566
30567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
30568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 result = (wxMenuItem *)(arg1)->Remove(arg2);
30575
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 {
412d302d 30580 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30581 }
30582 return resultobj;
30583 fail:
30584 return NULL;
30585}
30586
30587
c32bde28 30588static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30589 PyObject *resultobj;
30590 wxMenu *arg1 = (wxMenu *) 0 ;
30591 int arg2 ;
30592 bool result;
30593 PyObject * obj0 = 0 ;
30594 PyObject * obj1 = 0 ;
30595 char *kwnames[] = {
30596 (char *) "self",(char *) "id", NULL
30597 };
30598
30599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
30600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30602 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30603 if (PyErr_Occurred()) SWIG_fail;
30604 {
30605 PyThreadState* __tstate = wxPyBeginAllowThreads();
30606 result = (bool)(arg1)->Delete(arg2);
30607
30608 wxPyEndAllowThreads(__tstate);
30609 if (PyErr_Occurred()) SWIG_fail;
30610 }
30611 {
30612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30613 }
30614 return resultobj;
30615 fail:
30616 return NULL;
30617}
30618
30619
c32bde28 30620static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30621 PyObject *resultobj;
30622 wxMenu *arg1 = (wxMenu *) 0 ;
30623 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30624 bool result;
30625 PyObject * obj0 = 0 ;
30626 PyObject * obj1 = 0 ;
30627 char *kwnames[] = {
30628 (char *) "self",(char *) "item", NULL
30629 };
30630
30631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
30632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30636 {
30637 PyThreadState* __tstate = wxPyBeginAllowThreads();
30638 result = (bool)(arg1)->Delete(arg2);
30639
30640 wxPyEndAllowThreads(__tstate);
30641 if (PyErr_Occurred()) SWIG_fail;
30642 }
30643 {
30644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30645 }
30646 return resultobj;
30647 fail:
30648 return NULL;
30649}
30650
30651
c32bde28 30652static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30653 PyObject *resultobj;
30654 wxMenu *arg1 = (wxMenu *) 0 ;
30655 PyObject * obj0 = 0 ;
30656 char *kwnames[] = {
30657 (char *) "self", NULL
30658 };
30659
30660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
30661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30663 {
30664 PyThreadState* __tstate = wxPyBeginAllowThreads();
30665 wxMenu_Destroy(arg1);
30666
30667 wxPyEndAllowThreads(__tstate);
30668 if (PyErr_Occurred()) SWIG_fail;
30669 }
30670 Py_INCREF(Py_None); resultobj = Py_None;
30671 return resultobj;
30672 fail:
30673 return NULL;
30674}
30675
30676
c32bde28 30677static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30678 PyObject *resultobj;
30679 wxMenu *arg1 = (wxMenu *) 0 ;
30680 int arg2 ;
30681 bool result;
30682 PyObject * obj0 = 0 ;
30683 PyObject * obj1 = 0 ;
30684 char *kwnames[] = {
30685 (char *) "self",(char *) "id", NULL
30686 };
30687
30688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
30689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30691 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30692 if (PyErr_Occurred()) SWIG_fail;
30693 {
30694 PyThreadState* __tstate = wxPyBeginAllowThreads();
30695 result = (bool)(arg1)->Destroy(arg2);
30696
30697 wxPyEndAllowThreads(__tstate);
30698 if (PyErr_Occurred()) SWIG_fail;
30699 }
30700 {
30701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30702 }
30703 return resultobj;
30704 fail:
30705 return NULL;
30706}
30707
30708
c32bde28 30709static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30710 PyObject *resultobj;
30711 wxMenu *arg1 = (wxMenu *) 0 ;
30712 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30713 bool result;
30714 PyObject * obj0 = 0 ;
30715 PyObject * obj1 = 0 ;
30716 char *kwnames[] = {
30717 (char *) "self",(char *) "item", NULL
30718 };
30719
30720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
30721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30725 {
30726 PyThreadState* __tstate = wxPyBeginAllowThreads();
30727 result = (bool)(arg1)->Destroy(arg2);
30728
30729 wxPyEndAllowThreads(__tstate);
30730 if (PyErr_Occurred()) SWIG_fail;
30731 }
30732 {
30733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30734 }
30735 return resultobj;
30736 fail:
30737 return NULL;
30738}
30739
30740
c32bde28 30741static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30742 PyObject *resultobj;
30743 wxMenu *arg1 = (wxMenu *) 0 ;
30744 size_t result;
30745 PyObject * obj0 = 0 ;
30746 char *kwnames[] = {
30747 (char *) "self", NULL
30748 };
30749
30750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
30751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30753 {
30754 PyThreadState* __tstate = wxPyBeginAllowThreads();
30755 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
30756
30757 wxPyEndAllowThreads(__tstate);
30758 if (PyErr_Occurred()) SWIG_fail;
30759 }
c32bde28 30760 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
30761 return resultobj;
30762 fail:
30763 return NULL;
30764}
30765
30766
c32bde28 30767static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30768 PyObject *resultobj;
30769 wxMenu *arg1 = (wxMenu *) 0 ;
30770 PyObject *result;
30771 PyObject * obj0 = 0 ;
30772 char *kwnames[] = {
30773 (char *) "self", NULL
30774 };
30775
30776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
30777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30779 {
30780 PyThreadState* __tstate = wxPyBeginAllowThreads();
30781 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30782
30783 wxPyEndAllowThreads(__tstate);
30784 if (PyErr_Occurred()) SWIG_fail;
30785 }
30786 resultobj = result;
30787 return resultobj;
30788 fail:
30789 return NULL;
30790}
30791
30792
c32bde28 30793static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30794 PyObject *resultobj;
30795 wxMenu *arg1 = (wxMenu *) 0 ;
30796 wxString *arg2 = 0 ;
30797 int result;
ae8162c8 30798 bool temp2 = false ;
d55e5bfc
RD
30799 PyObject * obj0 = 0 ;
30800 PyObject * obj1 = 0 ;
30801 char *kwnames[] = {
30802 (char *) "self",(char *) "item", NULL
30803 };
30804
30805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
30806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30808 {
30809 arg2 = wxString_in_helper(obj1);
30810 if (arg2 == NULL) SWIG_fail;
ae8162c8 30811 temp2 = true;
d55e5bfc
RD
30812 }
30813 {
30814 PyThreadState* __tstate = wxPyBeginAllowThreads();
30815 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30816
30817 wxPyEndAllowThreads(__tstate);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
c32bde28 30820 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
30821 {
30822 if (temp2)
30823 delete arg2;
30824 }
30825 return resultobj;
30826 fail:
30827 {
30828 if (temp2)
30829 delete arg2;
30830 }
30831 return NULL;
30832}
30833
30834
c32bde28 30835static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30836 PyObject *resultobj;
30837 wxMenu *arg1 = (wxMenu *) 0 ;
30838 int arg2 ;
30839 wxMenuItem *result;
30840 PyObject * obj0 = 0 ;
30841 PyObject * obj1 = 0 ;
30842 char *kwnames[] = {
30843 (char *) "self",(char *) "id", NULL
30844 };
30845
30846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
30847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30849 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30850 if (PyErr_Occurred()) SWIG_fail;
30851 {
30852 PyThreadState* __tstate = wxPyBeginAllowThreads();
30853 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30854
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
30858 {
412d302d 30859 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30860 }
30861 return resultobj;
30862 fail:
30863 return NULL;
30864}
30865
30866
c32bde28 30867static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30868 PyObject *resultobj;
30869 wxMenu *arg1 = (wxMenu *) 0 ;
30870 size_t arg2 ;
30871 wxMenuItem *result;
30872 PyObject * obj0 = 0 ;
30873 PyObject * obj1 = 0 ;
30874 char *kwnames[] = {
30875 (char *) "self",(char *) "position", NULL
30876 };
30877
30878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
30879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30881 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
30882 if (PyErr_Occurred()) SWIG_fail;
30883 {
30884 PyThreadState* __tstate = wxPyBeginAllowThreads();
30885 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30886
30887 wxPyEndAllowThreads(__tstate);
30888 if (PyErr_Occurred()) SWIG_fail;
30889 }
30890 {
412d302d 30891 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30892 }
30893 return resultobj;
30894 fail:
30895 return NULL;
30896}
30897
30898
c32bde28 30899static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30900 PyObject *resultobj;
30901 wxMenu *arg1 = (wxMenu *) 0 ;
30902 int arg2 ;
30903 bool arg3 ;
30904 PyObject * obj0 = 0 ;
30905 PyObject * obj1 = 0 ;
30906 PyObject * obj2 = 0 ;
30907 char *kwnames[] = {
30908 (char *) "self",(char *) "id",(char *) "enable", NULL
30909 };
30910
30911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
30912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30914 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 30915 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30916 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
30917 if (PyErr_Occurred()) SWIG_fail;
30918 {
30919 PyThreadState* __tstate = wxPyBeginAllowThreads();
30920 (arg1)->Enable(arg2,arg3);
30921
30922 wxPyEndAllowThreads(__tstate);
30923 if (PyErr_Occurred()) SWIG_fail;
30924 }
30925 Py_INCREF(Py_None); resultobj = Py_None;
30926 return resultobj;
30927 fail:
30928 return NULL;
30929}
30930
30931
c32bde28 30932static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30933 PyObject *resultobj;
30934 wxMenu *arg1 = (wxMenu *) 0 ;
30935 int arg2 ;
30936 bool result;
30937 PyObject * obj0 = 0 ;
30938 PyObject * obj1 = 0 ;
30939 char *kwnames[] = {
30940 (char *) "self",(char *) "id", NULL
30941 };
30942
30943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
30944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30946 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
30947 if (PyErr_Occurred()) SWIG_fail;
30948 {
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30951
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
30955 {
30956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30957 }
30958 return resultobj;
30959 fail:
30960 return NULL;
30961}
30962
30963
c32bde28 30964static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30965 PyObject *resultobj;
30966 wxMenu *arg1 = (wxMenu *) 0 ;
30967 int arg2 ;
30968 bool arg3 ;
30969 PyObject * obj0 = 0 ;
30970 PyObject * obj1 = 0 ;
30971 PyObject * obj2 = 0 ;
30972 char *kwnames[] = {
30973 (char *) "self",(char *) "id",(char *) "check", NULL
30974 };
30975
30976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
30977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30979 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 30980 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30981 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
30982 if (PyErr_Occurred()) SWIG_fail;
30983 {
30984 PyThreadState* __tstate = wxPyBeginAllowThreads();
30985 (arg1)->Check(arg2,arg3);
30986
30987 wxPyEndAllowThreads(__tstate);
30988 if (PyErr_Occurred()) SWIG_fail;
30989 }
30990 Py_INCREF(Py_None); resultobj = Py_None;
30991 return resultobj;
30992 fail:
30993 return NULL;
30994}
30995
30996
c32bde28 30997static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30998 PyObject *resultobj;
30999 wxMenu *arg1 = (wxMenu *) 0 ;
31000 int arg2 ;
31001 bool result;
31002 PyObject * obj0 = 0 ;
31003 PyObject * obj1 = 0 ;
31004 char *kwnames[] = {
31005 (char *) "self",(char *) "id", NULL
31006 };
31007
31008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
31009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31011 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
31012 if (PyErr_Occurred()) SWIG_fail;
31013 {
31014 PyThreadState* __tstate = wxPyBeginAllowThreads();
31015 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
31016
31017 wxPyEndAllowThreads(__tstate);
31018 if (PyErr_Occurred()) SWIG_fail;
31019 }
31020 {
31021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31022 }
31023 return resultobj;
31024 fail:
31025 return NULL;
31026}
31027
31028
c32bde28 31029static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31030 PyObject *resultobj;
31031 wxMenu *arg1 = (wxMenu *) 0 ;
31032 int arg2 ;
31033 wxString *arg3 = 0 ;
ae8162c8 31034 bool temp3 = false ;
d55e5bfc
RD
31035 PyObject * obj0 = 0 ;
31036 PyObject * obj1 = 0 ;
31037 PyObject * obj2 = 0 ;
31038 char *kwnames[] = {
31039 (char *) "self",(char *) "id",(char *) "label", NULL
31040 };
31041
31042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
31043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31045 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
31046 if (PyErr_Occurred()) SWIG_fail;
31047 {
31048 arg3 = wxString_in_helper(obj2);
31049 if (arg3 == NULL) SWIG_fail;
ae8162c8 31050 temp3 = true;
d55e5bfc
RD
31051 }
31052 {
31053 PyThreadState* __tstate = wxPyBeginAllowThreads();
31054 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31055
31056 wxPyEndAllowThreads(__tstate);
31057 if (PyErr_Occurred()) SWIG_fail;
31058 }
31059 Py_INCREF(Py_None); resultobj = Py_None;
31060 {
31061 if (temp3)
31062 delete arg3;
31063 }
31064 return resultobj;
31065 fail:
31066 {
31067 if (temp3)
31068 delete arg3;
31069 }
31070 return NULL;
31071}
31072
31073
c32bde28 31074static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31075 PyObject *resultobj;
31076 wxMenu *arg1 = (wxMenu *) 0 ;
31077 int arg2 ;
31078 wxString result;
31079 PyObject * obj0 = 0 ;
31080 PyObject * obj1 = 0 ;
31081 char *kwnames[] = {
31082 (char *) "self",(char *) "id", NULL
31083 };
31084
31085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
31086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31088 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
31089 if (PyErr_Occurred()) SWIG_fail;
31090 {
31091 PyThreadState* __tstate = wxPyBeginAllowThreads();
31092 result = ((wxMenu const *)arg1)->GetLabel(arg2);
31093
31094 wxPyEndAllowThreads(__tstate);
31095 if (PyErr_Occurred()) SWIG_fail;
31096 }
31097 {
31098#if wxUSE_UNICODE
31099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31100#else
31101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31102#endif
31103 }
31104 return resultobj;
31105 fail:
31106 return NULL;
31107}
31108
31109
c32bde28 31110static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31111 PyObject *resultobj;
31112 wxMenu *arg1 = (wxMenu *) 0 ;
31113 int arg2 ;
31114 wxString *arg3 = 0 ;
ae8162c8 31115 bool temp3 = false ;
d55e5bfc
RD
31116 PyObject * obj0 = 0 ;
31117 PyObject * obj1 = 0 ;
31118 PyObject * obj2 = 0 ;
31119 char *kwnames[] = {
31120 (char *) "self",(char *) "id",(char *) "helpString", NULL
31121 };
31122
31123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
31124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31126 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
31127 if (PyErr_Occurred()) SWIG_fail;
31128 {
31129 arg3 = wxString_in_helper(obj2);
31130 if (arg3 == NULL) SWIG_fail;
ae8162c8 31131 temp3 = true;
d55e5bfc
RD
31132 }
31133 {
31134 PyThreadState* __tstate = wxPyBeginAllowThreads();
31135 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31136
31137 wxPyEndAllowThreads(__tstate);
31138 if (PyErr_Occurred()) SWIG_fail;
31139 }
31140 Py_INCREF(Py_None); resultobj = Py_None;
31141 {
31142 if (temp3)
31143 delete arg3;
31144 }
31145 return resultobj;
31146 fail:
31147 {
31148 if (temp3)
31149 delete arg3;
31150 }
31151 return NULL;
31152}
31153
31154
c32bde28 31155static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31156 PyObject *resultobj;
31157 wxMenu *arg1 = (wxMenu *) 0 ;
31158 int arg2 ;
31159 wxString result;
31160 PyObject * obj0 = 0 ;
31161 PyObject * obj1 = 0 ;
31162 char *kwnames[] = {
31163 (char *) "self",(char *) "id", NULL
31164 };
31165
31166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
31167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31169 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
31170 if (PyErr_Occurred()) SWIG_fail;
31171 {
31172 PyThreadState* __tstate = wxPyBeginAllowThreads();
31173 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
31174
31175 wxPyEndAllowThreads(__tstate);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 }
31178 {
31179#if wxUSE_UNICODE
31180 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31181#else
31182 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31183#endif
31184 }
31185 return resultobj;
31186 fail:
31187 return NULL;
31188}
31189
31190
c32bde28 31191static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31192 PyObject *resultobj;
31193 wxMenu *arg1 = (wxMenu *) 0 ;
31194 wxString *arg2 = 0 ;
ae8162c8 31195 bool temp2 = false ;
d55e5bfc
RD
31196 PyObject * obj0 = 0 ;
31197 PyObject * obj1 = 0 ;
31198 char *kwnames[] = {
31199 (char *) "self",(char *) "title", NULL
31200 };
31201
31202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
31203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31205 {
31206 arg2 = wxString_in_helper(obj1);
31207 if (arg2 == NULL) SWIG_fail;
ae8162c8 31208 temp2 = true;
d55e5bfc
RD
31209 }
31210 {
31211 PyThreadState* __tstate = wxPyBeginAllowThreads();
31212 (arg1)->SetTitle((wxString const &)*arg2);
31213
31214 wxPyEndAllowThreads(__tstate);
31215 if (PyErr_Occurred()) SWIG_fail;
31216 }
31217 Py_INCREF(Py_None); resultobj = Py_None;
31218 {
31219 if (temp2)
31220 delete arg2;
31221 }
31222 return resultobj;
31223 fail:
31224 {
31225 if (temp2)
31226 delete arg2;
31227 }
31228 return NULL;
31229}
31230
31231
c32bde28 31232static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31233 PyObject *resultobj;
31234 wxMenu *arg1 = (wxMenu *) 0 ;
31235 wxString result;
31236 PyObject * obj0 = 0 ;
31237 char *kwnames[] = {
31238 (char *) "self", NULL
31239 };
31240
31241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
31242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31244 {
31245 PyThreadState* __tstate = wxPyBeginAllowThreads();
31246 result = ((wxMenu const *)arg1)->GetTitle();
31247
31248 wxPyEndAllowThreads(__tstate);
31249 if (PyErr_Occurred()) SWIG_fail;
31250 }
31251 {
31252#if wxUSE_UNICODE
31253 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31254#else
31255 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31256#endif
31257 }
31258 return resultobj;
31259 fail:
31260 return NULL;
31261}
31262
31263
c32bde28 31264static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31265 PyObject *resultobj;
31266 wxMenu *arg1 = (wxMenu *) 0 ;
31267 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
31268 PyObject * obj0 = 0 ;
31269 PyObject * obj1 = 0 ;
31270 char *kwnames[] = {
31271 (char *) "self",(char *) "handler", NULL
31272 };
31273
31274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
31275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
31278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31279 {
31280 PyThreadState* __tstate = wxPyBeginAllowThreads();
31281 (arg1)->SetEventHandler(arg2);
31282
31283 wxPyEndAllowThreads(__tstate);
31284 if (PyErr_Occurred()) SWIG_fail;
31285 }
31286 Py_INCREF(Py_None); resultobj = Py_None;
31287 return resultobj;
31288 fail:
31289 return NULL;
31290}
31291
31292
c32bde28 31293static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31294 PyObject *resultobj;
31295 wxMenu *arg1 = (wxMenu *) 0 ;
31296 wxEvtHandler *result;
31297 PyObject * obj0 = 0 ;
31298 char *kwnames[] = {
31299 (char *) "self", NULL
31300 };
31301
31302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
31303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31305 {
31306 PyThreadState* __tstate = wxPyBeginAllowThreads();
31307 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
31308
31309 wxPyEndAllowThreads(__tstate);
31310 if (PyErr_Occurred()) SWIG_fail;
31311 }
31312 {
412d302d 31313 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31314 }
31315 return resultobj;
31316 fail:
31317 return NULL;
31318}
31319
31320
c32bde28 31321static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31322 PyObject *resultobj;
31323 wxMenu *arg1 = (wxMenu *) 0 ;
31324 wxWindow *arg2 = (wxWindow *) 0 ;
31325 PyObject * obj0 = 0 ;
31326 PyObject * obj1 = 0 ;
31327 char *kwnames[] = {
31328 (char *) "self",(char *) "win", NULL
31329 };
31330
31331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
31332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31336 {
31337 PyThreadState* __tstate = wxPyBeginAllowThreads();
31338 (arg1)->SetInvokingWindow(arg2);
31339
31340 wxPyEndAllowThreads(__tstate);
31341 if (PyErr_Occurred()) SWIG_fail;
31342 }
31343 Py_INCREF(Py_None); resultobj = Py_None;
31344 return resultobj;
31345 fail:
31346 return NULL;
31347}
31348
31349
c32bde28 31350static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31351 PyObject *resultobj;
31352 wxMenu *arg1 = (wxMenu *) 0 ;
31353 wxWindow *result;
31354 PyObject * obj0 = 0 ;
31355 char *kwnames[] = {
31356 (char *) "self", NULL
31357 };
31358
31359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
31360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31362 {
31363 PyThreadState* __tstate = wxPyBeginAllowThreads();
31364 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
31365
31366 wxPyEndAllowThreads(__tstate);
31367 if (PyErr_Occurred()) SWIG_fail;
31368 }
31369 {
412d302d 31370 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31371 }
31372 return resultobj;
31373 fail:
31374 return NULL;
31375}
31376
31377
c32bde28 31378static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31379 PyObject *resultobj;
31380 wxMenu *arg1 = (wxMenu *) 0 ;
31381 long result;
31382 PyObject * obj0 = 0 ;
31383 char *kwnames[] = {
31384 (char *) "self", NULL
31385 };
31386
31387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
31388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31390 {
31391 PyThreadState* __tstate = wxPyBeginAllowThreads();
31392 result = (long)((wxMenu const *)arg1)->GetStyle();
31393
31394 wxPyEndAllowThreads(__tstate);
31395 if (PyErr_Occurred()) SWIG_fail;
31396 }
c32bde28 31397 resultobj = SWIG_From_long((long)result);
d55e5bfc
RD
31398 return resultobj;
31399 fail:
31400 return NULL;
31401}
31402
31403
c32bde28 31404static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31405 PyObject *resultobj;
31406 wxMenu *arg1 = (wxMenu *) 0 ;
31407 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
31408 PyObject * obj0 = 0 ;
31409 PyObject * obj1 = 0 ;
31410 char *kwnames[] = {
31411 (char *) "self",(char *) "source", NULL
31412 };
31413
31414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
31415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31417 if (obj1) {
31418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
31419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31420 }
31421 {
31422 PyThreadState* __tstate = wxPyBeginAllowThreads();
31423 (arg1)->UpdateUI(arg2);
31424
31425 wxPyEndAllowThreads(__tstate);
31426 if (PyErr_Occurred()) SWIG_fail;
31427 }
31428 Py_INCREF(Py_None); resultobj = Py_None;
31429 return resultobj;
31430 fail:
31431 return NULL;
31432}
31433
31434
c32bde28 31435static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31436 PyObject *resultobj;
31437 wxMenu *arg1 = (wxMenu *) 0 ;
31438 wxMenuBar *result;
31439 PyObject * obj0 = 0 ;
31440 char *kwnames[] = {
31441 (char *) "self", NULL
31442 };
31443
31444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
31445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31447 {
31448 PyThreadState* __tstate = wxPyBeginAllowThreads();
31449 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
31450
31451 wxPyEndAllowThreads(__tstate);
31452 if (PyErr_Occurred()) SWIG_fail;
31453 }
31454 {
412d302d 31455 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31456 }
31457 return resultobj;
31458 fail:
31459 return NULL;
31460}
31461
31462
c32bde28 31463static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31464 PyObject *resultobj;
31465 wxMenu *arg1 = (wxMenu *) 0 ;
31466 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
31467 PyObject * obj0 = 0 ;
31468 PyObject * obj1 = 0 ;
31469 char *kwnames[] = {
31470 (char *) "self",(char *) "menubar", NULL
31471 };
31472
31473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
31474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
31477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31478 {
31479 PyThreadState* __tstate = wxPyBeginAllowThreads();
31480 (arg1)->Attach(arg2);
31481
31482 wxPyEndAllowThreads(__tstate);
31483 if (PyErr_Occurred()) SWIG_fail;
31484 }
31485 Py_INCREF(Py_None); resultobj = Py_None;
31486 return resultobj;
31487 fail:
31488 return NULL;
31489}
31490
31491
c32bde28 31492static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31493 PyObject *resultobj;
31494 wxMenu *arg1 = (wxMenu *) 0 ;
31495 PyObject * obj0 = 0 ;
31496 char *kwnames[] = {
31497 (char *) "self", NULL
31498 };
31499
31500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
31501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31503 {
31504 PyThreadState* __tstate = wxPyBeginAllowThreads();
31505 (arg1)->Detach();
31506
31507 wxPyEndAllowThreads(__tstate);
31508 if (PyErr_Occurred()) SWIG_fail;
31509 }
31510 Py_INCREF(Py_None); resultobj = Py_None;
31511 return resultobj;
31512 fail:
31513 return NULL;
31514}
31515
31516
c32bde28 31517static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31518 PyObject *resultobj;
31519 wxMenu *arg1 = (wxMenu *) 0 ;
31520 bool result;
31521 PyObject * obj0 = 0 ;
31522 char *kwnames[] = {
31523 (char *) "self", NULL
31524 };
31525
31526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
31527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31529 {
31530 PyThreadState* __tstate = wxPyBeginAllowThreads();
31531 result = (bool)((wxMenu const *)arg1)->IsAttached();
31532
31533 wxPyEndAllowThreads(__tstate);
31534 if (PyErr_Occurred()) SWIG_fail;
31535 }
31536 {
31537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31538 }
31539 return resultobj;
31540 fail:
31541 return NULL;
31542}
31543
31544
c32bde28 31545static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31546 PyObject *resultobj;
31547 wxMenu *arg1 = (wxMenu *) 0 ;
31548 wxMenu *arg2 = (wxMenu *) 0 ;
31549 PyObject * obj0 = 0 ;
31550 PyObject * obj1 = 0 ;
31551 char *kwnames[] = {
31552 (char *) "self",(char *) "parent", NULL
31553 };
31554
31555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
31556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31558 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31560 {
31561 PyThreadState* __tstate = wxPyBeginAllowThreads();
31562 (arg1)->SetParent(arg2);
31563
31564 wxPyEndAllowThreads(__tstate);
31565 if (PyErr_Occurred()) SWIG_fail;
31566 }
31567 Py_INCREF(Py_None); resultobj = Py_None;
31568 return resultobj;
31569 fail:
31570 return NULL;
31571}
31572
31573
c32bde28 31574static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31575 PyObject *resultobj;
31576 wxMenu *arg1 = (wxMenu *) 0 ;
31577 wxMenu *result;
31578 PyObject * obj0 = 0 ;
31579 char *kwnames[] = {
31580 (char *) "self", NULL
31581 };
31582
31583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
31584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31586 {
31587 PyThreadState* __tstate = wxPyBeginAllowThreads();
31588 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
31589
31590 wxPyEndAllowThreads(__tstate);
31591 if (PyErr_Occurred()) SWIG_fail;
31592 }
31593 {
412d302d 31594 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31595 }
31596 return resultobj;
31597 fail:
31598 return NULL;
31599}
31600
31601
c32bde28 31602static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31603 PyObject *obj;
31604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31605 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
31606 Py_INCREF(obj);
31607 return Py_BuildValue((char *)"");
31608}
c32bde28 31609static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31610 PyObject *resultobj;
31611 long arg1 = (long) 0 ;
31612 wxMenuBar *result;
31613 PyObject * obj0 = 0 ;
31614 char *kwnames[] = {
31615 (char *) "style", NULL
31616 };
31617
31618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
31619 if (obj0) {
c32bde28 31620 arg1 = (long)SWIG_As_long(obj0);
d55e5bfc
RD
31621 if (PyErr_Occurred()) SWIG_fail;
31622 }
31623 {
0439c23b 31624 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 result = (wxMenuBar *)new wxMenuBar(arg1);
31627
31628 wxPyEndAllowThreads(__tstate);
110da5b0 31629 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 31630 }
b0f7404b 31631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
d55e5bfc
RD
31632 return resultobj;
31633 fail:
31634 return NULL;
31635}
31636
31637
c32bde28 31638static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31639 PyObject *resultobj;
31640 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31641 wxMenu *arg2 = (wxMenu *) 0 ;
31642 wxString *arg3 = 0 ;
31643 bool result;
ae8162c8 31644 bool temp3 = false ;
d55e5bfc
RD
31645 PyObject * obj0 = 0 ;
31646 PyObject * obj1 = 0 ;
31647 PyObject * obj2 = 0 ;
31648 char *kwnames[] = {
31649 (char *) "self",(char *) "menu",(char *) "title", NULL
31650 };
31651
31652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
31653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31657 {
31658 arg3 = wxString_in_helper(obj2);
31659 if (arg3 == NULL) SWIG_fail;
ae8162c8 31660 temp3 = true;
d55e5bfc
RD
31661 }
31662 {
31663 PyThreadState* __tstate = wxPyBeginAllowThreads();
31664 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
31665
31666 wxPyEndAllowThreads(__tstate);
31667 if (PyErr_Occurred()) SWIG_fail;
31668 }
31669 {
31670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31671 }
31672 {
31673 if (temp3)
31674 delete arg3;
31675 }
31676 return resultobj;
31677 fail:
31678 {
31679 if (temp3)
31680 delete arg3;
31681 }
31682 return NULL;
31683}
31684
31685
c32bde28 31686static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31687 PyObject *resultobj;
31688 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31689 size_t arg2 ;
31690 wxMenu *arg3 = (wxMenu *) 0 ;
31691 wxString *arg4 = 0 ;
31692 bool result;
ae8162c8 31693 bool temp4 = false ;
d55e5bfc
RD
31694 PyObject * obj0 = 0 ;
31695 PyObject * obj1 = 0 ;
31696 PyObject * obj2 = 0 ;
31697 PyObject * obj3 = 0 ;
31698 char *kwnames[] = {
31699 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31700 };
31701
31702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31705 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
31706 if (PyErr_Occurred()) SWIG_fail;
31707 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31709 {
31710 arg4 = wxString_in_helper(obj3);
31711 if (arg4 == NULL) SWIG_fail;
ae8162c8 31712 temp4 = true;
d55e5bfc
RD
31713 }
31714 {
31715 PyThreadState* __tstate = wxPyBeginAllowThreads();
31716 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
31717
31718 wxPyEndAllowThreads(__tstate);
31719 if (PyErr_Occurred()) SWIG_fail;
31720 }
31721 {
31722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31723 }
31724 {
31725 if (temp4)
31726 delete arg4;
31727 }
31728 return resultobj;
31729 fail:
31730 {
31731 if (temp4)
31732 delete arg4;
31733 }
31734 return NULL;
31735}
31736
31737
c32bde28 31738static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31739 PyObject *resultobj;
31740 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31741 size_t result;
31742 PyObject * obj0 = 0 ;
31743 char *kwnames[] = {
31744 (char *) "self", NULL
31745 };
31746
31747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
31748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31750 {
31751 PyThreadState* __tstate = wxPyBeginAllowThreads();
31752 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
31753
31754 wxPyEndAllowThreads(__tstate);
31755 if (PyErr_Occurred()) SWIG_fail;
31756 }
c32bde28 31757 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d55e5bfc
RD
31758 return resultobj;
31759 fail:
31760 return NULL;
31761}
31762
31763
c32bde28 31764static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31765 PyObject *resultobj;
31766 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31767 size_t arg2 ;
31768 wxMenu *result;
31769 PyObject * obj0 = 0 ;
31770 PyObject * obj1 = 0 ;
31771 char *kwnames[] = {
31772 (char *) "self",(char *) "pos", NULL
31773 };
31774
31775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
31776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31778 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
31779 if (PyErr_Occurred()) SWIG_fail;
31780 {
31781 PyThreadState* __tstate = wxPyBeginAllowThreads();
31782 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31783
31784 wxPyEndAllowThreads(__tstate);
31785 if (PyErr_Occurred()) SWIG_fail;
31786 }
31787 {
412d302d 31788 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31789 }
31790 return resultobj;
31791 fail:
31792 return NULL;
31793}
31794
31795
c32bde28 31796static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31797 PyObject *resultobj;
31798 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31799 size_t arg2 ;
31800 wxMenu *arg3 = (wxMenu *) 0 ;
31801 wxString *arg4 = 0 ;
31802 wxMenu *result;
ae8162c8 31803 bool temp4 = false ;
d55e5bfc
RD
31804 PyObject * obj0 = 0 ;
31805 PyObject * obj1 = 0 ;
31806 PyObject * obj2 = 0 ;
31807 PyObject * obj3 = 0 ;
31808 char *kwnames[] = {
31809 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31810 };
31811
31812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31815 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
31816 if (PyErr_Occurred()) SWIG_fail;
31817 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31819 {
31820 arg4 = wxString_in_helper(obj3);
31821 if (arg4 == NULL) SWIG_fail;
ae8162c8 31822 temp4 = true;
d55e5bfc
RD
31823 }
31824 {
31825 PyThreadState* __tstate = wxPyBeginAllowThreads();
31826 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31827
31828 wxPyEndAllowThreads(__tstate);
31829 if (PyErr_Occurred()) SWIG_fail;
31830 }
31831 {
412d302d 31832 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31833 }
31834 {
31835 if (temp4)
31836 delete arg4;
31837 }
31838 return resultobj;
31839 fail:
31840 {
31841 if (temp4)
31842 delete arg4;
31843 }
31844 return NULL;
31845}
31846
31847
c32bde28 31848static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31849 PyObject *resultobj;
31850 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31851 size_t arg2 ;
31852 wxMenu *result;
31853 PyObject * obj0 = 0 ;
31854 PyObject * obj1 = 0 ;
31855 char *kwnames[] = {
31856 (char *) "self",(char *) "pos", NULL
31857 };
31858
31859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
31860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31862 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
31863 if (PyErr_Occurred()) SWIG_fail;
31864 {
31865 PyThreadState* __tstate = wxPyBeginAllowThreads();
31866 result = (wxMenu *)(arg1)->Remove(arg2);
31867
31868 wxPyEndAllowThreads(__tstate);
31869 if (PyErr_Occurred()) SWIG_fail;
31870 }
31871 {
412d302d 31872 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31873 }
31874 return resultobj;
31875 fail:
31876 return NULL;
31877}
31878
31879
c32bde28 31880static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31881 PyObject *resultobj;
31882 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31883 size_t arg2 ;
31884 bool arg3 ;
31885 PyObject * obj0 = 0 ;
31886 PyObject * obj1 = 0 ;
31887 PyObject * obj2 = 0 ;
31888 char *kwnames[] = {
31889 (char *) "self",(char *) "pos",(char *) "enable", NULL
31890 };
31891
31892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
31893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31895 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc 31896 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31897 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
31898 if (PyErr_Occurred()) SWIG_fail;
31899 {
31900 PyThreadState* __tstate = wxPyBeginAllowThreads();
31901 (arg1)->EnableTop(arg2,arg3);
31902
31903 wxPyEndAllowThreads(__tstate);
31904 if (PyErr_Occurred()) SWIG_fail;
31905 }
31906 Py_INCREF(Py_None); resultobj = Py_None;
31907 return resultobj;
31908 fail:
31909 return NULL;
31910}
31911
31912
c32bde28 31913static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31914 PyObject *resultobj;
31915 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31916 size_t arg2 ;
31917 bool result;
31918 PyObject * obj0 = 0 ;
31919 PyObject * obj1 = 0 ;
31920 char *kwnames[] = {
31921 (char *) "self",(char *) "pos", NULL
31922 };
31923
31924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
31925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31927 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
31928 if (PyErr_Occurred()) SWIG_fail;
31929 {
31930 PyThreadState* __tstate = wxPyBeginAllowThreads();
31931 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31932
31933 wxPyEndAllowThreads(__tstate);
31934 if (PyErr_Occurred()) SWIG_fail;
31935 }
31936 {
31937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31938 }
31939 return resultobj;
31940 fail:
31941 return NULL;
31942}
31943
31944
c32bde28 31945static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31946 PyObject *resultobj;
31947 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31948 size_t arg2 ;
31949 wxString *arg3 = 0 ;
ae8162c8 31950 bool temp3 = false ;
d55e5bfc
RD
31951 PyObject * obj0 = 0 ;
31952 PyObject * obj1 = 0 ;
31953 PyObject * obj2 = 0 ;
31954 char *kwnames[] = {
31955 (char *) "self",(char *) "pos",(char *) "label", NULL
31956 };
31957
31958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
31959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31961 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
31962 if (PyErr_Occurred()) SWIG_fail;
31963 {
31964 arg3 = wxString_in_helper(obj2);
31965 if (arg3 == NULL) SWIG_fail;
ae8162c8 31966 temp3 = true;
d55e5bfc
RD
31967 }
31968 {
31969 PyThreadState* __tstate = wxPyBeginAllowThreads();
31970 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31971
31972 wxPyEndAllowThreads(__tstate);
31973 if (PyErr_Occurred()) SWIG_fail;
31974 }
31975 Py_INCREF(Py_None); resultobj = Py_None;
31976 {
31977 if (temp3)
31978 delete arg3;
31979 }
31980 return resultobj;
31981 fail:
31982 {
31983 if (temp3)
31984 delete arg3;
31985 }
31986 return NULL;
31987}
31988
31989
c32bde28 31990static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31991 PyObject *resultobj;
31992 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31993 size_t arg2 ;
31994 wxString result;
31995 PyObject * obj0 = 0 ;
31996 PyObject * obj1 = 0 ;
31997 char *kwnames[] = {
31998 (char *) "self",(char *) "pos", NULL
31999 };
32000
32001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
32002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32004 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
32005 if (PyErr_Occurred()) SWIG_fail;
32006 {
32007 PyThreadState* __tstate = wxPyBeginAllowThreads();
32008 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
32009
32010 wxPyEndAllowThreads(__tstate);
32011 if (PyErr_Occurred()) SWIG_fail;
32012 }
32013 {
32014#if wxUSE_UNICODE
32015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32016#else
32017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32018#endif
32019 }
32020 return resultobj;
32021 fail:
32022 return NULL;
32023}
32024
32025
c32bde28 32026static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32027 PyObject *resultobj;
32028 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32029 wxString *arg2 = 0 ;
32030 wxString *arg3 = 0 ;
32031 int result;
ae8162c8
RD
32032 bool temp2 = false ;
32033 bool temp3 = false ;
d55e5bfc
RD
32034 PyObject * obj0 = 0 ;
32035 PyObject * obj1 = 0 ;
32036 PyObject * obj2 = 0 ;
32037 char *kwnames[] = {
32038 (char *) "self",(char *) "menu",(char *) "item", NULL
32039 };
32040
32041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
32042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32044 {
32045 arg2 = wxString_in_helper(obj1);
32046 if (arg2 == NULL) SWIG_fail;
ae8162c8 32047 temp2 = true;
d55e5bfc
RD
32048 }
32049 {
32050 arg3 = wxString_in_helper(obj2);
32051 if (arg3 == NULL) SWIG_fail;
ae8162c8 32052 temp3 = true;
d55e5bfc
RD
32053 }
32054 {
32055 PyThreadState* __tstate = wxPyBeginAllowThreads();
32056 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
32057
32058 wxPyEndAllowThreads(__tstate);
32059 if (PyErr_Occurred()) SWIG_fail;
32060 }
c32bde28 32061 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
32062 {
32063 if (temp2)
32064 delete arg2;
32065 }
32066 {
32067 if (temp3)
32068 delete arg3;
32069 }
32070 return resultobj;
32071 fail:
32072 {
32073 if (temp2)
32074 delete arg2;
32075 }
32076 {
32077 if (temp3)
32078 delete arg3;
32079 }
32080 return NULL;
32081}
32082
32083
c32bde28 32084static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32085 PyObject *resultobj;
32086 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32087 int arg2 ;
32088 wxMenuItem *result;
32089 PyObject * obj0 = 0 ;
32090 PyObject * obj1 = 0 ;
32091 char *kwnames[] = {
32092 (char *) "self",(char *) "id", NULL
32093 };
32094
32095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
32096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32098 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32099 if (PyErr_Occurred()) SWIG_fail;
32100 {
32101 PyThreadState* __tstate = wxPyBeginAllowThreads();
32102 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
32103
32104 wxPyEndAllowThreads(__tstate);
32105 if (PyErr_Occurred()) SWIG_fail;
32106 }
32107 {
412d302d 32108 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32109 }
32110 return resultobj;
32111 fail:
32112 return NULL;
32113}
32114
32115
c32bde28 32116static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32117 PyObject *resultobj;
32118 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32119 wxString *arg2 = 0 ;
32120 int result;
ae8162c8 32121 bool temp2 = false ;
d55e5bfc
RD
32122 PyObject * obj0 = 0 ;
32123 PyObject * obj1 = 0 ;
32124 char *kwnames[] = {
32125 (char *) "self",(char *) "title", NULL
32126 };
32127
32128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
32129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32131 {
32132 arg2 = wxString_in_helper(obj1);
32133 if (arg2 == NULL) SWIG_fail;
ae8162c8 32134 temp2 = true;
d55e5bfc
RD
32135 }
32136 {
32137 PyThreadState* __tstate = wxPyBeginAllowThreads();
32138 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
32139
32140 wxPyEndAllowThreads(__tstate);
32141 if (PyErr_Occurred()) SWIG_fail;
32142 }
c32bde28 32143 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
32144 {
32145 if (temp2)
32146 delete arg2;
32147 }
32148 return resultobj;
32149 fail:
32150 {
32151 if (temp2)
32152 delete arg2;
32153 }
32154 return NULL;
32155}
32156
32157
c32bde28 32158static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32159 PyObject *resultobj;
32160 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32161 int arg2 ;
32162 bool arg3 ;
32163 PyObject * obj0 = 0 ;
32164 PyObject * obj1 = 0 ;
32165 PyObject * obj2 = 0 ;
32166 char *kwnames[] = {
32167 (char *) "self",(char *) "id",(char *) "enable", NULL
32168 };
32169
32170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
32171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32173 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 32174 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32175 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
32176 if (PyErr_Occurred()) SWIG_fail;
32177 {
32178 PyThreadState* __tstate = wxPyBeginAllowThreads();
32179 (arg1)->Enable(arg2,arg3);
32180
32181 wxPyEndAllowThreads(__tstate);
32182 if (PyErr_Occurred()) SWIG_fail;
32183 }
32184 Py_INCREF(Py_None); resultobj = Py_None;
32185 return resultobj;
32186 fail:
32187 return NULL;
32188}
32189
32190
c32bde28 32191static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32192 PyObject *resultobj;
32193 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32194 int arg2 ;
32195 bool arg3 ;
32196 PyObject * obj0 = 0 ;
32197 PyObject * obj1 = 0 ;
32198 PyObject * obj2 = 0 ;
32199 char *kwnames[] = {
32200 (char *) "self",(char *) "id",(char *) "check", NULL
32201 };
32202
32203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
32204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32206 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 32207 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32208 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
32209 if (PyErr_Occurred()) SWIG_fail;
32210 {
32211 PyThreadState* __tstate = wxPyBeginAllowThreads();
32212 (arg1)->Check(arg2,arg3);
32213
32214 wxPyEndAllowThreads(__tstate);
32215 if (PyErr_Occurred()) SWIG_fail;
32216 }
32217 Py_INCREF(Py_None); resultobj = Py_None;
32218 return resultobj;
32219 fail:
32220 return NULL;
32221}
32222
32223
c32bde28 32224static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32225 PyObject *resultobj;
32226 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32227 int arg2 ;
32228 bool result;
32229 PyObject * obj0 = 0 ;
32230 PyObject * obj1 = 0 ;
32231 char *kwnames[] = {
32232 (char *) "self",(char *) "id", NULL
32233 };
32234
32235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
32236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32238 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32239 if (PyErr_Occurred()) SWIG_fail;
32240 {
32241 PyThreadState* __tstate = wxPyBeginAllowThreads();
32242 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
32243
32244 wxPyEndAllowThreads(__tstate);
32245 if (PyErr_Occurred()) SWIG_fail;
32246 }
32247 {
32248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32249 }
32250 return resultobj;
32251 fail:
32252 return NULL;
32253}
32254
32255
c32bde28 32256static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32257 PyObject *resultobj;
32258 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32259 int arg2 ;
32260 bool result;
32261 PyObject * obj0 = 0 ;
32262 PyObject * obj1 = 0 ;
32263 char *kwnames[] = {
32264 (char *) "self",(char *) "id", NULL
32265 };
32266
32267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
32268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32270 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32271 if (PyErr_Occurred()) SWIG_fail;
32272 {
32273 PyThreadState* __tstate = wxPyBeginAllowThreads();
32274 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
32275
32276 wxPyEndAllowThreads(__tstate);
32277 if (PyErr_Occurred()) SWIG_fail;
32278 }
32279 {
32280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32281 }
32282 return resultobj;
32283 fail:
32284 return NULL;
32285}
32286
32287
c32bde28 32288static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32289 PyObject *resultobj;
32290 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32291 int arg2 ;
32292 wxString *arg3 = 0 ;
ae8162c8 32293 bool temp3 = false ;
d55e5bfc
RD
32294 PyObject * obj0 = 0 ;
32295 PyObject * obj1 = 0 ;
32296 PyObject * obj2 = 0 ;
32297 char *kwnames[] = {
32298 (char *) "self",(char *) "id",(char *) "label", NULL
32299 };
32300
32301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
32302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32304 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32305 if (PyErr_Occurred()) SWIG_fail;
32306 {
32307 arg3 = wxString_in_helper(obj2);
32308 if (arg3 == NULL) SWIG_fail;
ae8162c8 32309 temp3 = true;
d55e5bfc
RD
32310 }
32311 {
32312 PyThreadState* __tstate = wxPyBeginAllowThreads();
32313 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
32314
32315 wxPyEndAllowThreads(__tstate);
32316 if (PyErr_Occurred()) SWIG_fail;
32317 }
32318 Py_INCREF(Py_None); resultobj = Py_None;
32319 {
32320 if (temp3)
32321 delete arg3;
32322 }
32323 return resultobj;
32324 fail:
32325 {
32326 if (temp3)
32327 delete arg3;
32328 }
32329 return NULL;
32330}
32331
32332
c32bde28 32333static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32334 PyObject *resultobj;
32335 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32336 int arg2 ;
32337 wxString result;
32338 PyObject * obj0 = 0 ;
32339 PyObject * obj1 = 0 ;
32340 char *kwnames[] = {
32341 (char *) "self",(char *) "id", NULL
32342 };
32343
32344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
32345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32347 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32348 if (PyErr_Occurred()) SWIG_fail;
32349 {
32350 PyThreadState* __tstate = wxPyBeginAllowThreads();
32351 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
32352
32353 wxPyEndAllowThreads(__tstate);
32354 if (PyErr_Occurred()) SWIG_fail;
32355 }
32356 {
32357#if wxUSE_UNICODE
32358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32359#else
32360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32361#endif
32362 }
32363 return resultobj;
32364 fail:
32365 return NULL;
32366}
32367
32368
c32bde28 32369static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32370 PyObject *resultobj;
32371 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32372 int arg2 ;
32373 wxString *arg3 = 0 ;
ae8162c8 32374 bool temp3 = false ;
d55e5bfc
RD
32375 PyObject * obj0 = 0 ;
32376 PyObject * obj1 = 0 ;
32377 PyObject * obj2 = 0 ;
32378 char *kwnames[] = {
32379 (char *) "self",(char *) "id",(char *) "helpString", NULL
32380 };
32381
32382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
32383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32385 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32386 if (PyErr_Occurred()) SWIG_fail;
32387 {
32388 arg3 = wxString_in_helper(obj2);
32389 if (arg3 == NULL) SWIG_fail;
ae8162c8 32390 temp3 = true;
d55e5bfc
RD
32391 }
32392 {
32393 PyThreadState* __tstate = wxPyBeginAllowThreads();
32394 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
32395
32396 wxPyEndAllowThreads(__tstate);
32397 if (PyErr_Occurred()) SWIG_fail;
32398 }
32399 Py_INCREF(Py_None); resultobj = Py_None;
32400 {
32401 if (temp3)
32402 delete arg3;
32403 }
32404 return resultobj;
32405 fail:
32406 {
32407 if (temp3)
32408 delete arg3;
32409 }
32410 return NULL;
32411}
32412
32413
c32bde28 32414static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32415 PyObject *resultobj;
32416 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32417 int arg2 ;
32418 wxString result;
32419 PyObject * obj0 = 0 ;
32420 PyObject * obj1 = 0 ;
32421 char *kwnames[] = {
32422 (char *) "self",(char *) "id", NULL
32423 };
32424
32425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
32426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32428 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32429 if (PyErr_Occurred()) SWIG_fail;
32430 {
32431 PyThreadState* __tstate = wxPyBeginAllowThreads();
32432 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
32433
32434 wxPyEndAllowThreads(__tstate);
32435 if (PyErr_Occurred()) SWIG_fail;
32436 }
32437 {
32438#if wxUSE_UNICODE
32439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32440#else
32441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32442#endif
32443 }
32444 return resultobj;
32445 fail:
32446 return NULL;
32447}
32448
32449
c32bde28 32450static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32451 PyObject *resultobj;
32452 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32453 wxFrame *result;
32454 PyObject * obj0 = 0 ;
32455 char *kwnames[] = {
32456 (char *) "self", NULL
32457 };
32458
32459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
32460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32462 {
32463 PyThreadState* __tstate = wxPyBeginAllowThreads();
32464 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
32465
32466 wxPyEndAllowThreads(__tstate);
32467 if (PyErr_Occurred()) SWIG_fail;
32468 }
32469 {
412d302d 32470 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32471 }
32472 return resultobj;
32473 fail:
32474 return NULL;
32475}
32476
32477
c32bde28 32478static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32479 PyObject *resultobj;
32480 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32481 bool result;
32482 PyObject * obj0 = 0 ;
32483 char *kwnames[] = {
32484 (char *) "self", NULL
32485 };
32486
32487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
32488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32490 {
32491 PyThreadState* __tstate = wxPyBeginAllowThreads();
32492 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
32493
32494 wxPyEndAllowThreads(__tstate);
32495 if (PyErr_Occurred()) SWIG_fail;
32496 }
32497 {
32498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32499 }
32500 return resultobj;
32501 fail:
32502 return NULL;
32503}
32504
32505
c32bde28 32506static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32507 PyObject *resultobj;
32508 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32509 wxFrame *arg2 = (wxFrame *) 0 ;
32510 PyObject * obj0 = 0 ;
32511 PyObject * obj1 = 0 ;
32512 char *kwnames[] = {
32513 (char *) "self",(char *) "frame", NULL
32514 };
32515
32516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
32517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
32520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32521 {
32522 PyThreadState* __tstate = wxPyBeginAllowThreads();
32523 (arg1)->Attach(arg2);
32524
32525 wxPyEndAllowThreads(__tstate);
32526 if (PyErr_Occurred()) SWIG_fail;
32527 }
32528 Py_INCREF(Py_None); resultobj = Py_None;
32529 return resultobj;
32530 fail:
32531 return NULL;
32532}
32533
32534
c32bde28 32535static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32536 PyObject *resultobj;
32537 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32538 PyObject * obj0 = 0 ;
32539 char *kwnames[] = {
32540 (char *) "self", NULL
32541 };
32542
32543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
32544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32546 {
32547 PyThreadState* __tstate = wxPyBeginAllowThreads();
32548 (arg1)->Detach();
32549
32550 wxPyEndAllowThreads(__tstate);
32551 if (PyErr_Occurred()) SWIG_fail;
32552 }
32553 Py_INCREF(Py_None); resultobj = Py_None;
32554 return resultobj;
32555 fail:
32556 return NULL;
32557}
32558
32559
c32bde28 32560static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32561 PyObject *obj;
32562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32563 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
32564 Py_INCREF(obj);
32565 return Py_BuildValue((char *)"");
32566}
c32bde28 32567static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32568 PyObject *resultobj;
32569 wxMenu *arg1 = (wxMenu *) NULL ;
32570 int arg2 = (int) wxID_ANY ;
32571 wxString const &arg3_defvalue = wxPyEmptyString ;
32572 wxString *arg3 = (wxString *) &arg3_defvalue ;
32573 wxString const &arg4_defvalue = wxPyEmptyString ;
32574 wxString *arg4 = (wxString *) &arg4_defvalue ;
32575 int arg5 = (int) wxITEM_NORMAL ;
32576 wxMenu *arg6 = (wxMenu *) NULL ;
32577 wxMenuItem *result;
ae8162c8
RD
32578 bool temp3 = false ;
32579 bool temp4 = false ;
d55e5bfc
RD
32580 PyObject * obj0 = 0 ;
32581 PyObject * obj1 = 0 ;
32582 PyObject * obj2 = 0 ;
32583 PyObject * obj3 = 0 ;
32584 PyObject * obj4 = 0 ;
32585 PyObject * obj5 = 0 ;
32586 char *kwnames[] = {
32587 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32588 };
32589
32590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
32591 if (obj0) {
32592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
32593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32594 }
32595 if (obj1) {
c32bde28 32596 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32597 if (PyErr_Occurred()) SWIG_fail;
32598 }
32599 if (obj2) {
32600 {
32601 arg3 = wxString_in_helper(obj2);
32602 if (arg3 == NULL) SWIG_fail;
ae8162c8 32603 temp3 = true;
d55e5bfc
RD
32604 }
32605 }
32606 if (obj3) {
32607 {
32608 arg4 = wxString_in_helper(obj3);
32609 if (arg4 == NULL) SWIG_fail;
ae8162c8 32610 temp4 = true;
d55e5bfc
RD
32611 }
32612 }
32613 if (obj4) {
c32bde28 32614 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
32615 if (PyErr_Occurred()) SWIG_fail;
32616 }
32617 if (obj5) {
32618 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
32619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32620 }
32621 {
32622 PyThreadState* __tstate = wxPyBeginAllowThreads();
32623 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
32624
32625 wxPyEndAllowThreads(__tstate);
32626 if (PyErr_Occurred()) SWIG_fail;
32627 }
32628 {
412d302d 32629 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
32630 }
32631 {
32632 if (temp3)
32633 delete arg3;
32634 }
32635 {
32636 if (temp4)
32637 delete arg4;
32638 }
32639 return resultobj;
32640 fail:
32641 {
32642 if (temp3)
32643 delete arg3;
32644 }
32645 {
32646 if (temp4)
32647 delete arg4;
32648 }
32649 return NULL;
32650}
32651
32652
c32bde28 32653static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32654 PyObject *resultobj;
32655 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32656 wxMenu *result;
32657 PyObject * obj0 = 0 ;
32658 char *kwnames[] = {
32659 (char *) "self", NULL
32660 };
32661
32662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
32663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32665 {
32666 PyThreadState* __tstate = wxPyBeginAllowThreads();
32667 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
32668
32669 wxPyEndAllowThreads(__tstate);
32670 if (PyErr_Occurred()) SWIG_fail;
32671 }
32672 {
412d302d 32673 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
32674 }
32675 return resultobj;
32676 fail:
32677 return NULL;
32678}
32679
32680
c32bde28 32681static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32682 PyObject *resultobj;
32683 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32684 wxMenu *arg2 = (wxMenu *) 0 ;
32685 PyObject * obj0 = 0 ;
32686 PyObject * obj1 = 0 ;
32687 char *kwnames[] = {
32688 (char *) "self",(char *) "menu", NULL
32689 };
32690
32691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
32692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32696 {
32697 PyThreadState* __tstate = wxPyBeginAllowThreads();
32698 (arg1)->SetMenu(arg2);
32699
32700 wxPyEndAllowThreads(__tstate);
32701 if (PyErr_Occurred()) SWIG_fail;
32702 }
32703 Py_INCREF(Py_None); resultobj = Py_None;
32704 return resultobj;
32705 fail:
32706 return NULL;
32707}
32708
32709
c32bde28 32710static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32711 PyObject *resultobj;
32712 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32713 int arg2 ;
32714 PyObject * obj0 = 0 ;
32715 PyObject * obj1 = 0 ;
32716 char *kwnames[] = {
32717 (char *) "self",(char *) "id", NULL
32718 };
32719
32720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
32721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32723 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32724 if (PyErr_Occurred()) SWIG_fail;
32725 {
32726 PyThreadState* __tstate = wxPyBeginAllowThreads();
32727 (arg1)->SetId(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
c32bde28 32739static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32740 PyObject *resultobj;
32741 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32742 int result;
32743 PyObject * obj0 = 0 ;
32744 char *kwnames[] = {
32745 (char *) "self", NULL
32746 };
32747
32748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",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 = (int)((wxMenuItem const *)arg1)->GetId();
32754
32755 wxPyEndAllowThreads(__tstate);
32756 if (PyErr_Occurred()) SWIG_fail;
32757 }
c32bde28 32758 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
32759 return resultobj;
32760 fail:
32761 return NULL;
32762}
32763
32764
c32bde28 32765static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32766 PyObject *resultobj;
32767 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32768 bool result;
32769 PyObject * obj0 = 0 ;
32770 char *kwnames[] = {
32771 (char *) "self", NULL
32772 };
32773
32774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
32775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32777 {
32778 PyThreadState* __tstate = wxPyBeginAllowThreads();
32779 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32780
32781 wxPyEndAllowThreads(__tstate);
32782 if (PyErr_Occurred()) SWIG_fail;
32783 }
32784 {
32785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32786 }
32787 return resultobj;
32788 fail:
32789 return NULL;
32790}
32791
32792
c32bde28 32793static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32794 PyObject *resultobj;
32795 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32796 wxString *arg2 = 0 ;
ae8162c8 32797 bool temp2 = false ;
d55e5bfc
RD
32798 PyObject * obj0 = 0 ;
32799 PyObject * obj1 = 0 ;
32800 char *kwnames[] = {
32801 (char *) "self",(char *) "str", NULL
32802 };
32803
32804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
32805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32807 {
32808 arg2 = wxString_in_helper(obj1);
32809 if (arg2 == NULL) SWIG_fail;
ae8162c8 32810 temp2 = true;
d55e5bfc
RD
32811 }
32812 {
32813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32814 (arg1)->SetText((wxString const &)*arg2);
32815
32816 wxPyEndAllowThreads(__tstate);
32817 if (PyErr_Occurred()) SWIG_fail;
32818 }
32819 Py_INCREF(Py_None); resultobj = Py_None;
32820 {
32821 if (temp2)
32822 delete arg2;
32823 }
32824 return resultobj;
32825 fail:
32826 {
32827 if (temp2)
32828 delete arg2;
32829 }
32830 return NULL;
32831}
32832
32833
c32bde28 32834static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32835 PyObject *resultobj;
32836 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32837 wxString result;
32838 PyObject * obj0 = 0 ;
32839 char *kwnames[] = {
32840 (char *) "self", NULL
32841 };
32842
32843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
32844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32846 {
32847 PyThreadState* __tstate = wxPyBeginAllowThreads();
32848 result = ((wxMenuItem const *)arg1)->GetLabel();
32849
32850 wxPyEndAllowThreads(__tstate);
32851 if (PyErr_Occurred()) SWIG_fail;
32852 }
32853 {
32854#if wxUSE_UNICODE
32855 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32856#else
32857 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32858#endif
32859 }
32860 return resultobj;
32861 fail:
32862 return NULL;
32863}
32864
32865
c32bde28 32866static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32867 PyObject *resultobj;
32868 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32869 wxString *result;
32870 PyObject * obj0 = 0 ;
32871 char *kwnames[] = {
32872 (char *) "self", NULL
32873 };
32874
32875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
32876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32878 {
32879 PyThreadState* __tstate = wxPyBeginAllowThreads();
32880 {
32881 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32882 result = (wxString *) &_result_ref;
32883 }
32884
32885 wxPyEndAllowThreads(__tstate);
32886 if (PyErr_Occurred()) SWIG_fail;
32887 }
32888 {
32889#if wxUSE_UNICODE
32890 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32891#else
32892 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32893#endif
32894 }
32895 return resultobj;
32896 fail:
32897 return NULL;
32898}
32899
32900
c32bde28 32901static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32902 PyObject *resultobj;
32903 wxString *arg1 = 0 ;
32904 wxString result;
ae8162c8 32905 bool temp1 = false ;
d55e5bfc
RD
32906 PyObject * obj0 = 0 ;
32907 char *kwnames[] = {
32908 (char *) "text", NULL
32909 };
32910
32911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32912 {
32913 arg1 = wxString_in_helper(obj0);
32914 if (arg1 == NULL) SWIG_fail;
ae8162c8 32915 temp1 = true;
d55e5bfc
RD
32916 }
32917 {
32918 PyThreadState* __tstate = wxPyBeginAllowThreads();
32919 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32920
32921 wxPyEndAllowThreads(__tstate);
32922 if (PyErr_Occurred()) SWIG_fail;
32923 }
32924 {
32925#if wxUSE_UNICODE
32926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32927#else
32928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32929#endif
32930 }
32931 {
32932 if (temp1)
32933 delete arg1;
32934 }
32935 return resultobj;
32936 fail:
32937 {
32938 if (temp1)
32939 delete arg1;
32940 }
32941 return NULL;
32942}
32943
32944
c32bde28 32945static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32946 PyObject *resultobj;
32947 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32948 int result;
32949 PyObject * obj0 = 0 ;
32950 char *kwnames[] = {
32951 (char *) "self", NULL
32952 };
32953
32954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
32955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32957 {
32958 PyThreadState* __tstate = wxPyBeginAllowThreads();
32959 result = (int)((wxMenuItem const *)arg1)->GetKind();
32960
32961 wxPyEndAllowThreads(__tstate);
32962 if (PyErr_Occurred()) SWIG_fail;
32963 }
c32bde28 32964 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
32965 return resultobj;
32966 fail:
32967 return NULL;
32968}
32969
32970
c32bde28 32971static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32972 PyObject *resultobj;
32973 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32974 int arg2 ;
32975 PyObject * obj0 = 0 ;
32976 PyObject * obj1 = 0 ;
32977 char *kwnames[] = {
32978 (char *) "self",(char *) "kind", NULL
32979 };
32980
32981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32984 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
32985 if (PyErr_Occurred()) SWIG_fail;
32986 {
32987 PyThreadState* __tstate = wxPyBeginAllowThreads();
32988 (arg1)->SetKind((wxItemKind )arg2);
32989
32990 wxPyEndAllowThreads(__tstate);
32991 if (PyErr_Occurred()) SWIG_fail;
32992 }
32993 Py_INCREF(Py_None); resultobj = Py_None;
32994 return resultobj;
32995 fail:
32996 return NULL;
32997}
32998
32999
c32bde28 33000static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33001 PyObject *resultobj;
33002 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33003 bool arg2 ;
33004 PyObject * obj0 = 0 ;
33005 PyObject * obj1 = 0 ;
33006 char *kwnames[] = {
33007 (char *) "self",(char *) "checkable", NULL
33008 };
33009
33010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
33011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 33013 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
33014 if (PyErr_Occurred()) SWIG_fail;
33015 {
33016 PyThreadState* __tstate = wxPyBeginAllowThreads();
33017 (arg1)->SetCheckable(arg2);
33018
33019 wxPyEndAllowThreads(__tstate);
33020 if (PyErr_Occurred()) SWIG_fail;
33021 }
33022 Py_INCREF(Py_None); resultobj = Py_None;
33023 return resultobj;
33024 fail:
33025 return NULL;
33026}
33027
33028
c32bde28 33029static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33030 PyObject *resultobj;
33031 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33032 bool result;
33033 PyObject * obj0 = 0 ;
33034 char *kwnames[] = {
33035 (char *) "self", NULL
33036 };
33037
33038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
33039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33041 {
33042 PyThreadState* __tstate = wxPyBeginAllowThreads();
33043 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
33044
33045 wxPyEndAllowThreads(__tstate);
33046 if (PyErr_Occurred()) SWIG_fail;
33047 }
33048 {
33049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33050 }
33051 return resultobj;
33052 fail:
33053 return NULL;
33054}
33055
33056
c32bde28 33057static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33058 PyObject *resultobj;
33059 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33060 bool result;
33061 PyObject * obj0 = 0 ;
33062 char *kwnames[] = {
33063 (char *) "self", NULL
33064 };
33065
33066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
33067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33069 {
33070 PyThreadState* __tstate = wxPyBeginAllowThreads();
33071 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
33072
33073 wxPyEndAllowThreads(__tstate);
33074 if (PyErr_Occurred()) SWIG_fail;
33075 }
33076 {
33077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33078 }
33079 return resultobj;
33080 fail:
33081 return NULL;
33082}
33083
33084
c32bde28 33085static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33086 PyObject *resultobj;
33087 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33088 wxMenu *arg2 = (wxMenu *) 0 ;
33089 PyObject * obj0 = 0 ;
33090 PyObject * obj1 = 0 ;
33091 char *kwnames[] = {
33092 (char *) "self",(char *) "menu", NULL
33093 };
33094
33095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
33096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
33099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33100 {
33101 PyThreadState* __tstate = wxPyBeginAllowThreads();
33102 (arg1)->SetSubMenu(arg2);
33103
33104 wxPyEndAllowThreads(__tstate);
33105 if (PyErr_Occurred()) SWIG_fail;
33106 }
33107 Py_INCREF(Py_None); resultobj = Py_None;
33108 return resultobj;
33109 fail:
33110 return NULL;
33111}
33112
33113
c32bde28 33114static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33115 PyObject *resultobj;
33116 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33117 wxMenu *result;
33118 PyObject * obj0 = 0 ;
33119 char *kwnames[] = {
33120 (char *) "self", NULL
33121 };
33122
33123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
33124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33126 {
33127 PyThreadState* __tstate = wxPyBeginAllowThreads();
33128 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
33129
33130 wxPyEndAllowThreads(__tstate);
33131 if (PyErr_Occurred()) SWIG_fail;
33132 }
33133 {
412d302d 33134 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
33135 }
33136 return resultobj;
33137 fail:
33138 return NULL;
33139}
33140
33141
c32bde28 33142static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33143 PyObject *resultobj;
33144 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 33145 bool arg2 = (bool) true ;
d55e5bfc
RD
33146 PyObject * obj0 = 0 ;
33147 PyObject * obj1 = 0 ;
33148 char *kwnames[] = {
33149 (char *) "self",(char *) "enable", NULL
33150 };
33151
33152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
33153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33155 if (obj1) {
c32bde28 33156 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
33157 if (PyErr_Occurred()) SWIG_fail;
33158 }
33159 {
33160 PyThreadState* __tstate = wxPyBeginAllowThreads();
33161 (arg1)->Enable(arg2);
33162
33163 wxPyEndAllowThreads(__tstate);
33164 if (PyErr_Occurred()) SWIG_fail;
33165 }
33166 Py_INCREF(Py_None); resultobj = Py_None;
33167 return resultobj;
33168 fail:
33169 return NULL;
33170}
33171
33172
c32bde28 33173static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33174 PyObject *resultobj;
33175 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33176 bool result;
33177 PyObject * obj0 = 0 ;
33178 char *kwnames[] = {
33179 (char *) "self", NULL
33180 };
33181
33182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
33183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33185 {
33186 PyThreadState* __tstate = wxPyBeginAllowThreads();
33187 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
33188
33189 wxPyEndAllowThreads(__tstate);
33190 if (PyErr_Occurred()) SWIG_fail;
33191 }
33192 {
33193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33194 }
33195 return resultobj;
33196 fail:
33197 return NULL;
33198}
33199
33200
c32bde28 33201static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33202 PyObject *resultobj;
33203 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 33204 bool arg2 = (bool) true ;
d55e5bfc
RD
33205 PyObject * obj0 = 0 ;
33206 PyObject * obj1 = 0 ;
33207 char *kwnames[] = {
33208 (char *) "self",(char *) "check", NULL
33209 };
33210
33211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
33212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33214 if (obj1) {
c32bde28 33215 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
33216 if (PyErr_Occurred()) SWIG_fail;
33217 }
33218 {
33219 PyThreadState* __tstate = wxPyBeginAllowThreads();
33220 (arg1)->Check(arg2);
33221
33222 wxPyEndAllowThreads(__tstate);
33223 if (PyErr_Occurred()) SWIG_fail;
33224 }
33225 Py_INCREF(Py_None); resultobj = Py_None;
33226 return resultobj;
33227 fail:
33228 return NULL;
33229}
33230
33231
c32bde28 33232static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33233 PyObject *resultobj;
33234 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33235 bool result;
33236 PyObject * obj0 = 0 ;
33237 char *kwnames[] = {
33238 (char *) "self", NULL
33239 };
33240
33241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
33242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33244 {
33245 PyThreadState* __tstate = wxPyBeginAllowThreads();
33246 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
33247
33248 wxPyEndAllowThreads(__tstate);
33249 if (PyErr_Occurred()) SWIG_fail;
33250 }
33251 {
33252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33253 }
33254 return resultobj;
33255 fail:
33256 return NULL;
33257}
33258
33259
c32bde28 33260static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33261 PyObject *resultobj;
33262 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33263 PyObject * obj0 = 0 ;
33264 char *kwnames[] = {
33265 (char *) "self", NULL
33266 };
33267
33268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
33269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33271 {
33272 PyThreadState* __tstate = wxPyBeginAllowThreads();
33273 (arg1)->Toggle();
33274
33275 wxPyEndAllowThreads(__tstate);
33276 if (PyErr_Occurred()) SWIG_fail;
33277 }
33278 Py_INCREF(Py_None); resultobj = Py_None;
33279 return resultobj;
33280 fail:
33281 return NULL;
33282}
33283
33284
c32bde28 33285static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33286 PyObject *resultobj;
33287 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33288 wxString *arg2 = 0 ;
ae8162c8 33289 bool temp2 = false ;
d55e5bfc
RD
33290 PyObject * obj0 = 0 ;
33291 PyObject * obj1 = 0 ;
33292 char *kwnames[] = {
33293 (char *) "self",(char *) "str", NULL
33294 };
33295
33296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
33297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33299 {
33300 arg2 = wxString_in_helper(obj1);
33301 if (arg2 == NULL) SWIG_fail;
ae8162c8 33302 temp2 = true;
d55e5bfc
RD
33303 }
33304 {
33305 PyThreadState* __tstate = wxPyBeginAllowThreads();
33306 (arg1)->SetHelp((wxString const &)*arg2);
33307
33308 wxPyEndAllowThreads(__tstate);
33309 if (PyErr_Occurred()) SWIG_fail;
33310 }
33311 Py_INCREF(Py_None); resultobj = Py_None;
33312 {
33313 if (temp2)
33314 delete arg2;
33315 }
33316 return resultobj;
33317 fail:
33318 {
33319 if (temp2)
33320 delete arg2;
33321 }
33322 return NULL;
33323}
33324
33325
c32bde28 33326static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33327 PyObject *resultobj;
33328 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33329 wxString *result;
33330 PyObject * obj0 = 0 ;
33331 char *kwnames[] = {
33332 (char *) "self", NULL
33333 };
33334
33335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
33336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33338 {
33339 PyThreadState* __tstate = wxPyBeginAllowThreads();
33340 {
33341 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
33342 result = (wxString *) &_result_ref;
33343 }
33344
33345 wxPyEndAllowThreads(__tstate);
33346 if (PyErr_Occurred()) SWIG_fail;
33347 }
33348 {
33349#if wxUSE_UNICODE
33350 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33351#else
33352 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33353#endif
33354 }
33355 return resultobj;
33356 fail:
33357 return NULL;
33358}
33359
33360
c32bde28 33361static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33362 PyObject *resultobj;
33363 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33364 wxAcceleratorEntry *result;
33365 PyObject * obj0 = 0 ;
33366 char *kwnames[] = {
33367 (char *) "self", NULL
33368 };
33369
33370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
33371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33373 {
33374 PyThreadState* __tstate = wxPyBeginAllowThreads();
33375 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
33376
33377 wxPyEndAllowThreads(__tstate);
33378 if (PyErr_Occurred()) SWIG_fail;
33379 }
33380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
33381 return resultobj;
33382 fail:
33383 return NULL;
33384}
33385
33386
c32bde28 33387static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33388 PyObject *resultobj;
33389 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33390 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
33391 PyObject * obj0 = 0 ;
33392 PyObject * obj1 = 0 ;
33393 char *kwnames[] = {
33394 (char *) "self",(char *) "accel", NULL
33395 };
33396
33397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
33398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
33401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33402 {
33403 PyThreadState* __tstate = wxPyBeginAllowThreads();
33404 (arg1)->SetAccel(arg2);
33405
33406 wxPyEndAllowThreads(__tstate);
33407 if (PyErr_Occurred()) SWIG_fail;
33408 }
33409 Py_INCREF(Py_None); resultobj = Py_None;
33410 return resultobj;
33411 fail:
33412 return NULL;
33413}
33414
33415
c32bde28 33416static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33417 PyObject *resultobj;
33418 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33419 wxFont *arg2 = 0 ;
33420 PyObject * obj0 = 0 ;
33421 PyObject * obj1 = 0 ;
33422 char *kwnames[] = {
33423 (char *) "self",(char *) "font", NULL
33424 };
33425
33426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
33427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33429 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
33430 SWIG_POINTER_EXCEPTION | 0)) == -1)
33431 SWIG_fail;
33432 if (arg2 == NULL) {
33433 PyErr_SetString(PyExc_TypeError,"null reference");
33434 SWIG_fail;
33435 }
33436 {
33437 PyThreadState* __tstate = wxPyBeginAllowThreads();
33438 (arg1)->SetFont((wxFont const &)*arg2);
33439
33440 wxPyEndAllowThreads(__tstate);
33441 if (PyErr_Occurred()) SWIG_fail;
33442 }
33443 Py_INCREF(Py_None); resultobj = Py_None;
33444 return resultobj;
33445 fail:
33446 return NULL;
33447}
33448
33449
c32bde28 33450static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33451 PyObject *resultobj;
33452 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33453 wxFont result;
33454 PyObject * obj0 = 0 ;
33455 char *kwnames[] = {
33456 (char *) "self", NULL
33457 };
33458
33459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
33460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33462 {
33463 PyThreadState* __tstate = wxPyBeginAllowThreads();
33464 result = (arg1)->GetFont();
33465
33466 wxPyEndAllowThreads(__tstate);
33467 if (PyErr_Occurred()) SWIG_fail;
33468 }
33469 {
33470 wxFont * resultptr;
33471 resultptr = new wxFont((wxFont &) result);
33472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
33473 }
33474 return resultobj;
33475 fail:
33476 return NULL;
33477}
33478
33479
c32bde28 33480static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33481 PyObject *resultobj;
33482 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33483 wxColour *arg2 = 0 ;
33484 wxColour temp2 ;
33485 PyObject * obj0 = 0 ;
33486 PyObject * obj1 = 0 ;
33487 char *kwnames[] = {
33488 (char *) "self",(char *) "colText", NULL
33489 };
33490
33491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
33492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33494 {
33495 arg2 = &temp2;
33496 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
33497 }
33498 {
33499 PyThreadState* __tstate = wxPyBeginAllowThreads();
33500 (arg1)->SetTextColour((wxColour const &)*arg2);
33501
33502 wxPyEndAllowThreads(__tstate);
33503 if (PyErr_Occurred()) SWIG_fail;
33504 }
33505 Py_INCREF(Py_None); resultobj = Py_None;
33506 return resultobj;
33507 fail:
33508 return NULL;
33509}
33510
33511
c32bde28 33512static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33513 PyObject *resultobj;
33514 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33515 wxColour result;
33516 PyObject * obj0 = 0 ;
33517 char *kwnames[] = {
33518 (char *) "self", NULL
33519 };
33520
33521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
33522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33524 {
33525 PyThreadState* __tstate = wxPyBeginAllowThreads();
33526 result = (arg1)->GetTextColour();
33527
33528 wxPyEndAllowThreads(__tstate);
33529 if (PyErr_Occurred()) SWIG_fail;
33530 }
33531 {
33532 wxColour * resultptr;
33533 resultptr = new wxColour((wxColour &) result);
33534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
33535 }
33536 return resultobj;
33537 fail:
33538 return NULL;
33539}
33540
33541
c32bde28 33542static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33543 PyObject *resultobj;
33544 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33545 wxColour *arg2 = 0 ;
33546 wxColour temp2 ;
33547 PyObject * obj0 = 0 ;
33548 PyObject * obj1 = 0 ;
33549 char *kwnames[] = {
33550 (char *) "self",(char *) "colBack", NULL
33551 };
33552
33553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
33554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33556 {
33557 arg2 = &temp2;
33558 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
33559 }
33560 {
33561 PyThreadState* __tstate = wxPyBeginAllowThreads();
33562 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
33563
33564 wxPyEndAllowThreads(__tstate);
33565 if (PyErr_Occurred()) SWIG_fail;
33566 }
33567 Py_INCREF(Py_None); resultobj = Py_None;
33568 return resultobj;
33569 fail:
33570 return NULL;
33571}
33572
33573
c32bde28 33574static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33575 PyObject *resultobj;
33576 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33577 wxColour result;
33578 PyObject * obj0 = 0 ;
33579 char *kwnames[] = {
33580 (char *) "self", NULL
33581 };
33582
33583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
33584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33586 {
33587 PyThreadState* __tstate = wxPyBeginAllowThreads();
33588 result = (arg1)->GetBackgroundColour();
33589
33590 wxPyEndAllowThreads(__tstate);
33591 if (PyErr_Occurred()) SWIG_fail;
33592 }
33593 {
33594 wxColour * resultptr;
33595 resultptr = new wxColour((wxColour &) result);
33596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
33597 }
33598 return resultobj;
33599 fail:
33600 return NULL;
33601}
33602
33603
c32bde28 33604static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33605 PyObject *resultobj;
33606 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33607 wxBitmap *arg2 = 0 ;
33608 wxBitmap const &arg3_defvalue = wxNullBitmap ;
33609 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
33610 PyObject * obj0 = 0 ;
33611 PyObject * obj1 = 0 ;
33612 PyObject * obj2 = 0 ;
33613 char *kwnames[] = {
33614 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33615 };
33616
33617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
33618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
33621 SWIG_POINTER_EXCEPTION | 0)) == -1)
33622 SWIG_fail;
33623 if (arg2 == NULL) {
33624 PyErr_SetString(PyExc_TypeError,"null reference");
33625 SWIG_fail;
33626 }
33627 if (obj2) {
33628 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
33629 SWIG_POINTER_EXCEPTION | 0)) == -1)
33630 SWIG_fail;
33631 if (arg3 == NULL) {
33632 PyErr_SetString(PyExc_TypeError,"null reference");
33633 SWIG_fail;
33634 }
33635 }
33636 {
33637 PyThreadState* __tstate = wxPyBeginAllowThreads();
33638 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
33639
33640 wxPyEndAllowThreads(__tstate);
33641 if (PyErr_Occurred()) SWIG_fail;
33642 }
33643 Py_INCREF(Py_None); resultobj = Py_None;
33644 return resultobj;
33645 fail:
33646 return NULL;
33647}
33648
33649
c32bde28 33650static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33651 PyObject *resultobj;
33652 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33653 wxBitmap *arg2 = 0 ;
33654 PyObject * obj0 = 0 ;
33655 PyObject * obj1 = 0 ;
33656 char *kwnames[] = {
33657 (char *) "self",(char *) "bmpDisabled", NULL
33658 };
33659
33660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
33661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
33664 SWIG_POINTER_EXCEPTION | 0)) == -1)
33665 SWIG_fail;
33666 if (arg2 == NULL) {
33667 PyErr_SetString(PyExc_TypeError,"null reference");
33668 SWIG_fail;
33669 }
33670 {
33671 PyThreadState* __tstate = wxPyBeginAllowThreads();
33672 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
33673
33674 wxPyEndAllowThreads(__tstate);
33675 if (PyErr_Occurred()) SWIG_fail;
33676 }
33677 Py_INCREF(Py_None); resultobj = Py_None;
33678 return resultobj;
33679 fail:
33680 return NULL;
33681}
33682
33683
c32bde28 33684static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33685 PyObject *resultobj;
33686 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33687 wxBitmap *result;
33688 PyObject * obj0 = 0 ;
33689 char *kwnames[] = {
33690 (char *) "self", NULL
33691 };
33692
33693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
33694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33696 {
33697 PyThreadState* __tstate = wxPyBeginAllowThreads();
33698 {
33699 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
33700 result = (wxBitmap *) &_result_ref;
33701 }
33702
33703 wxPyEndAllowThreads(__tstate);
33704 if (PyErr_Occurred()) SWIG_fail;
33705 }
33706 {
33707 wxBitmap* resultptr = new wxBitmap(*result);
33708 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
33709 }
33710 return resultobj;
33711 fail:
33712 return NULL;
33713}
33714
33715
c32bde28 33716static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33717 PyObject *resultobj;
33718 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33719 int arg2 ;
33720 PyObject * obj0 = 0 ;
33721 PyObject * obj1 = 0 ;
33722 char *kwnames[] = {
33723 (char *) "self",(char *) "nWidth", NULL
33724 };
33725
33726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
33727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 33729 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
33730 if (PyErr_Occurred()) SWIG_fail;
33731 {
33732 PyThreadState* __tstate = wxPyBeginAllowThreads();
33733 (arg1)->SetMarginWidth(arg2);
33734
33735 wxPyEndAllowThreads(__tstate);
33736 if (PyErr_Occurred()) SWIG_fail;
33737 }
33738 Py_INCREF(Py_None); resultobj = Py_None;
33739 return resultobj;
33740 fail:
33741 return NULL;
33742}
33743
33744
c32bde28 33745static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33746 PyObject *resultobj;
33747 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33748 int result;
33749 PyObject * obj0 = 0 ;
33750 char *kwnames[] = {
33751 (char *) "self", NULL
33752 };
33753
33754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
33755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33757 {
33758 PyThreadState* __tstate = wxPyBeginAllowThreads();
33759 result = (int)(arg1)->GetMarginWidth();
33760
33761 wxPyEndAllowThreads(__tstate);
33762 if (PyErr_Occurred()) SWIG_fail;
33763 }
c32bde28 33764 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
33765 return resultobj;
33766 fail:
33767 return NULL;
33768}
33769
33770
c32bde28 33771static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33772 PyObject *resultobj;
33773 int result;
33774 char *kwnames[] = {
33775 NULL
33776 };
33777
33778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
33779 {
33780 PyThreadState* __tstate = wxPyBeginAllowThreads();
33781 result = (int)wxMenuItem::GetDefaultMarginWidth();
33782
33783 wxPyEndAllowThreads(__tstate);
33784 if (PyErr_Occurred()) SWIG_fail;
33785 }
c32bde28 33786 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
33787 return resultobj;
33788 fail:
33789 return NULL;
33790}
33791
33792
c32bde28 33793static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33794 PyObject *resultobj;
33795 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33796 bool result;
33797 PyObject * obj0 = 0 ;
33798 char *kwnames[] = {
33799 (char *) "self", NULL
33800 };
33801
33802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
33803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33805 {
33806 PyThreadState* __tstate = wxPyBeginAllowThreads();
33807 result = (bool)(arg1)->IsOwnerDrawn();
33808
33809 wxPyEndAllowThreads(__tstate);
33810 if (PyErr_Occurred()) SWIG_fail;
33811 }
33812 {
33813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33814 }
33815 return resultobj;
33816 fail:
33817 return NULL;
33818}
33819
33820
c32bde28 33821static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33822 PyObject *resultobj;
33823 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 33824 bool arg2 = (bool) true ;
d55e5bfc
RD
33825 PyObject * obj0 = 0 ;
33826 PyObject * obj1 = 0 ;
33827 char *kwnames[] = {
33828 (char *) "self",(char *) "ownerDrawn", NULL
33829 };
33830
33831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
33832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33834 if (obj1) {
c32bde28 33835 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
33836 if (PyErr_Occurred()) SWIG_fail;
33837 }
33838 {
33839 PyThreadState* __tstate = wxPyBeginAllowThreads();
33840 (arg1)->SetOwnerDrawn(arg2);
33841
33842 wxPyEndAllowThreads(__tstate);
33843 if (PyErr_Occurred()) SWIG_fail;
33844 }
33845 Py_INCREF(Py_None); resultobj = Py_None;
33846 return resultobj;
33847 fail:
33848 return NULL;
33849}
33850
33851
c32bde28 33852static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33853 PyObject *resultobj;
33854 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33855 PyObject * obj0 = 0 ;
33856 char *kwnames[] = {
33857 (char *) "self", NULL
33858 };
33859
33860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
33861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33863 {
33864 PyThreadState* __tstate = wxPyBeginAllowThreads();
33865 (arg1)->ResetOwnerDrawn();
33866
33867 wxPyEndAllowThreads(__tstate);
33868 if (PyErr_Occurred()) SWIG_fail;
33869 }
33870 Py_INCREF(Py_None); resultobj = Py_None;
33871 return resultobj;
33872 fail:
33873 return NULL;
33874}
33875
33876
c32bde28 33877static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33878 PyObject *resultobj;
33879 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33880 wxBitmap *arg2 = 0 ;
33881 PyObject * obj0 = 0 ;
33882 PyObject * obj1 = 0 ;
33883 char *kwnames[] = {
33884 (char *) "self",(char *) "bitmap", NULL
33885 };
33886
33887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
33888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
33891 SWIG_POINTER_EXCEPTION | 0)) == -1)
33892 SWIG_fail;
33893 if (arg2 == NULL) {
33894 PyErr_SetString(PyExc_TypeError,"null reference");
33895 SWIG_fail;
33896 }
33897 {
33898 PyThreadState* __tstate = wxPyBeginAllowThreads();
33899 (arg1)->SetBitmap((wxBitmap const &)*arg2);
33900
33901 wxPyEndAllowThreads(__tstate);
33902 if (PyErr_Occurred()) SWIG_fail;
33903 }
33904 Py_INCREF(Py_None); resultobj = Py_None;
33905 return resultobj;
33906 fail:
33907 return NULL;
33908}
33909
33910
c32bde28 33911static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33912 PyObject *resultobj;
33913 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33914 wxBitmap *result;
33915 PyObject * obj0 = 0 ;
33916 char *kwnames[] = {
33917 (char *) "self", NULL
33918 };
33919
33920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
33921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33923 {
33924 PyThreadState* __tstate = wxPyBeginAllowThreads();
33925 {
33926 wxBitmap const &_result_ref = (arg1)->GetBitmap();
33927 result = (wxBitmap *) &_result_ref;
33928 }
33929
33930 wxPyEndAllowThreads(__tstate);
33931 if (PyErr_Occurred()) SWIG_fail;
33932 }
33933 {
33934 wxBitmap* resultptr = new wxBitmap(*result);
33935 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
33936 }
33937 return resultobj;
33938 fail:
33939 return NULL;
33940}
33941
33942
c32bde28 33943static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33944 PyObject *obj;
33945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33946 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
33947 Py_INCREF(obj);
33948 return Py_BuildValue((char *)"");
33949}
c32bde28 33950static int _wrap_ControlNameStr_set(PyObject *) {
d55e5bfc
RD
33951 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
33952 return 1;
33953}
33954
33955
33956static PyObject *_wrap_ControlNameStr_get() {
33957 PyObject *pyobj;
33958
33959 {
33960#if wxUSE_UNICODE
33961 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33962#else
33963 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33964#endif
33965 }
33966 return pyobj;
33967}
33968
33969
c32bde28 33970static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33971 PyObject *resultobj;
33972 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 33973 int arg2 = (int) -1 ;
d55e5bfc
RD
33974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33976 wxSize const &arg4_defvalue = wxDefaultSize ;
33977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33978 long arg5 = (long) 0 ;
33979 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33980 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33981 wxString const &arg7_defvalue = wxPyControlNameStr ;
33982 wxString *arg7 = (wxString *) &arg7_defvalue ;
33983 wxControl *result;
33984 wxPoint temp3 ;
33985 wxSize temp4 ;
ae8162c8 33986 bool temp7 = false ;
d55e5bfc
RD
33987 PyObject * obj0 = 0 ;
33988 PyObject * obj1 = 0 ;
33989 PyObject * obj2 = 0 ;
33990 PyObject * obj3 = 0 ;
33991 PyObject * obj4 = 0 ;
33992 PyObject * obj5 = 0 ;
33993 PyObject * obj6 = 0 ;
33994 char *kwnames[] = {
33995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33996 };
33997
248ed943 33998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
33999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
34000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 34001 if (obj1) {
c32bde28 34002 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
34003 if (PyErr_Occurred()) SWIG_fail;
34004 }
d55e5bfc
RD
34005 if (obj2) {
34006 {
34007 arg3 = &temp3;
34008 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34009 }
34010 }
34011 if (obj3) {
34012 {
34013 arg4 = &temp4;
34014 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34015 }
34016 }
34017 if (obj4) {
c32bde28 34018 arg5 = (long)SWIG_As_long(obj4);
d55e5bfc
RD
34019 if (PyErr_Occurred()) SWIG_fail;
34020 }
34021 if (obj5) {
34022 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
34023 SWIG_POINTER_EXCEPTION | 0)) == -1)
34024 SWIG_fail;
34025 if (arg6 == NULL) {
34026 PyErr_SetString(PyExc_TypeError,"null reference");
34027 SWIG_fail;
34028 }
34029 }
34030 if (obj6) {
34031 {
34032 arg7 = wxString_in_helper(obj6);
34033 if (arg7 == NULL) SWIG_fail;
ae8162c8 34034 temp7 = true;
d55e5bfc
RD
34035 }
34036 }
34037 {
0439c23b 34038 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34039 PyThreadState* __tstate = wxPyBeginAllowThreads();
34040 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
34041
34042 wxPyEndAllowThreads(__tstate);
110da5b0 34043 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 34044 }
b0f7404b 34045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d55e5bfc
RD
34046 {
34047 if (temp7)
34048 delete arg7;
34049 }
34050 return resultobj;
34051 fail:
34052 {
34053 if (temp7)
34054 delete arg7;
34055 }
34056 return NULL;
34057}
34058
34059
c32bde28 34060static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34061 PyObject *resultobj;
34062 wxControl *result;
34063 char *kwnames[] = {
34064 NULL
34065 };
34066
34067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
34068 {
0439c23b 34069 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34070 PyThreadState* __tstate = wxPyBeginAllowThreads();
34071 result = (wxControl *)new wxControl();
34072
34073 wxPyEndAllowThreads(__tstate);
110da5b0 34074 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 34075 }
b0f7404b 34076 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d55e5bfc
RD
34077 return resultobj;
34078 fail:
34079 return NULL;
34080}
34081
34082
c32bde28 34083static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34084 PyObject *resultobj;
34085 wxControl *arg1 = (wxControl *) 0 ;
34086 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 34087 int arg3 = (int) -1 ;
d55e5bfc
RD
34088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34090 wxSize const &arg5_defvalue = wxDefaultSize ;
34091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34092 long arg6 = (long) 0 ;
34093 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34094 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34095 wxString const &arg8_defvalue = wxPyControlNameStr ;
34096 wxString *arg8 = (wxString *) &arg8_defvalue ;
34097 bool result;
34098 wxPoint temp4 ;
34099 wxSize temp5 ;
ae8162c8 34100 bool temp8 = false ;
d55e5bfc
RD
34101 PyObject * obj0 = 0 ;
34102 PyObject * obj1 = 0 ;
34103 PyObject * obj2 = 0 ;
34104 PyObject * obj3 = 0 ;
34105 PyObject * obj4 = 0 ;
34106 PyObject * obj5 = 0 ;
34107 PyObject * obj6 = 0 ;
34108 PyObject * obj7 = 0 ;
34109 char *kwnames[] = {
34110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34111 };
34112
248ed943 34113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
34114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
34115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 34118 if (obj2) {
c32bde28 34119 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
34120 if (PyErr_Occurred()) SWIG_fail;
34121 }
d55e5bfc
RD
34122 if (obj3) {
34123 {
34124 arg4 = &temp4;
34125 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34126 }
34127 }
34128 if (obj4) {
34129 {
34130 arg5 = &temp5;
34131 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34132 }
34133 }
34134 if (obj5) {
c32bde28 34135 arg6 = (long)SWIG_As_long(obj5);
d55e5bfc
RD
34136 if (PyErr_Occurred()) SWIG_fail;
34137 }
34138 if (obj6) {
34139 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
34140 SWIG_POINTER_EXCEPTION | 0)) == -1)
34141 SWIG_fail;
34142 if (arg7 == NULL) {
34143 PyErr_SetString(PyExc_TypeError,"null reference");
34144 SWIG_fail;
34145 }
34146 }
34147 if (obj7) {
34148 {
34149 arg8 = wxString_in_helper(obj7);
34150 if (arg8 == NULL) SWIG_fail;
ae8162c8 34151 temp8 = true;
d55e5bfc
RD
34152 }
34153 }
34154 {
34155 PyThreadState* __tstate = wxPyBeginAllowThreads();
34156 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34157
34158 wxPyEndAllowThreads(__tstate);
34159 if (PyErr_Occurred()) SWIG_fail;
34160 }
34161 {
34162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34163 }
34164 {
34165 if (temp8)
34166 delete arg8;
34167 }
34168 return resultobj;
34169 fail:
34170 {
34171 if (temp8)
34172 delete arg8;
34173 }
34174 return NULL;
34175}
34176
34177
c32bde28 34178static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34179 PyObject *resultobj;
34180 wxControl *arg1 = (wxControl *) 0 ;
34181 wxCommandEvent *arg2 = 0 ;
34182 PyObject * obj0 = 0 ;
34183 PyObject * obj1 = 0 ;
34184 char *kwnames[] = {
34185 (char *) "self",(char *) "event", NULL
34186 };
34187
34188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
34189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
34190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
34192 SWIG_POINTER_EXCEPTION | 0)) == -1)
34193 SWIG_fail;
34194 if (arg2 == NULL) {
34195 PyErr_SetString(PyExc_TypeError,"null reference");
34196 SWIG_fail;
34197 }
34198 {
34199 PyThreadState* __tstate = wxPyBeginAllowThreads();
34200 (arg1)->Command(*arg2);
34201
34202 wxPyEndAllowThreads(__tstate);
34203 if (PyErr_Occurred()) SWIG_fail;
34204 }
34205 Py_INCREF(Py_None); resultobj = Py_None;
34206 return resultobj;
34207 fail:
34208 return NULL;
34209}
34210
34211
c32bde28 34212static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34213 PyObject *resultobj;
34214 wxControl *arg1 = (wxControl *) 0 ;
34215 wxString result;
34216 PyObject * obj0 = 0 ;
34217 char *kwnames[] = {
34218 (char *) "self", NULL
34219 };
34220
34221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
34222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
34223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34224 {
34225 PyThreadState* __tstate = wxPyBeginAllowThreads();
34226 result = (arg1)->GetLabel();
34227
34228 wxPyEndAllowThreads(__tstate);
34229 if (PyErr_Occurred()) SWIG_fail;
34230 }
34231 {
34232#if wxUSE_UNICODE
34233 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34234#else
34235 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34236#endif
34237 }
34238 return resultobj;
34239 fail:
34240 return NULL;
34241}
34242
34243
c32bde28 34244static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34245 PyObject *resultobj;
34246 wxControl *arg1 = (wxControl *) 0 ;
34247 wxString *arg2 = 0 ;
ae8162c8 34248 bool temp2 = false ;
d55e5bfc
RD
34249 PyObject * obj0 = 0 ;
34250 PyObject * obj1 = 0 ;
34251 char *kwnames[] = {
34252 (char *) "self",(char *) "label", NULL
34253 };
34254
34255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
34256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
34257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34258 {
34259 arg2 = wxString_in_helper(obj1);
34260 if (arg2 == NULL) SWIG_fail;
ae8162c8 34261 temp2 = true;
d55e5bfc
RD
34262 }
34263 {
34264 PyThreadState* __tstate = wxPyBeginAllowThreads();
34265 (arg1)->SetLabel((wxString const &)*arg2);
34266
34267 wxPyEndAllowThreads(__tstate);
34268 if (PyErr_Occurred()) SWIG_fail;
34269 }
34270 Py_INCREF(Py_None); resultobj = Py_None;
34271 {
34272 if (temp2)
34273 delete arg2;
34274 }
34275 return resultobj;
34276 fail:
34277 {
34278 if (temp2)
34279 delete arg2;
34280 }
34281 return NULL;
34282}
34283
34284
c32bde28 34285static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34286 PyObject *resultobj;
34287 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
34288 wxVisualAttributes result;
34289 PyObject * obj0 = 0 ;
34290 char *kwnames[] = {
34291 (char *) "variant", NULL
34292 };
34293
34294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
34295 if (obj0) {
c32bde28 34296 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
34297 if (PyErr_Occurred()) SWIG_fail;
34298 }
34299 {
a001823c 34300 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
34301 PyThreadState* __tstate = wxPyBeginAllowThreads();
34302 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
34303
34304 wxPyEndAllowThreads(__tstate);
110da5b0 34305 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
34306 }
34307 {
34308 wxVisualAttributes * resultptr;
34309 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
34310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
34311 }
34312 return resultobj;
34313 fail:
34314 return NULL;
34315}
34316
34317
c32bde28 34318static PyObject * Control_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34319 PyObject *obj;
34320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34321 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
34322 Py_INCREF(obj);
34323 return Py_BuildValue((char *)"");
34324}
c32bde28 34325static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34326 PyObject *resultobj;
34327 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34328 wxString *arg2 = 0 ;
34329 PyObject *arg3 = (PyObject *) NULL ;
34330 int result;
ae8162c8 34331 bool temp2 = false ;
d55e5bfc
RD
34332 PyObject * obj0 = 0 ;
34333 PyObject * obj1 = 0 ;
34334 PyObject * obj2 = 0 ;
34335 char *kwnames[] = {
34336 (char *) "self",(char *) "item",(char *) "clientData", NULL
34337 };
34338
34339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
34340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34342 {
34343 arg2 = wxString_in_helper(obj1);
34344 if (arg2 == NULL) SWIG_fail;
ae8162c8 34345 temp2 = true;
d55e5bfc
RD
34346 }
34347 if (obj2) {
34348 arg3 = obj2;
34349 }
34350 {
34351 PyThreadState* __tstate = wxPyBeginAllowThreads();
34352 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
34353
34354 wxPyEndAllowThreads(__tstate);
34355 if (PyErr_Occurred()) SWIG_fail;
34356 }
c32bde28 34357 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
34358 {
34359 if (temp2)
34360 delete arg2;
34361 }
34362 return resultobj;
34363 fail:
34364 {
34365 if (temp2)
34366 delete arg2;
34367 }
34368 return NULL;
34369}
34370
34371
c32bde28 34372static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34373 PyObject *resultobj;
34374 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34375 wxArrayString *arg2 = 0 ;
ae8162c8 34376 bool temp2 = false ;
d55e5bfc
RD
34377 PyObject * obj0 = 0 ;
34378 PyObject * obj1 = 0 ;
34379 char *kwnames[] = {
34380 (char *) "self",(char *) "strings", NULL
34381 };
34382
34383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
34384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34386 {
34387 if (! PySequence_Check(obj1)) {
34388 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
34389 SWIG_fail;
34390 }
34391 arg2 = new wxArrayString;
ae8162c8 34392 temp2 = true;
d55e5bfc
RD
34393 int i, len=PySequence_Length(obj1);
34394 for (i=0; i<len; i++) {
34395 PyObject* item = PySequence_GetItem(obj1, i);
34396#if wxUSE_UNICODE
34397 PyObject* str = PyObject_Unicode(item);
34398#else
34399 PyObject* str = PyObject_Str(item);
34400#endif
34401 if (PyErr_Occurred()) SWIG_fail;
34402 arg2->Add(Py2wxString(str));
34403 Py_DECREF(item);
34404 Py_DECREF(str);
34405 }
34406 }
34407 {
34408 PyThreadState* __tstate = wxPyBeginAllowThreads();
34409 (arg1)->Append((wxArrayString const &)*arg2);
34410
34411 wxPyEndAllowThreads(__tstate);
34412 if (PyErr_Occurred()) SWIG_fail;
34413 }
34414 Py_INCREF(Py_None); resultobj = Py_None;
34415 {
34416 if (temp2) delete arg2;
34417 }
34418 return resultobj;
34419 fail:
34420 {
34421 if (temp2) delete arg2;
34422 }
34423 return NULL;
34424}
34425
34426
c32bde28 34427static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34428 PyObject *resultobj;
34429 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34430 wxString *arg2 = 0 ;
34431 int arg3 ;
34432 PyObject *arg4 = (PyObject *) NULL ;
34433 int result;
ae8162c8 34434 bool temp2 = false ;
d55e5bfc
RD
34435 PyObject * obj0 = 0 ;
34436 PyObject * obj1 = 0 ;
34437 PyObject * obj2 = 0 ;
34438 PyObject * obj3 = 0 ;
34439 char *kwnames[] = {
34440 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34441 };
34442
34443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34446 {
34447 arg2 = wxString_in_helper(obj1);
34448 if (arg2 == NULL) SWIG_fail;
ae8162c8 34449 temp2 = true;
d55e5bfc 34450 }
c32bde28 34451 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
34452 if (PyErr_Occurred()) SWIG_fail;
34453 if (obj3) {
34454 arg4 = obj3;
34455 }
34456 {
34457 PyThreadState* __tstate = wxPyBeginAllowThreads();
34458 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
34459
34460 wxPyEndAllowThreads(__tstate);
34461 if (PyErr_Occurred()) SWIG_fail;
34462 }
c32bde28 34463 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
34464 {
34465 if (temp2)
34466 delete arg2;
34467 }
34468 return resultobj;
34469 fail:
34470 {
34471 if (temp2)
34472 delete arg2;
34473 }
34474 return NULL;
34475}
34476
34477
c32bde28 34478static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34479 PyObject *resultobj;
34480 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34481 PyObject * obj0 = 0 ;
34482 char *kwnames[] = {
34483 (char *) "self", NULL
34484 };
34485
34486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
34487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34489 {
34490 PyThreadState* __tstate = wxPyBeginAllowThreads();
34491 (arg1)->Clear();
34492
34493 wxPyEndAllowThreads(__tstate);
34494 if (PyErr_Occurred()) SWIG_fail;
34495 }
34496 Py_INCREF(Py_None); resultobj = Py_None;
34497 return resultobj;
34498 fail:
34499 return NULL;
34500}
34501
34502
c32bde28 34503static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34504 PyObject *resultobj;
34505 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34506 int arg2 ;
34507 PyObject * obj0 = 0 ;
34508 PyObject * obj1 = 0 ;
34509 char *kwnames[] = {
34510 (char *) "self",(char *) "n", NULL
34511 };
34512
34513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
34514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34516 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
34517 if (PyErr_Occurred()) SWIG_fail;
34518 {
34519 PyThreadState* __tstate = wxPyBeginAllowThreads();
34520 (arg1)->Delete(arg2);
34521
34522 wxPyEndAllowThreads(__tstate);
34523 if (PyErr_Occurred()) SWIG_fail;
34524 }
34525 Py_INCREF(Py_None); resultobj = Py_None;
34526 return resultobj;
34527 fail:
34528 return NULL;
34529}
34530
34531
c32bde28 34532static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34533 PyObject *resultobj;
34534 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34535 int result;
34536 PyObject * obj0 = 0 ;
34537 char *kwnames[] = {
34538 (char *) "self", NULL
34539 };
34540
34541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
34542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34544 {
34545 PyThreadState* __tstate = wxPyBeginAllowThreads();
34546 result = (int)((wxItemContainer const *)arg1)->GetCount();
34547
34548 wxPyEndAllowThreads(__tstate);
34549 if (PyErr_Occurred()) SWIG_fail;
34550 }
c32bde28 34551 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
34552 return resultobj;
34553 fail:
34554 return NULL;
34555}
34556
34557
c32bde28 34558static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34559 PyObject *resultobj;
34560 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34561 bool result;
34562 PyObject * obj0 = 0 ;
34563 char *kwnames[] = {
34564 (char *) "self", NULL
34565 };
34566
34567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
34568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34570 {
34571 PyThreadState* __tstate = wxPyBeginAllowThreads();
34572 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
34573
34574 wxPyEndAllowThreads(__tstate);
34575 if (PyErr_Occurred()) SWIG_fail;
34576 }
34577 {
34578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34579 }
34580 return resultobj;
34581 fail:
34582 return NULL;
34583}
34584
34585
c32bde28 34586static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34587 PyObject *resultobj;
34588 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34589 int arg2 ;
34590 wxString result;
34591 PyObject * obj0 = 0 ;
34592 PyObject * obj1 = 0 ;
34593 char *kwnames[] = {
34594 (char *) "self",(char *) "n", NULL
34595 };
34596
34597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
34598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34600 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
34601 if (PyErr_Occurred()) SWIG_fail;
34602 {
34603 PyThreadState* __tstate = wxPyBeginAllowThreads();
34604 result = ((wxItemContainer const *)arg1)->GetString(arg2);
34605
34606 wxPyEndAllowThreads(__tstate);
34607 if (PyErr_Occurred()) SWIG_fail;
34608 }
34609 {
34610#if wxUSE_UNICODE
34611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34612#else
34613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34614#endif
34615 }
34616 return resultobj;
34617 fail:
34618 return NULL;
34619}
34620
34621
c32bde28 34622static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34623 PyObject *resultobj;
34624 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34625 wxArrayString result;
34626 PyObject * obj0 = 0 ;
34627 char *kwnames[] = {
34628 (char *) "self", NULL
34629 };
34630
34631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
34632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34634 {
34635 PyThreadState* __tstate = wxPyBeginAllowThreads();
34636 result = ((wxItemContainer const *)arg1)->GetStrings();
34637
34638 wxPyEndAllowThreads(__tstate);
34639 if (PyErr_Occurred()) SWIG_fail;
34640 }
34641 {
34642 resultobj = wxArrayString2PyList_helper(result);
34643 }
34644 return resultobj;
34645 fail:
34646 return NULL;
34647}
34648
34649
c32bde28 34650static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34651 PyObject *resultobj;
34652 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34653 int arg2 ;
34654 wxString *arg3 = 0 ;
ae8162c8 34655 bool temp3 = false ;
d55e5bfc
RD
34656 PyObject * obj0 = 0 ;
34657 PyObject * obj1 = 0 ;
34658 PyObject * obj2 = 0 ;
34659 char *kwnames[] = {
34660 (char *) "self",(char *) "n",(char *) "s", NULL
34661 };
34662
34663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
34664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34666 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
34667 if (PyErr_Occurred()) SWIG_fail;
34668 {
34669 arg3 = wxString_in_helper(obj2);
34670 if (arg3 == NULL) SWIG_fail;
ae8162c8 34671 temp3 = true;
d55e5bfc
RD
34672 }
34673 {
34674 PyThreadState* __tstate = wxPyBeginAllowThreads();
34675 (arg1)->SetString(arg2,(wxString const &)*arg3);
34676
34677 wxPyEndAllowThreads(__tstate);
34678 if (PyErr_Occurred()) SWIG_fail;
34679 }
34680 Py_INCREF(Py_None); resultobj = Py_None;
34681 {
34682 if (temp3)
34683 delete arg3;
34684 }
34685 return resultobj;
34686 fail:
34687 {
34688 if (temp3)
34689 delete arg3;
34690 }
34691 return NULL;
34692}
34693
34694
c32bde28 34695static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34696 PyObject *resultobj;
34697 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34698 wxString *arg2 = 0 ;
34699 int result;
ae8162c8 34700 bool temp2 = false ;
d55e5bfc
RD
34701 PyObject * obj0 = 0 ;
34702 PyObject * obj1 = 0 ;
34703 char *kwnames[] = {
34704 (char *) "self",(char *) "s", NULL
34705 };
34706
34707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
34708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34710 {
34711 arg2 = wxString_in_helper(obj1);
34712 if (arg2 == NULL) SWIG_fail;
ae8162c8 34713 temp2 = true;
d55e5bfc
RD
34714 }
34715 {
34716 PyThreadState* __tstate = wxPyBeginAllowThreads();
34717 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
34718
34719 wxPyEndAllowThreads(__tstate);
34720 if (PyErr_Occurred()) SWIG_fail;
34721 }
c32bde28 34722 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
34723 {
34724 if (temp2)
34725 delete arg2;
34726 }
34727 return resultobj;
34728 fail:
34729 {
34730 if (temp2)
34731 delete arg2;
34732 }
34733 return NULL;
34734}
34735
34736
c32bde28 34737static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34738 PyObject *resultobj;
34739 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34740 int arg2 ;
34741 PyObject * obj0 = 0 ;
34742 PyObject * obj1 = 0 ;
34743 char *kwnames[] = {
34744 (char *) "self",(char *) "n", NULL
34745 };
34746
34747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
34748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34750 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
34751 if (PyErr_Occurred()) SWIG_fail;
34752 {
34753 PyThreadState* __tstate = wxPyBeginAllowThreads();
34754 (arg1)->Select(arg2);
34755
34756 wxPyEndAllowThreads(__tstate);
34757 if (PyErr_Occurred()) SWIG_fail;
34758 }
34759 Py_INCREF(Py_None); resultobj = Py_None;
34760 return resultobj;
34761 fail:
34762 return NULL;
34763}
34764
34765
c32bde28 34766static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34767 PyObject *resultobj;
34768 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34769 int result;
34770 PyObject * obj0 = 0 ;
34771 char *kwnames[] = {
34772 (char *) "self", NULL
34773 };
34774
34775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
34776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34778 {
34779 PyThreadState* __tstate = wxPyBeginAllowThreads();
34780 result = (int)((wxItemContainer const *)arg1)->GetSelection();
34781
34782 wxPyEndAllowThreads(__tstate);
34783 if (PyErr_Occurred()) SWIG_fail;
34784 }
c32bde28 34785 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
34786 return resultobj;
34787 fail:
34788 return NULL;
34789}
34790
34791
c32bde28 34792static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34793 PyObject *resultobj;
34794 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34795 wxString result;
34796 PyObject * obj0 = 0 ;
34797 char *kwnames[] = {
34798 (char *) "self", NULL
34799 };
34800
34801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
34802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34804 {
34805 PyThreadState* __tstate = wxPyBeginAllowThreads();
34806 result = ((wxItemContainer const *)arg1)->GetStringSelection();
34807
34808 wxPyEndAllowThreads(__tstate);
34809 if (PyErr_Occurred()) SWIG_fail;
34810 }
34811 {
34812#if wxUSE_UNICODE
34813 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34814#else
34815 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34816#endif
34817 }
34818 return resultobj;
34819 fail:
34820 return NULL;
34821}
34822
34823
c32bde28 34824static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34825 PyObject *resultobj;
34826 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34827 int arg2 ;
34828 PyObject *result;
34829 PyObject * obj0 = 0 ;
34830 PyObject * obj1 = 0 ;
34831 char *kwnames[] = {
34832 (char *) "self",(char *) "n", NULL
34833 };
34834
34835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
34836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34838 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
34839 if (PyErr_Occurred()) SWIG_fail;
34840 {
34841 PyThreadState* __tstate = wxPyBeginAllowThreads();
34842 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
34843
34844 wxPyEndAllowThreads(__tstate);
34845 if (PyErr_Occurred()) SWIG_fail;
34846 }
34847 resultobj = result;
34848 return resultobj;
34849 fail:
34850 return NULL;
34851}
34852
34853
c32bde28 34854static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34855 PyObject *resultobj;
34856 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34857 int arg2 ;
34858 PyObject *arg3 = (PyObject *) 0 ;
34859 PyObject * obj0 = 0 ;
34860 PyObject * obj1 = 0 ;
34861 PyObject * obj2 = 0 ;
34862 char *kwnames[] = {
34863 (char *) "self",(char *) "n",(char *) "clientData", NULL
34864 };
34865
34866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
34867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34869 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
34870 if (PyErr_Occurred()) SWIG_fail;
34871 arg3 = obj2;
34872 {
34873 PyThreadState* __tstate = wxPyBeginAllowThreads();
34874 wxItemContainer_SetClientData(arg1,arg2,arg3);
34875
34876 wxPyEndAllowThreads(__tstate);
34877 if (PyErr_Occurred()) SWIG_fail;
34878 }
34879 Py_INCREF(Py_None); resultobj = Py_None;
34880 return resultobj;
34881 fail:
34882 return NULL;
34883}
34884
34885
c32bde28 34886static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34887 PyObject *obj;
34888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34889 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
34890 Py_INCREF(obj);
34891 return Py_BuildValue((char *)"");
34892}
c32bde28 34893static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34894 PyObject *obj;
34895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34896 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
34897 Py_INCREF(obj);
34898 return Py_BuildValue((char *)"");
34899}
c32bde28 34900static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34901 PyObject *resultobj;
34902 wxSizerItem *result;
34903 char *kwnames[] = {
34904 NULL
34905 };
34906
34907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
34908 {
34909 PyThreadState* __tstate = wxPyBeginAllowThreads();
34910 result = (wxSizerItem *)new wxSizerItem();
34911
34912 wxPyEndAllowThreads(__tstate);
34913 if (PyErr_Occurred()) SWIG_fail;
34914 }
34915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
34916 return resultobj;
34917 fail:
34918 return NULL;
34919}
34920
34921
c32bde28 34922static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 34923 PyObject *resultobj;
248ed943 34924 wxWindow *arg1 = (wxWindow *) 0 ;
d55e5bfc
RD
34925 int arg2 ;
34926 int arg3 ;
34927 int arg4 ;
248ed943 34928 PyObject *arg5 = (PyObject *) NULL ;
d55e5bfc
RD
34929 wxSizerItem *result;
34930 PyObject * obj0 = 0 ;
34931 PyObject * obj1 = 0 ;
34932 PyObject * obj2 = 0 ;
34933 PyObject * obj3 = 0 ;
34934 PyObject * obj4 = 0 ;
d55e5bfc 34935 char *kwnames[] = {
248ed943 34936 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d55e5bfc
RD
34937 };
34938
248ed943
RD
34939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
34941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34942 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 34943 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34944 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 34945 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34946 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 34947 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
34948 if (obj4) {
34949 arg5 = obj4;
34950 }
d55e5bfc
RD
34951 {
34952 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 34953 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d55e5bfc
RD
34954
34955 wxPyEndAllowThreads(__tstate);
34956 if (PyErr_Occurred()) SWIG_fail;
34957 }
34958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
34959 return resultobj;
34960 fail:
34961 return NULL;
34962}
34963
34964
c32bde28 34965static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 34966 PyObject *resultobj;
248ed943 34967 int arg1 ;
d55e5bfc
RD
34968 int arg2 ;
34969 int arg3 ;
34970 int arg4 ;
248ed943
RD
34971 int arg5 ;
34972 PyObject *arg6 = (PyObject *) NULL ;
d55e5bfc
RD
34973 wxSizerItem *result;
34974 PyObject * obj0 = 0 ;
34975 PyObject * obj1 = 0 ;
34976 PyObject * obj2 = 0 ;
34977 PyObject * obj3 = 0 ;
34978 PyObject * obj4 = 0 ;
248ed943 34979 PyObject * obj5 = 0 ;
d55e5bfc 34980 char *kwnames[] = {
248ed943 34981 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d55e5bfc
RD
34982 };
34983
248ed943 34984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
c32bde28 34985 arg1 = (int)SWIG_As_int(obj0);
248ed943 34986 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34987 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 34988 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34989 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 34990 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34991 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 34992 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34993 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
34994 if (PyErr_Occurred()) SWIG_fail;
34995 if (obj5) {
34996 arg6 = obj5;
34997 }
d55e5bfc
RD
34998 {
34999 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 35000 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d55e5bfc
RD
35001
35002 wxPyEndAllowThreads(__tstate);
35003 if (PyErr_Occurred()) SWIG_fail;
35004 }
35005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
35006 return resultobj;
35007 fail:
35008 return NULL;
35009}
35010
35011
c32bde28 35012static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35013 PyObject *resultobj;
35014 wxSizer *arg1 = (wxSizer *) 0 ;
35015 int arg2 ;
35016 int arg3 ;
35017 int arg4 ;
248ed943 35018 PyObject *arg5 = (PyObject *) NULL ;
d55e5bfc
RD
35019 wxSizerItem *result;
35020 PyObject * obj0 = 0 ;
35021 PyObject * obj1 = 0 ;
35022 PyObject * obj2 = 0 ;
35023 PyObject * obj3 = 0 ;
35024 PyObject * obj4 = 0 ;
35025 char *kwnames[] = {
35026 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35027 };
35028
248ed943 35029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d55e5bfc
RD
35030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35032 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 35033 if (PyErr_Occurred()) SWIG_fail;
c32bde28 35034 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 35035 if (PyErr_Occurred()) SWIG_fail;
c32bde28 35036 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 35037 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
35038 if (obj4) {
35039 arg5 = obj4;
35040 }
d55e5bfc
RD
35041 {
35042 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 35043 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d55e5bfc
RD
35044
35045 wxPyEndAllowThreads(__tstate);
35046 if (PyErr_Occurred()) SWIG_fail;
35047 }
35048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
35049 return resultobj;
35050 fail:
35051 return NULL;
35052}
35053
35054
c32bde28 35055static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35056 PyObject *resultobj;
35057 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35058 PyObject * obj0 = 0 ;
35059 char *kwnames[] = {
35060 (char *) "self", NULL
35061 };
35062
35063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
35064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35066 {
35067 PyThreadState* __tstate = wxPyBeginAllowThreads();
35068 (arg1)->DeleteWindows();
35069
35070 wxPyEndAllowThreads(__tstate);
35071 if (PyErr_Occurred()) SWIG_fail;
35072 }
35073 Py_INCREF(Py_None); resultobj = Py_None;
35074 return resultobj;
35075 fail:
35076 return NULL;
35077}
35078
35079
c32bde28 35080static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35081 PyObject *resultobj;
35082 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35083 PyObject * obj0 = 0 ;
35084 char *kwnames[] = {
35085 (char *) "self", NULL
35086 };
35087
35088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
35089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35091 {
35092 PyThreadState* __tstate = wxPyBeginAllowThreads();
35093 (arg1)->DetachSizer();
35094
35095 wxPyEndAllowThreads(__tstate);
35096 if (PyErr_Occurred()) SWIG_fail;
35097 }
35098 Py_INCREF(Py_None); resultobj = Py_None;
35099 return resultobj;
35100 fail:
35101 return NULL;
35102}
35103
35104
c32bde28 35105static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35106 PyObject *resultobj;
35107 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35108 wxSize result;
35109 PyObject * obj0 = 0 ;
35110 char *kwnames[] = {
35111 (char *) "self", NULL
35112 };
35113
35114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
35115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35117 {
35118 PyThreadState* __tstate = wxPyBeginAllowThreads();
35119 result = (arg1)->GetSize();
35120
35121 wxPyEndAllowThreads(__tstate);
35122 if (PyErr_Occurred()) SWIG_fail;
35123 }
35124 {
35125 wxSize * resultptr;
35126 resultptr = new wxSize((wxSize &) result);
35127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35128 }
35129 return resultobj;
35130 fail:
35131 return NULL;
35132}
35133
35134
c32bde28 35135static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35136 PyObject *resultobj;
35137 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35138 wxSize result;
35139 PyObject * obj0 = 0 ;
35140 char *kwnames[] = {
35141 (char *) "self", NULL
35142 };
35143
35144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
35145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35147 {
35148 PyThreadState* __tstate = wxPyBeginAllowThreads();
35149 result = (arg1)->CalcMin();
35150
35151 wxPyEndAllowThreads(__tstate);
35152 if (PyErr_Occurred()) SWIG_fail;
35153 }
35154 {
35155 wxSize * resultptr;
35156 resultptr = new wxSize((wxSize &) result);
35157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35158 }
35159 return resultobj;
35160 fail:
35161 return NULL;
35162}
35163
35164
c32bde28 35165static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35166 PyObject *resultobj;
35167 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35168 wxPoint arg2 ;
35169 wxSize arg3 ;
35170 wxPoint *argp2 ;
35171 wxSize *argp3 ;
35172 PyObject * obj0 = 0 ;
35173 PyObject * obj1 = 0 ;
35174 PyObject * obj2 = 0 ;
35175 char *kwnames[] = {
35176 (char *) "self",(char *) "pos",(char *) "size", NULL
35177 };
35178
35179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
35180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35182 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
35183 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
35184 arg2 = *argp2;
35185 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
35186 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
35187 arg3 = *argp3;
35188 {
35189 PyThreadState* __tstate = wxPyBeginAllowThreads();
35190 (arg1)->SetDimension(arg2,arg3);
35191
35192 wxPyEndAllowThreads(__tstate);
35193 if (PyErr_Occurred()) SWIG_fail;
35194 }
35195 Py_INCREF(Py_None); resultobj = Py_None;
35196 return resultobj;
35197 fail:
35198 return NULL;
35199}
35200
35201
c32bde28 35202static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35203 PyObject *resultobj;
35204 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35205 wxSize result;
35206 PyObject * obj0 = 0 ;
35207 char *kwnames[] = {
35208 (char *) "self", NULL
35209 };
35210
35211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
35212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35214 {
35215 PyThreadState* __tstate = wxPyBeginAllowThreads();
35216 result = (arg1)->GetMinSize();
35217
35218 wxPyEndAllowThreads(__tstate);
35219 if (PyErr_Occurred()) SWIG_fail;
35220 }
35221 {
35222 wxSize * resultptr;
35223 resultptr = new wxSize((wxSize &) result);
35224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35225 }
35226 return resultobj;
35227 fail:
35228 return NULL;
35229}
35230
35231
c32bde28 35232static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
35233 PyObject *resultobj;
35234 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35235 wxSize result;
35236 PyObject * obj0 = 0 ;
35237 char *kwnames[] = {
35238 (char *) "self", NULL
35239 };
35240
35241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
35242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35244 {
35245 PyThreadState* __tstate = wxPyBeginAllowThreads();
35246 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
35247
35248 wxPyEndAllowThreads(__tstate);
35249 if (PyErr_Occurred()) SWIG_fail;
35250 }
35251 {
35252 wxSize * resultptr;
35253 resultptr = new wxSize((wxSize &) result);
35254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
35255 }
35256 return resultobj;
35257 fail:
35258 return NULL;
35259}
35260
35261
c32bde28 35262static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35263 PyObject *resultobj;
35264 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35265 int arg2 ;
35266 int arg3 ;
35267 PyObject * obj0 = 0 ;
35268 PyObject * obj1 = 0 ;
35269 PyObject * obj2 = 0 ;
35270 char *kwnames[] = {
35271 (char *) "self",(char *) "x",(char *) "y", NULL
35272 };
35273
35274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
35275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35277 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 35278 if (PyErr_Occurred()) SWIG_fail;
c32bde28 35279 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
35280 if (PyErr_Occurred()) SWIG_fail;
35281 {
35282 PyThreadState* __tstate = wxPyBeginAllowThreads();
35283 (arg1)->SetInitSize(arg2,arg3);
35284
35285 wxPyEndAllowThreads(__tstate);
35286 if (PyErr_Occurred()) SWIG_fail;
35287 }
35288 Py_INCREF(Py_None); resultobj = Py_None;
35289 return resultobj;
35290 fail:
35291 return NULL;
35292}
35293
35294
c32bde28 35295static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35296 PyObject *resultobj;
35297 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35298 int arg2 ;
35299 int arg3 ;
35300 PyObject * obj0 = 0 ;
35301 PyObject * obj1 = 0 ;
35302 PyObject * obj2 = 0 ;
35303 char *kwnames[] = {
35304 (char *) "self",(char *) "width",(char *) "height", NULL
35305 };
35306
35307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
35308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35310 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 35311 if (PyErr_Occurred()) SWIG_fail;
c32bde28 35312 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
35313 if (PyErr_Occurred()) SWIG_fail;
35314 {
35315 PyThreadState* __tstate = wxPyBeginAllowThreads();
35316 (arg1)->SetRatio(arg2,arg3);
35317
35318 wxPyEndAllowThreads(__tstate);
35319 if (PyErr_Occurred()) SWIG_fail;
35320 }
35321 Py_INCREF(Py_None); resultobj = Py_None;
35322 return resultobj;
35323 fail:
35324 return NULL;
35325}
35326
35327
c32bde28 35328static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35329 PyObject *resultobj;
35330 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35331 wxSize arg2 ;
35332 wxSize *argp2 ;
35333 PyObject * obj0 = 0 ;
35334 PyObject * obj1 = 0 ;
35335 char *kwnames[] = {
35336 (char *) "self",(char *) "size", NULL
35337 };
35338
35339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
35340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35342 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
35343 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
35344 arg2 = *argp2;
35345 {
35346 PyThreadState* __tstate = wxPyBeginAllowThreads();
35347 (arg1)->SetRatio(arg2);
35348
35349 wxPyEndAllowThreads(__tstate);
35350 if (PyErr_Occurred()) SWIG_fail;
35351 }
35352 Py_INCREF(Py_None); resultobj = Py_None;
35353 return resultobj;
35354 fail:
35355 return NULL;
35356}
35357
35358
c32bde28 35359static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35360 PyObject *resultobj;
35361 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35362 float arg2 ;
35363 PyObject * obj0 = 0 ;
35364 PyObject * obj1 = 0 ;
35365 char *kwnames[] = {
35366 (char *) "self",(char *) "ratio", NULL
35367 };
35368
35369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
35370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35372 arg2 = (float)SWIG_As_float(obj1);
d55e5bfc
RD
35373 if (PyErr_Occurred()) SWIG_fail;
35374 {
35375 PyThreadState* __tstate = wxPyBeginAllowThreads();
35376 (arg1)->SetRatio(arg2);
35377
35378 wxPyEndAllowThreads(__tstate);
35379 if (PyErr_Occurred()) SWIG_fail;
35380 }
35381 Py_INCREF(Py_None); resultobj = Py_None;
35382 return resultobj;
35383 fail:
35384 return NULL;
35385}
35386
35387
c32bde28 35388static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35389 PyObject *resultobj;
35390 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35391 float result;
35392 PyObject * obj0 = 0 ;
35393 char *kwnames[] = {
35394 (char *) "self", NULL
35395 };
35396
35397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
35398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35400 {
35401 PyThreadState* __tstate = wxPyBeginAllowThreads();
35402 result = (float)(arg1)->GetRatio();
35403
35404 wxPyEndAllowThreads(__tstate);
35405 if (PyErr_Occurred()) SWIG_fail;
35406 }
c32bde28 35407 resultobj = SWIG_From_float((float)result);
d55e5bfc
RD
35408 return resultobj;
35409 fail:
35410 return NULL;
35411}
35412
35413
c32bde28 35414static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35415 PyObject *resultobj;
35416 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35417 bool result;
35418 PyObject * obj0 = 0 ;
35419 char *kwnames[] = {
35420 (char *) "self", NULL
35421 };
35422
35423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
35424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35426 {
35427 PyThreadState* __tstate = wxPyBeginAllowThreads();
35428 result = (bool)(arg1)->IsWindow();
35429
35430 wxPyEndAllowThreads(__tstate);
35431 if (PyErr_Occurred()) SWIG_fail;
35432 }
35433 {
35434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35435 }
35436 return resultobj;
35437 fail:
35438 return NULL;
35439}
35440
35441
c32bde28 35442static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35443 PyObject *resultobj;
35444 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35445 bool result;
35446 PyObject * obj0 = 0 ;
35447 char *kwnames[] = {
35448 (char *) "self", NULL
35449 };
35450
35451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
35452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35454 {
35455 PyThreadState* __tstate = wxPyBeginAllowThreads();
35456 result = (bool)(arg1)->IsSizer();
35457
35458 wxPyEndAllowThreads(__tstate);
35459 if (PyErr_Occurred()) SWIG_fail;
35460 }
35461 {
35462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35463 }
35464 return resultobj;
35465 fail:
35466 return NULL;
35467}
35468
35469
c32bde28 35470static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35471 PyObject *resultobj;
35472 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35473 bool result;
35474 PyObject * obj0 = 0 ;
35475 char *kwnames[] = {
35476 (char *) "self", NULL
35477 };
35478
35479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
35480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35482 {
35483 PyThreadState* __tstate = wxPyBeginAllowThreads();
35484 result = (bool)(arg1)->IsSpacer();
35485
35486 wxPyEndAllowThreads(__tstate);
35487 if (PyErr_Occurred()) SWIG_fail;
35488 }
35489 {
35490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35491 }
35492 return resultobj;
35493 fail:
35494 return NULL;
35495}
35496
35497
c32bde28 35498static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35499 PyObject *resultobj;
35500 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35501 int arg2 ;
35502 PyObject * obj0 = 0 ;
35503 PyObject * obj1 = 0 ;
35504 char *kwnames[] = {
35505 (char *) "self",(char *) "proportion", NULL
35506 };
35507
35508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
35509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35511 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
35512 if (PyErr_Occurred()) SWIG_fail;
35513 {
35514 PyThreadState* __tstate = wxPyBeginAllowThreads();
35515 (arg1)->SetProportion(arg2);
35516
35517 wxPyEndAllowThreads(__tstate);
35518 if (PyErr_Occurred()) SWIG_fail;
35519 }
35520 Py_INCREF(Py_None); resultobj = Py_None;
35521 return resultobj;
35522 fail:
35523 return NULL;
35524}
35525
35526
c32bde28 35527static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35528 PyObject *resultobj;
35529 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35530 int result;
35531 PyObject * obj0 = 0 ;
35532 char *kwnames[] = {
35533 (char *) "self", NULL
35534 };
35535
35536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
35537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35539 {
35540 PyThreadState* __tstate = wxPyBeginAllowThreads();
35541 result = (int)(arg1)->GetProportion();
35542
35543 wxPyEndAllowThreads(__tstate);
35544 if (PyErr_Occurred()) SWIG_fail;
35545 }
c32bde28 35546 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
35547 return resultobj;
35548 fail:
35549 return NULL;
35550}
35551
35552
c32bde28 35553static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35554 PyObject *resultobj;
35555 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35556 int arg2 ;
35557 PyObject * obj0 = 0 ;
35558 PyObject * obj1 = 0 ;
35559 char *kwnames[] = {
35560 (char *) "self",(char *) "flag", NULL
35561 };
35562
35563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
35564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35566 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
35567 if (PyErr_Occurred()) SWIG_fail;
35568 {
35569 PyThreadState* __tstate = wxPyBeginAllowThreads();
35570 (arg1)->SetFlag(arg2);
35571
35572 wxPyEndAllowThreads(__tstate);
35573 if (PyErr_Occurred()) SWIG_fail;
35574 }
35575 Py_INCREF(Py_None); resultobj = Py_None;
35576 return resultobj;
35577 fail:
35578 return NULL;
35579}
35580
35581
c32bde28 35582static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35583 PyObject *resultobj;
35584 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35585 int result;
35586 PyObject * obj0 = 0 ;
35587 char *kwnames[] = {
35588 (char *) "self", NULL
35589 };
35590
35591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
35592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35594 {
35595 PyThreadState* __tstate = wxPyBeginAllowThreads();
35596 result = (int)(arg1)->GetFlag();
35597
35598 wxPyEndAllowThreads(__tstate);
35599 if (PyErr_Occurred()) SWIG_fail;
35600 }
c32bde28 35601 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
35602 return resultobj;
35603 fail:
35604 return NULL;
35605}
35606
35607
c32bde28 35608static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35609 PyObject *resultobj;
35610 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35611 int arg2 ;
35612 PyObject * obj0 = 0 ;
35613 PyObject * obj1 = 0 ;
35614 char *kwnames[] = {
35615 (char *) "self",(char *) "border", NULL
35616 };
35617
35618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
35619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35621 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
35622 if (PyErr_Occurred()) SWIG_fail;
35623 {
35624 PyThreadState* __tstate = wxPyBeginAllowThreads();
35625 (arg1)->SetBorder(arg2);
35626
35627 wxPyEndAllowThreads(__tstate);
35628 if (PyErr_Occurred()) SWIG_fail;
35629 }
35630 Py_INCREF(Py_None); resultobj = Py_None;
35631 return resultobj;
35632 fail:
35633 return NULL;
35634}
35635
35636
c32bde28 35637static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35638 PyObject *resultobj;
35639 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35640 int result;
35641 PyObject * obj0 = 0 ;
35642 char *kwnames[] = {
35643 (char *) "self", NULL
35644 };
35645
35646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
35647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35649 {
35650 PyThreadState* __tstate = wxPyBeginAllowThreads();
35651 result = (int)(arg1)->GetBorder();
35652
35653 wxPyEndAllowThreads(__tstate);
35654 if (PyErr_Occurred()) SWIG_fail;
35655 }
c32bde28 35656 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
35657 return resultobj;
35658 fail:
35659 return NULL;
35660}
35661
35662
c32bde28 35663static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35664 PyObject *resultobj;
35665 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35666 wxWindow *result;
35667 PyObject * obj0 = 0 ;
35668 char *kwnames[] = {
35669 (char *) "self", NULL
35670 };
35671
35672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
35673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35675 {
35676 PyThreadState* __tstate = wxPyBeginAllowThreads();
35677 result = (wxWindow *)(arg1)->GetWindow();
35678
35679 wxPyEndAllowThreads(__tstate);
35680 if (PyErr_Occurred()) SWIG_fail;
35681 }
35682 {
412d302d 35683 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
35684 }
35685 return resultobj;
35686 fail:
35687 return NULL;
35688}
35689
35690
c32bde28 35691static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35692 PyObject *resultobj;
35693 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35694 wxWindow *arg2 = (wxWindow *) 0 ;
35695 PyObject * obj0 = 0 ;
35696 PyObject * obj1 = 0 ;
35697 char *kwnames[] = {
35698 (char *) "self",(char *) "window", NULL
35699 };
35700
35701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
35702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35706 {
35707 PyThreadState* __tstate = wxPyBeginAllowThreads();
35708 (arg1)->SetWindow(arg2);
35709
35710 wxPyEndAllowThreads(__tstate);
35711 if (PyErr_Occurred()) SWIG_fail;
35712 }
35713 Py_INCREF(Py_None); resultobj = Py_None;
35714 return resultobj;
35715 fail:
35716 return NULL;
35717}
35718
35719
c32bde28 35720static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35721 PyObject *resultobj;
35722 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35723 wxSizer *result;
35724 PyObject * obj0 = 0 ;
35725 char *kwnames[] = {
35726 (char *) "self", NULL
35727 };
35728
35729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
35730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35732 {
35733 PyThreadState* __tstate = wxPyBeginAllowThreads();
35734 result = (wxSizer *)(arg1)->GetSizer();
35735
35736 wxPyEndAllowThreads(__tstate);
35737 if (PyErr_Occurred()) SWIG_fail;
35738 }
35739 {
412d302d 35740 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
35741 }
35742 return resultobj;
35743 fail:
35744 return NULL;
35745}
35746
35747
c32bde28 35748static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35749 PyObject *resultobj;
35750 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35751 wxSizer *arg2 = (wxSizer *) 0 ;
35752 PyObject * obj0 = 0 ;
35753 PyObject * obj1 = 0 ;
35754 char *kwnames[] = {
35755 (char *) "self",(char *) "sizer", NULL
35756 };
35757
35758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
35759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
35762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35763 {
35764 PyThreadState* __tstate = wxPyBeginAllowThreads();
35765 (arg1)->SetSizer(arg2);
35766
35767 wxPyEndAllowThreads(__tstate);
35768 if (PyErr_Occurred()) SWIG_fail;
35769 }
35770 Py_INCREF(Py_None); resultobj = Py_None;
35771 return resultobj;
35772 fail:
35773 return NULL;
35774}
35775
35776
c32bde28 35777static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35778 PyObject *resultobj;
35779 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35780 wxSize *result;
35781 PyObject * obj0 = 0 ;
35782 char *kwnames[] = {
35783 (char *) "self", NULL
35784 };
35785
35786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
35787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35789 {
35790 PyThreadState* __tstate = wxPyBeginAllowThreads();
35791 {
35792 wxSize const &_result_ref = (arg1)->GetSpacer();
35793 result = (wxSize *) &_result_ref;
35794 }
35795
35796 wxPyEndAllowThreads(__tstate);
35797 if (PyErr_Occurred()) SWIG_fail;
35798 }
35799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
35800 return resultobj;
35801 fail:
35802 return NULL;
35803}
35804
35805
c32bde28 35806static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35807 PyObject *resultobj;
35808 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35809 wxSize *arg2 = 0 ;
35810 wxSize temp2 ;
35811 PyObject * obj0 = 0 ;
35812 PyObject * obj1 = 0 ;
35813 char *kwnames[] = {
35814 (char *) "self",(char *) "size", NULL
35815 };
35816
35817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
35818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35820 {
35821 arg2 = &temp2;
35822 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35823 }
35824 {
35825 PyThreadState* __tstate = wxPyBeginAllowThreads();
35826 (arg1)->SetSpacer((wxSize const &)*arg2);
35827
35828 wxPyEndAllowThreads(__tstate);
35829 if (PyErr_Occurred()) SWIG_fail;
35830 }
35831 Py_INCREF(Py_None); resultobj = Py_None;
35832 return resultobj;
35833 fail:
35834 return NULL;
35835}
35836
35837
c32bde28 35838static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35839 PyObject *resultobj;
35840 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35841 bool arg2 ;
35842 PyObject * obj0 = 0 ;
35843 PyObject * obj1 = 0 ;
35844 char *kwnames[] = {
35845 (char *) "self",(char *) "show", NULL
35846 };
35847
35848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
35849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35851 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
35852 if (PyErr_Occurred()) SWIG_fail;
35853 {
35854 PyThreadState* __tstate = wxPyBeginAllowThreads();
35855 (arg1)->Show(arg2);
35856
35857 wxPyEndAllowThreads(__tstate);
35858 if (PyErr_Occurred()) SWIG_fail;
35859 }
35860 Py_INCREF(Py_None); resultobj = Py_None;
35861 return resultobj;
35862 fail:
35863 return NULL;
35864}
35865
35866
c32bde28 35867static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35868 PyObject *resultobj;
35869 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35870 bool result;
35871 PyObject * obj0 = 0 ;
35872 char *kwnames[] = {
35873 (char *) "self", NULL
35874 };
35875
35876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
35877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35879 {
35880 PyThreadState* __tstate = wxPyBeginAllowThreads();
35881 result = (bool)(arg1)->IsShown();
35882
35883 wxPyEndAllowThreads(__tstate);
35884 if (PyErr_Occurred()) SWIG_fail;
35885 }
35886 {
35887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35888 }
35889 return resultobj;
35890 fail:
35891 return NULL;
35892}
35893
35894
c32bde28 35895static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35896 PyObject *resultobj;
35897 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35898 wxPoint result;
35899 PyObject * obj0 = 0 ;
35900 char *kwnames[] = {
35901 (char *) "self", NULL
35902 };
35903
35904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
35905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35907 {
35908 PyThreadState* __tstate = wxPyBeginAllowThreads();
35909 result = (arg1)->GetPosition();
35910
35911 wxPyEndAllowThreads(__tstate);
35912 if (PyErr_Occurred()) SWIG_fail;
35913 }
35914 {
35915 wxPoint * resultptr;
35916 resultptr = new wxPoint((wxPoint &) result);
35917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
35918 }
35919 return resultobj;
35920 fail:
35921 return NULL;
35922}
35923
35924
c32bde28 35925static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35926 PyObject *resultobj;
35927 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35928 PyObject *result;
35929 PyObject * obj0 = 0 ;
35930 char *kwnames[] = {
35931 (char *) "self", NULL
35932 };
35933
35934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
35935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35937 {
35938 PyThreadState* __tstate = wxPyBeginAllowThreads();
35939 result = (PyObject *)wxSizerItem_GetUserData(arg1);
35940
35941 wxPyEndAllowThreads(__tstate);
35942 if (PyErr_Occurred()) SWIG_fail;
35943 }
35944 resultobj = result;
35945 return resultobj;
35946 fail:
35947 return NULL;
35948}
35949
35950
c32bde28 35951static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
35952 PyObject *obj;
35953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35954 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
35955 Py_INCREF(obj);
35956 return Py_BuildValue((char *)"");
35957}
c32bde28 35958static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35959 PyObject *resultobj;
35960 wxSizer *arg1 = (wxSizer *) 0 ;
35961 PyObject *arg2 = (PyObject *) 0 ;
35962 PyObject * obj0 = 0 ;
35963 PyObject * obj1 = 0 ;
35964 char *kwnames[] = {
35965 (char *) "self",(char *) "_self", NULL
35966 };
35967
35968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
35969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35971 arg2 = obj1;
35972 {
35973 PyThreadState* __tstate = wxPyBeginAllowThreads();
35974 wxSizer__setOORInfo(arg1,arg2);
35975
35976 wxPyEndAllowThreads(__tstate);
35977 if (PyErr_Occurred()) SWIG_fail;
35978 }
35979 Py_INCREF(Py_None); resultobj = Py_None;
35980 return resultobj;
35981 fail:
35982 return NULL;
35983}
35984
35985
c32bde28 35986static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
35987 PyObject *resultobj;
35988 wxSizer *arg1 = (wxSizer *) 0 ;
35989 PyObject *arg2 = (PyObject *) 0 ;
35990 int arg3 = (int) 0 ;
35991 int arg4 = (int) 0 ;
35992 int arg5 = (int) 0 ;
35993 PyObject *arg6 = (PyObject *) NULL ;
35994 PyObject * obj0 = 0 ;
35995 PyObject * obj1 = 0 ;
35996 PyObject * obj2 = 0 ;
35997 PyObject * obj3 = 0 ;
35998 PyObject * obj4 = 0 ;
35999 PyObject * obj5 = 0 ;
36000 char *kwnames[] = {
36001 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36002 };
36003
36004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36007 arg2 = obj1;
36008 if (obj2) {
c32bde28 36009 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
36010 if (PyErr_Occurred()) SWIG_fail;
36011 }
36012 if (obj3) {
c32bde28 36013 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
36014 if (PyErr_Occurred()) SWIG_fail;
36015 }
36016 if (obj4) {
c32bde28 36017 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
36018 if (PyErr_Occurred()) SWIG_fail;
36019 }
36020 if (obj5) {
36021 arg6 = obj5;
36022 }
36023 {
36024 PyThreadState* __tstate = wxPyBeginAllowThreads();
36025 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
36026
36027 wxPyEndAllowThreads(__tstate);
36028 if (PyErr_Occurred()) SWIG_fail;
36029 }
36030 Py_INCREF(Py_None); resultobj = Py_None;
36031 return resultobj;
36032 fail:
36033 return NULL;
36034}
36035
36036
c32bde28 36037static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36038 PyObject *resultobj;
36039 wxSizer *arg1 = (wxSizer *) 0 ;
36040 int arg2 ;
36041 PyObject *arg3 = (PyObject *) 0 ;
36042 int arg4 = (int) 0 ;
36043 int arg5 = (int) 0 ;
36044 int arg6 = (int) 0 ;
36045 PyObject *arg7 = (PyObject *) NULL ;
36046 PyObject * obj0 = 0 ;
36047 PyObject * obj1 = 0 ;
36048 PyObject * obj2 = 0 ;
36049 PyObject * obj3 = 0 ;
36050 PyObject * obj4 = 0 ;
36051 PyObject * obj5 = 0 ;
36052 PyObject * obj6 = 0 ;
36053 char *kwnames[] = {
36054 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36055 };
36056
36057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36060 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
36061 if (PyErr_Occurred()) SWIG_fail;
36062 arg3 = obj2;
36063 if (obj3) {
c32bde28 36064 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
36065 if (PyErr_Occurred()) SWIG_fail;
36066 }
36067 if (obj4) {
c32bde28 36068 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
36069 if (PyErr_Occurred()) SWIG_fail;
36070 }
36071 if (obj5) {
c32bde28 36072 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
36073 if (PyErr_Occurred()) SWIG_fail;
36074 }
36075 if (obj6) {
36076 arg7 = obj6;
36077 }
36078 {
36079 PyThreadState* __tstate = wxPyBeginAllowThreads();
36080 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
36081
36082 wxPyEndAllowThreads(__tstate);
36083 if (PyErr_Occurred()) SWIG_fail;
36084 }
36085 Py_INCREF(Py_None); resultobj = Py_None;
36086 return resultobj;
36087 fail:
36088 return NULL;
36089}
36090
36091
c32bde28 36092static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36093 PyObject *resultobj;
36094 wxSizer *arg1 = (wxSizer *) 0 ;
36095 PyObject *arg2 = (PyObject *) 0 ;
36096 int arg3 = (int) 0 ;
36097 int arg4 = (int) 0 ;
36098 int arg5 = (int) 0 ;
36099 PyObject *arg6 = (PyObject *) NULL ;
36100 PyObject * obj0 = 0 ;
36101 PyObject * obj1 = 0 ;
36102 PyObject * obj2 = 0 ;
36103 PyObject * obj3 = 0 ;
36104 PyObject * obj4 = 0 ;
36105 PyObject * obj5 = 0 ;
36106 char *kwnames[] = {
36107 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
36108 };
36109
36110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36113 arg2 = obj1;
36114 if (obj2) {
c32bde28 36115 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
36116 if (PyErr_Occurred()) SWIG_fail;
36117 }
36118 if (obj3) {
c32bde28 36119 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
36120 if (PyErr_Occurred()) SWIG_fail;
36121 }
36122 if (obj4) {
c32bde28 36123 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
36124 if (PyErr_Occurred()) SWIG_fail;
36125 }
36126 if (obj5) {
36127 arg6 = obj5;
36128 }
36129 {
36130 PyThreadState* __tstate = wxPyBeginAllowThreads();
36131 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
36132
36133 wxPyEndAllowThreads(__tstate);
36134 if (PyErr_Occurred()) SWIG_fail;
36135 }
36136 Py_INCREF(Py_None); resultobj = Py_None;
36137 return resultobj;
36138 fail:
36139 return NULL;
36140}
36141
36142
c32bde28 36143static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36144 PyObject *resultobj;
36145 wxSizer *arg1 = (wxSizer *) 0 ;
36146 PyObject *arg2 = (PyObject *) 0 ;
36147 bool result;
36148 PyObject * obj0 = 0 ;
36149 PyObject * obj1 = 0 ;
36150 char *kwnames[] = {
36151 (char *) "self",(char *) "item", NULL
36152 };
36153
36154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
36155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36157 arg2 = obj1;
36158 {
36159 PyThreadState* __tstate = wxPyBeginAllowThreads();
36160 result = (bool)wxSizer_Remove(arg1,arg2);
36161
36162 wxPyEndAllowThreads(__tstate);
36163 if (PyErr_Occurred()) SWIG_fail;
36164 }
36165 {
36166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36167 }
36168 return resultobj;
36169 fail:
36170 return NULL;
36171}
36172
36173
c32bde28 36174static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
1a6bba1e
RD
36175 PyObject *resultobj;
36176 wxSizer *arg1 = (wxSizer *) 0 ;
36177 PyObject *arg2 = (PyObject *) 0 ;
36178 bool result;
36179 PyObject * obj0 = 0 ;
36180 PyObject * obj1 = 0 ;
36181 char *kwnames[] = {
36182 (char *) "self",(char *) "item", NULL
36183 };
36184
36185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
36186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36188 arg2 = obj1;
36189 {
36190 PyThreadState* __tstate = wxPyBeginAllowThreads();
36191 result = (bool)wxSizer_Detach(arg1,arg2);
36192
36193 wxPyEndAllowThreads(__tstate);
36194 if (PyErr_Occurred()) SWIG_fail;
36195 }
36196 {
36197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36198 }
36199 return resultobj;
36200 fail:
36201 return NULL;
36202}
36203
36204
c32bde28 36205static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36206 PyObject *resultobj;
36207 wxSizer *arg1 = (wxSizer *) 0 ;
36208 PyObject *arg2 = (PyObject *) 0 ;
36209 wxSize *arg3 = 0 ;
36210 wxSize temp3 ;
36211 PyObject * obj0 = 0 ;
36212 PyObject * obj1 = 0 ;
36213 PyObject * obj2 = 0 ;
36214 char *kwnames[] = {
36215 (char *) "self",(char *) "item",(char *) "size", NULL
36216 };
36217
36218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36221 arg2 = obj1;
36222 {
36223 arg3 = &temp3;
36224 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
36225 }
36226 {
36227 PyThreadState* __tstate = wxPyBeginAllowThreads();
36228 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
36229
36230 wxPyEndAllowThreads(__tstate);
36231 if (PyErr_Occurred()) SWIG_fail;
36232 }
36233 Py_INCREF(Py_None); resultobj = Py_None;
36234 return resultobj;
36235 fail:
36236 return NULL;
36237}
36238
36239
c32bde28 36240static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36241 PyObject *resultobj;
36242 wxSizer *arg1 = (wxSizer *) 0 ;
36243 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
36244 PyObject * obj0 = 0 ;
36245 PyObject * obj1 = 0 ;
36246 char *kwnames[] = {
36247 (char *) "self",(char *) "item", NULL
36248 };
36249
36250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
36251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
36254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36255 {
36256 PyThreadState* __tstate = wxPyBeginAllowThreads();
36257 (arg1)->Add(arg2);
36258
36259 wxPyEndAllowThreads(__tstate);
36260 if (PyErr_Occurred()) SWIG_fail;
36261 }
36262 Py_INCREF(Py_None); resultobj = Py_None;
36263 return resultobj;
36264 fail:
36265 return NULL;
36266}
36267
36268
c32bde28 36269static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36270 PyObject *resultobj;
36271 wxSizer *arg1 = (wxSizer *) 0 ;
36272 size_t arg2 ;
36273 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
36274 PyObject * obj0 = 0 ;
36275 PyObject * obj1 = 0 ;
36276 PyObject * obj2 = 0 ;
36277 char *kwnames[] = {
36278 (char *) "self",(char *) "index",(char *) "item", NULL
36279 };
36280
36281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36284 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
36285 if (PyErr_Occurred()) SWIG_fail;
36286 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
36287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36288 {
36289 PyThreadState* __tstate = wxPyBeginAllowThreads();
36290 (arg1)->Insert(arg2,arg3);
36291
36292 wxPyEndAllowThreads(__tstate);
36293 if (PyErr_Occurred()) SWIG_fail;
36294 }
36295 Py_INCREF(Py_None); resultobj = Py_None;
36296 return resultobj;
36297 fail:
36298 return NULL;
36299}
36300
36301
c32bde28 36302static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36303 PyObject *resultobj;
36304 wxSizer *arg1 = (wxSizer *) 0 ;
36305 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
36306 PyObject * obj0 = 0 ;
36307 PyObject * obj1 = 0 ;
36308 char *kwnames[] = {
36309 (char *) "self",(char *) "item", NULL
36310 };
36311
36312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
36313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
36316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36317 {
36318 PyThreadState* __tstate = wxPyBeginAllowThreads();
36319 (arg1)->Prepend(arg2);
36320
36321 wxPyEndAllowThreads(__tstate);
36322 if (PyErr_Occurred()) SWIG_fail;
36323 }
36324 Py_INCREF(Py_None); resultobj = Py_None;
36325 return resultobj;
36326 fail:
36327 return NULL;
36328}
36329
36330
c32bde28 36331static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36332 PyObject *resultobj;
36333 wxSizer *arg1 = (wxSizer *) 0 ;
36334 int arg2 ;
36335 int arg3 ;
36336 int arg4 ;
36337 int arg5 ;
36338 PyObject * obj0 = 0 ;
36339 PyObject * obj1 = 0 ;
36340 PyObject * obj2 = 0 ;
36341 PyObject * obj3 = 0 ;
36342 PyObject * obj4 = 0 ;
36343 char *kwnames[] = {
36344 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36345 };
36346
36347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36350 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc 36351 if (PyErr_Occurred()) SWIG_fail;
c32bde28 36352 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 36353 if (PyErr_Occurred()) SWIG_fail;
c32bde28 36354 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 36355 if (PyErr_Occurred()) SWIG_fail;
c32bde28 36356 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
36357 if (PyErr_Occurred()) SWIG_fail;
36358 {
36359 PyThreadState* __tstate = wxPyBeginAllowThreads();
36360 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
36361
36362 wxPyEndAllowThreads(__tstate);
36363 if (PyErr_Occurred()) SWIG_fail;
36364 }
36365 Py_INCREF(Py_None); resultobj = Py_None;
36366 return resultobj;
36367 fail:
36368 return NULL;
36369}
36370
36371
c32bde28 36372static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36373 PyObject *resultobj;
36374 wxSizer *arg1 = (wxSizer *) 0 ;
36375 wxSize *arg2 = 0 ;
36376 wxSize temp2 ;
36377 PyObject * obj0 = 0 ;
36378 PyObject * obj1 = 0 ;
36379 char *kwnames[] = {
36380 (char *) "self",(char *) "size", NULL
36381 };
36382
36383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
36384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36386 {
36387 arg2 = &temp2;
36388 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36389 }
36390 {
36391 PyThreadState* __tstate = wxPyBeginAllowThreads();
36392 (arg1)->SetMinSize((wxSize const &)*arg2);
36393
36394 wxPyEndAllowThreads(__tstate);
36395 if (PyErr_Occurred()) SWIG_fail;
36396 }
36397 Py_INCREF(Py_None); resultobj = Py_None;
36398 return resultobj;
36399 fail:
36400 return NULL;
36401}
36402
36403
c32bde28 36404static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36405 PyObject *resultobj;
36406 wxSizer *arg1 = (wxSizer *) 0 ;
36407 wxSize result;
36408 PyObject * obj0 = 0 ;
36409 char *kwnames[] = {
36410 (char *) "self", NULL
36411 };
36412
36413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
36414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36416 {
36417 PyThreadState* __tstate = wxPyBeginAllowThreads();
36418 result = (arg1)->GetSize();
36419
36420 wxPyEndAllowThreads(__tstate);
36421 if (PyErr_Occurred()) SWIG_fail;
36422 }
36423 {
36424 wxSize * resultptr;
36425 resultptr = new wxSize((wxSize &) result);
36426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36427 }
36428 return resultobj;
36429 fail:
36430 return NULL;
36431}
36432
36433
c32bde28 36434static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36435 PyObject *resultobj;
36436 wxSizer *arg1 = (wxSizer *) 0 ;
36437 wxPoint result;
36438 PyObject * obj0 = 0 ;
36439 char *kwnames[] = {
36440 (char *) "self", NULL
36441 };
36442
36443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
36444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36446 {
36447 PyThreadState* __tstate = wxPyBeginAllowThreads();
36448 result = (arg1)->GetPosition();
36449
36450 wxPyEndAllowThreads(__tstate);
36451 if (PyErr_Occurred()) SWIG_fail;
36452 }
36453 {
36454 wxPoint * resultptr;
36455 resultptr = new wxPoint((wxPoint &) result);
36456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
36457 }
36458 return resultobj;
36459 fail:
36460 return NULL;
36461}
36462
36463
c32bde28 36464static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36465 PyObject *resultobj;
36466 wxSizer *arg1 = (wxSizer *) 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:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
36474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36476 {
36477 PyThreadState* __tstate = wxPyBeginAllowThreads();
36478 result = (arg1)->GetMinSize();
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
c32bde28 36494static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36495 PyObject *resultobj;
36496 wxSizer *arg1 = (wxSizer *) 0 ;
36497 PyObject * obj0 = 0 ;
36498 char *kwnames[] = {
36499 (char *) "self", NULL
36500 };
36501
36502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
36503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36505 {
36506 PyThreadState* __tstate = wxPyBeginAllowThreads();
36507 (arg1)->RecalcSizes();
36508
36509 wxPyEndAllowThreads(__tstate);
36510 if (PyErr_Occurred()) SWIG_fail;
36511 }
36512 Py_INCREF(Py_None); resultobj = Py_None;
36513 return resultobj;
36514 fail:
36515 return NULL;
36516}
36517
36518
c32bde28 36519static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36520 PyObject *resultobj;
36521 wxSizer *arg1 = (wxSizer *) 0 ;
36522 wxSize result;
36523 PyObject * obj0 = 0 ;
36524 char *kwnames[] = {
36525 (char *) "self", NULL
36526 };
36527
36528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
36529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36531 {
36532 PyThreadState* __tstate = wxPyBeginAllowThreads();
36533 result = (arg1)->CalcMin();
36534
36535 wxPyEndAllowThreads(__tstate);
36536 if (PyErr_Occurred()) SWIG_fail;
36537 }
36538 {
36539 wxSize * resultptr;
36540 resultptr = new wxSize((wxSize &) result);
36541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36542 }
36543 return resultobj;
36544 fail:
36545 return NULL;
36546}
36547
36548
c32bde28 36549static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36550 PyObject *resultobj;
36551 wxSizer *arg1 = (wxSizer *) 0 ;
36552 PyObject * obj0 = 0 ;
36553 char *kwnames[] = {
36554 (char *) "self", NULL
36555 };
36556
36557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
36558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36560 {
36561 PyThreadState* __tstate = wxPyBeginAllowThreads();
36562 (arg1)->Layout();
36563
36564 wxPyEndAllowThreads(__tstate);
36565 if (PyErr_Occurred()) SWIG_fail;
36566 }
36567 Py_INCREF(Py_None); resultobj = Py_None;
36568 return resultobj;
36569 fail:
36570 return NULL;
36571}
36572
36573
c32bde28 36574static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36575 PyObject *resultobj;
36576 wxSizer *arg1 = (wxSizer *) 0 ;
36577 wxWindow *arg2 = (wxWindow *) 0 ;
36578 wxSize result;
36579 PyObject * obj0 = 0 ;
36580 PyObject * obj1 = 0 ;
36581 char *kwnames[] = {
36582 (char *) "self",(char *) "window", NULL
36583 };
36584
36585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
36586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36590 {
36591 PyThreadState* __tstate = wxPyBeginAllowThreads();
36592 result = (arg1)->Fit(arg2);
36593
36594 wxPyEndAllowThreads(__tstate);
36595 if (PyErr_Occurred()) SWIG_fail;
36596 }
36597 {
36598 wxSize * resultptr;
36599 resultptr = new wxSize((wxSize &) result);
36600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
36601 }
36602 return resultobj;
36603 fail:
36604 return NULL;
36605}
36606
36607
c32bde28 36608static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36609 PyObject *resultobj;
36610 wxSizer *arg1 = (wxSizer *) 0 ;
36611 wxWindow *arg2 = (wxWindow *) 0 ;
36612 PyObject * obj0 = 0 ;
36613 PyObject * obj1 = 0 ;
36614 char *kwnames[] = {
36615 (char *) "self",(char *) "window", NULL
36616 };
36617
36618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
36619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36623 {
36624 PyThreadState* __tstate = wxPyBeginAllowThreads();
36625 (arg1)->FitInside(arg2);
36626
36627 wxPyEndAllowThreads(__tstate);
36628 if (PyErr_Occurred()) SWIG_fail;
36629 }
36630 Py_INCREF(Py_None); resultobj = Py_None;
36631 return resultobj;
36632 fail:
36633 return NULL;
36634}
36635
36636
c32bde28 36637static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36638 PyObject *resultobj;
36639 wxSizer *arg1 = (wxSizer *) 0 ;
36640 wxWindow *arg2 = (wxWindow *) 0 ;
36641 PyObject * obj0 = 0 ;
36642 PyObject * obj1 = 0 ;
36643 char *kwnames[] = {
36644 (char *) "self",(char *) "window", NULL
36645 };
36646
36647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
36648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36650 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36652 {
36653 PyThreadState* __tstate = wxPyBeginAllowThreads();
36654 (arg1)->SetSizeHints(arg2);
36655
36656 wxPyEndAllowThreads(__tstate);
36657 if (PyErr_Occurred()) SWIG_fail;
36658 }
36659 Py_INCREF(Py_None); resultobj = Py_None;
36660 return resultobj;
36661 fail:
36662 return NULL;
36663}
36664
36665
c32bde28 36666static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36667 PyObject *resultobj;
36668 wxSizer *arg1 = (wxSizer *) 0 ;
36669 wxWindow *arg2 = (wxWindow *) 0 ;
36670 PyObject * obj0 = 0 ;
36671 PyObject * obj1 = 0 ;
36672 char *kwnames[] = {
36673 (char *) "self",(char *) "window", NULL
36674 };
36675
36676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
36677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36679 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36681 {
36682 PyThreadState* __tstate = wxPyBeginAllowThreads();
36683 (arg1)->SetVirtualSizeHints(arg2);
36684
36685 wxPyEndAllowThreads(__tstate);
36686 if (PyErr_Occurred()) SWIG_fail;
36687 }
36688 Py_INCREF(Py_None); resultobj = Py_None;
36689 return resultobj;
36690 fail:
36691 return NULL;
36692}
36693
36694
c32bde28 36695static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36696 PyObject *resultobj;
36697 wxSizer *arg1 = (wxSizer *) 0 ;
ae8162c8 36698 bool arg2 = (bool) false ;
d55e5bfc
RD
36699 PyObject * obj0 = 0 ;
36700 PyObject * obj1 = 0 ;
36701 char *kwnames[] = {
248ed943 36702 (char *) "self",(char *) "deleteWindows", NULL
d55e5bfc
RD
36703 };
36704
36705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
36706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36708 if (obj1) {
c32bde28 36709 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
36710 if (PyErr_Occurred()) SWIG_fail;
36711 }
36712 {
36713 PyThreadState* __tstate = wxPyBeginAllowThreads();
36714 (arg1)->Clear(arg2);
36715
36716 wxPyEndAllowThreads(__tstate);
36717 if (PyErr_Occurred()) SWIG_fail;
36718 }
36719 Py_INCREF(Py_None); resultobj = Py_None;
36720 return resultobj;
36721 fail:
36722 return NULL;
36723}
36724
36725
c32bde28 36726static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36727 PyObject *resultobj;
36728 wxSizer *arg1 = (wxSizer *) 0 ;
36729 PyObject * obj0 = 0 ;
36730 char *kwnames[] = {
36731 (char *) "self", NULL
36732 };
36733
36734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
36735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36737 {
36738 PyThreadState* __tstate = wxPyBeginAllowThreads();
36739 (arg1)->DeleteWindows();
36740
36741 wxPyEndAllowThreads(__tstate);
36742 if (PyErr_Occurred()) SWIG_fail;
36743 }
36744 Py_INCREF(Py_None); resultobj = Py_None;
36745 return resultobj;
36746 fail:
36747 return NULL;
36748}
36749
36750
c32bde28 36751static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36752 PyObject *resultobj;
36753 wxSizer *arg1 = (wxSizer *) 0 ;
36754 PyObject *result;
36755 PyObject * obj0 = 0 ;
36756 char *kwnames[] = {
36757 (char *) "self", NULL
36758 };
36759
36760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
36761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36763 {
36764 PyThreadState* __tstate = wxPyBeginAllowThreads();
36765 result = (PyObject *)wxSizer_GetChildren(arg1);
36766
36767 wxPyEndAllowThreads(__tstate);
36768 if (PyErr_Occurred()) SWIG_fail;
36769 }
36770 resultobj = result;
36771 return resultobj;
36772 fail:
36773 return NULL;
36774}
36775
36776
c32bde28 36777static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36778 PyObject *resultobj;
36779 wxSizer *arg1 = (wxSizer *) 0 ;
36780 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8
RD
36781 bool arg3 = (bool) true ;
36782 bool arg4 = (bool) false ;
7e63a440 36783 bool result;
d55e5bfc
RD
36784 PyObject * obj0 = 0 ;
36785 PyObject * obj1 = 0 ;
36786 PyObject * obj2 = 0 ;
7e63a440 36787 PyObject * obj3 = 0 ;
d55e5bfc 36788 char *kwnames[] = {
7e63a440 36789 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
d55e5bfc
RD
36790 };
36791
7e63a440 36792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Sizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
36793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36795 arg2 = obj1;
36796 if (obj2) {
c32bde28 36797 arg3 = (bool)SWIG_As_bool(obj2);
d55e5bfc
RD
36798 if (PyErr_Occurred()) SWIG_fail;
36799 }
7e63a440
RD
36800 if (obj3) {
36801 arg4 = (bool)SWIG_As_bool(obj3);
36802 if (PyErr_Occurred()) SWIG_fail;
36803 }
d55e5bfc
RD
36804 {
36805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e63a440 36806 result = (bool)wxSizer_Show(arg1,arg2,arg3,arg4);
d55e5bfc
RD
36807
36808 wxPyEndAllowThreads(__tstate);
36809 if (PyErr_Occurred()) SWIG_fail;
36810 }
7e63a440
RD
36811 {
36812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36813 }
d55e5bfc
RD
36814 return resultobj;
36815 fail:
36816 return NULL;
36817}
36818
36819
c32bde28 36820static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36821 PyObject *resultobj;
36822 wxSizer *arg1 = (wxSizer *) 0 ;
36823 PyObject *arg2 = (PyObject *) 0 ;
36824 bool result;
36825 PyObject * obj0 = 0 ;
36826 PyObject * obj1 = 0 ;
36827 char *kwnames[] = {
36828 (char *) "self",(char *) "item", NULL
36829 };
36830
36831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
36832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36834 arg2 = obj1;
36835 {
36836 PyThreadState* __tstate = wxPyBeginAllowThreads();
36837 result = (bool)wxSizer_IsShown(arg1,arg2);
36838
36839 wxPyEndAllowThreads(__tstate);
36840 if (PyErr_Occurred()) SWIG_fail;
36841 }
36842 {
36843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36844 }
36845 return resultobj;
36846 fail:
36847 return NULL;
36848}
36849
36850
c32bde28 36851static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36852 PyObject *resultobj;
36853 wxSizer *arg1 = (wxSizer *) 0 ;
36854 bool arg2 ;
36855 PyObject * obj0 = 0 ;
36856 PyObject * obj1 = 0 ;
36857 char *kwnames[] = {
36858 (char *) "self",(char *) "show", NULL
36859 };
36860
36861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
36862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36864 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
36865 if (PyErr_Occurred()) SWIG_fail;
36866 {
36867 PyThreadState* __tstate = wxPyBeginAllowThreads();
36868 (arg1)->ShowItems(arg2);
36869
36870 wxPyEndAllowThreads(__tstate);
36871 if (PyErr_Occurred()) SWIG_fail;
36872 }
36873 Py_INCREF(Py_None); resultobj = Py_None;
36874 return resultobj;
36875 fail:
36876 return NULL;
36877}
36878
36879
c32bde28 36880static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
36881 PyObject *obj;
36882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36883 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
36884 Py_INCREF(obj);
36885 return Py_BuildValue((char *)"");
36886}
c32bde28 36887static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36888 PyObject *resultobj;
36889 wxPySizer *result;
36890 char *kwnames[] = {
36891 NULL
36892 };
36893
36894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
36895 {
36896 PyThreadState* __tstate = wxPyBeginAllowThreads();
36897 result = (wxPySizer *)new wxPySizer();
36898
36899 wxPyEndAllowThreads(__tstate);
36900 if (PyErr_Occurred()) SWIG_fail;
36901 }
36902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
36903 return resultobj;
36904 fail:
36905 return NULL;
36906}
36907
36908
c32bde28 36909static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36910 PyObject *resultobj;
36911 wxPySizer *arg1 = (wxPySizer *) 0 ;
36912 PyObject *arg2 = (PyObject *) 0 ;
36913 PyObject *arg3 = (PyObject *) 0 ;
36914 PyObject * obj0 = 0 ;
36915 PyObject * obj1 = 0 ;
36916 PyObject * obj2 = 0 ;
36917 char *kwnames[] = {
36918 (char *) "self",(char *) "self",(char *) "_class", NULL
36919 };
36920
36921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
36923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36924 arg2 = obj1;
36925 arg3 = obj2;
36926 {
36927 PyThreadState* __tstate = wxPyBeginAllowThreads();
36928 (arg1)->_setCallbackInfo(arg2,arg3);
36929
36930 wxPyEndAllowThreads(__tstate);
36931 if (PyErr_Occurred()) SWIG_fail;
36932 }
36933 Py_INCREF(Py_None); resultobj = Py_None;
36934 return resultobj;
36935 fail:
36936 return NULL;
36937}
36938
36939
c32bde28 36940static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
36941 PyObject *obj;
36942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36943 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
36944 Py_INCREF(obj);
36945 return Py_BuildValue((char *)"");
36946}
c32bde28 36947static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36948 PyObject *resultobj;
36949 int arg1 = (int) wxHORIZONTAL ;
36950 wxBoxSizer *result;
36951 PyObject * obj0 = 0 ;
36952 char *kwnames[] = {
36953 (char *) "orient", NULL
36954 };
36955
36956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
36957 if (obj0) {
c32bde28 36958 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
36959 if (PyErr_Occurred()) SWIG_fail;
36960 }
36961 {
36962 PyThreadState* __tstate = wxPyBeginAllowThreads();
36963 result = (wxBoxSizer *)new wxBoxSizer(arg1);
36964
36965 wxPyEndAllowThreads(__tstate);
36966 if (PyErr_Occurred()) SWIG_fail;
36967 }
36968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
36969 return resultobj;
36970 fail:
36971 return NULL;
36972}
36973
36974
c32bde28 36975static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
36976 PyObject *resultobj;
36977 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36978 int result;
36979 PyObject * obj0 = 0 ;
36980 char *kwnames[] = {
36981 (char *) "self", NULL
36982 };
36983
36984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
36985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36987 {
36988 PyThreadState* __tstate = wxPyBeginAllowThreads();
36989 result = (int)(arg1)->GetOrientation();
36990
36991 wxPyEndAllowThreads(__tstate);
36992 if (PyErr_Occurred()) SWIG_fail;
36993 }
c32bde28 36994 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
36995 return resultobj;
36996 fail:
36997 return NULL;
36998}
36999
37000
c32bde28 37001static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37002 PyObject *resultobj;
37003 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
37004 int arg2 ;
37005 PyObject * obj0 = 0 ;
37006 PyObject * obj1 = 0 ;
37007 char *kwnames[] = {
37008 (char *) "self",(char *) "orient", NULL
37009 };
37010
37011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
37012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
37013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37014 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37015 if (PyErr_Occurred()) SWIG_fail;
37016 {
37017 PyThreadState* __tstate = wxPyBeginAllowThreads();
37018 (arg1)->SetOrientation(arg2);
37019
37020 wxPyEndAllowThreads(__tstate);
37021 if (PyErr_Occurred()) SWIG_fail;
37022 }
37023 Py_INCREF(Py_None); resultobj = Py_None;
37024 return resultobj;
37025 fail:
37026 return NULL;
37027}
37028
37029
c32bde28 37030static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
37031 PyObject *obj;
37032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37033 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
37034 Py_INCREF(obj);
37035 return Py_BuildValue((char *)"");
37036}
c32bde28 37037static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37038 PyObject *resultobj;
37039 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
37040 int arg2 = (int) wxHORIZONTAL ;
37041 wxStaticBoxSizer *result;
37042 PyObject * obj0 = 0 ;
37043 PyObject * obj1 = 0 ;
37044 char *kwnames[] = {
37045 (char *) "box",(char *) "orient", NULL
37046 };
37047
37048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
37049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
37050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37051 if (obj1) {
c32bde28 37052 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37053 if (PyErr_Occurred()) SWIG_fail;
37054 }
37055 {
37056 PyThreadState* __tstate = wxPyBeginAllowThreads();
37057 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
37058
37059 wxPyEndAllowThreads(__tstate);
37060 if (PyErr_Occurred()) SWIG_fail;
37061 }
37062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
37063 return resultobj;
37064 fail:
37065 return NULL;
37066}
37067
37068
c32bde28 37069static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37070 PyObject *resultobj;
37071 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
37072 wxStaticBox *result;
37073 PyObject * obj0 = 0 ;
37074 char *kwnames[] = {
37075 (char *) "self", NULL
37076 };
37077
37078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
37079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
37080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37081 {
37082 PyThreadState* __tstate = wxPyBeginAllowThreads();
37083 result = (wxStaticBox *)(arg1)->GetStaticBox();
37084
37085 wxPyEndAllowThreads(__tstate);
37086 if (PyErr_Occurred()) SWIG_fail;
37087 }
37088 {
412d302d 37089 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
37090 }
37091 return resultobj;
37092 fail:
37093 return NULL;
37094}
37095
37096
c32bde28 37097static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
37098 PyObject *obj;
37099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
37101 Py_INCREF(obj);
37102 return Py_BuildValue((char *)"");
37103}
c32bde28 37104static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37105 PyObject *resultobj;
37106 int arg1 = (int) 1 ;
37107 int arg2 = (int) 0 ;
37108 int arg3 = (int) 0 ;
37109 int arg4 = (int) 0 ;
37110 wxGridSizer *result;
37111 PyObject * obj0 = 0 ;
37112 PyObject * obj1 = 0 ;
37113 PyObject * obj2 = 0 ;
37114 PyObject * obj3 = 0 ;
37115 char *kwnames[] = {
37116 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37117 };
37118
37119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
37120 if (obj0) {
c32bde28 37121 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
37122 if (PyErr_Occurred()) SWIG_fail;
37123 }
37124 if (obj1) {
c32bde28 37125 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37126 if (PyErr_Occurred()) SWIG_fail;
37127 }
37128 if (obj2) {
c32bde28 37129 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
37130 if (PyErr_Occurred()) SWIG_fail;
37131 }
37132 if (obj3) {
c32bde28 37133 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
37134 if (PyErr_Occurred()) SWIG_fail;
37135 }
37136 {
37137 PyThreadState* __tstate = wxPyBeginAllowThreads();
37138 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
37139
37140 wxPyEndAllowThreads(__tstate);
37141 if (PyErr_Occurred()) SWIG_fail;
37142 }
37143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
37144 return resultobj;
37145 fail:
37146 return NULL;
37147}
37148
37149
c32bde28 37150static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37151 PyObject *resultobj;
37152 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37153 int arg2 ;
37154 PyObject * obj0 = 0 ;
37155 PyObject * obj1 = 0 ;
37156 char *kwnames[] = {
37157 (char *) "self",(char *) "cols", NULL
37158 };
37159
37160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
37161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37163 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37164 if (PyErr_Occurred()) SWIG_fail;
37165 {
37166 PyThreadState* __tstate = wxPyBeginAllowThreads();
37167 (arg1)->SetCols(arg2);
37168
37169 wxPyEndAllowThreads(__tstate);
37170 if (PyErr_Occurred()) SWIG_fail;
37171 }
37172 Py_INCREF(Py_None); resultobj = Py_None;
37173 return resultobj;
37174 fail:
37175 return NULL;
37176}
37177
37178
c32bde28 37179static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37180 PyObject *resultobj;
37181 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37182 int arg2 ;
37183 PyObject * obj0 = 0 ;
37184 PyObject * obj1 = 0 ;
37185 char *kwnames[] = {
37186 (char *) "self",(char *) "rows", NULL
37187 };
37188
37189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
37190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37192 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37193 if (PyErr_Occurred()) SWIG_fail;
37194 {
37195 PyThreadState* __tstate = wxPyBeginAllowThreads();
37196 (arg1)->SetRows(arg2);
37197
37198 wxPyEndAllowThreads(__tstate);
37199 if (PyErr_Occurred()) SWIG_fail;
37200 }
37201 Py_INCREF(Py_None); resultobj = Py_None;
37202 return resultobj;
37203 fail:
37204 return NULL;
37205}
37206
37207
c32bde28 37208static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37209 PyObject *resultobj;
37210 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37211 int arg2 ;
37212 PyObject * obj0 = 0 ;
37213 PyObject * obj1 = 0 ;
37214 char *kwnames[] = {
37215 (char *) "self",(char *) "gap", NULL
37216 };
37217
37218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
37219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37221 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37222 if (PyErr_Occurred()) SWIG_fail;
37223 {
37224 PyThreadState* __tstate = wxPyBeginAllowThreads();
37225 (arg1)->SetVGap(arg2);
37226
37227 wxPyEndAllowThreads(__tstate);
37228 if (PyErr_Occurred()) SWIG_fail;
37229 }
37230 Py_INCREF(Py_None); resultobj = Py_None;
37231 return resultobj;
37232 fail:
37233 return NULL;
37234}
37235
37236
c32bde28 37237static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37238 PyObject *resultobj;
37239 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37240 int arg2 ;
37241 PyObject * obj0 = 0 ;
37242 PyObject * obj1 = 0 ;
37243 char *kwnames[] = {
37244 (char *) "self",(char *) "gap", NULL
37245 };
37246
37247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
37248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37250 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37251 if (PyErr_Occurred()) SWIG_fail;
37252 {
37253 PyThreadState* __tstate = wxPyBeginAllowThreads();
37254 (arg1)->SetHGap(arg2);
37255
37256 wxPyEndAllowThreads(__tstate);
37257 if (PyErr_Occurred()) SWIG_fail;
37258 }
37259 Py_INCREF(Py_None); resultobj = Py_None;
37260 return resultobj;
37261 fail:
37262 return NULL;
37263}
37264
37265
c32bde28 37266static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37267 PyObject *resultobj;
37268 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37269 int result;
37270 PyObject * obj0 = 0 ;
37271 char *kwnames[] = {
37272 (char *) "self", NULL
37273 };
37274
37275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
37276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37278 {
37279 PyThreadState* __tstate = wxPyBeginAllowThreads();
37280 result = (int)(arg1)->GetCols();
37281
37282 wxPyEndAllowThreads(__tstate);
37283 if (PyErr_Occurred()) SWIG_fail;
37284 }
c32bde28 37285 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37286 return resultobj;
37287 fail:
37288 return NULL;
37289}
37290
37291
c32bde28 37292static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37293 PyObject *resultobj;
37294 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37295 int result;
37296 PyObject * obj0 = 0 ;
37297 char *kwnames[] = {
37298 (char *) "self", NULL
37299 };
37300
37301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
37302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37304 {
37305 PyThreadState* __tstate = wxPyBeginAllowThreads();
37306 result = (int)(arg1)->GetRows();
37307
37308 wxPyEndAllowThreads(__tstate);
37309 if (PyErr_Occurred()) SWIG_fail;
37310 }
c32bde28 37311 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37312 return resultobj;
37313 fail:
37314 return NULL;
37315}
37316
37317
c32bde28 37318static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37319 PyObject *resultobj;
37320 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37321 int result;
37322 PyObject * obj0 = 0 ;
37323 char *kwnames[] = {
37324 (char *) "self", NULL
37325 };
37326
37327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
37328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37330 {
37331 PyThreadState* __tstate = wxPyBeginAllowThreads();
37332 result = (int)(arg1)->GetVGap();
37333
37334 wxPyEndAllowThreads(__tstate);
37335 if (PyErr_Occurred()) SWIG_fail;
37336 }
c32bde28 37337 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37338 return resultobj;
37339 fail:
37340 return NULL;
37341}
37342
37343
c32bde28 37344static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37345 PyObject *resultobj;
37346 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37347 int result;
37348 PyObject * obj0 = 0 ;
37349 char *kwnames[] = {
37350 (char *) "self", NULL
37351 };
37352
37353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
37354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37356 {
37357 PyThreadState* __tstate = wxPyBeginAllowThreads();
37358 result = (int)(arg1)->GetHGap();
37359
37360 wxPyEndAllowThreads(__tstate);
37361 if (PyErr_Occurred()) SWIG_fail;
37362 }
c32bde28 37363 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37364 return resultobj;
37365 fail:
37366 return NULL;
37367}
37368
37369
c32bde28 37370static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
37371 PyObject *obj;
37372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37373 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
37374 Py_INCREF(obj);
37375 return Py_BuildValue((char *)"");
37376}
c32bde28 37377static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37378 PyObject *resultobj;
37379 int arg1 = (int) 1 ;
37380 int arg2 = (int) 0 ;
37381 int arg3 = (int) 0 ;
37382 int arg4 = (int) 0 ;
37383 wxFlexGridSizer *result;
37384 PyObject * obj0 = 0 ;
37385 PyObject * obj1 = 0 ;
37386 PyObject * obj2 = 0 ;
37387 PyObject * obj3 = 0 ;
37388 char *kwnames[] = {
37389 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37390 };
37391
37392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
37393 if (obj0) {
c32bde28 37394 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
37395 if (PyErr_Occurred()) SWIG_fail;
37396 }
37397 if (obj1) {
c32bde28 37398 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37399 if (PyErr_Occurred()) SWIG_fail;
37400 }
37401 if (obj2) {
c32bde28 37402 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
37403 if (PyErr_Occurred()) SWIG_fail;
37404 }
37405 if (obj3) {
c32bde28 37406 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
37407 if (PyErr_Occurred()) SWIG_fail;
37408 }
37409 {
37410 PyThreadState* __tstate = wxPyBeginAllowThreads();
37411 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
37412
37413 wxPyEndAllowThreads(__tstate);
37414 if (PyErr_Occurred()) SWIG_fail;
37415 }
37416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
37417 return resultobj;
37418 fail:
37419 return NULL;
37420}
37421
37422
c32bde28 37423static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37424 PyObject *resultobj;
37425 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37426 size_t arg2 ;
37427 int arg3 = (int) 0 ;
37428 PyObject * obj0 = 0 ;
37429 PyObject * obj1 = 0 ;
37430 PyObject * obj2 = 0 ;
37431 char *kwnames[] = {
37432 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37433 };
37434
37435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
37436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37438 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
37439 if (PyErr_Occurred()) SWIG_fail;
37440 if (obj2) {
c32bde28 37441 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
37442 if (PyErr_Occurred()) SWIG_fail;
37443 }
37444 {
37445 PyThreadState* __tstate = wxPyBeginAllowThreads();
37446 (arg1)->AddGrowableRow(arg2,arg3);
37447
37448 wxPyEndAllowThreads(__tstate);
37449 if (PyErr_Occurred()) SWIG_fail;
37450 }
37451 Py_INCREF(Py_None); resultobj = Py_None;
37452 return resultobj;
37453 fail:
37454 return NULL;
37455}
37456
37457
c32bde28 37458static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37459 PyObject *resultobj;
37460 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37461 size_t arg2 ;
37462 PyObject * obj0 = 0 ;
37463 PyObject * obj1 = 0 ;
37464 char *kwnames[] = {
37465 (char *) "self",(char *) "idx", NULL
37466 };
37467
37468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
37469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37471 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
37472 if (PyErr_Occurred()) SWIG_fail;
37473 {
37474 PyThreadState* __tstate = wxPyBeginAllowThreads();
37475 (arg1)->RemoveGrowableRow(arg2);
37476
37477 wxPyEndAllowThreads(__tstate);
37478 if (PyErr_Occurred()) SWIG_fail;
37479 }
37480 Py_INCREF(Py_None); resultobj = Py_None;
37481 return resultobj;
37482 fail:
37483 return NULL;
37484}
37485
37486
c32bde28 37487static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37488 PyObject *resultobj;
37489 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37490 size_t arg2 ;
37491 int arg3 = (int) 0 ;
37492 PyObject * obj0 = 0 ;
37493 PyObject * obj1 = 0 ;
37494 PyObject * obj2 = 0 ;
37495 char *kwnames[] = {
37496 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37497 };
37498
37499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
37500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37502 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
37503 if (PyErr_Occurred()) SWIG_fail;
37504 if (obj2) {
c32bde28 37505 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
37506 if (PyErr_Occurred()) SWIG_fail;
37507 }
37508 {
37509 PyThreadState* __tstate = wxPyBeginAllowThreads();
37510 (arg1)->AddGrowableCol(arg2,arg3);
37511
37512 wxPyEndAllowThreads(__tstate);
37513 if (PyErr_Occurred()) SWIG_fail;
37514 }
37515 Py_INCREF(Py_None); resultobj = Py_None;
37516 return resultobj;
37517 fail:
37518 return NULL;
37519}
37520
37521
c32bde28 37522static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37523 PyObject *resultobj;
37524 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37525 size_t arg2 ;
37526 PyObject * obj0 = 0 ;
37527 PyObject * obj1 = 0 ;
37528 char *kwnames[] = {
37529 (char *) "self",(char *) "idx", NULL
37530 };
37531
37532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
37533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37535 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
37536 if (PyErr_Occurred()) SWIG_fail;
37537 {
37538 PyThreadState* __tstate = wxPyBeginAllowThreads();
37539 (arg1)->RemoveGrowableCol(arg2);
37540
37541 wxPyEndAllowThreads(__tstate);
37542 if (PyErr_Occurred()) SWIG_fail;
37543 }
37544 Py_INCREF(Py_None); resultobj = Py_None;
37545 return resultobj;
37546 fail:
37547 return NULL;
37548}
37549
37550
c32bde28 37551static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37552 PyObject *resultobj;
37553 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37554 int arg2 ;
37555 PyObject * obj0 = 0 ;
37556 PyObject * obj1 = 0 ;
37557 char *kwnames[] = {
37558 (char *) "self",(char *) "direction", NULL
37559 };
37560
37561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
37562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37564 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37565 if (PyErr_Occurred()) SWIG_fail;
37566 {
37567 PyThreadState* __tstate = wxPyBeginAllowThreads();
37568 (arg1)->SetFlexibleDirection(arg2);
37569
37570 wxPyEndAllowThreads(__tstate);
37571 if (PyErr_Occurred()) SWIG_fail;
37572 }
37573 Py_INCREF(Py_None); resultobj = Py_None;
37574 return resultobj;
37575 fail:
37576 return NULL;
37577}
37578
37579
c32bde28 37580static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37581 PyObject *resultobj;
37582 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37583 int result;
37584 PyObject * obj0 = 0 ;
37585 char *kwnames[] = {
37586 (char *) "self", NULL
37587 };
37588
37589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
37590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37592 {
37593 PyThreadState* __tstate = wxPyBeginAllowThreads();
37594 result = (int)(arg1)->GetFlexibleDirection();
37595
37596 wxPyEndAllowThreads(__tstate);
37597 if (PyErr_Occurred()) SWIG_fail;
37598 }
c32bde28 37599 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37600 return resultobj;
37601 fail:
37602 return NULL;
37603}
37604
37605
c32bde28 37606static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37607 PyObject *resultobj;
37608 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37609 int arg2 ;
37610 PyObject * obj0 = 0 ;
37611 PyObject * obj1 = 0 ;
37612 char *kwnames[] = {
37613 (char *) "self",(char *) "mode", NULL
37614 };
37615
37616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
37617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37619 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37620 if (PyErr_Occurred()) SWIG_fail;
37621 {
37622 PyThreadState* __tstate = wxPyBeginAllowThreads();
37623 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
37624
37625 wxPyEndAllowThreads(__tstate);
37626 if (PyErr_Occurred()) SWIG_fail;
37627 }
37628 Py_INCREF(Py_None); resultobj = Py_None;
37629 return resultobj;
37630 fail:
37631 return NULL;
37632}
37633
37634
c32bde28 37635static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37636 PyObject *resultobj;
37637 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37638 int result;
37639 PyObject * obj0 = 0 ;
37640 char *kwnames[] = {
37641 (char *) "self", NULL
37642 };
37643
37644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
37645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37647 {
37648 PyThreadState* __tstate = wxPyBeginAllowThreads();
37649 result = (int)(arg1)->GetNonFlexibleGrowMode();
37650
37651 wxPyEndAllowThreads(__tstate);
37652 if (PyErr_Occurred()) SWIG_fail;
37653 }
c32bde28 37654 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37655 return resultobj;
37656 fail:
37657 return NULL;
37658}
37659
37660
c32bde28 37661static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37662 PyObject *resultobj;
37663 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37664 wxArrayInt *result;
37665 PyObject * obj0 = 0 ;
37666 char *kwnames[] = {
37667 (char *) "self", NULL
37668 };
37669
37670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
37671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37673 {
37674 PyThreadState* __tstate = wxPyBeginAllowThreads();
37675 {
37676 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
37677 result = (wxArrayInt *) &_result_ref;
37678 }
37679
37680 wxPyEndAllowThreads(__tstate);
37681 if (PyErr_Occurred()) SWIG_fail;
37682 }
37683 {
37684 resultobj = PyList_New(0);
37685 size_t idx;
37686 for (idx = 0; idx < result->GetCount(); idx += 1) {
37687 PyObject* val = PyInt_FromLong( result->Item(idx) );
37688 PyList_Append(resultobj, val);
37689 Py_DECREF(val);
37690 }
37691 }
37692 return resultobj;
37693 fail:
37694 return NULL;
37695}
37696
37697
c32bde28 37698static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37699 PyObject *resultobj;
37700 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37701 wxArrayInt *result;
37702 PyObject * obj0 = 0 ;
37703 char *kwnames[] = {
37704 (char *) "self", NULL
37705 };
37706
37707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
37708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37710 {
37711 PyThreadState* __tstate = wxPyBeginAllowThreads();
37712 {
37713 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
37714 result = (wxArrayInt *) &_result_ref;
37715 }
37716
37717 wxPyEndAllowThreads(__tstate);
37718 if (PyErr_Occurred()) SWIG_fail;
37719 }
37720 {
37721 resultobj = PyList_New(0);
37722 size_t idx;
37723 for (idx = 0; idx < result->GetCount(); idx += 1) {
37724 PyObject* val = PyInt_FromLong( result->Item(idx) );
37725 PyList_Append(resultobj, val);
37726 Py_DECREF(val);
37727 }
37728 }
37729 return resultobj;
37730 fail:
37731 return NULL;
37732}
37733
37734
c32bde28 37735static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
37736 PyObject *obj;
37737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37738 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
37739 Py_INCREF(obj);
37740 return Py_BuildValue((char *)"");
37741}
c32bde28 37742static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37743 PyObject *resultobj;
37744 int arg1 = (int) 0 ;
37745 int arg2 = (int) 0 ;
37746 wxGBPosition *result;
37747 PyObject * obj0 = 0 ;
37748 PyObject * obj1 = 0 ;
37749 char *kwnames[] = {
37750 (char *) "row",(char *) "col", NULL
37751 };
37752
37753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
37754 if (obj0) {
c32bde28 37755 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
37756 if (PyErr_Occurred()) SWIG_fail;
37757 }
37758 if (obj1) {
c32bde28 37759 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37760 if (PyErr_Occurred()) SWIG_fail;
37761 }
37762 {
37763 PyThreadState* __tstate = wxPyBeginAllowThreads();
37764 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
37765
37766 wxPyEndAllowThreads(__tstate);
37767 if (PyErr_Occurred()) SWIG_fail;
37768 }
37769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
37770 return resultobj;
37771 fail:
37772 return NULL;
37773}
37774
37775
c32bde28 37776static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37777 PyObject *resultobj;
37778 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37779 int result;
37780 PyObject * obj0 = 0 ;
37781 char *kwnames[] = {
37782 (char *) "self", NULL
37783 };
37784
37785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
37786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37788 {
37789 PyThreadState* __tstate = wxPyBeginAllowThreads();
37790 result = (int)((wxGBPosition const *)arg1)->GetRow();
37791
37792 wxPyEndAllowThreads(__tstate);
37793 if (PyErr_Occurred()) SWIG_fail;
37794 }
c32bde28 37795 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37796 return resultobj;
37797 fail:
37798 return NULL;
37799}
37800
37801
c32bde28 37802static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37803 PyObject *resultobj;
37804 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37805 int result;
37806 PyObject * obj0 = 0 ;
37807 char *kwnames[] = {
37808 (char *) "self", NULL
37809 };
37810
37811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
37812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37814 {
37815 PyThreadState* __tstate = wxPyBeginAllowThreads();
37816 result = (int)((wxGBPosition const *)arg1)->GetCol();
37817
37818 wxPyEndAllowThreads(__tstate);
37819 if (PyErr_Occurred()) SWIG_fail;
37820 }
c32bde28 37821 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
37822 return resultobj;
37823 fail:
37824 return NULL;
37825}
37826
37827
c32bde28 37828static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37829 PyObject *resultobj;
37830 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37831 int arg2 ;
37832 PyObject * obj0 = 0 ;
37833 PyObject * obj1 = 0 ;
37834 char *kwnames[] = {
37835 (char *) "self",(char *) "row", NULL
37836 };
37837
37838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
37839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37841 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37842 if (PyErr_Occurred()) SWIG_fail;
37843 {
37844 PyThreadState* __tstate = wxPyBeginAllowThreads();
37845 (arg1)->SetRow(arg2);
37846
37847 wxPyEndAllowThreads(__tstate);
37848 if (PyErr_Occurred()) SWIG_fail;
37849 }
37850 Py_INCREF(Py_None); resultobj = Py_None;
37851 return resultobj;
37852 fail:
37853 return NULL;
37854}
37855
37856
c32bde28 37857static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37858 PyObject *resultobj;
37859 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37860 int arg2 ;
37861 PyObject * obj0 = 0 ;
37862 PyObject * obj1 = 0 ;
37863 char *kwnames[] = {
37864 (char *) "self",(char *) "col", NULL
37865 };
37866
37867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
37868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37870 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37871 if (PyErr_Occurred()) SWIG_fail;
37872 {
37873 PyThreadState* __tstate = wxPyBeginAllowThreads();
37874 (arg1)->SetCol(arg2);
37875
37876 wxPyEndAllowThreads(__tstate);
37877 if (PyErr_Occurred()) SWIG_fail;
37878 }
37879 Py_INCREF(Py_None); resultobj = Py_None;
37880 return resultobj;
37881 fail:
37882 return NULL;
37883}
37884
37885
c32bde28 37886static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37887 PyObject *resultobj;
37888 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37889 wxGBPosition *arg2 = 0 ;
37890 bool result;
37891 wxGBPosition temp2 ;
37892 PyObject * obj0 = 0 ;
37893 PyObject * obj1 = 0 ;
37894 char *kwnames[] = {
37895 (char *) "self",(char *) "other", NULL
37896 };
37897
37898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
37899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37901 {
37902 arg2 = &temp2;
37903 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37904 }
37905 {
37906 PyThreadState* __tstate = wxPyBeginAllowThreads();
37907 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
37908
37909 wxPyEndAllowThreads(__tstate);
37910 if (PyErr_Occurred()) SWIG_fail;
37911 }
37912 {
37913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37914 }
37915 return resultobj;
37916 fail:
37917 return NULL;
37918}
37919
37920
c32bde28 37921static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37922 PyObject *resultobj;
37923 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37924 wxGBPosition *arg2 = 0 ;
37925 bool result;
37926 wxGBPosition temp2 ;
37927 PyObject * obj0 = 0 ;
37928 PyObject * obj1 = 0 ;
37929 char *kwnames[] = {
37930 (char *) "self",(char *) "other", NULL
37931 };
37932
37933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
37934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37936 {
37937 arg2 = &temp2;
37938 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37939 }
37940 {
37941 PyThreadState* __tstate = wxPyBeginAllowThreads();
37942 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
37943
37944 wxPyEndAllowThreads(__tstate);
37945 if (PyErr_Occurred()) SWIG_fail;
37946 }
37947 {
37948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37949 }
37950 return resultobj;
37951 fail:
37952 return NULL;
37953}
37954
37955
c32bde28 37956static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37957 PyObject *resultobj;
37958 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37959 int arg2 = (int) 0 ;
37960 int arg3 = (int) 0 ;
37961 PyObject * obj0 = 0 ;
37962 PyObject * obj1 = 0 ;
37963 PyObject * obj2 = 0 ;
37964 char *kwnames[] = {
37965 (char *) "self",(char *) "row",(char *) "col", NULL
37966 };
37967
37968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
37969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37971 if (obj1) {
c32bde28 37972 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
37973 if (PyErr_Occurred()) SWIG_fail;
37974 }
37975 if (obj2) {
c32bde28 37976 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
37977 if (PyErr_Occurred()) SWIG_fail;
37978 }
37979 {
37980 PyThreadState* __tstate = wxPyBeginAllowThreads();
37981 wxGBPosition_Set(arg1,arg2,arg3);
37982
37983 wxPyEndAllowThreads(__tstate);
37984 if (PyErr_Occurred()) SWIG_fail;
37985 }
37986 Py_INCREF(Py_None); resultobj = Py_None;
37987 return resultobj;
37988 fail:
37989 return NULL;
37990}
37991
37992
c32bde28 37993static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
37994 PyObject *resultobj;
37995 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37996 PyObject *result;
37997 PyObject * obj0 = 0 ;
37998 char *kwnames[] = {
37999 (char *) "self", NULL
38000 };
38001
38002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
38003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
38004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38005 {
38006 PyThreadState* __tstate = wxPyBeginAllowThreads();
38007 result = (PyObject *)wxGBPosition_Get(arg1);
38008
38009 wxPyEndAllowThreads(__tstate);
38010 if (PyErr_Occurred()) SWIG_fail;
38011 }
38012 resultobj = result;
38013 return resultobj;
38014 fail:
38015 return NULL;
38016}
38017
38018
c32bde28 38019static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
38020 PyObject *obj;
38021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38022 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
38023 Py_INCREF(obj);
38024 return Py_BuildValue((char *)"");
38025}
c32bde28 38026static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38027 PyObject *resultobj;
38028 int arg1 = (int) 1 ;
38029 int arg2 = (int) 1 ;
38030 wxGBSpan *result;
38031 PyObject * obj0 = 0 ;
38032 PyObject * obj1 = 0 ;
38033 char *kwnames[] = {
38034 (char *) "rowspan",(char *) "colspan", NULL
38035 };
38036
38037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
38038 if (obj0) {
c32bde28 38039 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
38040 if (PyErr_Occurred()) SWIG_fail;
38041 }
38042 if (obj1) {
c32bde28 38043 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
38044 if (PyErr_Occurred()) SWIG_fail;
38045 }
38046 {
38047 PyThreadState* __tstate = wxPyBeginAllowThreads();
38048 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
38049
38050 wxPyEndAllowThreads(__tstate);
38051 if (PyErr_Occurred()) SWIG_fail;
38052 }
38053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
38054 return resultobj;
38055 fail:
38056 return NULL;
38057}
38058
38059
c32bde28 38060static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38061 PyObject *resultobj;
38062 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38063 int result;
38064 PyObject * obj0 = 0 ;
38065 char *kwnames[] = {
38066 (char *) "self", NULL
38067 };
38068
38069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
38070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38072 {
38073 PyThreadState* __tstate = wxPyBeginAllowThreads();
38074 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
38075
38076 wxPyEndAllowThreads(__tstate);
38077 if (PyErr_Occurred()) SWIG_fail;
38078 }
c32bde28 38079 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
38080 return resultobj;
38081 fail:
38082 return NULL;
38083}
38084
38085
c32bde28 38086static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38087 PyObject *resultobj;
38088 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38089 int result;
38090 PyObject * obj0 = 0 ;
38091 char *kwnames[] = {
38092 (char *) "self", NULL
38093 };
38094
38095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
38096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38098 {
38099 PyThreadState* __tstate = wxPyBeginAllowThreads();
38100 result = (int)((wxGBSpan const *)arg1)->GetColspan();
38101
38102 wxPyEndAllowThreads(__tstate);
38103 if (PyErr_Occurred()) SWIG_fail;
38104 }
c32bde28 38105 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
38106 return resultobj;
38107 fail:
38108 return NULL;
38109}
38110
38111
c32bde28 38112static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38113 PyObject *resultobj;
38114 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38115 int arg2 ;
38116 PyObject * obj0 = 0 ;
38117 PyObject * obj1 = 0 ;
38118 char *kwnames[] = {
38119 (char *) "self",(char *) "rowspan", NULL
38120 };
38121
38122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
38123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 38125 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
38126 if (PyErr_Occurred()) SWIG_fail;
38127 {
38128 PyThreadState* __tstate = wxPyBeginAllowThreads();
38129 (arg1)->SetRowspan(arg2);
38130
38131 wxPyEndAllowThreads(__tstate);
38132 if (PyErr_Occurred()) SWIG_fail;
38133 }
38134 Py_INCREF(Py_None); resultobj = Py_None;
38135 return resultobj;
38136 fail:
38137 return NULL;
38138}
38139
38140
c32bde28 38141static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38142 PyObject *resultobj;
38143 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38144 int arg2 ;
38145 PyObject * obj0 = 0 ;
38146 PyObject * obj1 = 0 ;
38147 char *kwnames[] = {
38148 (char *) "self",(char *) "colspan", NULL
38149 };
38150
38151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
38152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 38154 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
38155 if (PyErr_Occurred()) SWIG_fail;
38156 {
38157 PyThreadState* __tstate = wxPyBeginAllowThreads();
38158 (arg1)->SetColspan(arg2);
38159
38160 wxPyEndAllowThreads(__tstate);
38161 if (PyErr_Occurred()) SWIG_fail;
38162 }
38163 Py_INCREF(Py_None); resultobj = Py_None;
38164 return resultobj;
38165 fail:
38166 return NULL;
38167}
38168
38169
c32bde28 38170static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38171 PyObject *resultobj;
38172 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38173 wxGBSpan *arg2 = 0 ;
38174 bool result;
38175 wxGBSpan temp2 ;
38176 PyObject * obj0 = 0 ;
38177 PyObject * obj1 = 0 ;
38178 char *kwnames[] = {
38179 (char *) "self",(char *) "other", NULL
38180 };
38181
38182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
38183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38185 {
38186 arg2 = &temp2;
38187 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
38188 }
38189 {
38190 PyThreadState* __tstate = wxPyBeginAllowThreads();
38191 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
38192
38193 wxPyEndAllowThreads(__tstate);
38194 if (PyErr_Occurred()) SWIG_fail;
38195 }
38196 {
38197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38198 }
38199 return resultobj;
38200 fail:
38201 return NULL;
38202}
38203
38204
c32bde28 38205static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38206 PyObject *resultobj;
38207 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38208 wxGBSpan *arg2 = 0 ;
38209 bool result;
38210 wxGBSpan temp2 ;
38211 PyObject * obj0 = 0 ;
38212 PyObject * obj1 = 0 ;
38213 char *kwnames[] = {
38214 (char *) "self",(char *) "other", NULL
38215 };
38216
38217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
38218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38220 {
38221 arg2 = &temp2;
38222 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
38223 }
38224 {
38225 PyThreadState* __tstate = wxPyBeginAllowThreads();
38226 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
38227
38228 wxPyEndAllowThreads(__tstate);
38229 if (PyErr_Occurred()) SWIG_fail;
38230 }
38231 {
38232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38233 }
38234 return resultobj;
38235 fail:
38236 return NULL;
38237}
38238
38239
c32bde28 38240static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38241 PyObject *resultobj;
38242 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38243 int arg2 = (int) 1 ;
38244 int arg3 = (int) 1 ;
38245 PyObject * obj0 = 0 ;
38246 PyObject * obj1 = 0 ;
38247 PyObject * obj2 = 0 ;
38248 char *kwnames[] = {
38249 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
38250 };
38251
38252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
38253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38255 if (obj1) {
c32bde28 38256 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
38257 if (PyErr_Occurred()) SWIG_fail;
38258 }
38259 if (obj2) {
c32bde28 38260 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
38261 if (PyErr_Occurred()) SWIG_fail;
38262 }
38263 {
38264 PyThreadState* __tstate = wxPyBeginAllowThreads();
38265 wxGBSpan_Set(arg1,arg2,arg3);
38266
38267 wxPyEndAllowThreads(__tstate);
38268 if (PyErr_Occurred()) SWIG_fail;
38269 }
38270 Py_INCREF(Py_None); resultobj = Py_None;
38271 return resultobj;
38272 fail:
38273 return NULL;
38274}
38275
38276
c32bde28 38277static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38278 PyObject *resultobj;
38279 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38280 PyObject *result;
38281 PyObject * obj0 = 0 ;
38282 char *kwnames[] = {
38283 (char *) "self", NULL
38284 };
38285
38286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
38287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
38288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38289 {
38290 PyThreadState* __tstate = wxPyBeginAllowThreads();
38291 result = (PyObject *)wxGBSpan_Get(arg1);
38292
38293 wxPyEndAllowThreads(__tstate);
38294 if (PyErr_Occurred()) SWIG_fail;
38295 }
38296 resultobj = result;
38297 return resultobj;
38298 fail:
38299 return NULL;
38300}
38301
38302
c32bde28 38303static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
38304 PyObject *obj;
38305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38306 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
38307 Py_INCREF(obj);
38308 return Py_BuildValue((char *)"");
38309}
c32bde28 38310static int _wrap_DefaultSpan_set(PyObject *) {
d55e5bfc
RD
38311 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
38312 return 1;
38313}
38314
38315
38316static PyObject *_wrap_DefaultSpan_get() {
38317 PyObject *pyobj;
38318
38319 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
38320 return pyobj;
38321}
38322
38323
c32bde28 38324static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38325 PyObject *resultobj;
38326 wxGBSizerItem *result;
38327 char *kwnames[] = {
38328 NULL
38329 };
38330
38331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
38332 {
38333 PyThreadState* __tstate = wxPyBeginAllowThreads();
38334 result = (wxGBSizerItem *)new wxGBSizerItem();
38335
38336 wxPyEndAllowThreads(__tstate);
38337 if (PyErr_Occurred()) SWIG_fail;
38338 }
38339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
38340 return resultobj;
38341 fail:
38342 return NULL;
38343}
38344
38345
c32bde28 38346static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38347 PyObject *resultobj;
38348 wxWindow *arg1 = (wxWindow *) 0 ;
38349 wxGBPosition *arg2 = 0 ;
38350 wxGBSpan *arg3 = 0 ;
38351 int arg4 ;
38352 int arg5 ;
248ed943 38353 PyObject *arg6 = (PyObject *) NULL ;
d55e5bfc
RD
38354 wxGBSizerItem *result;
38355 wxGBPosition temp2 ;
38356 wxGBSpan temp3 ;
38357 PyObject * obj0 = 0 ;
38358 PyObject * obj1 = 0 ;
38359 PyObject * obj2 = 0 ;
38360 PyObject * obj3 = 0 ;
38361 PyObject * obj4 = 0 ;
38362 PyObject * obj5 = 0 ;
38363 char *kwnames[] = {
38364 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38365 };
38366
248ed943 38367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
38368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
38369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38370 {
38371 arg2 = &temp2;
38372 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38373 }
38374 {
38375 arg3 = &temp3;
38376 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38377 }
c32bde28 38378 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 38379 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38380 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc 38381 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38382 if (obj5) {
38383 arg6 = obj5;
38384 }
d55e5bfc
RD
38385 {
38386 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38387 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d55e5bfc
RD
38388
38389 wxPyEndAllowThreads(__tstate);
38390 if (PyErr_Occurred()) SWIG_fail;
38391 }
38392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
38393 return resultobj;
38394 fail:
38395 return NULL;
38396}
38397
38398
c32bde28 38399static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38400 PyObject *resultobj;
38401 wxSizer *arg1 = (wxSizer *) 0 ;
38402 wxGBPosition *arg2 = 0 ;
38403 wxGBSpan *arg3 = 0 ;
38404 int arg4 ;
38405 int arg5 ;
248ed943 38406 PyObject *arg6 = (PyObject *) NULL ;
d55e5bfc
RD
38407 wxGBSizerItem *result;
38408 wxGBPosition temp2 ;
38409 wxGBSpan temp3 ;
38410 PyObject * obj0 = 0 ;
38411 PyObject * obj1 = 0 ;
38412 PyObject * obj2 = 0 ;
38413 PyObject * obj3 = 0 ;
38414 PyObject * obj4 = 0 ;
38415 PyObject * obj5 = 0 ;
38416 char *kwnames[] = {
38417 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38418 };
38419
248ed943 38420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
38421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
38422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38423 {
38424 arg2 = &temp2;
38425 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38426 }
38427 {
38428 arg3 = &temp3;
38429 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38430 }
c32bde28 38431 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc 38432 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38433 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc 38434 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38435 if (obj5) {
38436 arg6 = obj5;
38437 }
d55e5bfc
RD
38438 {
38439 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38440 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d55e5bfc
RD
38441
38442 wxPyEndAllowThreads(__tstate);
38443 if (PyErr_Occurred()) SWIG_fail;
38444 }
38445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
38446 return resultobj;
38447 fail:
38448 return NULL;
38449}
38450
38451
c32bde28 38452static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38453 PyObject *resultobj;
38454 int arg1 ;
38455 int arg2 ;
38456 wxGBPosition *arg3 = 0 ;
38457 wxGBSpan *arg4 = 0 ;
38458 int arg5 ;
38459 int arg6 ;
248ed943 38460 PyObject *arg7 = (PyObject *) NULL ;
d55e5bfc
RD
38461 wxGBSizerItem *result;
38462 wxGBPosition temp3 ;
38463 wxGBSpan temp4 ;
38464 PyObject * obj0 = 0 ;
38465 PyObject * obj1 = 0 ;
38466 PyObject * obj2 = 0 ;
38467 PyObject * obj3 = 0 ;
38468 PyObject * obj4 = 0 ;
38469 PyObject * obj5 = 0 ;
38470 PyObject * obj6 = 0 ;
38471 char *kwnames[] = {
38472 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38473 };
38474
248ed943 38475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
c32bde28 38476 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc 38477 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38478 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
38479 if (PyErr_Occurred()) SWIG_fail;
38480 {
38481 arg3 = &temp3;
38482 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38483 }
38484 {
38485 arg4 = &temp4;
38486 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38487 }
c32bde28 38488 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc 38489 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38490 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc 38491 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38492 if (obj6) {
38493 arg7 = obj6;
38494 }
d55e5bfc
RD
38495 {
38496 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38497 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d55e5bfc
RD
38498
38499 wxPyEndAllowThreads(__tstate);
38500 if (PyErr_Occurred()) SWIG_fail;
38501 }
38502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
38503 return resultobj;
38504 fail:
38505 return NULL;
38506}
38507
38508
c32bde28 38509static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38510 PyObject *resultobj;
38511 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38512 wxGBPosition result;
38513 PyObject * obj0 = 0 ;
38514 char *kwnames[] = {
38515 (char *) "self", NULL
38516 };
38517
38518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
38519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38521 {
38522 PyThreadState* __tstate = wxPyBeginAllowThreads();
38523 result = ((wxGBSizerItem const *)arg1)->GetPos();
38524
38525 wxPyEndAllowThreads(__tstate);
38526 if (PyErr_Occurred()) SWIG_fail;
38527 }
38528 {
38529 wxGBPosition * resultptr;
38530 resultptr = new wxGBPosition((wxGBPosition &) result);
38531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
38532 }
38533 return resultobj;
38534 fail:
38535 return NULL;
38536}
38537
38538
c32bde28 38539static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38540 PyObject *resultobj;
38541 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38542 wxGBSpan result;
38543 PyObject * obj0 = 0 ;
38544 char *kwnames[] = {
38545 (char *) "self", NULL
38546 };
38547
38548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
38549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38551 {
38552 PyThreadState* __tstate = wxPyBeginAllowThreads();
38553 result = ((wxGBSizerItem const *)arg1)->GetSpan();
38554
38555 wxPyEndAllowThreads(__tstate);
38556 if (PyErr_Occurred()) SWIG_fail;
38557 }
38558 {
38559 wxGBSpan * resultptr;
38560 resultptr = new wxGBSpan((wxGBSpan &) result);
38561 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
38562 }
38563 return resultobj;
38564 fail:
38565 return NULL;
38566}
38567
38568
c32bde28 38569static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38570 PyObject *resultobj;
38571 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38572 wxGBPosition *arg2 = 0 ;
38573 bool result;
38574 wxGBPosition temp2 ;
38575 PyObject * obj0 = 0 ;
38576 PyObject * obj1 = 0 ;
38577 char *kwnames[] = {
38578 (char *) "self",(char *) "pos", NULL
38579 };
38580
38581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
38582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38584 {
38585 arg2 = &temp2;
38586 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38587 }
38588 {
38589 PyThreadState* __tstate = wxPyBeginAllowThreads();
38590 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
38591
38592 wxPyEndAllowThreads(__tstate);
38593 if (PyErr_Occurred()) SWIG_fail;
38594 }
38595 {
38596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38597 }
38598 return resultobj;
38599 fail:
38600 return NULL;
38601}
38602
38603
c32bde28 38604static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38605 PyObject *resultobj;
38606 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38607 wxGBSpan *arg2 = 0 ;
38608 bool result;
38609 wxGBSpan temp2 ;
38610 PyObject * obj0 = 0 ;
38611 PyObject * obj1 = 0 ;
38612 char *kwnames[] = {
38613 (char *) "self",(char *) "span", NULL
38614 };
38615
38616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
38617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38619 {
38620 arg2 = &temp2;
38621 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
38622 }
38623 {
38624 PyThreadState* __tstate = wxPyBeginAllowThreads();
38625 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
38626
38627 wxPyEndAllowThreads(__tstate);
38628 if (PyErr_Occurred()) SWIG_fail;
38629 }
38630 {
38631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38632 }
38633 return resultobj;
38634 fail:
38635 return NULL;
38636}
38637
38638
c32bde28 38639static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38640 PyObject *resultobj;
38641 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38642 wxGBSizerItem *arg2 = 0 ;
38643 bool result;
38644 PyObject * obj0 = 0 ;
38645 PyObject * obj1 = 0 ;
248ed943
RD
38646 char *kwnames[] = {
38647 (char *) "self",(char *) "other", NULL
38648 };
d55e5bfc 38649
248ed943 38650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
38651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38654 SWIG_POINTER_EXCEPTION | 0)) == -1)
38655 SWIG_fail;
38656 if (arg2 == NULL) {
38657 PyErr_SetString(PyExc_TypeError,"null reference");
38658 SWIG_fail;
38659 }
38660 {
38661 PyThreadState* __tstate = wxPyBeginAllowThreads();
38662 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
38663
38664 wxPyEndAllowThreads(__tstate);
38665 if (PyErr_Occurred()) SWIG_fail;
38666 }
38667 {
38668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38669 }
38670 return resultobj;
38671 fail:
38672 return NULL;
38673}
38674
38675
c32bde28 38676static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38677 PyObject *resultobj;
38678 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38679 wxGBPosition *arg2 = 0 ;
38680 wxGBSpan *arg3 = 0 ;
38681 bool result;
38682 wxGBPosition temp2 ;
38683 wxGBSpan temp3 ;
38684 PyObject * obj0 = 0 ;
38685 PyObject * obj1 = 0 ;
38686 PyObject * obj2 = 0 ;
248ed943
RD
38687 char *kwnames[] = {
38688 (char *) "self",(char *) "pos",(char *) "span", NULL
38689 };
d55e5bfc 38690
248ed943 38691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
38692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38694 {
38695 arg2 = &temp2;
38696 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38697 }
38698 {
38699 arg3 = &temp3;
38700 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38701 }
38702 {
38703 PyThreadState* __tstate = wxPyBeginAllowThreads();
38704 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
38705
38706 wxPyEndAllowThreads(__tstate);
38707 if (PyErr_Occurred()) SWIG_fail;
38708 }
38709 {
38710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38711 }
38712 return resultobj;
38713 fail:
38714 return NULL;
38715}
38716
38717
c32bde28 38718static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38719 PyObject *resultobj;
38720 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 38721 wxGBPosition result;
d55e5bfc 38722 PyObject * obj0 = 0 ;
d55e5bfc 38723 char *kwnames[] = {
248ed943 38724 (char *) "self", NULL
d55e5bfc
RD
38725 };
38726
248ed943 38727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
d55e5bfc
RD
38728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d55e5bfc
RD
38730 {
38731 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38732 result = wxGBSizerItem_GetEndPos(arg1);
d55e5bfc
RD
38733
38734 wxPyEndAllowThreads(__tstate);
38735 if (PyErr_Occurred()) SWIG_fail;
38736 }
248ed943
RD
38737 {
38738 wxGBPosition * resultptr;
38739 resultptr = new wxGBPosition((wxGBPosition &) result);
38740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
38741 }
d55e5bfc
RD
38742 return resultobj;
38743 fail:
38744 return NULL;
38745}
38746
38747
c32bde28 38748static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38749 PyObject *resultobj;
38750 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38751 wxGridBagSizer *result;
38752 PyObject * obj0 = 0 ;
38753 char *kwnames[] = {
38754 (char *) "self", NULL
38755 };
38756
38757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
38758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38760 {
38761 PyThreadState* __tstate = wxPyBeginAllowThreads();
38762 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
38763
38764 wxPyEndAllowThreads(__tstate);
38765 if (PyErr_Occurred()) SWIG_fail;
38766 }
38767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
38768 return resultobj;
38769 fail:
38770 return NULL;
38771}
38772
38773
c32bde28 38774static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38775 PyObject *resultobj;
38776 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38777 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
38778 PyObject * obj0 = 0 ;
38779 PyObject * obj1 = 0 ;
38780 char *kwnames[] = {
38781 (char *) "self",(char *) "sizer", NULL
38782 };
38783
38784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
38785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
38788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38789 {
38790 PyThreadState* __tstate = wxPyBeginAllowThreads();
38791 (arg1)->SetGBSizer(arg2);
38792
38793 wxPyEndAllowThreads(__tstate);
38794 if (PyErr_Occurred()) SWIG_fail;
38795 }
38796 Py_INCREF(Py_None); resultobj = Py_None;
38797 return resultobj;
38798 fail:
38799 return NULL;
38800}
38801
38802
c32bde28 38803static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
38804 PyObject *obj;
38805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38806 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
38807 Py_INCREF(obj);
38808 return Py_BuildValue((char *)"");
38809}
c32bde28 38810static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38811 PyObject *resultobj;
38812 int arg1 = (int) 0 ;
38813 int arg2 = (int) 0 ;
38814 wxGridBagSizer *result;
38815 PyObject * obj0 = 0 ;
38816 PyObject * obj1 = 0 ;
38817 char *kwnames[] = {
38818 (char *) "vgap",(char *) "hgap", NULL
38819 };
38820
38821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
38822 if (obj0) {
c32bde28 38823 arg1 = (int)SWIG_As_int(obj0);
d55e5bfc
RD
38824 if (PyErr_Occurred()) SWIG_fail;
38825 }
38826 if (obj1) {
c32bde28 38827 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
38828 if (PyErr_Occurred()) SWIG_fail;
38829 }
38830 {
38831 PyThreadState* __tstate = wxPyBeginAllowThreads();
38832 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
38833
38834 wxPyEndAllowThreads(__tstate);
38835 if (PyErr_Occurred()) SWIG_fail;
38836 }
38837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
38838 return resultobj;
38839 fail:
38840 return NULL;
38841}
38842
38843
c32bde28 38844static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38845 PyObject *resultobj;
38846 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38847 PyObject *arg2 = (PyObject *) 0 ;
38848 wxGBPosition *arg3 = 0 ;
38849 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
38850 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
38851 int arg5 = (int) 0 ;
38852 int arg6 = (int) 0 ;
38853 PyObject *arg7 = (PyObject *) NULL ;
38854 bool result;
38855 wxGBPosition temp3 ;
38856 wxGBSpan temp4 ;
38857 PyObject * obj0 = 0 ;
38858 PyObject * obj1 = 0 ;
38859 PyObject * obj2 = 0 ;
38860 PyObject * obj3 = 0 ;
38861 PyObject * obj4 = 0 ;
38862 PyObject * obj5 = 0 ;
38863 PyObject * obj6 = 0 ;
38864 char *kwnames[] = {
38865 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38866 };
38867
38868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
38869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38871 arg2 = obj1;
38872 {
38873 arg3 = &temp3;
38874 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38875 }
38876 if (obj3) {
38877 {
38878 arg4 = &temp4;
38879 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38880 }
38881 }
38882 if (obj4) {
c32bde28 38883 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
38884 if (PyErr_Occurred()) SWIG_fail;
38885 }
38886 if (obj5) {
c32bde28 38887 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
38888 if (PyErr_Occurred()) SWIG_fail;
38889 }
38890 if (obj6) {
38891 arg7 = obj6;
38892 }
38893 {
38894 PyThreadState* __tstate = wxPyBeginAllowThreads();
38895 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
38896
38897 wxPyEndAllowThreads(__tstate);
38898 if (PyErr_Occurred()) SWIG_fail;
38899 }
38900 {
38901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38902 }
38903 return resultobj;
38904 fail:
38905 return NULL;
38906}
38907
38908
c32bde28 38909static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38910 PyObject *resultobj;
38911 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38912 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38913 bool result;
38914 PyObject * obj0 = 0 ;
38915 PyObject * obj1 = 0 ;
38916 char *kwnames[] = {
38917 (char *) "self",(char *) "item", NULL
38918 };
38919
38920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
38921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38925 {
38926 PyThreadState* __tstate = wxPyBeginAllowThreads();
38927 result = (bool)(arg1)->Add(arg2);
38928
38929 wxPyEndAllowThreads(__tstate);
38930 if (PyErr_Occurred()) SWIG_fail;
38931 }
38932 {
38933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38934 }
38935 return resultobj;
38936 fail:
38937 return NULL;
38938}
38939
38940
84f85550
RD
38941static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
38942 PyObject *resultobj;
38943 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38944 int arg2 ;
38945 int arg3 ;
38946 wxSize result;
38947 PyObject * obj0 = 0 ;
38948 PyObject * obj1 = 0 ;
38949 PyObject * obj2 = 0 ;
38950 char *kwnames[] = {
38951 (char *) "self",(char *) "row",(char *) "col", NULL
38952 };
38953
38954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
38955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38957 arg2 = (int)SWIG_As_int(obj1);
38958 if (PyErr_Occurred()) SWIG_fail;
38959 arg3 = (int)SWIG_As_int(obj2);
38960 if (PyErr_Occurred()) SWIG_fail;
38961 {
38962 PyThreadState* __tstate = wxPyBeginAllowThreads();
38963 result = ((wxGridBagSizer const *)arg1)->GetCellSize(arg2,arg3);
38964
38965 wxPyEndAllowThreads(__tstate);
38966 if (PyErr_Occurred()) SWIG_fail;
38967 }
38968 {
38969 wxSize * resultptr;
38970 resultptr = new wxSize((wxSize &) result);
38971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38972 }
38973 return resultobj;
38974 fail:
38975 return NULL;
38976}
38977
38978
c32bde28 38979static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
38980 PyObject *resultobj;
38981 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38982 wxSize result;
38983 PyObject * obj0 = 0 ;
38984 char *kwnames[] = {
38985 (char *) "self", NULL
38986 };
38987
38988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
38989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38991 {
38992 PyThreadState* __tstate = wxPyBeginAllowThreads();
38993 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
38994
38995 wxPyEndAllowThreads(__tstate);
38996 if (PyErr_Occurred()) SWIG_fail;
38997 }
38998 {
38999 wxSize * resultptr;
39000 resultptr = new wxSize((wxSize &) result);
39001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
39002 }
39003 return resultobj;
39004 fail:
39005 return NULL;
39006}
39007
39008
c32bde28 39009static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39010 PyObject *resultobj;
39011 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39012 wxSize *arg2 = 0 ;
39013 wxSize temp2 ;
39014 PyObject * obj0 = 0 ;
39015 PyObject * obj1 = 0 ;
39016 char *kwnames[] = {
39017 (char *) "self",(char *) "sz", NULL
39018 };
39019
39020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
39021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39023 {
39024 arg2 = &temp2;
39025 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
39026 }
39027 {
39028 PyThreadState* __tstate = wxPyBeginAllowThreads();
39029 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
39030
39031 wxPyEndAllowThreads(__tstate);
39032 if (PyErr_Occurred()) SWIG_fail;
39033 }
39034 Py_INCREF(Py_None); resultobj = Py_None;
39035 return resultobj;
39036 fail:
39037 return NULL;
39038}
39039
39040
c32bde28 39041static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
39042 PyObject *resultobj;
39043 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39044 wxWindow *arg2 = (wxWindow *) 0 ;
39045 wxGBPosition result;
39046 PyObject * obj0 = 0 ;
39047 PyObject * obj1 = 0 ;
39048
39049 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
39050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39054 {
39055 PyThreadState* __tstate = wxPyBeginAllowThreads();
39056 result = (arg1)->GetItemPosition(arg2);
39057
39058 wxPyEndAllowThreads(__tstate);
39059 if (PyErr_Occurred()) SWIG_fail;
39060 }
39061 {
39062 wxGBPosition * resultptr;
39063 resultptr = new wxGBPosition((wxGBPosition &) result);
39064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
39065 }
39066 return resultobj;
39067 fail:
39068 return NULL;
39069}
39070
39071
c32bde28 39072static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
39073 PyObject *resultobj;
39074 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39075 wxSizer *arg2 = (wxSizer *) 0 ;
39076 wxGBPosition result;
39077 PyObject * obj0 = 0 ;
39078 PyObject * obj1 = 0 ;
39079
39080 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
39081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39085 {
39086 PyThreadState* __tstate = wxPyBeginAllowThreads();
39087 result = (arg1)->GetItemPosition(arg2);
39088
39089 wxPyEndAllowThreads(__tstate);
39090 if (PyErr_Occurred()) SWIG_fail;
39091 }
39092 {
39093 wxGBPosition * resultptr;
39094 resultptr = new wxGBPosition((wxGBPosition &) result);
39095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
39096 }
39097 return resultobj;
39098 fail:
39099 return NULL;
39100}
39101
39102
c32bde28 39103static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
39104 PyObject *resultobj;
39105 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39106 size_t arg2 ;
39107 wxGBPosition result;
39108 PyObject * obj0 = 0 ;
39109 PyObject * obj1 = 0 ;
39110
39111 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
39112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39114 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
39115 if (PyErr_Occurred()) SWIG_fail;
39116 {
39117 PyThreadState* __tstate = wxPyBeginAllowThreads();
39118 result = (arg1)->GetItemPosition(arg2);
39119
39120 wxPyEndAllowThreads(__tstate);
39121 if (PyErr_Occurred()) SWIG_fail;
39122 }
39123 {
39124 wxGBPosition * resultptr;
39125 resultptr = new wxGBPosition((wxGBPosition &) result);
39126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
39127 }
39128 return resultobj;
39129 fail:
39130 return NULL;
39131}
39132
39133
39134static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
39135 int argc;
39136 PyObject *argv[3];
39137 int ii;
39138
39139 argc = PyObject_Length(args);
39140 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39141 argv[ii] = PyTuple_GetItem(args,ii);
39142 }
39143 if (argc == 2) {
39144 int _v;
39145 {
39146 void *ptr;
39147 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39148 _v = 0;
39149 PyErr_Clear();
39150 } else {
39151 _v = 1;
39152 }
39153 }
39154 if (_v) {
39155 {
39156 void *ptr;
39157 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
39158 _v = 0;
39159 PyErr_Clear();
39160 } else {
39161 _v = 1;
39162 }
39163 }
39164 if (_v) {
39165 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
39166 }
39167 }
39168 }
39169 if (argc == 2) {
39170 int _v;
39171 {
39172 void *ptr;
39173 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39174 _v = 0;
39175 PyErr_Clear();
39176 } else {
39177 _v = 1;
39178 }
39179 }
39180 if (_v) {
39181 {
39182 void *ptr;
39183 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39184 _v = 0;
39185 PyErr_Clear();
39186 } else {
39187 _v = 1;
39188 }
39189 }
39190 if (_v) {
39191 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
39192 }
39193 }
39194 }
39195 if (argc == 2) {
39196 int _v;
39197 {
39198 void *ptr;
39199 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39200 _v = 0;
39201 PyErr_Clear();
39202 } else {
39203 _v = 1;
39204 }
39205 }
39206 if (_v) {
c32bde28 39207 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
39208 if (_v) {
39209 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
39210 }
39211 }
39212 }
39213
39214 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
39215 return NULL;
39216}
39217
39218
c32bde28 39219static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
39220 PyObject *resultobj;
39221 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39222 wxWindow *arg2 = (wxWindow *) 0 ;
39223 wxGBPosition *arg3 = 0 ;
39224 bool result;
39225 wxGBPosition temp3 ;
39226 PyObject * obj0 = 0 ;
39227 PyObject * obj1 = 0 ;
39228 PyObject * obj2 = 0 ;
39229
39230 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
39231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39233 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39235 {
39236 arg3 = &temp3;
39237 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
39238 }
39239 {
39240 PyThreadState* __tstate = wxPyBeginAllowThreads();
39241 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
39242
39243 wxPyEndAllowThreads(__tstate);
39244 if (PyErr_Occurred()) SWIG_fail;
39245 }
39246 {
39247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39248 }
39249 return resultobj;
39250 fail:
39251 return NULL;
39252}
39253
39254
c32bde28 39255static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
39256 PyObject *resultobj;
39257 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39258 wxSizer *arg2 = (wxSizer *) 0 ;
39259 wxGBPosition *arg3 = 0 ;
39260 bool result;
39261 wxGBPosition temp3 ;
39262 PyObject * obj0 = 0 ;
39263 PyObject * obj1 = 0 ;
39264 PyObject * obj2 = 0 ;
39265
39266 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
39267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39271 {
39272 arg3 = &temp3;
39273 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
39274 }
39275 {
39276 PyThreadState* __tstate = wxPyBeginAllowThreads();
39277 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
39278
39279 wxPyEndAllowThreads(__tstate);
39280 if (PyErr_Occurred()) SWIG_fail;
39281 }
39282 {
39283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39284 }
39285 return resultobj;
39286 fail:
39287 return NULL;
39288}
39289
39290
c32bde28 39291static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
39292 PyObject *resultobj;
39293 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39294 size_t arg2 ;
39295 wxGBPosition *arg3 = 0 ;
39296 bool result;
39297 wxGBPosition temp3 ;
39298 PyObject * obj0 = 0 ;
39299 PyObject * obj1 = 0 ;
39300 PyObject * obj2 = 0 ;
39301
39302 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
39303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39305 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
39306 if (PyErr_Occurred()) SWIG_fail;
39307 {
39308 arg3 = &temp3;
39309 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
39310 }
39311 {
39312 PyThreadState* __tstate = wxPyBeginAllowThreads();
39313 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
39314
39315 wxPyEndAllowThreads(__tstate);
39316 if (PyErr_Occurred()) SWIG_fail;
39317 }
39318 {
39319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39320 }
39321 return resultobj;
39322 fail:
39323 return NULL;
39324}
39325
39326
39327static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
39328 int argc;
39329 PyObject *argv[4];
39330 int ii;
39331
39332 argc = PyObject_Length(args);
39333 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
39334 argv[ii] = PyTuple_GetItem(args,ii);
39335 }
39336 if (argc == 3) {
39337 int _v;
39338 {
39339 void *ptr;
39340 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39341 _v = 0;
39342 PyErr_Clear();
39343 } else {
39344 _v = 1;
39345 }
39346 }
39347 if (_v) {
39348 {
39349 void *ptr;
39350 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
39351 _v = 0;
39352 PyErr_Clear();
39353 } else {
39354 _v = 1;
39355 }
39356 }
39357 if (_v) {
39358 {
39359 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39360 }
39361 if (_v) {
39362 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
39363 }
39364 }
39365 }
39366 }
39367 if (argc == 3) {
39368 int _v;
39369 {
39370 void *ptr;
39371 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39372 _v = 0;
39373 PyErr_Clear();
39374 } else {
39375 _v = 1;
39376 }
39377 }
39378 if (_v) {
39379 {
39380 void *ptr;
39381 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39382 _v = 0;
39383 PyErr_Clear();
39384 } else {
39385 _v = 1;
39386 }
39387 }
39388 if (_v) {
39389 {
39390 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39391 }
39392 if (_v) {
39393 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
39394 }
39395 }
39396 }
39397 }
39398 if (argc == 3) {
39399 int _v;
39400 {
39401 void *ptr;
39402 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39403 _v = 0;
39404 PyErr_Clear();
39405 } else {
39406 _v = 1;
39407 }
39408 }
39409 if (_v) {
c32bde28 39410 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
39411 if (_v) {
39412 {
39413 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39414 }
39415 if (_v) {
39416 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
39417 }
39418 }
39419 }
39420 }
39421
39422 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39423 return NULL;
39424}
39425
39426
c32bde28 39427static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
39428 PyObject *resultobj;
39429 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39430 wxWindow *arg2 = (wxWindow *) 0 ;
39431 wxGBSpan result;
39432 PyObject * obj0 = 0 ;
39433 PyObject * obj1 = 0 ;
39434
39435 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
39436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39440 {
39441 PyThreadState* __tstate = wxPyBeginAllowThreads();
39442 result = (arg1)->GetItemSpan(arg2);
39443
39444 wxPyEndAllowThreads(__tstate);
39445 if (PyErr_Occurred()) SWIG_fail;
39446 }
39447 {
39448 wxGBSpan * resultptr;
39449 resultptr = new wxGBSpan((wxGBSpan &) result);
39450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
39451 }
39452 return resultobj;
39453 fail:
39454 return NULL;
39455}
39456
39457
c32bde28 39458static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
39459 PyObject *resultobj;
39460 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39461 wxSizer *arg2 = (wxSizer *) 0 ;
39462 wxGBSpan result;
39463 PyObject * obj0 = 0 ;
39464 PyObject * obj1 = 0 ;
39465
39466 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
39467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39471 {
39472 PyThreadState* __tstate = wxPyBeginAllowThreads();
39473 result = (arg1)->GetItemSpan(arg2);
39474
39475 wxPyEndAllowThreads(__tstate);
39476 if (PyErr_Occurred()) SWIG_fail;
39477 }
39478 {
39479 wxGBSpan * resultptr;
39480 resultptr = new wxGBSpan((wxGBSpan &) result);
39481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
39482 }
39483 return resultobj;
39484 fail:
39485 return NULL;
39486}
39487
39488
c32bde28 39489static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
39490 PyObject *resultobj;
39491 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39492 size_t arg2 ;
39493 wxGBSpan result;
39494 PyObject * obj0 = 0 ;
39495 PyObject * obj1 = 0 ;
39496
39497 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
39498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39500 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
39501 if (PyErr_Occurred()) SWIG_fail;
39502 {
39503 PyThreadState* __tstate = wxPyBeginAllowThreads();
39504 result = (arg1)->GetItemSpan(arg2);
39505
39506 wxPyEndAllowThreads(__tstate);
39507 if (PyErr_Occurred()) SWIG_fail;
39508 }
39509 {
39510 wxGBSpan * resultptr;
39511 resultptr = new wxGBSpan((wxGBSpan &) result);
39512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
39513 }
39514 return resultobj;
39515 fail:
39516 return NULL;
39517}
39518
39519
39520static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
39521 int argc;
39522 PyObject *argv[3];
39523 int ii;
39524
39525 argc = PyObject_Length(args);
39526 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39527 argv[ii] = PyTuple_GetItem(args,ii);
39528 }
39529 if (argc == 2) {
39530 int _v;
39531 {
39532 void *ptr;
39533 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39534 _v = 0;
39535 PyErr_Clear();
39536 } else {
39537 _v = 1;
39538 }
39539 }
39540 if (_v) {
39541 {
39542 void *ptr;
39543 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
39544 _v = 0;
39545 PyErr_Clear();
39546 } else {
39547 _v = 1;
39548 }
39549 }
39550 if (_v) {
39551 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
39552 }
39553 }
39554 }
39555 if (argc == 2) {
39556 int _v;
39557 {
39558 void *ptr;
39559 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39560 _v = 0;
39561 PyErr_Clear();
39562 } else {
39563 _v = 1;
39564 }
39565 }
39566 if (_v) {
39567 {
39568 void *ptr;
39569 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39570 _v = 0;
39571 PyErr_Clear();
39572 } else {
39573 _v = 1;
39574 }
39575 }
39576 if (_v) {
39577 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
39578 }
39579 }
39580 }
39581 if (argc == 2) {
39582 int _v;
39583 {
39584 void *ptr;
39585 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39586 _v = 0;
39587 PyErr_Clear();
39588 } else {
39589 _v = 1;
39590 }
39591 }
39592 if (_v) {
c32bde28 39593 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
39594 if (_v) {
39595 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
39596 }
39597 }
39598 }
39599
39600 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39601 return NULL;
39602}
39603
39604
c32bde28 39605static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
39606 PyObject *resultobj;
39607 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39608 wxWindow *arg2 = (wxWindow *) 0 ;
39609 wxGBSpan *arg3 = 0 ;
39610 bool result;
39611 wxGBSpan temp3 ;
39612 PyObject * obj0 = 0 ;
39613 PyObject * obj1 = 0 ;
39614 PyObject * obj2 = 0 ;
39615
39616 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
39617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39621 {
39622 arg3 = &temp3;
39623 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39624 }
39625 {
39626 PyThreadState* __tstate = wxPyBeginAllowThreads();
39627 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39628
39629 wxPyEndAllowThreads(__tstate);
39630 if (PyErr_Occurred()) SWIG_fail;
39631 }
39632 {
39633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39634 }
39635 return resultobj;
39636 fail:
39637 return NULL;
39638}
39639
39640
c32bde28 39641static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
39642 PyObject *resultobj;
39643 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39644 wxSizer *arg2 = (wxSizer *) 0 ;
39645 wxGBSpan *arg3 = 0 ;
39646 bool result;
39647 wxGBSpan temp3 ;
39648 PyObject * obj0 = 0 ;
39649 PyObject * obj1 = 0 ;
39650 PyObject * obj2 = 0 ;
39651
39652 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
39653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39657 {
39658 arg3 = &temp3;
39659 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39660 }
39661 {
39662 PyThreadState* __tstate = wxPyBeginAllowThreads();
39663 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39664
39665 wxPyEndAllowThreads(__tstate);
39666 if (PyErr_Occurred()) SWIG_fail;
39667 }
39668 {
39669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39670 }
39671 return resultobj;
39672 fail:
39673 return NULL;
39674}
39675
39676
c32bde28 39677static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
39678 PyObject *resultobj;
39679 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39680 size_t arg2 ;
39681 wxGBSpan *arg3 = 0 ;
39682 bool result;
39683 wxGBSpan temp3 ;
39684 PyObject * obj0 = 0 ;
39685 PyObject * obj1 = 0 ;
39686 PyObject * obj2 = 0 ;
39687
39688 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
39689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39691 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
d55e5bfc
RD
39692 if (PyErr_Occurred()) SWIG_fail;
39693 {
39694 arg3 = &temp3;
39695 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39696 }
39697 {
39698 PyThreadState* __tstate = wxPyBeginAllowThreads();
39699 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39700
39701 wxPyEndAllowThreads(__tstate);
39702 if (PyErr_Occurred()) SWIG_fail;
39703 }
39704 {
39705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39706 }
39707 return resultobj;
39708 fail:
39709 return NULL;
39710}
39711
39712
39713static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
39714 int argc;
39715 PyObject *argv[4];
39716 int ii;
39717
39718 argc = PyObject_Length(args);
39719 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
39720 argv[ii] = PyTuple_GetItem(args,ii);
39721 }
39722 if (argc == 3) {
39723 int _v;
39724 {
39725 void *ptr;
39726 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39727 _v = 0;
39728 PyErr_Clear();
39729 } else {
39730 _v = 1;
39731 }
39732 }
39733 if (_v) {
39734 {
39735 void *ptr;
39736 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
39737 _v = 0;
39738 PyErr_Clear();
39739 } else {
39740 _v = 1;
39741 }
39742 }
39743 if (_v) {
39744 {
39745 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39746 }
39747 if (_v) {
39748 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
39749 }
39750 }
39751 }
39752 }
39753 if (argc == 3) {
39754 int _v;
39755 {
39756 void *ptr;
39757 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39758 _v = 0;
39759 PyErr_Clear();
39760 } else {
39761 _v = 1;
39762 }
39763 }
39764 if (_v) {
39765 {
39766 void *ptr;
39767 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39768 _v = 0;
39769 PyErr_Clear();
39770 } else {
39771 _v = 1;
39772 }
39773 }
39774 if (_v) {
39775 {
39776 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39777 }
39778 if (_v) {
39779 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
39780 }
39781 }
39782 }
39783 }
39784 if (argc == 3) {
39785 int _v;
39786 {
39787 void *ptr;
39788 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39789 _v = 0;
39790 PyErr_Clear();
39791 } else {
39792 _v = 1;
39793 }
39794 }
39795 if (_v) {
c32bde28 39796 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d55e5bfc
RD
39797 if (_v) {
39798 {
39799 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39800 }
39801 if (_v) {
39802 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
39803 }
39804 }
39805 }
39806 }
39807
39808 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39809 return NULL;
39810}
39811
39812
c32bde28 39813static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
39814 PyObject *resultobj;
39815 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39816 wxWindow *arg2 = (wxWindow *) 0 ;
39817 wxGBSizerItem *result;
39818 PyObject * obj0 = 0 ;
39819 PyObject * obj1 = 0 ;
39820
39821 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
39822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39826 {
39827 PyThreadState* __tstate = wxPyBeginAllowThreads();
39828 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39829
39830 wxPyEndAllowThreads(__tstate);
39831 if (PyErr_Occurred()) SWIG_fail;
39832 }
39833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39834 return resultobj;
39835 fail:
39836 return NULL;
39837}
39838
39839
c32bde28 39840static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
39841 PyObject *resultobj;
39842 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39843 wxSizer *arg2 = (wxSizer *) 0 ;
39844 wxGBSizerItem *result;
39845 PyObject * obj0 = 0 ;
39846 PyObject * obj1 = 0 ;
39847
39848 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
39849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39853 {
39854 PyThreadState* __tstate = wxPyBeginAllowThreads();
39855 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39856
39857 wxPyEndAllowThreads(__tstate);
39858 if (PyErr_Occurred()) SWIG_fail;
39859 }
39860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39861 return resultobj;
39862 fail:
39863 return NULL;
39864}
39865
39866
39867static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
39868 int argc;
39869 PyObject *argv[3];
39870 int ii;
39871
39872 argc = PyObject_Length(args);
39873 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39874 argv[ii] = PyTuple_GetItem(args,ii);
39875 }
39876 if (argc == 2) {
39877 int _v;
39878 {
39879 void *ptr;
39880 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39881 _v = 0;
39882 PyErr_Clear();
39883 } else {
39884 _v = 1;
39885 }
39886 }
39887 if (_v) {
39888 {
39889 void *ptr;
39890 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
39891 _v = 0;
39892 PyErr_Clear();
39893 } else {
39894 _v = 1;
39895 }
39896 }
39897 if (_v) {
39898 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
39899 }
39900 }
39901 }
39902 if (argc == 2) {
39903 int _v;
39904 {
39905 void *ptr;
39906 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
39907 _v = 0;
39908 PyErr_Clear();
39909 } else {
39910 _v = 1;
39911 }
39912 }
39913 if (_v) {
39914 {
39915 void *ptr;
39916 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
39917 _v = 0;
39918 PyErr_Clear();
39919 } else {
39920 _v = 1;
39921 }
39922 }
39923 if (_v) {
39924 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
39925 }
39926 }
39927 }
39928
39929 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
39930 return NULL;
39931}
39932
39933
c32bde28 39934static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39935 PyObject *resultobj;
39936 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39937 wxGBPosition *arg2 = 0 ;
39938 wxGBSizerItem *result;
39939 wxGBPosition temp2 ;
39940 PyObject * obj0 = 0 ;
39941 PyObject * obj1 = 0 ;
39942 char *kwnames[] = {
39943 (char *) "self",(char *) "pos", NULL
39944 };
39945
39946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
39947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39949 {
39950 arg2 = &temp2;
39951 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39952 }
39953 {
39954 PyThreadState* __tstate = wxPyBeginAllowThreads();
39955 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
39956
39957 wxPyEndAllowThreads(__tstate);
39958 if (PyErr_Occurred()) SWIG_fail;
39959 }
39960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39961 return resultobj;
39962 fail:
39963 return NULL;
39964}
39965
39966
c32bde28 39967static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
39968 PyObject *resultobj;
39969 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39970 wxPoint *arg2 = 0 ;
39971 wxGBSizerItem *result;
39972 wxPoint temp2 ;
39973 PyObject * obj0 = 0 ;
39974 PyObject * obj1 = 0 ;
39975 char *kwnames[] = {
39976 (char *) "self",(char *) "pt", NULL
39977 };
39978
39979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
39980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39982 {
39983 arg2 = &temp2;
39984 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39985 }
39986 {
39987 PyThreadState* __tstate = wxPyBeginAllowThreads();
39988 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
39989
39990 wxPyEndAllowThreads(__tstate);
39991 if (PyErr_Occurred()) SWIG_fail;
39992 }
39993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
39994 return resultobj;
39995 fail:
39996 return NULL;
39997}
39998
39999
c32bde28 40000static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40001 PyObject *resultobj;
40002 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
40003 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
40004 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
40005 bool result;
40006 PyObject * obj0 = 0 ;
40007 PyObject * obj1 = 0 ;
40008 PyObject * obj2 = 0 ;
248ed943
RD
40009 char *kwnames[] = {
40010 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
40011 };
d55e5bfc 40012
248ed943 40013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
40014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
40015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
40017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40018 if (obj2) {
40019 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
40020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40021 }
40022 {
40023 PyThreadState* __tstate = wxPyBeginAllowThreads();
40024 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
40025
40026 wxPyEndAllowThreads(__tstate);
40027 if (PyErr_Occurred()) SWIG_fail;
40028 }
40029 {
40030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40031 }
40032 return resultobj;
40033 fail:
40034 return NULL;
40035}
40036
40037
c32bde28 40038static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40039 PyObject *resultobj;
40040 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
40041 wxGBPosition *arg2 = 0 ;
40042 wxGBSpan *arg3 = 0 ;
40043 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
40044 bool result;
40045 wxGBPosition temp2 ;
40046 wxGBSpan temp3 ;
40047 PyObject * obj0 = 0 ;
40048 PyObject * obj1 = 0 ;
40049 PyObject * obj2 = 0 ;
40050 PyObject * obj3 = 0 ;
248ed943
RD
40051 char *kwnames[] = {
40052 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
40053 };
d55e5bfc 40054
248ed943 40055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
40056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
40057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40058 {
40059 arg2 = &temp2;
40060 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
40061 }
40062 {
40063 arg3 = &temp3;
40064 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
40065 }
40066 if (obj3) {
40067 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
40068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40069 }
40070 {
40071 PyThreadState* __tstate = wxPyBeginAllowThreads();
40072 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
40073
40074 wxPyEndAllowThreads(__tstate);
40075 if (PyErr_Occurred()) SWIG_fail;
40076 }
40077 {
40078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40079 }
40080 return resultobj;
40081 fail:
40082 return NULL;
40083}
40084
40085
c32bde28 40086static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
40087 PyObject *obj;
40088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40089 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
40090 Py_INCREF(obj);
40091 return Py_BuildValue((char *)"");
40092}
c32bde28 40093static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40094 PyObject *resultobj;
40095 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40096 int arg2 ;
40097 wxWindow *arg3 = (wxWindow *) 0 ;
40098 int arg4 ;
40099 int arg5 = (int) 0 ;
40100 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
40101 PyObject * obj0 = 0 ;
40102 PyObject * obj1 = 0 ;
40103 PyObject * obj2 = 0 ;
40104 PyObject * obj3 = 0 ;
40105 PyObject * obj4 = 0 ;
40106 PyObject * obj5 = 0 ;
40107 char *kwnames[] = {
40108 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
40109 };
40110
40111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
40112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40114 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
40115 if (PyErr_Occurred()) SWIG_fail;
40116 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40118 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
40119 if (PyErr_Occurred()) SWIG_fail;
40120 if (obj4) {
c32bde28 40121 arg5 = (int)SWIG_As_int(obj4);
d55e5bfc
RD
40122 if (PyErr_Occurred()) SWIG_fail;
40123 }
40124 if (obj5) {
c32bde28 40125 arg6 = (int)SWIG_As_int(obj5);
d55e5bfc
RD
40126 if (PyErr_Occurred()) SWIG_fail;
40127 }
40128 {
40129 PyThreadState* __tstate = wxPyBeginAllowThreads();
40130 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
40131
40132 wxPyEndAllowThreads(__tstate);
40133 if (PyErr_Occurred()) SWIG_fail;
40134 }
40135 Py_INCREF(Py_None); resultobj = Py_None;
40136 return resultobj;
40137 fail:
40138 return NULL;
40139}
40140
40141
c32bde28 40142static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40143 PyObject *resultobj;
40144 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40145 wxWindow *arg2 = (wxWindow *) 0 ;
40146 int arg3 = (int) 0 ;
40147 PyObject * obj0 = 0 ;
40148 PyObject * obj1 = 0 ;
40149 PyObject * obj2 = 0 ;
40150 char *kwnames[] = {
40151 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40152 };
40153
40154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
40155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40159 if (obj2) {
c32bde28 40160 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
40161 if (PyErr_Occurred()) SWIG_fail;
40162 }
40163 {
40164 PyThreadState* __tstate = wxPyBeginAllowThreads();
40165 (arg1)->LeftOf(arg2,arg3);
40166
40167 wxPyEndAllowThreads(__tstate);
40168 if (PyErr_Occurred()) SWIG_fail;
40169 }
40170 Py_INCREF(Py_None); resultobj = Py_None;
40171 return resultobj;
40172 fail:
40173 return NULL;
40174}
40175
40176
c32bde28 40177static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40178 PyObject *resultobj;
40179 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40180 wxWindow *arg2 = (wxWindow *) 0 ;
40181 int arg3 = (int) 0 ;
40182 PyObject * obj0 = 0 ;
40183 PyObject * obj1 = 0 ;
40184 PyObject * obj2 = 0 ;
40185 char *kwnames[] = {
40186 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40187 };
40188
40189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
40190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40194 if (obj2) {
c32bde28 40195 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
40196 if (PyErr_Occurred()) SWIG_fail;
40197 }
40198 {
40199 PyThreadState* __tstate = wxPyBeginAllowThreads();
40200 (arg1)->RightOf(arg2,arg3);
40201
40202 wxPyEndAllowThreads(__tstate);
40203 if (PyErr_Occurred()) SWIG_fail;
40204 }
40205 Py_INCREF(Py_None); resultobj = Py_None;
40206 return resultobj;
40207 fail:
40208 return NULL;
40209}
40210
40211
c32bde28 40212static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40213 PyObject *resultobj;
40214 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40215 wxWindow *arg2 = (wxWindow *) 0 ;
40216 int arg3 = (int) 0 ;
40217 PyObject * obj0 = 0 ;
40218 PyObject * obj1 = 0 ;
40219 PyObject * obj2 = 0 ;
40220 char *kwnames[] = {
40221 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40222 };
40223
40224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
40225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40229 if (obj2) {
c32bde28 40230 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
40231 if (PyErr_Occurred()) SWIG_fail;
40232 }
40233 {
40234 PyThreadState* __tstate = wxPyBeginAllowThreads();
40235 (arg1)->Above(arg2,arg3);
40236
40237 wxPyEndAllowThreads(__tstate);
40238 if (PyErr_Occurred()) SWIG_fail;
40239 }
40240 Py_INCREF(Py_None); resultobj = Py_None;
40241 return resultobj;
40242 fail:
40243 return NULL;
40244}
40245
40246
c32bde28 40247static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40248 PyObject *resultobj;
40249 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40250 wxWindow *arg2 = (wxWindow *) 0 ;
40251 int arg3 = (int) 0 ;
40252 PyObject * obj0 = 0 ;
40253 PyObject * obj1 = 0 ;
40254 PyObject * obj2 = 0 ;
40255 char *kwnames[] = {
40256 (char *) "self",(char *) "sibling",(char *) "marg", NULL
40257 };
40258
40259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
40260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40264 if (obj2) {
c32bde28 40265 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
40266 if (PyErr_Occurred()) SWIG_fail;
40267 }
40268 {
40269 PyThreadState* __tstate = wxPyBeginAllowThreads();
40270 (arg1)->Below(arg2,arg3);
40271
40272 wxPyEndAllowThreads(__tstate);
40273 if (PyErr_Occurred()) SWIG_fail;
40274 }
40275 Py_INCREF(Py_None); resultobj = Py_None;
40276 return resultobj;
40277 fail:
40278 return NULL;
40279}
40280
40281
c32bde28 40282static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40283 PyObject *resultobj;
40284 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40285 wxWindow *arg2 = (wxWindow *) 0 ;
40286 int arg3 ;
40287 int arg4 = (int) 0 ;
40288 PyObject * obj0 = 0 ;
40289 PyObject * obj1 = 0 ;
40290 PyObject * obj2 = 0 ;
40291 PyObject * obj3 = 0 ;
40292 char *kwnames[] = {
40293 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
40294 };
40295
40296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
40297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40301 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc
RD
40302 if (PyErr_Occurred()) SWIG_fail;
40303 if (obj3) {
c32bde28 40304 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
40305 if (PyErr_Occurred()) SWIG_fail;
40306 }
40307 {
40308 PyThreadState* __tstate = wxPyBeginAllowThreads();
40309 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
40310
40311 wxPyEndAllowThreads(__tstate);
40312 if (PyErr_Occurred()) SWIG_fail;
40313 }
40314 Py_INCREF(Py_None); resultobj = Py_None;
40315 return resultobj;
40316 fail:
40317 return NULL;
40318}
40319
40320
c32bde28 40321static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40322 PyObject *resultobj;
40323 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40324 wxWindow *arg2 = (wxWindow *) 0 ;
40325 int arg3 ;
40326 int arg4 ;
40327 PyObject * obj0 = 0 ;
40328 PyObject * obj1 = 0 ;
40329 PyObject * obj2 = 0 ;
40330 PyObject * obj3 = 0 ;
40331 char *kwnames[] = {
40332 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40333 };
40334
40335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
40336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40340 arg3 = (int)SWIG_As_int(obj2);
d55e5bfc 40341 if (PyErr_Occurred()) SWIG_fail;
c32bde28 40342 arg4 = (int)SWIG_As_int(obj3);
d55e5bfc
RD
40343 if (PyErr_Occurred()) SWIG_fail;
40344 {
40345 PyThreadState* __tstate = wxPyBeginAllowThreads();
40346 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
40347
40348 wxPyEndAllowThreads(__tstate);
40349 if (PyErr_Occurred()) SWIG_fail;
40350 }
40351 Py_INCREF(Py_None); resultobj = Py_None;
40352 return resultobj;
40353 fail:
40354 return NULL;
40355}
40356
40357
c32bde28 40358static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40359 PyObject *resultobj;
40360 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40361 int arg2 ;
40362 PyObject * obj0 = 0 ;
40363 PyObject * obj1 = 0 ;
40364 char *kwnames[] = {
40365 (char *) "self",(char *) "val", NULL
40366 };
40367
40368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
40369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40371 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
40372 if (PyErr_Occurred()) SWIG_fail;
40373 {
40374 PyThreadState* __tstate = wxPyBeginAllowThreads();
40375 (arg1)->Absolute(arg2);
40376
40377 wxPyEndAllowThreads(__tstate);
40378 if (PyErr_Occurred()) SWIG_fail;
40379 }
40380 Py_INCREF(Py_None); resultobj = Py_None;
40381 return resultobj;
40382 fail:
40383 return NULL;
40384}
40385
40386
c32bde28 40387static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40388 PyObject *resultobj;
40389 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40390 PyObject * obj0 = 0 ;
40391 char *kwnames[] = {
40392 (char *) "self", NULL
40393 };
40394
40395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
40396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40398 {
40399 PyThreadState* __tstate = wxPyBeginAllowThreads();
40400 (arg1)->Unconstrained();
40401
40402 wxPyEndAllowThreads(__tstate);
40403 if (PyErr_Occurred()) SWIG_fail;
40404 }
40405 Py_INCREF(Py_None); resultobj = Py_None;
40406 return resultobj;
40407 fail:
40408 return NULL;
40409}
40410
40411
c32bde28 40412static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40413 PyObject *resultobj;
40414 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40415 PyObject * obj0 = 0 ;
40416 char *kwnames[] = {
40417 (char *) "self", NULL
40418 };
40419
40420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
40421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40423 {
40424 PyThreadState* __tstate = wxPyBeginAllowThreads();
40425 (arg1)->AsIs();
40426
40427 wxPyEndAllowThreads(__tstate);
40428 if (PyErr_Occurred()) SWIG_fail;
40429 }
40430 Py_INCREF(Py_None); resultobj = Py_None;
40431 return resultobj;
40432 fail:
40433 return NULL;
40434}
40435
40436
c32bde28 40437static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40438 PyObject *resultobj;
40439 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40440 wxWindow *result;
40441 PyObject * obj0 = 0 ;
40442 char *kwnames[] = {
40443 (char *) "self", NULL
40444 };
40445
40446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
40447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40449 {
40450 PyThreadState* __tstate = wxPyBeginAllowThreads();
40451 result = (wxWindow *)(arg1)->GetOtherWindow();
40452
40453 wxPyEndAllowThreads(__tstate);
40454 if (PyErr_Occurred()) SWIG_fail;
40455 }
40456 {
412d302d 40457 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
40458 }
40459 return resultobj;
40460 fail:
40461 return NULL;
40462}
40463
40464
c32bde28 40465static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40466 PyObject *resultobj;
40467 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40468 int result;
40469 PyObject * obj0 = 0 ;
40470 char *kwnames[] = {
40471 (char *) "self", NULL
40472 };
40473
40474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
40475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40477 {
40478 PyThreadState* __tstate = wxPyBeginAllowThreads();
40479 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
40480
40481 wxPyEndAllowThreads(__tstate);
40482 if (PyErr_Occurred()) SWIG_fail;
40483 }
c32bde28 40484 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
40485 return resultobj;
40486 fail:
40487 return NULL;
40488}
40489
40490
c32bde28 40491static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40492 PyObject *resultobj;
40493 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40494 int arg2 ;
40495 PyObject * obj0 = 0 ;
40496 PyObject * obj1 = 0 ;
40497 char *kwnames[] = {
40498 (char *) "self",(char *) "which", NULL
40499 };
40500
40501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
40502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40504 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
40505 if (PyErr_Occurred()) SWIG_fail;
40506 {
40507 PyThreadState* __tstate = wxPyBeginAllowThreads();
40508 (arg1)->SetEdge((wxEdge )arg2);
40509
40510 wxPyEndAllowThreads(__tstate);
40511 if (PyErr_Occurred()) SWIG_fail;
40512 }
40513 Py_INCREF(Py_None); resultobj = Py_None;
40514 return resultobj;
40515 fail:
40516 return NULL;
40517}
40518
40519
c32bde28 40520static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40521 PyObject *resultobj;
40522 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40523 int arg2 ;
40524 PyObject * obj0 = 0 ;
40525 PyObject * obj1 = 0 ;
40526 char *kwnames[] = {
40527 (char *) "self",(char *) "v", NULL
40528 };
40529
40530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
40531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40533 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
40534 if (PyErr_Occurred()) SWIG_fail;
40535 {
40536 PyThreadState* __tstate = wxPyBeginAllowThreads();
40537 (arg1)->SetValue(arg2);
40538
40539 wxPyEndAllowThreads(__tstate);
40540 if (PyErr_Occurred()) SWIG_fail;
40541 }
40542 Py_INCREF(Py_None); resultobj = Py_None;
40543 return resultobj;
40544 fail:
40545 return NULL;
40546}
40547
40548
c32bde28 40549static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40550 PyObject *resultobj;
40551 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40552 int result;
40553 PyObject * obj0 = 0 ;
40554 char *kwnames[] = {
40555 (char *) "self", NULL
40556 };
40557
40558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
40559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40561 {
40562 PyThreadState* __tstate = wxPyBeginAllowThreads();
40563 result = (int)(arg1)->GetMargin();
40564
40565 wxPyEndAllowThreads(__tstate);
40566 if (PyErr_Occurred()) SWIG_fail;
40567 }
c32bde28 40568 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
40569 return resultobj;
40570 fail:
40571 return NULL;
40572}
40573
40574
c32bde28 40575static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40576 PyObject *resultobj;
40577 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40578 int arg2 ;
40579 PyObject * obj0 = 0 ;
40580 PyObject * obj1 = 0 ;
40581 char *kwnames[] = {
40582 (char *) "self",(char *) "m", NULL
40583 };
40584
40585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
40586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40588 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
40589 if (PyErr_Occurred()) SWIG_fail;
40590 {
40591 PyThreadState* __tstate = wxPyBeginAllowThreads();
40592 (arg1)->SetMargin(arg2);
40593
40594 wxPyEndAllowThreads(__tstate);
40595 if (PyErr_Occurred()) SWIG_fail;
40596 }
40597 Py_INCREF(Py_None); resultobj = Py_None;
40598 return resultobj;
40599 fail:
40600 return NULL;
40601}
40602
40603
c32bde28 40604static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40605 PyObject *resultobj;
40606 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40607 int result;
40608 PyObject * obj0 = 0 ;
40609 char *kwnames[] = {
40610 (char *) "self", NULL
40611 };
40612
40613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
40614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40616 {
40617 PyThreadState* __tstate = wxPyBeginAllowThreads();
40618 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
40619
40620 wxPyEndAllowThreads(__tstate);
40621 if (PyErr_Occurred()) SWIG_fail;
40622 }
c32bde28 40623 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
40624 return resultobj;
40625 fail:
40626 return NULL;
40627}
40628
40629
c32bde28 40630static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40631 PyObject *resultobj;
40632 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40633 int result;
40634 PyObject * obj0 = 0 ;
40635 char *kwnames[] = {
40636 (char *) "self", NULL
40637 };
40638
40639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
40640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40642 {
40643 PyThreadState* __tstate = wxPyBeginAllowThreads();
40644 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
40645
40646 wxPyEndAllowThreads(__tstate);
40647 if (PyErr_Occurred()) SWIG_fail;
40648 }
c32bde28 40649 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
40650 return resultobj;
40651 fail:
40652 return NULL;
40653}
40654
40655
c32bde28 40656static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40657 PyObject *resultobj;
40658 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40659 int result;
40660 PyObject * obj0 = 0 ;
40661 char *kwnames[] = {
40662 (char *) "self", NULL
40663 };
40664
40665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
40666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40668 {
40669 PyThreadState* __tstate = wxPyBeginAllowThreads();
40670 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
40671
40672 wxPyEndAllowThreads(__tstate);
40673 if (PyErr_Occurred()) SWIG_fail;
40674 }
c32bde28 40675 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
40676 return resultobj;
40677 fail:
40678 return NULL;
40679}
40680
40681
c32bde28 40682static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40683 PyObject *resultobj;
40684 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40685 bool result;
40686 PyObject * obj0 = 0 ;
40687 char *kwnames[] = {
40688 (char *) "self", NULL
40689 };
40690
40691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
40692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40694 {
40695 PyThreadState* __tstate = wxPyBeginAllowThreads();
40696 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
40697
40698 wxPyEndAllowThreads(__tstate);
40699 if (PyErr_Occurred()) SWIG_fail;
40700 }
40701 {
40702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40703 }
40704 return resultobj;
40705 fail:
40706 return NULL;
40707}
40708
40709
c32bde28 40710static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40711 PyObject *resultobj;
40712 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40713 bool arg2 ;
40714 PyObject * obj0 = 0 ;
40715 PyObject * obj1 = 0 ;
40716 char *kwnames[] = {
40717 (char *) "self",(char *) "d", NULL
40718 };
40719
40720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
40721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40723 arg2 = (bool)SWIG_As_bool(obj1);
d55e5bfc
RD
40724 if (PyErr_Occurred()) SWIG_fail;
40725 {
40726 PyThreadState* __tstate = wxPyBeginAllowThreads();
40727 (arg1)->SetDone(arg2);
40728
40729 wxPyEndAllowThreads(__tstate);
40730 if (PyErr_Occurred()) SWIG_fail;
40731 }
40732 Py_INCREF(Py_None); resultobj = Py_None;
40733 return resultobj;
40734 fail:
40735 return NULL;
40736}
40737
40738
c32bde28 40739static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40740 PyObject *resultobj;
40741 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40742 int result;
40743 PyObject * obj0 = 0 ;
40744 char *kwnames[] = {
40745 (char *) "self", NULL
40746 };
40747
40748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
40749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40751 {
40752 PyThreadState* __tstate = wxPyBeginAllowThreads();
40753 result = (int)(arg1)->GetRelationship();
40754
40755 wxPyEndAllowThreads(__tstate);
40756 if (PyErr_Occurred()) SWIG_fail;
40757 }
c32bde28 40758 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
40759 return resultobj;
40760 fail:
40761 return NULL;
40762}
40763
40764
c32bde28 40765static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40766 PyObject *resultobj;
40767 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40768 int arg2 ;
40769 PyObject * obj0 = 0 ;
40770 PyObject * obj1 = 0 ;
40771 char *kwnames[] = {
40772 (char *) "self",(char *) "r", NULL
40773 };
40774
40775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
40776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40778 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
40779 if (PyErr_Occurred()) SWIG_fail;
40780 {
40781 PyThreadState* __tstate = wxPyBeginAllowThreads();
40782 (arg1)->SetRelationship((wxRelationship )arg2);
40783
40784 wxPyEndAllowThreads(__tstate);
40785 if (PyErr_Occurred()) SWIG_fail;
40786 }
40787 Py_INCREF(Py_None); resultobj = Py_None;
40788 return resultobj;
40789 fail:
40790 return NULL;
40791}
40792
40793
c32bde28 40794static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40795 PyObject *resultobj;
40796 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40797 wxWindow *arg2 = (wxWindow *) 0 ;
40798 bool result;
40799 PyObject * obj0 = 0 ;
40800 PyObject * obj1 = 0 ;
40801 char *kwnames[] = {
40802 (char *) "self",(char *) "otherW", NULL
40803 };
40804
40805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
40806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40810 {
40811 PyThreadState* __tstate = wxPyBeginAllowThreads();
40812 result = (bool)(arg1)->ResetIfWin(arg2);
40813
40814 wxPyEndAllowThreads(__tstate);
40815 if (PyErr_Occurred()) SWIG_fail;
40816 }
40817 {
40818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40819 }
40820 return resultobj;
40821 fail:
40822 return NULL;
40823}
40824
40825
c32bde28 40826static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40827 PyObject *resultobj;
40828 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40829 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
40830 wxWindow *arg3 = (wxWindow *) 0 ;
40831 bool result;
40832 PyObject * obj0 = 0 ;
40833 PyObject * obj1 = 0 ;
40834 PyObject * obj2 = 0 ;
40835 char *kwnames[] = {
40836 (char *) "self",(char *) "constraints",(char *) "win", NULL
40837 };
40838
40839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
40840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
40843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40844 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40846 {
40847 PyThreadState* __tstate = wxPyBeginAllowThreads();
40848 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
40849
40850 wxPyEndAllowThreads(__tstate);
40851 if (PyErr_Occurred()) SWIG_fail;
40852 }
40853 {
40854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40855 }
40856 return resultobj;
40857 fail:
40858 return NULL;
40859}
40860
40861
c32bde28 40862static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40863 PyObject *resultobj;
40864 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40865 int arg2 ;
40866 wxWindow *arg3 = (wxWindow *) 0 ;
40867 wxWindow *arg4 = (wxWindow *) 0 ;
40868 int result;
40869 PyObject * obj0 = 0 ;
40870 PyObject * obj1 = 0 ;
40871 PyObject * obj2 = 0 ;
40872 PyObject * obj3 = 0 ;
40873 char *kwnames[] = {
40874 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40875 };
40876
40877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
40878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40880 arg2 = (int)SWIG_As_int(obj1);
d55e5bfc
RD
40881 if (PyErr_Occurred()) SWIG_fail;
40882 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40884 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
40885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40886 {
40887 PyThreadState* __tstate = wxPyBeginAllowThreads();
40888 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
40889
40890 wxPyEndAllowThreads(__tstate);
40891 if (PyErr_Occurred()) SWIG_fail;
40892 }
c32bde28 40893 resultobj = SWIG_From_int((int)result);
d55e5bfc
RD
40894 return resultobj;
40895 fail:
40896 return NULL;
40897}
40898
40899
c32bde28 40900static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
40901 PyObject *obj;
40902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40903 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
40904 Py_INCREF(obj);
40905 return Py_BuildValue((char *)"");
40906}
c32bde28 40907static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40908 PyObject *resultobj;
40909 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40910 wxIndividualLayoutConstraint *result;
40911 PyObject * obj0 = 0 ;
40912 char *kwnames[] = {
40913 (char *) "self", NULL
40914 };
40915
40916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
40917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40919 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
40920
40921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40922 return resultobj;
40923 fail:
40924 return NULL;
40925}
40926
40927
c32bde28 40928static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40929 PyObject *resultobj;
40930 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40931 wxIndividualLayoutConstraint *result;
40932 PyObject * obj0 = 0 ;
40933 char *kwnames[] = {
40934 (char *) "self", NULL
40935 };
40936
40937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
40938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40940 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
40941
40942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40943 return resultobj;
40944 fail:
40945 return NULL;
40946}
40947
40948
c32bde28 40949static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40950 PyObject *resultobj;
40951 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40952 wxIndividualLayoutConstraint *result;
40953 PyObject * obj0 = 0 ;
40954 char *kwnames[] = {
40955 (char *) "self", NULL
40956 };
40957
40958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
40959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40961 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
40962
40963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40964 return resultobj;
40965 fail:
40966 return NULL;
40967}
40968
40969
c32bde28 40970static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40971 PyObject *resultobj;
40972 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40973 wxIndividualLayoutConstraint *result;
40974 PyObject * obj0 = 0 ;
40975 char *kwnames[] = {
40976 (char *) "self", NULL
40977 };
40978
40979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
40980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40982 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
40983
40984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
40985 return resultobj;
40986 fail:
40987 return NULL;
40988}
40989
40990
c32bde28 40991static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
40992 PyObject *resultobj;
40993 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40994 wxIndividualLayoutConstraint *result;
40995 PyObject * obj0 = 0 ;
40996 char *kwnames[] = {
40997 (char *) "self", NULL
40998 };
40999
41000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
41001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
41002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41003 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
41004
41005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
41006 return resultobj;
41007 fail:
41008 return NULL;
41009}
41010
41011
c32bde28 41012static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41013 PyObject *resultobj;
41014 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
41015 wxIndividualLayoutConstraint *result;
41016 PyObject * obj0 = 0 ;
41017 char *kwnames[] = {
41018 (char *) "self", NULL
41019 };
41020
41021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
41022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
41023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41024 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
41025
41026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
41027 return resultobj;
41028 fail:
41029 return NULL;
41030}
41031
41032
c32bde28 41033static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41034 PyObject *resultobj;
41035 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
41036 wxIndividualLayoutConstraint *result;
41037 PyObject * obj0 = 0 ;
41038 char *kwnames[] = {
41039 (char *) "self", NULL
41040 };
41041
41042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
41043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
41044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41045 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
41046
41047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
41048 return resultobj;
41049 fail:
41050 return NULL;
41051}
41052
41053
c32bde28 41054static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41055 PyObject *resultobj;
41056 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
41057 wxIndividualLayoutConstraint *result;
41058 PyObject * obj0 = 0 ;
41059 char *kwnames[] = {
41060 (char *) "self", NULL
41061 };
41062
41063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
41064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
41065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41066 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
41067
41068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
41069 return resultobj;
41070 fail:
41071 return NULL;
41072}
41073
41074
c32bde28 41075static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41076 PyObject *resultobj;
41077 wxLayoutConstraints *result;
41078 char *kwnames[] = {
41079 NULL
41080 };
41081
41082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
41083 {
41084 PyThreadState* __tstate = wxPyBeginAllowThreads();
41085 result = (wxLayoutConstraints *)new wxLayoutConstraints();
41086
41087 wxPyEndAllowThreads(__tstate);
41088 if (PyErr_Occurred()) SWIG_fail;
41089 }
41090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
41091 return resultobj;
41092 fail:
41093 return NULL;
41094}
41095
41096
c32bde28 41097static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41098 PyObject *resultobj;
41099 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
41100 wxWindow *arg2 = (wxWindow *) 0 ;
41101 int *arg3 = (int *) 0 ;
41102 bool result;
41103 int temp3 ;
c32bde28 41104 int res3 = 0 ;
d55e5bfc
RD
41105 PyObject * obj0 = 0 ;
41106 PyObject * obj1 = 0 ;
41107 char *kwnames[] = {
41108 (char *) "self",(char *) "win", NULL
41109 };
41110
c32bde28 41111 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc
RD
41112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
41113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
41114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
41116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41117 {
41118 PyThreadState* __tstate = wxPyBeginAllowThreads();
41119 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
41120
41121 wxPyEndAllowThreads(__tstate);
41122 if (PyErr_Occurred()) SWIG_fail;
41123 }
41124 {
41125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41126 }
c32bde28
RD
41127 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
41128 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
41129 return resultobj;
41130 fail:
41131 return NULL;
41132}
41133
41134
c32bde28 41135static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
41136 PyObject *resultobj;
41137 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
41138 bool result;
41139 PyObject * obj0 = 0 ;
41140 char *kwnames[] = {
41141 (char *) "self", NULL
41142 };
41143
41144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
41145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
41146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41147 {
41148 PyThreadState* __tstate = wxPyBeginAllowThreads();
41149 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
41150
41151 wxPyEndAllowThreads(__tstate);
41152 if (PyErr_Occurred()) SWIG_fail;
41153 }
41154 {
41155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41156 }
41157 return resultobj;
41158 fail:
41159 return NULL;
41160}
41161
41162
c32bde28 41163static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
41164 PyObject *obj;
41165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41166 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
41167 Py_INCREF(obj);
41168 return Py_BuildValue((char *)"");
41169}
41170static PyMethodDef SwigMethods[] = {
c32bde28
RD
41171 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL },
41172 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL },
41173 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
41174 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41175 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL },
41176 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
41177 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
41178 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
41179 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
41180 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL },
41181 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL },
41182 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41183 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41184 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL },
41185 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
41186 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL },
41187 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL },
41188 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41189 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41190 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41191 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41192 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41193 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL },
41194 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
41195 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41196 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL },
41197 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41198 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41199 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41200 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41201 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
41202 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
41203 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41204 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41205 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL },
41206 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
41207 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41208 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41209 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL },
41210 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41211 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41212 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41213 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41214 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL },
41215 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL },
41216 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41217 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41218 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL },
41219 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
41220 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
41221 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
41222 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41223 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41224 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL },
41225 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
41226 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL },
41227 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL },
41228 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
41229 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41230 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
41231 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41232 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
41233 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41234 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41235 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41236 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41237 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41238 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41239 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41240 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41241 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
41242 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
41243 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
41244 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
41245 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
41246 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL },
41247 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
41248 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL },
41249 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
41250 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL },
41251 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL },
41252 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
41253 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL },
41254 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL },
41255 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL },
41256 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
41257 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
41258 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL },
41259 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
41260 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41261 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41262 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL },
41263 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL },
41264 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
41265 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41266 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41267 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41268 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41269 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
41270 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
41271 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
41272 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
41273 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41274 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41275 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL },
41276 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
41277 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL },
41278 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL },
41279 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
41280 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL },
41281 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL },
41282 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
41283 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
41284 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
41285 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
41286 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL },
41287 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL },
41288 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL },
41289 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL },
41290 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
41291 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
41292 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
41293 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
41294 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL },
41295 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41296 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41297 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41298 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41299 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41300 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41301 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41302 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41303 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL },
41304 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL },
41305 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL },
41306 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL },
41307 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL },
41308 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL },
41309 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL },
41310 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL },
41311 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL },
41312 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL },
41313 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL },
41314 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL },
41315 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL },
41316 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
41317 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL },
41318 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL },
41319 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL },
41320 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL },
41321 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL },
41322 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL },
41323 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL },
41324 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
41325 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
41326 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL },
41327 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
41328 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL },
41329 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
41330 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL },
41331 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL },
41332 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL },
41333 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41334 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41335 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41336 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41337 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41338 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41339 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL },
41340 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL },
41341 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
41342 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL },
41343 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL },
41344 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL },
41345 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
41346 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
41347 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL },
41348 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
41349 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41350 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41351 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41352 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41353 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
41354 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28 41355 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL },
ae8162c8 41356 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
c32bde28
RD
41357 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41358 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41359 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41360 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL },
41361 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41362 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41363 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41364 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41365 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41366 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL },
41367 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL },
41368 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41369 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL },
41370 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41371 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL },
41372 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41373 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41374 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41375 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41376 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL },
41377 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
41378 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
41379 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
41380 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
41381 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
41382 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
41383 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
41384 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
41385 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
41386 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL },
41387 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
41388 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL },
41389 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
41390 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL },
41391 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL },
41392 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL },
41393 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL },
41394 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
41395 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL },
41396 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL },
41397 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41398 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL },
41399 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41400 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41401 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
41402 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL },
41403 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL },
41404 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
41405 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL },
41406 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL },
41407 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL },
41408 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41409 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41410 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41411 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
41412 { (char *)"Image_ConvertAlphaToMask", (PyCFunction) _wrap_Image_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL },
41413 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
41414 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
41415 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
41416 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
41417 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
41418 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
41419 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
41420 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL },
41421 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL },
41422 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL },
41423 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
41424 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41425 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41426 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41427 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL },
41428 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
41429 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
41430 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
41431 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
41432 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41433 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41434 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
41435 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
41436 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41437 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41438 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
41439 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL },
41440 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL },
41441 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL },
41442 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
41443 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL },
41444 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
41445 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL },
41446 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL },
41447 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
41448 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL },
41449 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
41450 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
41451 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
41452 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
41453 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
41454 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL },
41455 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
41456 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41457 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41458 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41459 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
41460 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41461 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41462 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL },
41463 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41464 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL },
41465 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41466 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL },
41467 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41468 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL },
41469 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41470 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL },
41471 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41472 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL },
41473 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41474 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL },
41475 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41476 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL },
41477 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41478 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL },
41479 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41480 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL },
41481 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41482 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL },
41483 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41484 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL },
41485 { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL },
41486 { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS, NULL },
41487 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41488 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41489 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41490 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41491 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41492 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41493 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41494 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41495 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41496 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41497 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL },
41498 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL },
41499 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41500 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL },
41501 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41502 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL },
41503 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41504 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41505 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
41506 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
41507 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
41508 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
41509 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41510 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41511 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41512 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL },
41513 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL },
41514 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL },
41515 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL },
41516 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL },
41517 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41518 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL },
41519 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
41520 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
41521 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL },
41522 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
41523 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
41524 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL },
41525 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41526 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41527 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
41528 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
41529 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41530 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41531 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
41532 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
41533 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL },
41534 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL },
41535 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41536 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL },
41537 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41538 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
41539 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL },
41540 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
41541 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL },
41542 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41543 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41544 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41545 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41546 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41547 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL },
41548 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41549 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41550 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41551 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41552 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41553 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL },
41554 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41555 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
41556 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
41557 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41558 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
41559 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL },
41560 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41561 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL },
41562 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
41563 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
41564 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
41565 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41566 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL },
41567 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41568 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL },
41569 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL },
41570 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL },
41571 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL },
41572 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL },
41573 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41574 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41575 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41576 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41577 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41578 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41579 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL },
41580 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL },
41581 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL },
41582 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL },
41583 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41584 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41585 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41586 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41587 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41588 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL },
41589 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL },
41590 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL },
41591 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL },
41592 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41593 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41594 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41595 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41596 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41597 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41598 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41599 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41600 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41601 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41602 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41603 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41604 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41605 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41606 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41607 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41608 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41609 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41610 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL },
41611 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL },
41612 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL },
41613 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL },
41614 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL },
41615 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL },
41616 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL },
41617 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41618 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41619 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41620 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41621 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41622 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41623 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL },
41624 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41625 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
41626 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
41627 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
41628 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41629 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL },
41630 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
41631 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41632 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL },
41633 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41634 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41635 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41636 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41637 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41638 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41639 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41640 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41641 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41642 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41643 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41644 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41645 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41646 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41647 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41648 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41649 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41650 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41651 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41652 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41653 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41654 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41655 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41656 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41657 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL },
41658 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL },
41659 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL },
41660 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41661 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41662 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41663 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41664 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41665 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL },
41666 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL },
41667 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
41668 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
41669 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL },
41670 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41671 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41672 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41673 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41674 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41675 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
41676 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
41677 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
41678 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
41679 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL },
41680 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41681 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL },
41682 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41683 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL },
41684 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41685 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
41686 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL },
41687 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41688 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41689 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41690 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL },
41691 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41692 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41693 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL },
41694 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41695 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41696 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL },
41697 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41698 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL },
41699 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41700 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL },
41701 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL },
41702 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41703 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL },
41704 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41705 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
41706 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
41707 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
41708 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41709 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41710 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41711 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL },
41712 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41713 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL },
41714 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL },
41715 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL },
41716 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41717 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL },
41718 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL },
41719 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41720 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL },
41721 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41722 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL },
41723 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL },
41724 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL },
41725 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41726 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41727 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41728 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
41729 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL },
41730 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41731 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41732 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41733 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41734 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
41735 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
41736 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
41737 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL },
41738 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL },
41739 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41740 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41741 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL },
41742 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41743 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL },
41744 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41745 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41746 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL },
41747 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41748 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL },
41749 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41750 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41751 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41752 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL },
41753 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41754 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
41755 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
41756 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL },
41757 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41758 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41759 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41760 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
41761 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
41762 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41763 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41764 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41765 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL },
41766 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41767 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41768 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL },
41769 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41770 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41771 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL },
41772 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41773 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41774 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41775 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL },
41776 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41777 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL },
41778 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL },
41779 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41780 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41781 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL },
41782 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL },
41783 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41784 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41785 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41786 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41787 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL },
41788 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41789 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41790 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41791 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41792 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL },
41793 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
41794 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
41795 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41796 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
41797 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
41798 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
41799 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
41800 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
41801 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
41802 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL },
41803 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41804 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
41805 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
84f85550 41806 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction) _wrap_PyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41807 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41808 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41809 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41810 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
41811 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
41812 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL },
41813 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41814 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
41815 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41816 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41817 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
41818 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
41819 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
41820 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
41821 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
41822 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
41823 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
41824 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
41825 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
41826 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41827 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41828 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41829 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
41830 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
41831 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41832 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41833 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41834 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
41835 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL },
41836 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL },
41837 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL },
41838 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41839 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
41840 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL },
41841 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL },
41842 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
41843 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41844 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
41845 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL },
ae8162c8
RD
41846 { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41847 { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41848 { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL },
41849 { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41850 { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
41851 { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
41852 { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
41853 { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41854 { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41855 { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL },
c32bde28
RD
41856 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
41857 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
41858 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41859 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41860 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41861 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
41862 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL },
41863 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41864 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41865 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
41866 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL },
41867 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL },
41868 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41869 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41870 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL },
41871 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL },
41872 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL },
41873 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL },
41874 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL },
41875 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL },
41876 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL },
41877 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL },
41878 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41879 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41880 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL },
41881 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41882 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41883 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL },
41884 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41885 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41886 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41887 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41888 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
41889 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
41890 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
41891 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
41892 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41893 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41894 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41895 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41896 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41897 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41898 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL },
41899 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41900 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41901 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL },
41902 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
41903 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL },
41904 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL },
41905 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL },
41906 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
41907 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41908 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41909 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41910 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41911 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41912 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41913 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41914 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
41915 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41916 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
41917 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41918 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41919 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41920 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41921 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL },
41922 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41923 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL },
41924 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL },
41925 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL },
41926 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
41927 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
41928 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41929 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL },
41930 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41931 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL },
41932 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
41933 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41934 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41935 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
41936 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41937 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41938 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41939 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41940 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41941 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41942 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41943 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41944 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41945 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41946 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
41947 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41948 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL },
41949 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41950 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41951 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41952 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41953 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41954 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL },
41955 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41956 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41957 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL },
41958 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41959 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41960 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41961 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL },
41962 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41963 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41964 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
41965 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41966 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41967 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41968 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL },
41969 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL },
41970 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL },
41971 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41972 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41973 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL },
41974 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL },
41975 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL },
41976 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
41977 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
41978 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
41979 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
41980 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41981 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41982 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41983 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41984 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41985 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41986 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41987 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
41988 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41989 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41990 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
41991 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41992 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41993 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
41994 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
41995 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
41996 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
41997 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL },
41998 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL },
41999 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
42000 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
42001 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL },
42002 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL },
42003 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL },
42004 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
42005 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL },
42006 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL },
42007 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL },
42008 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL },
42009 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL },
42010 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL },
42011 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL },
42012 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
42013 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL },
42014 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
42015 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL },
42016 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL },
42017 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL },
42018 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
42019 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
42020 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42021 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42022 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42023 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42024 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42025 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42026 { (char *)"Window_SetBackgroundStyle", (PyCFunction) _wrap_Window_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL },
42027 { (char *)"Window_GetBackgroundStyle", (PyCFunction) _wrap_Window_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL },
42028 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
42029 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
42030 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
42031 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL },
42032 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
42033 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
42034 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
42035 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
42036 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
42037 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
42038 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
42039 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL },
42040 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL },
42041 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL },
42042 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL },
42043 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
42044 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
42045 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL },
42046 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL },
42047 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL },
42048 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42049 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL },
7e63a440
RD
42050 { (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL },
42051 { (char *)"Window_DissociateHandle", (PyCFunction) _wrap_Window_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
42052 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS, NULL },
42053 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
42054 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
42055 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
42056 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
42057 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL },
42058 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL },
42059 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42060 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
42061 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
42062 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL },
42063 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL },
42064 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL },
42065 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL },
42066 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
42067 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL },
42068 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
42069 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL },
42070 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
42071 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
42072 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
42073 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
42074 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL },
42075 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42076 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42077 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
42078 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
42079 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
42080 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42081 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL },
42082 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42083 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42084 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42085 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
42086 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
42087 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL },
42088 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
42089 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
42090 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42091 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL },
42092 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL },
42093 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
42094 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
42095 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42096 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42097 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42098 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42099 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL },
42100 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL },
42101 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL },
42102 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL },
42103 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
42104 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL },
42105 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL },
42106 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL },
42107 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
42108 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
42109 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
42110 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42111 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
42112 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL },
42113 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
42114 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
42115 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
42116 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
42117 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
42118 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42119 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
42120 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
42121 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
42122 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
42123 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
42124 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42125 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
42126 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL },
42127 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
42128 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
42129 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
42130 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL },
42131 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL },
42132 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
42133 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL },
42134 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
42135 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
42136 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL },
42137 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
42138 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
42139 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL },
42140 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
42141 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42142 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42143 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
42144 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
42145 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
42146 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
42147 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
42148 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
42149 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42150 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42151 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
42152 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL },
42153 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
42154 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
42155 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
42156 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
42157 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
42158 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
42159 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL },
42160 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
42161 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL },
42162 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
42163 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL },
42164 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42165 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
42166 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
42167 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL },
42168 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL },
42169 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
42170 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
42171 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
42172 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
42173 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42174 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
42175 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL },
42176 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
42177 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
42178 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42179 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42180 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
42181 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
42182 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
42183 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
42184 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
42185 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
42186 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL },
42187 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
42188 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42189 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42190 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
42191 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
42192 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
42193 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
42194 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42195 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
42196 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL },
42197 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
42198 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL },
42199 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
42200 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
42201 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42202 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42203 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
42204 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
42205 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
42206 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL },
42207 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
42208 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
42209 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
42210 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
42211 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
42212 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
42213 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
42214 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
42215 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
42216 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL },
42217 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42218 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
42219 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS, NULL },
42220 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
42221 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
42222 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
42223 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
42224 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
42225 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL },
42226 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL },
42227 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL },
42228 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
42229 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
42230 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL },
42231 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL },
42232 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL },
42233 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL },
42234 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL },
42235 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42236 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
42237 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
42238 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL },
42239 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL },
42240 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL },
42241 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
42242 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
42243 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
42244 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
42245 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
42246 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
42247 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL },
42248 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
42249 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
42250 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL },
42251 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
42252 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
42253 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
42254 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
42255 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL },
42256 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL },
42257 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
42258 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42259 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
42260 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42261 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
42262 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42263 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
42264 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
42265 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
42266 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
42267 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL },
42268 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL },
42269 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL },
42270 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL },
42271 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
42272 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
42273 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42274 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42275 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
42276 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
42277 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
42278 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
42279 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
42280 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
42281 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
42282 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42283 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42284 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42285 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42286 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
42287 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
42288 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL },
42289 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
42290 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
42291 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL },
42292 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL },
42293 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
42294 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
42295 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
42296 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
42297 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
42298 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
42299 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
42300 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
42301 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
42302 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
42303 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
42304 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
42305 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
42306 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
42307 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
42308 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
42309 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
42310 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
42311 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
42312 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
42313 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
42314 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
42315 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
42316 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
42317 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
42318 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL },
42319 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
42320 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL },
42321 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL },
42322 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL },
42323 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
42324 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL },
42325 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42326 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
42327 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
42328 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL },
42329 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42330 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
42331 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL },
42332 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42333 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL },
42334 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
42335 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
42336 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
42337 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL },
42338 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL },
42339 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
42340 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
42341 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL },
42342 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42343 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
42344 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
42345 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
42346 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
42347 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
42348 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
42349 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
42350 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
42351 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL },
42352 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL },
42353 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL },
42354 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL },
42355 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
42356 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
42357 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
42358 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
42359 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
42360 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
42361 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL },
42362 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL },
42363 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL },
42364 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL },
42365 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
42366 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
42367 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
42368 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
42369 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
42370 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
42371 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL },
42372 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL },
42373 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL },
42374 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
42375 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42376 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42377 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
42378 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL },
42379 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
42380 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
42381 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
42382 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
42383 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL },
42384 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL },
42385 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42386 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42387 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL },
42388 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42389 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
42390 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
84f85550 42391 { (char *)"GridBagSizer_GetCellSize", (PyCFunction) _wrap_GridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
42392 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
42393 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
42394 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL },
42395 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL },
42396 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL },
42397 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL },
42398 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL },
42399 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL },
42400 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
42401 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL },
42402 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL },
42403 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL },
42404 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
42405 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL },
42406 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL },
42407 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL },
42408 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL },
42409 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL },
42410 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL },
42411 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL },
42412 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL },
42413 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL },
42414 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42415 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42416 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42417 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
42418 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
42419 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
42420 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
42421 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL },
42422 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42423 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL },
42424 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL },
42425 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
42426 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
42427 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL },
42428 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
42429 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42430 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL },
42431 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL },
42432 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL },
42433 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL },
42434 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL },
42435 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
42436 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
42437 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL },
42438 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL },
42439 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42440 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42441 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL },
42442 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL },
42443 { NULL, NULL, 0, NULL }
d55e5bfc
RD
42444};
42445
42446
42447/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42448
42449static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
42450 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
42451}
42452static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
42453 return (void *)((wxSizer *) ((wxBoxSizer *) x));
42454}
42455static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
42456 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
42457}
42458static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
42459 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42460}
42461static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
42462 return (void *)((wxSizer *) ((wxGridSizer *) x));
42463}
42464static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
42465 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
42466}
42467static void *_p_wxPySizerTo_p_wxSizer(void *x) {
42468 return (void *)((wxSizer *) ((wxPySizer *) x));
42469}
42470static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
42471 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
42472}
42473static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
42474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
42475}
42476static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
42477 return (void *)((wxEvent *) ((wxMenuEvent *) x));
42478}
42479static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
42480 return (void *)((wxEvent *) ((wxCloseEvent *) x));
42481}
42482static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
42483 return (void *)((wxEvent *) ((wxMouseEvent *) x));
42484}
42485static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
42486 return (void *)((wxEvent *) ((wxEraseEvent *) x));
42487}
42488static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
42489 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
42490}
42491static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
42492 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
42493}
42494static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
42495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
42496}
42497static void *_p_wxPyEventTo_p_wxEvent(void *x) {
42498 return (void *)((wxEvent *) ((wxPyEvent *) x));
42499}
42500static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
42501 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
42502}
42503static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
42504 return (void *)((wxEvent *) ((wxIdleEvent *) x));
42505}
42506static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
42507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
42508}
42509static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
42510 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
42511}
42512static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
42513 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
42514}
42515static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
42516 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
42517}
42518static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
42519 return (void *)((wxEvent *) ((wxActivateEvent *) x));
42520}
42521static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
42522 return (void *)((wxEvent *) ((wxSizeEvent *) x));
42523}
42524static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
42525 return (void *)((wxEvent *) ((wxMoveEvent *) x));
42526}
42527static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
42528 return (void *)((wxEvent *) ((wxPaintEvent *) x));
42529}
42530static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
42531 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
42532}
42533static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
42534 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
42535}
42536static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
42537 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
42538}
42539static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
42540 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
42541}
42542static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
42543 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42544}
42545static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
42546 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
42547}
42548static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
42549 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
42550}
42551static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
42552 return (void *)((wxEvent *) ((wxFocusEvent *) x));
42553}
42554static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
42555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
42556}
42557static void *_p_wxShowEventTo_p_wxEvent(void *x) {
42558 return (void *)((wxEvent *) ((wxShowEvent *) x));
42559}
42560static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
42561 return (void *)((wxEvent *) ((wxCommandEvent *) x));
42562}
42563static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
42564 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
42565}
42566static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
42567 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42568}
42569static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
42570 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
42571}
42572static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
42573 return (void *)((wxEvent *) ((wxKeyEvent *) x));
42574}
42575static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
42576 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
42577}
42578static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
42579 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
42580}
42581static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
42582 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
42583}
42584static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
42585 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
42586}
42587static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
42588 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
42589}
42590static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
42591 return (void *)((wxControl *) ((wxControlWithItems *) x));
42592}
42593static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
42594 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
42595}
42596static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
42597 return (void *)((wxEvtHandler *) ((wxWindow *) x));
42598}
42599static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
42600 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42601}
42602static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
42603 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
42604}
42605static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
42606 return (void *)((wxEvtHandler *) ((wxValidator *) x));
42607}
42608static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
42609 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
42610}
42611static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
42612 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
42613}
42614static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
42615 return (void *)((wxEvtHandler *) ((wxMenu *) x));
42616}
42617static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
42618 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
42619}
42620static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
42621 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
42622}
42623static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
42624 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
42625}
42626static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
42627 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
42628}
42629static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
42630 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
42631}
42632static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
42633 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42634}
42635static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
42636 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
42637}
42638static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
42639 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
42640}
42641static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
42642 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42643}
42644static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
42645 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42646}
42647static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
42648 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
42649}
42650static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
42651 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
42652}
42653static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
42654 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
42655}
42656static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
42657 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
42658}
42659static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
42660 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
42661}
42662static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
42663 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
42664}
42665static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
42666 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
42667}
42668static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
42669 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
42670}
42671static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
42672 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
42673}
42674static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
42675 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
42676}
42677static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
42678 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
42679}
42680static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
42681 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
42682}
42683static void *_p_wxMenuEventTo_p_wxObject(void *x) {
42684 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
42685}
42686static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
42687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
42688}
42689static void *_p_wxEraseEventTo_p_wxObject(void *x) {
42690 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
42691}
42692static void *_p_wxMouseEventTo_p_wxObject(void *x) {
42693 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
42694}
42695static void *_p_wxCloseEventTo_p_wxObject(void *x) {
42696 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
42697}
42698static void *_p_wxValidatorTo_p_wxObject(void *x) {
42699 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
42700}
42701static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
42702 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
42703}
42704static void *_p_wxMenuBarTo_p_wxObject(void *x) {
42705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
42706}
42707static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
42708 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
42709}
42710static void *_p_wxSizerTo_p_wxObject(void *x) {
42711 return (void *)((wxObject *) ((wxSizer *) x));
42712}
42713static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
42714 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
42715}
42716static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
42717 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
42718}
42719static void *_p_wxMenuTo_p_wxObject(void *x) {
42720 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
42721}
42722static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
42723 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
42724}
42725static void *_p_wxImageTo_p_wxObject(void *x) {
42726 return (void *)((wxObject *) ((wxImage *) x));
42727}
42728static void *_p_wxScrollEventTo_p_wxObject(void *x) {
42729 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
42730}
42731static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
42732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
42733}
42734static void *_p_wxPyEventTo_p_wxObject(void *x) {
42735 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
42736}
42737static void *_p_wxWindowTo_p_wxObject(void *x) {
42738 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
42739}
42740static void *_p_wxControlTo_p_wxObject(void *x) {
42741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
42742}
42743static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
42744 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
42745}
42746static void *_p_wxGridSizerTo_p_wxObject(void *x) {
42747 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
42748}
42749static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
42750 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
42751}
42752static void *_p_wxPyAppTo_p_wxObject(void *x) {
42753 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
42754}
42755static void *_p_wxEventTo_p_wxObject(void *x) {
42756 return (void *)((wxObject *) ((wxEvent *) x));
42757}
42758static void *_p_wxActivateEventTo_p_wxObject(void *x) {
42759 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
42760}
42761static void *_p_wxMoveEventTo_p_wxObject(void *x) {
42762 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
42763}
42764static void *_p_wxSizeEventTo_p_wxObject(void *x) {
42765 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
42766}
42767static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
42768 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
42769}
42770static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
42771 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
42772}
42773static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
42774 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
42775}
42776static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
42777 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
42778}
42779static void *_p_wxIdleEventTo_p_wxObject(void *x) {
42780 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
42781}
42782static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
42783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42784}
42785static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
42786 return (void *)((wxObject *) ((wxEvtHandler *) x));
42787}
42788static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
42789 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
42790}
42791static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
42792 return (void *)((wxObject *) ((wxImageHandler *) x));
42793}
42794static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
42795 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
42796}
42797static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
42798 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
42799}
42800static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
42801 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42802}
42803static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
42804 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42805}
42806static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
42807 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
42808}
42809static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
42810 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
42811}
42812static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
42813 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
42814}
42815static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
42816 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
42817}
42818static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
42819 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
42820}
42821static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
42822 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
42823}
42824static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
42825 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
42826}
42827static void *_p_wxPaintEventTo_p_wxObject(void *x) {
42828 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
42829}
42830static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
42831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
42832}
42833static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
42834 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
42835}
42836static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
42837 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42838}
42839static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
42840 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
42841}
42842static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
42843 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
42844}
42845static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
42846 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
42847}
42848static void *_p_wxFileSystemTo_p_wxObject(void *x) {
42849 return (void *)((wxObject *) ((wxFileSystem *) x));
42850}
42851static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
42852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
42853}
42854static void *_p_wxFocusEventTo_p_wxObject(void *x) {
42855 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
42856}
42857static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
42858 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
42859}
42860static void *_p_wxSizerItemTo_p_wxObject(void *x) {
42861 return (void *)((wxObject *) ((wxSizerItem *) x));
42862}
42863static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
42864 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
42865}
42866static void *_p_wxShowEventTo_p_wxObject(void *x) {
42867 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
42868}
42869static void *_p_wxFSFileTo_p_wxObject(void *x) {
42870 return (void *)((wxObject *) ((wxFSFile *) x));
42871}
42872static void *_p_wxCommandEventTo_p_wxObject(void *x) {
42873 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
42874}
42875static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
42876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
42877}
42878static void *_p_wxKeyEventTo_p_wxObject(void *x) {
42879 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
42880}
42881static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
42882 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
42883}
42884static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
42885 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42886}
42887static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
42888 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42889}
42890static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
42891 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
42892}
42893static void *_p_wxMenuItemTo_p_wxObject(void *x) {
42894 return (void *)((wxObject *) ((wxMenuItem *) x));
42895}
42896static void *_p_wxPySizerTo_p_wxObject(void *x) {
42897 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
42898}
42899static void *_p_wxControlTo_p_wxWindow(void *x) {
42900 return (void *)((wxWindow *) ((wxControl *) x));
42901}
42902static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
42903 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
42904}
42905static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
42906 return (void *)((wxWindow *) ((wxMenuBar *) x));
42907}
42908static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
42909 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
42910}
42911static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
42912 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
42913}
42914static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
42915 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
42916}
42917static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
42918 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
42919}
42920static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
42921 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42922}
42923static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
42924 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
42925}
42926static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
42927 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
42928}
42929static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
42930 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
42931}
42932static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
42933 return (void *)((wxValidator *) ((wxPyValidator *) x));
42934}
42935static 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}};
42936static 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}};
42937static 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}};
42938static 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}};
42939static 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}};
ae8162c8 42940static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
42941static 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}};
42942static 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}};
42943static 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}};
42944static 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}};
42945static 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}};
42946static 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}};
42947static 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}};
42948static 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}};
42949static 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}};
42950static 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}};
42951static 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}};
42952static 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}};
42953static 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}};
42954static 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}};
42955static 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}};
42956static 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}};
42957static 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}};
42958static 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}};
42959static 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}};
42960static 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}};
42961static 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}};
42962static 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}};
42963static 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}};
42964static 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}};
42965static 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}};
42966static 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}};
42967static 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}};
42968static 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}};
42969static 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}};
42970static 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}};
42971static 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}};
42972static 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}};
42973static 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}};
42974static 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}};
42975static 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}};
42976static 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}};
42977static 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}};
42978static 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}};
42979static 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}};
d55e5bfc
RD
42980static 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}};
42981static 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}};
42982static 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}};
42983static 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}};
c0de73ae 42984static 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}};
d55e5bfc
RD
42985static 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}};
42986static 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}};
42987static 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}};
42988static 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}};
42989static 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}};
42990static 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}};
42991static 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}};
42992static 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}};
42993static 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}};
42994static 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}};
42995static 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}};
42996static 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}};
42997static 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}};
42998static 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}};
42999static 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}};
43000static 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}};
43001static 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}};
43002static 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}};
43003static 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}};
43004static 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}};
43005static 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}};
43006static 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}};
43007static 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}};
43008static 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}};
43009static 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}};
43010static 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}};
43011static 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}};
43012static 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}};
43013static 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}};
43014static 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}};
43015static 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}};
43016static 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}};
43017static 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}};
43018static 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}};
43019static 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}};
43020static 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}};
43021static 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}};
43022static 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}};
43023static 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}};
43024static 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}};
43025static 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}};
43026static 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}};
43027static 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}};
43028static 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}};
43029static 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}};
43030static 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}};
43031static 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}};
43032static 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}};
43033static 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}};
43034static 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}};
43035static 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}};
43036static 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}};
43037static 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}};
43038static 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}};
43039static 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}};
43040static 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}};
43041static 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}};
43042static 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}};
43043static 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}};
c0de73ae 43044static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
43045static 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}};
43046static 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}};
43047static 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}};
43048static 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}};
43049static 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}};
43050static 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}};
43051static 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}};
43052
43053static swig_type_info *swig_types_initial[] = {
43054_swigt__p_wxLayoutConstraints,
43055_swigt__p_wxRealPoint,
43056_swigt__p_wxSizerItem,
43057_swigt__p_wxGBSizerItem,
43058_swigt__p_wxScrollEvent,
ae8162c8 43059_swigt__p_wxEventLoop,
d55e5bfc
RD
43060_swigt__p_wxIndividualLayoutConstraint,
43061_swigt__p_wxSizer,
43062_swigt__p_wxBoxSizer,
43063_swigt__p_wxStaticBoxSizer,
43064_swigt__p_wxGridBagSizer,
43065_swigt__p_wxAcceleratorEntry,
43066_swigt__p_wxUpdateUIEvent,
43067_swigt__p_wxMenu,
43068_swigt__p_wxEvent,
43069_swigt__p_wxGridSizer,
43070_swigt__p_wxFlexGridSizer,
43071_swigt__p_wxInitDialogEvent,
43072_swigt__p_wxItemContainer,
43073_swigt__p_wxNcPaintEvent,
43074_swigt__p_wxPaintEvent,
43075_swigt__p_wxSysColourChangedEvent,
43076_swigt__p_wxMouseCaptureChangedEvent,
43077_swigt__p_wxDisplayChangedEvent,
43078_swigt__p_wxPaletteChangedEvent,
43079_swigt__p_wxControl,
43080_swigt__p_wxFont,
43081_swigt__p_wxMenuBarBase,
43082_swigt__p_wxSetCursorEvent,
43083_swigt__p_wxFSFile,
43084_swigt__p_wxCaret,
43085_swigt__p_wxRegion,
43086_swigt__p_wxPoint2D,
43087_swigt__p_int,
43088_swigt__p_wxSize,
43089_swigt__p_wxDC,
43090_swigt__p_wxPySizer,
43091_swigt__p_wxVisualAttributes,
43092_swigt__p_wxNotifyEvent,
43093_swigt__p_wxPyEvent,
43094_swigt__p_wxPropagationDisabler,
43095_swigt__p_wxAppTraits,
43096_swigt__p_wxArrayString,
43097_swigt__p_wxShowEvent,
43098_swigt__p_wxToolTip,
d55e5bfc
RD
43099_swigt__p_wxIconizeEvent,
43100_swigt__p_wxActivateEvent,
43101_swigt__p_wxMoveEvent,
43102_swigt__p_wxSizeEvent,
c0de73ae 43103_swigt__p_wxMaximizeEvent,
d55e5bfc
RD
43104_swigt__p_wxQueryNewPaletteEvent,
43105_swigt__p_wxWindowCreateEvent,
43106_swigt__p_wxIdleEvent,
43107_swigt__p_wxMenuItem,
43108_swigt__p_wxStaticBox,
43109_swigt__p_long,
43110_swigt__p_wxTIFFHandler,
43111_swigt__p_wxXPMHandler,
43112_swigt__p_wxPNMHandler,
43113_swigt__p_wxJPEGHandler,
43114_swigt__p_wxPCXHandler,
43115_swigt__p_wxGIFHandler,
43116_swigt__p_wxPNGHandler,
43117_swigt__p_wxANIHandler,
43118_swigt__p_wxMemoryFSHandler,
43119_swigt__p_wxEvtHandler,
43120_swigt__p_wxCURHandler,
43121_swigt__p_wxICOHandler,
43122_swigt__p_wxBMPHandler,
43123_swigt__p_wxImageHandler,
43124_swigt__p_wxFileSystemHandler,
43125_swigt__p_wxPyFileSystemHandler,
43126_swigt__p_wxInternetFSHandler,
43127_swigt__p_wxZipFSHandler,
43128_swigt__p_wxRect,
43129_swigt__p_wxGBSpan,
43130_swigt__p_wxPropagateOnce,
43131_swigt__p_wxAcceleratorTable,
43132_swigt__p_char,
43133_swigt__p_wxGBPosition,
43134_swigt__p_wxImage,
43135_swigt__p_wxFrame,
43136_swigt__p_wxScrollWinEvent,
43137_swigt__p_wxImageHistogram,
43138_swigt__p_byte,
43139_swigt__p_wxPoint,
43140_swigt__p_wxCursor,
43141_swigt__p_wxObject,
43142_swigt__p_wxPyInputStream,
43143_swigt__p_wxOutputStream,
43144_swigt__p_wxInputStream,
43145_swigt__p_wxDateTime,
43146_swigt__p_wxKeyEvent,
43147_swigt__p_wxNavigationKeyEvent,
43148_swigt__p_wxWindowDestroyEvent,
43149_swigt__p_wxWindow,
43150_swigt__p_wxMenuBar,
43151_swigt__p_wxFileSystem,
43152_swigt__p_wxBitmap,
43153_swigt__p_wxMenuEvent,
43154_swigt__p_wxContextMenuEvent,
43155_swigt__p_unsigned_char,
43156_swigt__p_wxCloseEvent,
43157_swigt__p_wxEraseEvent,
43158_swigt__p_wxMouseEvent,
43159_swigt__p_wxPyApp,
43160_swigt__p_wxCommandEvent,
43161_swigt__p_wxPyCommandEvent,
43162_swigt__p_wxPyDropTarget,
c0de73ae 43163_swigt__p_wxQuantize,
d55e5bfc
RD
43164_swigt__p_wxChildFocusEvent,
43165_swigt__p_wxFocusEvent,
43166_swigt__p_wxDropFilesEvent,
43167_swigt__p_wxControlWithItems,
43168_swigt__p_wxColour,
43169_swigt__p_wxValidator,
43170_swigt__p_wxPyValidator,
431710
43172};
43173
43174
43175/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43176
43177static swig_const_info swig_const_table[] = {
c32bde28 43178{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
43179
43180#ifdef __cplusplus
43181}
43182#endif
43183
43184#ifdef __cplusplus
43185extern "C"
43186#endif
43187SWIGEXPORT(void) SWIG_init(void) {
43188 static PyObject *SWIG_globals = 0;
43189 static int typeinit = 0;
43190 PyObject *m, *d;
43191 int i;
43192 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
43193 m = Py_InitModule((char *) SWIG_name, SwigMethods);
43194 d = PyModule_GetDict(m);
43195
43196 if (!typeinit) {
43197 for (i = 0; swig_types_initial[i]; i++) {
43198 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
43199 }
43200 typeinit = 1;
43201 }
43202 SWIG_InstallConstants(d,swig_const_table);
43203
43204
43205#ifndef wxPyUSE_EXPORT
43206 // Make our API structure a CObject so other modules can import it
43207 // from this module.
43208 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
43209 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
43210 Py_XDECREF(cobj);
43211#endif
43212
c32bde28
RD
43213 PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND));
43214 PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)wxVSCROLL));
43215 PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)wxHSCROLL));
43216 PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)wxCAPTION));
43217 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER));
43218 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER));
43219 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER));
43220 PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)wxBORDER));
43221 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER));
43222 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER));
43223 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW));
43224 PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER));
43225 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL));
43226 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS));
43227 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW));
43228 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME));
43229 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN));
43230 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN));
43231 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN));
43232 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM));
43233 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT));
43234 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE));
43235 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE));
43236 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN));
43237 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS));
43238 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB));
43239 PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)wxRETAINED));
43240 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE));
43241 PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)wxCOLOURED));
43242 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH));
43243 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB));
43244 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB));
43245 PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)wxLB_SORT));
43246 PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE));
43247 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE));
43248 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED));
43249 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW));
43250 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL));
43251 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER));
43252 PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)wxPASSWORD));
43253 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE));
43254 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN));
43255 PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)wxCB_SORT));
43256 PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY));
43257 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL));
43258 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL));
43259 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS));
43260 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS));
43261 PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP));
43262 PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE));
43263 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL));
43264 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL));
43265 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS));
43266 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS));
43267 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT));
43268 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)wxSL_TOP));
43269 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT));
43270 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM));
43271 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH));
43272 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE));
43273 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL));
43274 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL));
43275 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP));
43276 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE));
43277 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE));
43278 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER));
43279 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE));
43280 PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE));
43281 PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP));
43282 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM));
43283 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT));
43284 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT));
43285 PyDict_SetItemString(d,"OK", SWIG_From_int((int)wxOK));
43286 PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)wxYES_NO));
43287 PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)wxCANCEL));
43288 PyDict_SetItemString(d,"YES", SWIG_From_int((int)wxYES));
43289 PyDict_SetItemString(d,"NO", SWIG_From_int((int)wxNO));
43290 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT));
43291 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT));
43292 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION));
43293 PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)wxICON_HAND));
43294 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION));
43295 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION));
43296 PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)wxICON_STOP));
43297 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK));
43298 PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)wxICON_MASK));
43299 PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING));
43300 PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR));
43301 PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)wxFORWARD));
43302 PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)wxBACKWARD));
43303 PyDict_SetItemString(d,"RESET", SWIG_From_int((int)wxRESET));
43304 PyDict_SetItemString(d,"HELP", SWIG_From_int((int)wxHELP));
43305 PyDict_SetItemString(d,"MORE", SWIG_From_int((int)wxMORE));
43306 PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)wxSETUP));
43307 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH));
43308 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT));
43309 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO));
43310 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING));
43311 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE));
43312 PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT));
43313 PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE));
43314 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH));
43315 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM));
43316 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW));
43317 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT));
43318 PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)wxID_ANY));
43319 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR));
43320 PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST));
43321 PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)wxID_OPEN));
43322 PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE));
43323 PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)wxID_NEW));
43324 PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)wxID_SAVE));
43325 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS));
43326 PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)wxID_REVERT));
43327 PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)wxID_EXIT));
43328 PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)wxID_UNDO));
43329 PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)wxID_REDO));
43330 PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)wxID_HELP));
43331 PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)wxID_PRINT));
43332 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP));
43333 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW));
43334 PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT));
43335 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS));
43336 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS));
43337 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES));
43338 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT));
43339 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL));
43340 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES));
43341 PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)wxID_CUT));
43342 PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)wxID_COPY));
43343 PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)wxID_PASTE));
43344 PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR));
43345 PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)wxID_FIND));
43346 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE));
43347 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL));
43348 PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)wxID_DELETE));
43349 PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE));
43350 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL));
43351 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES));
43352 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS));
43353 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS));
43354 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS));
43355 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST));
43356 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE));
43357 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME));
43358 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE));
43359 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE));
43360 PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)wxID_FILE1));
43361 PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)wxID_FILE2));
43362 PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)wxID_FILE3));
43363 PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)wxID_FILE4));
43364 PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)wxID_FILE5));
43365 PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)wxID_FILE6));
43366 PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)wxID_FILE7));
43367 PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)wxID_FILE8));
43368 PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)wxID_FILE9));
43369 PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)wxID_OK));
43370 PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL));
43371 PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)wxID_APPLY));
43372 PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)wxID_YES));
43373 PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)wxID_NO));
43374 PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)wxID_STATIC));
43375 PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD));
43376 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD));
43377 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT));
43378 PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)wxID_MORE));
43379 PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)wxID_SETUP));
43380 PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)wxID_RESET));
43381 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP));
43382 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL));
43383 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL));
43384 PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)wxID_ABORT));
43385 PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)wxID_RETRY));
43386 PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE));
43387 PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)wxID_ADD));
43388 PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE));
43389 PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)wxID_UP));
43390 PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)wxID_DOWN));
43391 PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)wxID_HOME));
43392 PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH));
43393 PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)wxID_STOP));
43394 PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)wxID_INDEX));
43395 PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)wxID_BOLD));
43396 PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC));
43397 PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER));
43398 PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL));
43399 PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT));
43400 PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT));
43401 PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE));
43402 PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)wxID_INDENT));
43403 PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT));
43404 PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100));
43405 PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT));
43406 PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN));
43407 PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT));
43408 PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE));
43409 PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED));
43410 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST));
43411 PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)wxOPEN));
43412 PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)wxSAVE));
43413 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY));
43414 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT));
43415 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST));
43416 PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE));
43417 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR));
43418 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT));
43419 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL));
43420 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT));
43421 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL));
43422 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE));
43423 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL));
43424 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT));
43425 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME));
43426 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME));
43427 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME));
43428 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON));
43429 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE));
43430 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF));
43431 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE));
43432 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE));
43433 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE));
43434 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL));
43435 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL));
43436 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY));
43437 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS));
43438 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT));
43439 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND));
43440 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE));
43441 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES));
43442 PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT));
43443 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC));
43444 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC));
43445 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH));
43446 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH));
43447 PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS));
43448 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC));
43449 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC));
43450 PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS));
43451 PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC));
43452 PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)wxCENTRE));
43453 PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)wxCENTER));
43454 PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL));
43455 PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)wxVERTICAL));
43456 PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)wxBOTH));
43457 PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)wxLEFT));
43458 PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)wxRIGHT));
43459 PyDict_SetItemString(d,"UP", SWIG_From_int((int)wxUP));
43460 PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)wxDOWN));
43461 PyDict_SetItemString(d,"TOP", SWIG_From_int((int)wxTOP));
43462 PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)wxBOTTOM));
43463 PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)wxNORTH));
43464 PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)wxSOUTH));
43465 PyDict_SetItemString(d,"WEST", SWIG_From_int((int)wxWEST));
43466 PyDict_SetItemString(d,"EAST", SWIG_From_int((int)wxEAST));
43467 PyDict_SetItemString(d,"ALL", SWIG_From_int((int)wxALL));
43468 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT));
43469 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL));
43470 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL));
43471 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT));
43472 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP));
43473 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT));
43474 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM));
43475 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL));
43476 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL));
43477 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER));
43478 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE));
43479 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK));
43480 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT));
43481 PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)wxSHRINK));
43482 PyDict_SetItemString(d,"GROW", SWIG_From_int((int)wxGROW));
43483 PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)wxEXPAND));
43484 PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)wxSHAPED));
43485 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE));
43486 PyDict_SetItemString(d,"TILE", SWIG_From_int((int)wxTILE));
43487 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE));
43488 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT));
43489 PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE));
43490 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC));
43491 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE));
43492 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED));
43493 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN));
43494 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE));
43495 PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK));
43496 PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM));
43497 PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR));
43498 PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM));
43499 PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)wxDEFAULT));
43500 PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE));
43501 PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)wxROMAN));
43502 PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)wxSCRIPT));
43503 PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)wxSWISS));
43504 PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)wxMODERN));
43505 PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)wxTELETYPE));
43506 PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)wxVARIABLE));
43507 PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)wxFIXED));
43508 PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)wxNORMAL));
43509 PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)wxLIGHT));
43510 PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)wxBOLD));
43511 PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)wxITALIC));
43512 PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)wxSLANT));
43513 PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)wxSOLID));
43514 PyDict_SetItemString(d,"DOT", SWIG_From_int((int)wxDOT));
43515 PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH));
43516 PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH));
43517 PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH));
43518 PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)wxUSER_DASH));
43519 PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT));
43520 PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)wxSTIPPLE));
43521 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH));
43522 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH));
43523 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH));
43524 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH));
43525 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH));
43526 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH));
43527 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL));
43528 PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER));
43529 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND));
43530 PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND));
43531 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING));
43532 PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT));
43533 PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)wxCLEAR));
43534 PyDict_SetItemString(d,"XOR", SWIG_From_int((int)wxXOR));
43535 PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)wxINVERT));
43536 PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE));
43537 PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE));
43538 PyDict_SetItemString(d,"COPY", SWIG_From_int((int)wxCOPY));
43539 PyDict_SetItemString(d,"AND", SWIG_From_int((int)wxAND));
43540 PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT));
43541 PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)wxNO_OP));
43542 PyDict_SetItemString(d,"NOR", SWIG_From_int((int)wxNOR));
43543 PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)wxEQUIV));
43544 PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT));
43545 PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT));
43546 PyDict_SetItemString(d,"NAND", SWIG_From_int((int)wxNAND));
43547 PyDict_SetItemString(d,"OR", SWIG_From_int((int)wxOR));
43548 PyDict_SetItemString(d,"SET", SWIG_From_int((int)wxSET));
43549 PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)WXK_BACK));
43550 PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)WXK_TAB));
43551 PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN));
43552 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE));
43553 PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE));
43554 PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE));
43555 PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)WXK_START));
43556 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON));
43557 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON));
43558 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL));
43559 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON));
43560 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR));
43561 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT));
43562 PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)WXK_ALT));
43563 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL));
43564 PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)WXK_MENU));
43565 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE));
43566 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL));
43567 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR));
43568 PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT));
43569 PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)WXK_END));
43570 PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)WXK_HOME));
43571 PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT));
43572 PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)WXK_UP));
43573 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT));
43574 PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN));
43575 PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT));
43576 PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT));
43577 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE));
43578 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT));
43579 PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT));
43580 PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)WXK_HELP));
43581 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0));
43582 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1));
43583 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2));
43584 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3));
43585 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4));
43586 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5));
43587 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6));
43588 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7));
43589 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8));
43590 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9));
43591 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY));
43592 PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)WXK_ADD));
43593 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR));
43594 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT));
43595 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL));
43596 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE));
43597 PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)WXK_F1));
43598 PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)WXK_F2));
43599 PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)WXK_F3));
43600 PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)WXK_F4));
43601 PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)WXK_F5));
43602 PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)WXK_F6));
43603 PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)WXK_F7));
43604 PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)WXK_F8));
43605 PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)WXK_F9));
43606 PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)WXK_F10));
43607 PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)WXK_F11));
43608 PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)WXK_F12));
43609 PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)WXK_F13));
43610 PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)WXK_F14));
43611 PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)WXK_F15));
43612 PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)WXK_F16));
43613 PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)WXK_F17));
43614 PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)WXK_F18));
43615 PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)WXK_F19));
43616 PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)WXK_F20));
43617 PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)WXK_F21));
43618 PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)WXK_F22));
43619 PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)WXK_F23));
43620 PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)WXK_F24));
43621 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK));
43622 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL));
43623 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP));
43624 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN));
43625 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE));
43626 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB));
43627 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER));
43628 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1));
43629 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2));
43630 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3));
43631 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4));
43632 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME));
43633 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT));
43634 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP));
43635 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT));
43636 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN));
43637 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR));
43638 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP));
43639 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT));
43640 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN));
43641 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END));
43642 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN));
43643 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT));
43644 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE));
43645 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL));
43646 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY));
43647 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD));
43648 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR));
43649 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT));
43650 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL));
43651 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE));
43652 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT));
43653 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT));
43654 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU));
43655 PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE));
43656 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER));
43657 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL));
43658 PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4));
43659 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET));
43660 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET));
43661 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET));
43662 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL));
43663 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID));
43664 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER));
43665 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT));
43666 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE));
43667 PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3));
43668 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL));
43669 PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5));
43670 PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4));
43671 PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5));
43672 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO));
43673 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO));
43674 PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14));
43675 PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17));
43676 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE));
43677 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9));
43678 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10));
43679 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11));
43680 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12));
43681 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14));
43682 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL));
43683 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5));
43684 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3));
43685 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4));
43686 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6));
43687 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65));
43688 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4));
43689 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5));
43690 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6));
43691 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY));
43692 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH));
43693 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL));
43694 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US));
43695 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN));
43696 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN));
43697 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4));
43698 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD));
43699 PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11));
43700 PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11));
43701 PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11));
43702 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE));
43703 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA));
43704 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA));
43705 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA));
43706 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA));
43707 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE));
43708 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE));
43709 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
43710 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS));
43711 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS));
43712 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS));
43713 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS));
43714 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE));
43715 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE));
43716 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA));
43717 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA));
43718 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA));
43719 PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2));
43720 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE));
43721 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE));
43722 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX));
43723 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL));
43724 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL));
43725 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR));
43726 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL));
43727 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK));
43728 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO));
43729 PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX));
43730 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE));
43731 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST));
43732 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1));
43733 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2));
43734 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
43735 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
43736 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB));
43737 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1));
43738 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2));
43739 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST));
43740 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE));
43741 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE));
43742 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR));
43743 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR));
43744 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER));
43745 PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)wxHT_MAX));
43746 PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE));
43747 PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT));
43748 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL));
43749 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT));
43750 PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN));
43751 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE));
43752 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE));
43753 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE));
d55e5bfc
RD
43754 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
43755 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
c32bde28
RD
43756 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID));
43757 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP));
43758 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO));
43759 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR));
43760 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM));
43761 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA));
43762 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM));
43763 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA));
43764 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF));
43765 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF));
43766 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG));
43767 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG));
43768 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM));
43769 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX));
43770 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT));
43771 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON));
43772 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI));
43773 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF));
43774 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR));
43775 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY));
43776 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE));
43777 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW));
43778 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW));
43779 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE));
43780 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR));
43781 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS));
43782 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND));
43783 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM));
43784 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON));
43785 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER));
43786 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON));
43787 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY));
43788 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH));
43789 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL));
43790 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT));
43791 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT));
43792 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW));
43793 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON));
43794 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW));
43795 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS));
43796 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE));
43797 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE));
43798 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING));
43799 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN));
43800 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT));
43801 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH));
43802 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK));
43803 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT));
43804 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW));
43805 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT));
43806 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX));
d55e5bfc
RD
43807 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
43808 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
c32bde28
RD
43809 PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)wxFromStart));
43810 PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)wxFromCurrent));
43811 PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)wxFromEnd));
d55e5bfc
RD
43812
43813 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43814
43815
43816 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43817
43818 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
43819 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
43820 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
43821 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
43822 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
43823 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
c32bde28
RD
43824 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES));
43825 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM));
43826 PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP));
43827 PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP));
43828 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY));
43829 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY));
43830 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED));
43831 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE));
43832 PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP));
43833 PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP));
43834 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW));
43835 PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS));
43836 PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE));
43837 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE));
43838 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX));
d55e5bfc
RD
43839 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
43840 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
43841 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
43842 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
43843 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
43844 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
43845 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
43846 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
43847 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
43848 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
43849 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
43850 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
43851 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
43852 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
43853 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
43854 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
43855 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
43856 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
43857 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
43858 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
43859 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
43860 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
43861 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
43862 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
43863 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
43864 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
43865 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
43866 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
43867 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
43868 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
43869 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
43870 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
43871 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
43872 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
43873 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
43874 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
43875 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
43876 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
43877 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
43878 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
43879 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
43880 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
43881 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
43882 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
43883 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
43884 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
43885 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
43886 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
43887 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
43888 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
43889 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
43890 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
43891 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
43892 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
43893 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
43894 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
43895 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
43896 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
43897 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
43898 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
43899 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
43900 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
43901 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
43902 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
43903 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
43904 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
43905 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
43906 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
43907 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
43908 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
43909 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
43910 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
43911 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
43912 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
43913 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
43914 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
43915 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
43916 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
43917 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
43918 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
43919 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
43920 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
43921 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
43922 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
43923 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
43924 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
43925 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
43926 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
43927 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
43928 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
43929 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
43930 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
43931 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
43932 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
43933 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
43934 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
43935 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
43936 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
43937 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
43938 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
43939 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
43940 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
43941 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
43942 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
43943 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
43944 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
43945 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
43946 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
43947 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
43948 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
43949 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
43950 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
43951 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
43952 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
c32bde28
RD
43953 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY));
43954 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE));
43955 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT));
43956 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE));
43957 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT));
43958 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL));
43959 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED));
43960 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward));
43961 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward));
43962 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange));
43963 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL));
43964 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED));
43965 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS));
43966 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION));
43967 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG));
43968 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG));
43969 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS));
43970 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT));
d55e5bfc
RD
43971 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
43972 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
c32bde28
RD
43973 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL));
43974 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL));
43975 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI));
43976 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE));
43977 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX));
d55e5bfc
RD
43978 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
43979 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
c32bde28
RD
43980 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE));
43981 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED));
43982 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL));
d55e5bfc 43983 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
c32bde28
RD
43984 PyDict_SetItemString(d,"Left", SWIG_From_int((int)wxLeft));
43985 PyDict_SetItemString(d,"Top", SWIG_From_int((int)wxTop));
43986 PyDict_SetItemString(d,"Right", SWIG_From_int((int)wxRight));
43987 PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)wxBottom));
43988 PyDict_SetItemString(d,"Width", SWIG_From_int((int)wxWidth));
43989 PyDict_SetItemString(d,"Height", SWIG_From_int((int)wxHeight));
43990 PyDict_SetItemString(d,"Centre", SWIG_From_int((int)wxCentre));
43991 PyDict_SetItemString(d,"Center", SWIG_From_int((int)wxCenter));
43992 PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)wxCentreX));
43993 PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)wxCentreY));
43994 PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)wxUnconstrained));
43995 PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)wxAsIs));
43996 PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)wxPercentOf));
43997 PyDict_SetItemString(d,"Above", SWIG_From_int((int)wxAbove));
43998 PyDict_SetItemString(d,"Below", SWIG_From_int((int)wxBelow));
43999 PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)wxLeftOf));
44000 PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)wxRightOf));
44001 PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)wxSameAs));
44002 PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)wxAbsolute));
d55e5bfc
RD
44003
44004 // Initialize threading, some globals and such
44005 __wxPyPreStart(d);
44006
44007
44008 // Although these are defined in __version__ they need to be here too so
44009 // that an assert can be done to ensure that the wxPython and the wxWindows
44010 // versions match.
44011 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
44012 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
44013 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
44014
44015}
44016