]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
Added ImageFromDataWithAlpha ctor
[wxWidgets.git] / wxPython / src / gtk / _core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
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
d14a1e28
RD
47#define SWIG_TypeQuery SWIG_Python_TypeQuery
48#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
RD
49#define SWIG_PackData SWIG_Python_PackData
50#define SWIG_UnpackData SWIG_Python_UnpackData
51
d14a1e28
RD
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
cc6dd355
RD
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
d14a1e28 83#else
cc6dd355
RD
84# define SWIGEXPORT(a) a
85# define SWIGIMPORT(a) a
d14a1e28
RD
86#endif
87
88#ifdef SWIG_GLOBAL
cc6dd355 89# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 90#else
cc6dd355 91# define SWIGRUNTIME(a) static a
d14a1e28
RD
92#endif
93
d14a1e28
RD
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 {
cc6dd355 102 const char *name;
d14a1e28
RD
103 swig_converter_func converter;
104 const char *str;
cc6dd355 105 void *clientdata;
d14a1e28
RD
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 *);
d14a1e28
RD
118SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
120SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
122
123
124#ifdef __cplusplus
125}
126#endif
127
c32bde28 128
d14a1e28
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
d14a1e28
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
d14a1e28
RD
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)
a41e16b6 174
d14a1e28
RD
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)
d14a1e28
RD
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
994141e6 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
cc6dd355
RD
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[]);
d14a1e28 197
d14a1e28
RD
198
199/* Contract support */
200
9d1d5697 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
c32bde28 208
d14a1e28
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]
2ef75293
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];
d14a1e28
RD
329
330/* -------- TYPES TABLE (END) -------- */
331
332
333/*-----------------------------------------------
54f9ee45 334 @(target):= _core_.so
d14a1e28 335 ------------------------------------------------*/
54f9ee45 336#define SWIG_init init_core_
d14a1e28 337
54f9ee45 338#define SWIG_name "_core_"
d14a1e28 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
994141e6 345
994141e6 346#ifdef __cplusplus
15afbcd0 347#define SWIGSTATICINLINE(a) static inline a
994141e6 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
15afbcd0 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)
994141e6 357
15afbcd0
RD
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)
15afbcd0 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)))
15afbcd0
RD
370
371#endif /* __cplusplus */
994141e6
RD
372
373
c32bde28
RD
374/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
375#define SWIG_From_signed_SS_char PyInt_FromLong
376/*@@*/
377/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
378#define SWIG_From_unsigned_SS_char PyInt_FromLong
379/*@@*/
380/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
381#define SWIG_From_short PyInt_FromLong
382/*@@*/
383/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
384#define SWIG_From_unsigned_SS_short PyInt_FromLong
385/*@@*/
386/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
387#define SWIG_From_int PyInt_FromLong
388/*@@*/
389/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
390#define SWIG_From_long PyInt_FromLong
391/*@@*/
392/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
393#define SWIG_From_float PyFloat_FromDouble
394/*@@*/
395/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
396#define SWIG_From_double PyFloat_FromDouble
397/*@@*/
994141e6
RD
398
399
d14a1e28
RD
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
e811c8ce 478// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
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"));
d14a1e28
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
121b9a67
RD
517// the wx._core_ module and will then have safe access to these functions,
518// even if they are located in another shared library.
d14a1e28
RD
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,
d14a1e28
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,
e3b71cb8
RD
596 wxPySwigInstance_Check,
597
598 wxPyCheckForApp
d14a1e28
RD
599
600};
601
602#endif
603
604
d14a1e28
RD
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
196addbf 617 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
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
994141e6 629
15afbcd0
RD
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)
15afbcd0 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);
15afbcd0 649 }
c32bde28 650 return 0;
15afbcd0 651 }
c32bde28 652 return 1;
15afbcd0
RD
653}
654
655
c32bde28
RD
656// See my_fragments.i
657SWIGSTATICINLINE(int)
658SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 659{
c32bde28
RD
660 if (PyNumber_Check(obj)) {
661 if (val) *val = PyInt_AsLong(obj);
662 return 1;
663 }
69223c70
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);
69223c70 669 }
c32bde28 670 return 0;
15afbcd0
RD
671}
672
673
674#if INT_MAX != LONG_MAX
675SWIGSTATICINLINE(int)
c32bde28 676 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 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;
15afbcd0
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}
15afbcd0
RD
701#endif
702
703
704SWIGSTATICINLINE(int)
c32bde28 705SWIG_As_int(PyObject* obj)
15afbcd0 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));
15afbcd0 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);
994141e6
RD
724}
725
e811c8ce 726PyObject *wxSize_Get(wxSize *self){
4f89f6a3 727 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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));
4f89f6a3 731 wxPyEndBlockThreads(blocked);
d14a1e28
RD
732 return tup;
733 }
994141e6 734
c32bde28
RD
735// See my_fragments.i
736SWIGSTATICINLINE(int)
737SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 738{
c32bde28
RD
739 if (PyNumber_Check(obj)) {
740 if (val) *val = PyFloat_AsDouble(obj);
741 return 1;
742 }
69223c70
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);
69223c70 748 }
c32bde28 749 return 0;
15afbcd0
RD
750}
751
752
c32bde28
RD
753SWIGSTATICINLINE(double)
754SWIG_As_double(PyObject* obj)
15afbcd0 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));
15afbcd0 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);
994141e6
RD
773}
774
d14a1e28
RD
775void wxRealPoint_Set(wxRealPoint *self,double x,double y){
776 self->x = x;
777 self->y = y;
778 }
e811c8ce 779PyObject *wxRealPoint_Get(wxRealPoint *self){
4f89f6a3 780 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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));
4f89f6a3 784 wxPyEndBlockThreads(blocked);
d14a1e28
RD
785 return tup;
786 }
994141e6 787
c32bde28
RD
788SWIGSTATICINLINE(long)
789SWIG_As_long(PyObject* obj)
994141e6 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));
15afbcd0 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);
994141e6
RD
808}
809
d14a1e28
RD
810void wxPoint_Set(wxPoint *self,long x,long y){
811 self->x = x;
812 self->y = y;
813 }
e811c8ce 814PyObject *wxPoint_Get(wxPoint *self){
4f89f6a3 815 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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));
4f89f6a3 819 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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 }
e811c8ce 828PyObject *wxRect_Get(wxRect *self){
4f89f6a3 829 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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));
4f89f6a3 835 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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)) {
4f89f6a3 849 bool blocked = wxPyBeginBlockThreads();
d14a1e28 850 wxRect* newRect = new wxRect(dest);
ae8162c8 851 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true);
4f89f6a3 852 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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) {
d14a1e28
RD
861 PyObject* o2;
862 PyObject* o3;
c32bde28 863
d14a1e28
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 }
d14a1e28
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 }
d14a1e28 885
c32bde28 886
d14a1e28
RD
887void wxPoint2D_Set(wxPoint2D *self,double x,double y){
888 self->m_x = x;
889 self->m_y = y;
890 }
e811c8ce 891PyObject *wxPoint2D_Get(wxPoint2D *self){
4f89f6a3 892 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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));
4f89f6a3 896 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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 }
994141e6 909
15afbcd0 910SWIGSTATICINLINE(PyObject*)
c32bde28 911 SWIG_From_char(char c)
994141e6
RD
912{
913 return PyString_FromStringAndSize(&c,1);
914}
915
916
15afbcd0 917SWIGSTATICINLINE(PyObject* )
c32bde28 918 SWIG_From_unsigned_SS_long(unsigned long value)
15afbcd0
RD
919{
920 return (value > LONG_MAX) ?
921 PyLong_FromUnsignedLong(value)
c32bde28 922 : PyInt_FromLong(swig_numeric_cast(value,long));
15afbcd0
RD
923}
924
925
c32bde28 926/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
15afbcd0 927SWIGSTATIC(int)
c32bde28 928SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
994141e6 929{
15afbcd0 930 static swig_type_info* pchar_info = 0;
c32bde28 931 char* vptr = 0;
15afbcd0 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;
15afbcd0 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 }
15afbcd0 947 }
c32bde28
RD
948 if (cptr) {
949 PyErr_SetString(PyExc_TypeError, "a string is expected");
950 }
951 return 0;
994141e6
RD
952}
953
954
c32bde28
RD
955SWIGSTATIC(int)
956SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
15afbcd0
RD
957{
958 char* cptr; size_t csize;
c32bde28
RD
959 if (SWIG_AsCharPtrAndSize(obj, &cptr, &csize)) {
960 /* in C you can do:
961
15afbcd0
RD
962 char x[5] = "hello";
963
964 ie, assing the array using an extra '0' char.
965 */
15afbcd0 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;
15afbcd0
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;
15afbcd0
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
15afbcd0 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));
994141e6 1014 }
c32bde28 1015 return v;
994141e6
RD
1016}
1017
c32bde28 1018
15afbcd0 1019SWIGSTATICINLINE(int)
c32bde28 1020SWIG_Check_char(PyObject* obj)
15afbcd0 1021{
c32bde28 1022 return SWIG_AsVal_char(obj, (char*)0);
15afbcd0
RD
1023}
1024
d14a1e28
RD
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)
994141e6 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;
994141e6
RD
1101}
1102
1103
c32bde28
RD
1104SWIGSTATICINLINE(bool)
1105SWIG_As_bool(PyObject* obj)
15afbcd0 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));
15afbcd0 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);
15afbcd0
RD
1124}
1125
2ef75293
RD
1126wxString FileSystem_URLToFileName(wxString const &url){
1127 wxFileName fname = wxFileSystem::URLToFileName(url);
1128 return fname.GetFullPath();
1129 }
d14a1e28
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) {
2ef75293
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);
d14a1e28
RD
1157 }
1158
1159
1160#include "wx/wxPython/pyistream.h"
1161
994141e6 1162
c32bde28
RD
1163// See my_fragments.i
1164SWIGSTATICINLINE(int)
1165SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 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;
15afbcd0 1171 }
c32bde28
RD
1172 else if (val)
1173 *val = (unsigned long)v;
1174 return 1;
15afbcd0
RD
1175}
1176
1177
c32bde28
RD
1178SWIGSTATICINLINE(int)
1179 SWIG_CheckUnsignedLongInRange(unsigned long value,
1180 unsigned long max_value,
1181 const char *errmsg)
15afbcd0 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);
15afbcd0 1188 }
c32bde28 1189 return 0;
15afbcd0 1190 }
c32bde28
RD
1191 return 1;
1192 }
15afbcd0
RD
1193
1194
c32bde28
RD
1195SWIGSTATICINLINE(int)
1196 SWIG_AsVal_unsigned_SS_char(PyObject *obj, unsigned char *val)
994141e6 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;
15afbcd0
RD
1214}
1215
1216
c32bde28
RD
1217SWIGSTATICINLINE(unsigned char)
1218SWIG_As_unsigned_SS_char(PyObject* obj)
15afbcd0 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));
15afbcd0 1228 }
c32bde28 1229 return v;
994141e6
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
66c033b4 1240wxImage *new_wxImage(int width,int height,bool clear){
d14a1e28
RD
1241 if (width > 0 && height > 0)
1242 return new wxImage(width, height, clear);
1243 else
1244 return new wxImage;
1245 }
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);
d14a1e28 1258 }
b2df227b
RD
1259wxSize wxImage_GetSize(wxImage *self){
1260 wxSize size(self->GetWidth(), self->GetHeight());
1261 return size;
1262 }
d14a1e28
RD
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)) {
2ef75293
RD
1274 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
1275 "Expected string object"));
d14a1e28
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
4f89f6a3 1296 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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:
4f89f6a3 1306 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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
4f89f6a3 1344 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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:
4f89f6a3 1354 wxPyEndBlockThreads(blocked);
d14a1e28 1355 }
15afbcd0 1356
c32bde28
RD
1357SWIGSTATICINLINE(unsigned long)
1358SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 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));
15afbcd0 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);
15afbcd0
RD
1377}
1378
1fbf26be
RD
1379wxBitmap wxImage_ConvertToBitmap(wxImage *self,int depth){
1380 wxBitmap bitmap(*self, depth);
d14a1e28
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 }
d14a1e28
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 {
a95a7133
RD
1415 wxPyBLOCK_THREADS(
1416 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
d14a1e28
RD
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){
3b7224dc 1437 #if wxUSE_UNICODE
19272049 1438 return self->GetUnicodeKey();
3b7224dc 1439 #else
d14a1e28 1440 return 0;
3b7224dc 1441 #endif
d14a1e28 1442 }
994141e6 1443
15afbcd0 1444#if UINT_MAX < LONG_MAX
c32bde28
RD
1445/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1446#define SWIG_From_unsigned_SS_int SWIG_From_long
1447/*@@*/
15afbcd0 1448#else
c32bde28
RD
1449/*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1450#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1451/*@@*/
15afbcd0 1452#endif
994141e6
RD
1453
1454
15afbcd0 1455#if UINT_MAX != ULONG_MAX
c32bde28
RD
1456SWIGSTATICINLINE(int)
1457 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 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;
15afbcd0
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}
15afbcd0
RD
1480#endif
1481
1482
c32bde28
RD
1483SWIGSTATICINLINE(unsigned int)
1484SWIG_As_unsigned_SS_int(PyObject* obj)
15afbcd0 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));
15afbcd0 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);
994141e6
RD
1503}
1504
d14a1e28
RD
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++) {
1fc9204a 1522 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1523 }
1524 return list;
1525 }
1526
1527
1528wxPyApp *new_wxPyApp(){
1529 wxPythonApp = new wxPyApp();
1530 return wxPythonApp;
1531 }
39f61e25 1532int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1533
1534 void wxApp_CleanUp() {
1535 __wxPyCleanup();
1536 }
1537
1538
db3e571a 1539 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d14a1e28
RD
1540
1541
ae8162c8
RD
1542#ifdef __WXMAC__
1543
1544// A dummy class that raises an exception if used...
1545class wxEventLoop
1546{
1547public:
1548 wxEventLoop() { wxPyRaiseNotImplemented(); }
1549 int Run() { return 0; }
1550 void Exit(int rc = 0) {}
1551 bool Pending() const { return false; }
1552 bool Dispatch() { return false; }
1553 bool IsRunning() const { return false; }
1554 static wxEventLoop *GetActive() { wxPyRaiseNotImplemented(); return NULL; }
1555 static void SetActive(wxEventLoop* loop) { wxPyRaiseNotImplemented(); }
1556};
1557
1558#else
1559
2ef75293
RD
1560#include <wx/evtloop.h>
1561
ae8162c8
RD
1562#endif
1563
2ef75293 1564
d14a1e28 1565
e811c8ce 1566 static const wxString wxPyPanelNameStr(wxPanelNameStr);
74a57fcd 1567wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
22bfe96c 1568void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
d14a1e28
RD
1569PyObject *wxWindow_GetChildren(wxWindow *self){
1570 wxWindowList& list = self->GetChildren();
1571 return wxPy_ConvertList(&list);
1572 }
1573bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
74a57fcd
RD
1574 #if wxUSE_HOTKEY
1575 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1576 #else
ae8162c8 1577 return false;
74a57fcd 1578 #endif
d14a1e28
RD
1579 }
1580bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1581
1582
1583
ae8162c8 1584 return false;
d14a1e28
RD
1585
1586 }
1587long wxWindow_GetHandle(wxWindow *self){
1588 return wxPyGetWinHandle(self);
1589 }
7e63a440
RD
1590void wxWindow_AssociateHandle(wxWindow *self,long handle){
1591 self->AssociateHandle((WXWidget)handle);
1592 }
d14a1e28
RD
1593
1594wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1595 return wxWindow::FindWindowById(id, parent);
1596}
1597
1598wxWindow* wxFindWindowByName( const wxString& name,
1599 const wxWindow *parent = NULL ) {
1600 return wxWindow::FindWindowByName(name, parent);
1601}
1602
1603wxWindow* wxFindWindowByLabel( const wxString& label,
1604 const wxWindow *parent = NULL ) {
1605 return wxWindow::FindWindowByLabel(label, parent);
1606}
1607
1608
d14a1e28 1609#ifdef __WXMSW__
4276dc52
RD
1610#include <wx/msw/private.h> // to get wxGetWindowId
1611#endif
1612
1613
1614 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1615#ifdef __WXMSW__
1616 WXHWND hWnd = (WXHWND)_hWnd;
1617 long id = wxGetWindowId(hWnd);
d14a1e28 1618 wxWindow* win = new wxWindow;
4276dc52
RD
1619 parent->AddChild(win);
1620 win->SetEventHandler(win);
1621 win->SetHWND(hWnd);
1622 win->SetId(id);
1623 win->SubclassWin(hWnd);
1624 win->AdoptAttributesFromHWND();
1625 win->SetupColours();
d14a1e28
RD
1626 return win;
1627#else
39f61e25 1628 wxPyRaiseNotImplemented();
d14a1e28
RD
1629 return NULL;
1630#endif
1631 }
1632
1633
1634IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1635IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1636IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1637
1638IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1639
1640void wxMenu_Destroy(wxMenu *self){ delete self; }
1641PyObject *wxMenu_GetMenuItems(wxMenu *self){
1642 wxMenuItemList& list = self->GetMenuItems();
1643 return wxPy_ConvertList(&list);
1644 }
1645int MenuItem_GetDefaultMarginWidth(){ return 0; }
b2dc1044 1646 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1647int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1648 if (clientData) {
1649 wxPyClientData* data = new wxPyClientData(clientData);
1650 return self->Append(item, data);
1651 } else
1652 return self->Append(item);
1653 }
1654int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1655 if (clientData) {
1656 wxPyClientData* data = new wxPyClientData(clientData);
1657 return self->Insert(item, pos, data);
1658 } else
1659 return self->Insert(item, pos);
1660 }
1661PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1662 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1663 if (data) {
1664 Py_INCREF(data->m_obj);
1665 return data->m_obj;
1666 } else {
1667 Py_INCREF(Py_None);
1668 return Py_None;
1669 }
1670 }
1671void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1672 wxPyClientData* data = new wxPyClientData(clientData);
1673 self->SetClientObject(n, data);
1674 }
1675
1676
248ed943
RD
1677wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData){
1678 wxPyUserData* data = NULL;
1679 if ( userData ) {
1680 bool blocked = wxPyBeginBlockThreads();
1681 data = new wxPyUserData(userData);
1682 wxPyEndBlockThreads(blocked);
1683 }
1684 return new wxSizerItem(window, proportion, flag, border, data);
1685 }
1686wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData){
1687 wxPyUserData* data = NULL;
1688 if ( userData ) {
1689 bool blocked = wxPyBeginBlockThreads();
1690 data = new wxPyUserData(userData);
1691 wxPyEndBlockThreads(blocked);
1692 }
1693 return new wxSizerItem(width, height, proportion, flag, border, data);
1694 }
1695wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData){
1696 wxPyUserData* data = NULL;
1697 if ( userData ) {
1698 bool blocked = wxPyBeginBlockThreads();
1699 data = new wxPyUserData(userData);
1700 wxPyEndBlockThreads(blocked);
1701 }
1702 return new wxSizerItem(sizer, proportion, flag, border, data);
1703 }
994141e6 1704
15afbcd0 1705#include <float.h>
c32bde28
RD
1706SWIGSTATICINLINE(int)
1707 SWIG_CheckDoubleInRange(double value, double min_value,
1708 double max_value, const char* errmsg)
1709{
1710 if (value < min_value) {
1711 if (errmsg) {
1712 PyErr_Format(PyExc_OverflowError,
1713 "value %g is less than %s minimum %g",
1714 value, errmsg, min_value);
1715 }
1716 return 0;
1717 } else if (value > max_value) {
1718 if (errmsg) {
1719 PyErr_Format(PyExc_OverflowError,
1720 "value %g is greater than %s maximum %g",
1721 value, errmsg, max_value);
1722 }
1723 return 0;
1724 }
1725 return 1;
1726}
1727
15afbcd0 1728
c32bde28
RD
1729SWIGSTATICINLINE(int)
1730 SWIG_AsVal_float(PyObject *obj, float *val)
15afbcd0 1731{
c32bde28
RD
1732 const char* errmsg = val ? "float" : 0;
1733 double v;
1734 if (SWIG_AsVal_double(obj, &v)) {
1735 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
1736 if (val) *val = v;
1737 return 1;
15afbcd0 1738 } else {
c32bde28 1739 return 0;
15afbcd0 1740 }
c32bde28
RD
1741 } else {
1742 PyErr_Clear();
15afbcd0 1743 }
c32bde28
RD
1744 if (val) {
1745 PyErr_SetString(PyExc_TypeError, "a float is expected");
1746 }
1747 return 0;
15afbcd0
RD
1748}
1749
1750
1751SWIGSTATICINLINE(float)
c32bde28 1752SWIG_As_float(PyObject* obj)
994141e6 1753{
c32bde28
RD
1754 float v;
1755 if (!SWIG_AsVal_float(obj, &v)) {
1756 /*
1757 this is needed to make valgrind/purify happier. the other
1758 solution is throw an exception, but since this code should work
1759 with plain C ....
1760 */
1761 memset((void*)&v, 0, sizeof(float));
1762 }
1763 return v;
15afbcd0
RD
1764}
1765
c32bde28 1766
15afbcd0 1767SWIGSTATICINLINE(int)
c32bde28 1768SWIG_Check_float(PyObject* obj)
15afbcd0 1769{
c32bde28 1770 return SWIG_AsVal_float(obj, (float*)0);
994141e6
RD
1771}
1772
d14a1e28
RD
1773PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1774 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1775 if (data) {
1776 Py_INCREF(data->m_obj);
1777 return data->m_obj;
1778 } else {
1779 Py_INCREF(Py_None);
1780 return Py_None;
1781 }
1782 }
1783
1784// Figure out the type of the sizer item
1785
1786struct wxPySizerItemInfo {
1787 wxPySizerItemInfo()
ae8162c8
RD
1788 : window(NULL), sizer(NULL), gotSize(false),
1789 size(wxDefaultSize), gotPos(false), pos(-1)
d14a1e28
RD
1790 {}
1791
1792 wxWindow* window;
1793 wxSizer* sizer;
1794 bool gotSize;
1795 wxSize size;
1796 bool gotPos;
1797 int pos;
1798};
1799
1800static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1801
1802 wxPySizerItemInfo info;
1803 wxSize size;
1804 wxSize* sizePtr = &size;
1805
1806 // Find out what the type of the item is
1807 // try wxWindow
1808 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1809 PyErr_Clear();
1810 info.window = NULL;
1811
1812 // try wxSizer
1813 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1814 PyErr_Clear();
1815 info.sizer = NULL;
1816
1817 // try wxSize or (w,h)
1818 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1819 info.size = *sizePtr;
ae8162c8 1820 info.gotSize = true;
d14a1e28
RD
1821 }
1822
1823 // or a single int
1824 if (checkIdx && PyInt_Check(item)) {
1825 info.pos = PyInt_AsLong(item);
ae8162c8 1826 info.gotPos = true;
d14a1e28
RD
1827 }
1828 }
1829 }
1830
1831 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1832 // no expected type, figure out what kind of error message to generate
1833 if ( !checkSize && !checkIdx )
1834 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1835 else if ( checkSize && !checkIdx )
1836 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1837 else if ( !checkSize && checkIdx)
1838 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1839 else
1840 // can this one happen?
1841 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1842 }
1843
1844 return info;
1845}
1846
1847void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
b0f7404b
RD
1848 if (!self->GetClientObject())
1849 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28 1850 }
d3b6e4ff 1851wxSizerItem *wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
d14a1e28
RD
1852
1853 wxPyUserData* data = NULL;
4f89f6a3 1854 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1855 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
1856 if ( userData && (info.window || info.sizer || info.gotSize) )
1857 data = new wxPyUserData(userData);
4f89f6a3 1858 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1859
1860 // Now call the real Add method if a valid item type was found
1861 if ( info.window )
d3b6e4ff 1862 return self->Add(info.window, proportion, flag, border, data);
d14a1e28 1863 else if ( info.sizer )
d3b6e4ff 1864 return self->Add(info.sizer, proportion, flag, border, data);
d14a1e28 1865 else if (info.gotSize)
d3b6e4ff
RD
1866 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1867 proportion, flag, border, data);
1868 else
1869 return NULL;
d14a1e28 1870 }
d3b6e4ff 1871wxSizerItem *wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
d14a1e28
RD
1872
1873 wxPyUserData* data = NULL;
4f89f6a3 1874 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1875 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
1876 if ( userData && (info.window || info.sizer || info.gotSize) )
1877 data = new wxPyUserData(userData);
4f89f6a3 1878 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1879
1880 // Now call the real Insert method if a valid item type was found
1881 if ( info.window )
d3b6e4ff 1882 return self->Insert(before, info.window, proportion, flag, border, data);
d14a1e28 1883 else if ( info.sizer )
d3b6e4ff 1884 return self->Insert(before, info.sizer, proportion, flag, border, data);
d14a1e28 1885 else if (info.gotSize)
d3b6e4ff
RD
1886 return self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1887 proportion, flag, border, data);
1888 else
1889 return NULL;
d14a1e28 1890 }
d3b6e4ff 1891wxSizerItem *wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
d14a1e28
RD
1892
1893 wxPyUserData* data = NULL;
4f89f6a3 1894 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1895 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
1896 if ( userData && (info.window || info.sizer || info.gotSize) )
1897 data = new wxPyUserData(userData);
4f89f6a3 1898 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1899
1900 // Now call the real Prepend method if a valid item type was found
1901 if ( info.window )
d3b6e4ff 1902 return self->Prepend(info.window, proportion, flag, border, data);
d14a1e28 1903 else if ( info.sizer )
d3b6e4ff 1904 return self->Prepend(info.sizer, proportion, flag, border, data);
d14a1e28 1905 else if (info.gotSize)
d3b6e4ff
RD
1906 return self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1907 proportion, flag, border, data);
1908 else
1909 return NULL;
d14a1e28
RD
1910 }
1911bool wxSizer_Remove(wxSizer *self,PyObject *item){
4f89f6a3 1912 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1913 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
4f89f6a3 1914 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1915 if ( info.window )
1916 return self->Remove(info.window);
1917 else if ( info.sizer )
1918 return self->Remove(info.sizer);
1919 else if ( info.gotPos )
1920 return self->Remove(info.pos);
1921 else
ae8162c8 1922 return false;
d14a1e28 1923 }
1c0f361b
RD
1924bool wxSizer_Detach(wxSizer *self,PyObject *item){
1925 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1926 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
1c0f361b
RD
1927 wxPyEndBlockThreads(blocked);
1928 if ( info.window )
1929 return self->Detach(info.window);
1930 else if ( info.sizer )
1931 return self->Detach(info.sizer);
1932 else if ( info.gotPos )
1933 return self->Detach(info.pos);
1934 else
ae8162c8 1935 return false;
1c0f361b 1936 }
d3b6e4ff
RD
1937wxSizerItem *wxSizer_GetItem(wxSizer *self,PyObject *item){
1938 bool blocked = wxPyBeginBlockThreads();
1939 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
1940 wxPyEndBlockThreads(blocked);
1941 if ( info.window )
1942 return self->GetItem(info.window);
1943 else if ( info.sizer )
1944 return self->GetItem(info.sizer);
1945 else if ( info.gotPos )
1946 return self->GetItem(info.pos);
1947 else
1948 return NULL;
1949 }
e811c8ce 1950void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1951 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1952 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
4f89f6a3 1953 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1954 if ( info.window )
1955 self->SetItemMinSize(info.window, size);
1956 else if ( info.sizer )
1957 self->SetItemMinSize(info.sizer, size);
1958 else if ( info.gotPos )
1959 self->SetItemMinSize(info.pos, size);
1960 }
1961PyObject *wxSizer_GetChildren(wxSizer *self){
1962 wxSizerItemList& list = self->GetChildren();
1963 return wxPy_ConvertList(&list);
1964 }
7e63a440 1965bool wxSizer_Show(wxSizer *self,PyObject *item,bool show,bool recursive){
03e37cd5 1966 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1967 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
03e37cd5 1968 wxPyEndBlockThreads(blocked);
d14a1e28 1969 if ( info.window )
7e63a440 1970 return self->Show(info.window, show, recursive);
d14a1e28 1971 else if ( info.sizer )
7e63a440 1972 return self->Show(info.sizer, show, recursive);
248ed943 1973 else if ( info.gotPos )
7e63a440 1974 return self->Show(info.pos, show);
ae8162c8
RD
1975 else
1976 return false;
d14a1e28
RD
1977 }
1978bool wxSizer_IsShown(wxSizer *self,PyObject *item){
03e37cd5 1979 bool blocked = wxPyBeginBlockThreads();
ae8162c8 1980 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
03e37cd5 1981 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1982 if ( info.window )
1983 return self->IsShown(info.window);
1984 else if ( info.sizer )
1985 return self->IsShown(info.sizer);
248ed943
RD
1986 else if ( info.gotPos )
1987 return self->IsShown(info.pos);
d14a1e28 1988 else
ae8162c8 1989 return false;
d14a1e28
RD
1990 }
1991
1992// See pyclasses.h
1993IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1994IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1995IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1996
1997
1998
1999
2000bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
2001{
4f89f6a3
RD
2002 if (source == Py_None) {
2003 **obj = wxGBPosition(-1,-1);
ae8162c8 2004 return true;
4f89f6a3 2005 }
d14a1e28
RD
2006 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
2007}
2008
2009bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
2010{
4f89f6a3
RD
2011 if (source == Py_None) {
2012 **obj = wxGBSpan(-1,-1);
ae8162c8 2013 return true;
4f89f6a3 2014 }
d14a1e28
RD
2015 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
2016}
2017
2018
e811c8ce
RD
2019void wxGBPosition_Set(wxGBPosition *self,int row,int col){
2020 self->SetRow(row);
2021 self->SetCol(col);
2022 }
2023PyObject *wxGBPosition_Get(wxGBPosition *self){
4f89f6a3 2024 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2025 PyObject* tup = PyTuple_New(2);
2026 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
2027 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 2028 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2029 return tup;
2030 }
e811c8ce
RD
2031void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
2032 self->SetRowspan(rowspan);
2033 self->SetColspan(colspan);
2034 }
2035PyObject *wxGBSpan_Get(wxGBSpan *self){
4f89f6a3 2036 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2037 PyObject* tup = PyTuple_New(2);
2038 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
2039 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 2040 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2041 return tup;
2042 }
248ed943
RD
2043wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
2044 wxPyUserData* data = NULL;
2045 if ( userData ) {
2046 bool blocked = wxPyBeginBlockThreads();
2047 data = new wxPyUserData(userData);
2048 wxPyEndBlockThreads(blocked);
2049 }
2050 return new wxGBSizerItem(window, pos, span, flag, border, data);
2051 }
2052wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
2053 wxPyUserData* data = NULL;
2054 if ( userData ) {
2055 bool blocked = wxPyBeginBlockThreads();
2056 data = new wxPyUserData(userData);
2057 wxPyEndBlockThreads(blocked);
2058 }
2059 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
2060 }
2061wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
2062 wxPyUserData* data = NULL;
2063 if ( userData ) {
2064 bool blocked = wxPyBeginBlockThreads();
2065 data = new wxPyUserData(userData);
2066 wxPyEndBlockThreads(blocked);
2067 }
2068 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
2069 }
2070wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
2071 int row, col;
2072 self->GetEndPos(row, col);
2073 return wxGBPosition(row, col);
2074 }
d3b6e4ff 2075wxGBSizerItem *wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
d14a1e28
RD
2076
2077 wxPyUserData* data = NULL;
4f89f6a3 2078 bool blocked = wxPyBeginBlockThreads();
ae8162c8 2079 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
2080 if ( userData && (info.window || info.sizer || info.gotSize) )
2081 data = new wxPyUserData(userData);
4f89f6a3 2082 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2083
2084 // Now call the real Add method if a valid item type was found
2085 if ( info.window )
d3b6e4ff 2086 return (wxGBSizerItem*)self->Add(info.window, pos, span, flag, border, data);
d14a1e28 2087 else if ( info.sizer )
d3b6e4ff 2088 return (wxGBSizerItem*)self->Add(info.sizer, pos, span, flag, border, data);
d14a1e28 2089 else if (info.gotSize)
d3b6e4ff
RD
2090 return (wxGBSizerItem*)self->Add(info.size.GetWidth(), info.size.GetHeight(),
2091 pos, span, flag, border, data);
2092 return NULL;
d14a1e28
RD
2093 }
2094
2095
2096#ifdef __cplusplus
2097extern "C" {
2098#endif
c32bde28 2099static int _wrap_EmptyString_set(PyObject *) {
196addbf
RD
2100 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
2101 return 1;
2102}
2103
2104
2105static PyObject *_wrap_EmptyString_get() {
2106 PyObject *pyobj;
2107
2108 {
2109#if wxUSE_UNICODE
2110 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
2111#else
2112 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
2113#endif
2114 }
2115 return pyobj;
2116}
2117
2118
c32bde28 2119static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2120 PyObject *resultobj;
2121 wxObject *arg1 = (wxObject *) 0 ;
2122 wxString result;
2123 PyObject * obj0 = 0 ;
2124 char *kwnames[] = {
2125 (char *) "self", NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
2129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
2130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2131 {
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 result = wxObject_GetClassName(arg1);
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) SWIG_fail;
2137 }
2138 {
2139#if wxUSE_UNICODE
2140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2141#else
2142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2143#endif
2144 }
2145 return resultobj;
2146 fail:
2147 return NULL;
2148}
2149
2150
c32bde28 2151static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2152 PyObject *resultobj;
2153 wxObject *arg1 = (wxObject *) 0 ;
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
2160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
2161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 wxObject_Destroy(arg1);
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 Py_INCREF(Py_None); resultobj = Py_None;
2170 return resultobj;
2171 fail:
2172 return NULL;
2173}
2174
2175
c32bde28 2176static PyObject * Object_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2177 PyObject *obj;
2178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2179 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
2180 Py_INCREF(obj);
2181 return Py_BuildValue((char *)"");
2182}
c32bde28 2183static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2184 PyObject *resultobj;
2185 wxSize *arg1 = (wxSize *) 0 ;
2186 int arg2 ;
2187 PyObject * obj0 = 0 ;
994141e6 2188 PyObject * obj1 = 0 ;
d14a1e28
RD
2189 char *kwnames[] = {
2190 (char *) "self",(char *) "x", NULL
2191 };
2192
994141e6 2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2196 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2197 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2198 if (arg1) (arg1)->x = arg2;
2199
2200 Py_INCREF(Py_None); resultobj = Py_None;
2201 return resultobj;
2202 fail:
2203 return NULL;
2204}
2205
2206
c32bde28 2207static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2208 PyObject *resultobj;
2209 wxSize *arg1 = (wxSize *) 0 ;
2210 int result;
2211 PyObject * obj0 = 0 ;
2212 char *kwnames[] = {
2213 (char *) "self", NULL
2214 };
2215
2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2219 result = (int) ((arg1)->x);
2220
c32bde28 2221 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2222 return resultobj;
2223 fail:
2224 return NULL;
2225}
2226
2227
c32bde28 2228static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2229 PyObject *resultobj;
2230 wxSize *arg1 = (wxSize *) 0 ;
2231 int arg2 ;
2232 PyObject * obj0 = 0 ;
994141e6 2233 PyObject * obj1 = 0 ;
d14a1e28
RD
2234 char *kwnames[] = {
2235 (char *) "self",(char *) "y", NULL
2236 };
2237
994141e6 2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2241 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2243 if (arg1) (arg1)->y = arg2;
2244
2245 Py_INCREF(Py_None); resultobj = Py_None;
2246 return resultobj;
2247 fail:
2248 return NULL;
2249}
2250
2251
c32bde28 2252static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2253 PyObject *resultobj;
2254 wxSize *arg1 = (wxSize *) 0 ;
2255 int result;
2256 PyObject * obj0 = 0 ;
2257 char *kwnames[] = {
2258 (char *) "self", NULL
2259 };
2260
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2264 result = (int) ((arg1)->y);
2265
c32bde28 2266 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2267 return resultobj;
2268 fail:
2269 return NULL;
2270}
2271
2272
c32bde28 2273static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2274 PyObject *resultobj;
2275 int arg1 = (int) 0 ;
2276 int arg2 = (int) 0 ;
2277 wxSize *result;
994141e6
RD
2278 PyObject * obj0 = 0 ;
2279 PyObject * obj1 = 0 ;
d14a1e28
RD
2280 char *kwnames[] = {
2281 (char *) "w",(char *) "h", NULL
2282 };
2283
994141e6
RD
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
2285 if (obj0) {
c32bde28 2286 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 2287 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2288 }
2289 if (obj1) {
c32bde28 2290 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2291 if (PyErr_Occurred()) SWIG_fail;
994141e6 2292 }
d14a1e28
RD
2293 {
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 result = (wxSize *)new wxSize(arg1,arg2);
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 }
15afbcd0 2300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2301 return resultobj;
2302 fail:
2303 return NULL;
2304}
2305
2306
c32bde28 2307static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2308 PyObject *resultobj;
2309 wxSize *arg1 = (wxSize *) 0 ;
2310 PyObject * obj0 = 0 ;
2311 char *kwnames[] = {
2312 (char *) "self", NULL
2313 };
2314
2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
15afbcd0
RD
2316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
2320 delete arg1;
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
2325 Py_INCREF(Py_None); resultobj = Py_None;
2326 return resultobj;
2327 fail:
2328 return NULL;
2329}
2330
2331
c32bde28 2332static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2333 PyObject *resultobj;
2334 wxSize *arg1 = (wxSize *) 0 ;
2335 wxSize *arg2 = 0 ;
2336 bool result;
2337 wxSize temp2 ;
2338 PyObject * obj0 = 0 ;
2339 PyObject * obj1 = 0 ;
2340 char *kwnames[] = {
2341 (char *) "self",(char *) "sz", NULL
2342 };
2343
2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2347 {
2348 arg2 = &temp2;
2349 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2350 }
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2353 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 }
4f89f6a3
RD
2358 {
2359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2360 }
d14a1e28
RD
2361 return resultobj;
2362 fail:
2363 return NULL;
2364}
2365
2366
c32bde28 2367static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2368 PyObject *resultobj;
2369 wxSize *arg1 = (wxSize *) 0 ;
2370 wxSize *arg2 = 0 ;
2371 bool result;
2372 wxSize temp2 ;
2373 PyObject * obj0 = 0 ;
2374 PyObject * obj1 = 0 ;
2375 char *kwnames[] = {
2376 (char *) "self",(char *) "sz", NULL
2377 };
2378
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2382 {
2383 arg2 = &temp2;
2384 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2385 }
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2388 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
4f89f6a3
RD
2393 {
2394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2395 }
d14a1e28
RD
2396 return resultobj;
2397 fail:
2398 return NULL;
2399}
2400
2401
c32bde28 2402static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2403 PyObject *resultobj;
2404 wxSize *arg1 = (wxSize *) 0 ;
2405 wxSize *arg2 = 0 ;
2406 wxSize result;
2407 wxSize temp2 ;
2408 PyObject * obj0 = 0 ;
2409 PyObject * obj1 = 0 ;
2410 char *kwnames[] = {
2411 (char *) "self",(char *) "sz", NULL
2412 };
2413
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2417 {
2418 arg2 = &temp2;
2419 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (arg1)->operator +((wxSize const &)*arg2);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 {
2429 wxSize * resultptr;
2430 resultptr = new wxSize((wxSize &) result);
15afbcd0 2431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2432 }
2433 return resultobj;
2434 fail:
2435 return NULL;
2436}
2437
2438
c32bde28 2439static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2440 PyObject *resultobj;
2441 wxSize *arg1 = (wxSize *) 0 ;
2442 wxSize *arg2 = 0 ;
2443 wxSize result;
2444 wxSize temp2 ;
2445 PyObject * obj0 = 0 ;
2446 PyObject * obj1 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self",(char *) "sz", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2454 {
2455 arg2 = &temp2;
2456 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2457 }
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 result = (arg1)->operator -((wxSize const &)*arg2);
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 {
2466 wxSize * resultptr;
2467 resultptr = new wxSize((wxSize &) result);
15afbcd0 2468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2469 }
2470 return resultobj;
2471 fail:
2472 return NULL;
2473}
2474
2475
c32bde28 2476static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2477 PyObject *resultobj;
2478 wxSize *arg1 = (wxSize *) 0 ;
2479 wxSize *arg2 = 0 ;
2480 wxSize temp2 ;
2481 PyObject * obj0 = 0 ;
2482 PyObject * obj1 = 0 ;
2483 char *kwnames[] = {
2484 (char *) "self",(char *) "sz", NULL
2485 };
2486
2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2490 {
2491 arg2 = &temp2;
2492 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2493 }
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
2496 (arg1)->IncTo((wxSize const &)*arg2);
2497
2498 wxPyEndAllowThreads(__tstate);
2499 if (PyErr_Occurred()) SWIG_fail;
2500 }
2501 Py_INCREF(Py_None); resultobj = Py_None;
2502 return resultobj;
2503 fail:
2504 return NULL;
2505}
2506
2507
c32bde28 2508static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2509 PyObject *resultobj;
2510 wxSize *arg1 = (wxSize *) 0 ;
2511 wxSize *arg2 = 0 ;
2512 wxSize temp2 ;
2513 PyObject * obj0 = 0 ;
2514 PyObject * obj1 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self",(char *) "sz", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2522 {
2523 arg2 = &temp2;
2524 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 (arg1)->DecTo((wxSize const &)*arg2);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 Py_INCREF(Py_None); resultobj = Py_None;
2534 return resultobj;
2535 fail:
2536 return NULL;
2537}
2538
2539
c32bde28 2540static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2541 PyObject *resultobj;
2542 wxSize *arg1 = (wxSize *) 0 ;
2543 int arg2 ;
2544 int arg3 ;
2545 PyObject * obj0 = 0 ;
994141e6
RD
2546 PyObject * obj1 = 0 ;
2547 PyObject * obj2 = 0 ;
d14a1e28 2548 char *kwnames[] = {
e811c8ce 2549 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2550 };
2551
994141e6 2552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2555 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2556 if (PyErr_Occurred()) SWIG_fail;
c32bde28 2557 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 2558 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2559 {
2560 PyThreadState* __tstate = wxPyBeginAllowThreads();
2561 (arg1)->Set(arg2,arg3);
2562
2563 wxPyEndAllowThreads(__tstate);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 Py_INCREF(Py_None); resultobj = Py_None;
2567 return resultobj;
2568 fail:
2569 return NULL;
2570}
2571
2572
c32bde28 2573static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2574 PyObject *resultobj;
2575 wxSize *arg1 = (wxSize *) 0 ;
2576 int arg2 ;
2577 PyObject * obj0 = 0 ;
994141e6 2578 PyObject * obj1 = 0 ;
d14a1e28
RD
2579 char *kwnames[] = {
2580 (char *) "self",(char *) "w", NULL
2581 };
2582
994141e6 2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2586 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 (arg1)->SetWidth(arg2);
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 Py_INCREF(Py_None); resultobj = Py_None;
2596 return resultobj;
2597 fail:
2598 return NULL;
2599}
2600
2601
c32bde28 2602static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2603 PyObject *resultobj;
2604 wxSize *arg1 = (wxSize *) 0 ;
2605 int arg2 ;
2606 PyObject * obj0 = 0 ;
994141e6 2607 PyObject * obj1 = 0 ;
d14a1e28
RD
2608 char *kwnames[] = {
2609 (char *) "self",(char *) "h", NULL
2610 };
2611
994141e6 2612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2615 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 2616 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2617 {
2618 PyThreadState* __tstate = wxPyBeginAllowThreads();
2619 (arg1)->SetHeight(arg2);
2620
2621 wxPyEndAllowThreads(__tstate);
2622 if (PyErr_Occurred()) SWIG_fail;
2623 }
2624 Py_INCREF(Py_None); resultobj = Py_None;
2625 return resultobj;
2626 fail:
2627 return NULL;
2628}
2629
2630
c32bde28 2631static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2632 PyObject *resultobj;
2633 wxSize *arg1 = (wxSize *) 0 ;
2634 int result;
2635 PyObject * obj0 = 0 ;
2636 char *kwnames[] = {
2637 (char *) "self", NULL
2638 };
2639
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2643 {
2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
2645 result = (int)((wxSize const *)arg1)->GetWidth();
2646
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) SWIG_fail;
2649 }
c32bde28 2650 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2651 return resultobj;
2652 fail:
2653 return NULL;
2654}
2655
2656
c32bde28 2657static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2658 PyObject *resultobj;
2659 wxSize *arg1 = (wxSize *) 0 ;
2660 int result;
2661 PyObject * obj0 = 0 ;
2662 char *kwnames[] = {
2663 (char *) "self", NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 result = (int)((wxSize const *)arg1)->GetHeight();
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
c32bde28 2676 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
2677 return resultobj;
2678 fail:
2679 return NULL;
2680}
2681
2682
c32bde28 2683static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
2684 PyObject *resultobj;
2685 wxSize *arg1 = (wxSize *) 0 ;
2686 bool result;
2687 PyObject * obj0 = 0 ;
2688 char *kwnames[] = {
2689 (char *) "self", NULL
2690 };
2691
2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2695 {
2696 PyThreadState* __tstate = wxPyBeginAllowThreads();
2697 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2698
2699 wxPyEndAllowThreads(__tstate);
2700 if (PyErr_Occurred()) SWIG_fail;
2701 }
2702 {
2703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2704 }
2705 return resultobj;
2706 fail:
2707 return NULL;
2708}
2709
2710
c32bde28 2711static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
2712 PyObject *resultobj;
2713 wxSize *arg1 = (wxSize *) 0 ;
2714 wxSize *arg2 = 0 ;
2715 wxSize temp2 ;
2716 PyObject * obj0 = 0 ;
2717 PyObject * obj1 = 0 ;
2718 char *kwnames[] = {
2719 (char *) "self",(char *) "size", NULL
2720 };
2721
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2725 {
2726 arg2 = &temp2;
2727 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2728 }
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 (arg1)->SetDefaults((wxSize const &)*arg2);
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 Py_INCREF(Py_None); resultobj = Py_None;
2737 return resultobj;
2738 fail:
2739 return NULL;
2740}
2741
2742
c32bde28 2743static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2744 PyObject *resultobj;
2745 wxSize *arg1 = (wxSize *) 0 ;
2746 PyObject *result;
2747 PyObject * obj0 = 0 ;
2748 char *kwnames[] = {
2749 (char *) "self", NULL
2750 };
2751
e811c8ce 2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2755 {
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2757 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2758
2759 wxPyEndAllowThreads(__tstate);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 }
2762 resultobj = result;
2763 return resultobj;
2764 fail:
2765 return NULL;
2766}
2767
2768
c32bde28 2769static PyObject * Size_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2770 PyObject *obj;
2771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2772 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2773 Py_INCREF(obj);
2774 return Py_BuildValue((char *)"");
2775}
c32bde28 2776static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2777 PyObject *resultobj;
2778 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2779 double arg2 ;
2780 PyObject * obj0 = 0 ;
994141e6 2781 PyObject * obj1 = 0 ;
d14a1e28
RD
2782 char *kwnames[] = {
2783 (char *) "self",(char *) "x", NULL
2784 };
2785
994141e6 2786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2789 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 2790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2791 if (arg1) (arg1)->x = arg2;
2792
2793 Py_INCREF(Py_None); resultobj = Py_None;
2794 return resultobj;
2795 fail:
2796 return NULL;
2797}
2798
2799
c32bde28 2800static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2801 PyObject *resultobj;
2802 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2803 double result;
2804 PyObject * obj0 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2812 result = (double) ((arg1)->x);
2813
c32bde28 2814 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
2815 return resultobj;
2816 fail:
2817 return NULL;
2818}
2819
2820
c32bde28 2821static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2822 PyObject *resultobj;
2823 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2824 double arg2 ;
2825 PyObject * obj0 = 0 ;
994141e6 2826 PyObject * obj1 = 0 ;
d14a1e28
RD
2827 char *kwnames[] = {
2828 (char *) "self",(char *) "y", NULL
2829 };
2830
994141e6 2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 2834 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 2835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2836 if (arg1) (arg1)->y = arg2;
2837
2838 Py_INCREF(Py_None); resultobj = Py_None;
2839 return resultobj;
2840 fail:
2841 return NULL;
2842}
2843
2844
c32bde28 2845static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2846 PyObject *resultobj;
2847 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2848 double result;
2849 PyObject * obj0 = 0 ;
2850 char *kwnames[] = {
2851 (char *) "self", NULL
2852 };
2853
2854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2857 result = (double) ((arg1)->y);
2858
c32bde28 2859 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
2860 return resultobj;
2861 fail:
2862 return NULL;
2863}
2864
2865
c32bde28 2866static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2867 PyObject *resultobj;
2868 double arg1 = (double) 0.0 ;
2869 double arg2 = (double) 0.0 ;
2870 wxRealPoint *result;
994141e6
RD
2871 PyObject * obj0 = 0 ;
2872 PyObject * obj1 = 0 ;
d14a1e28
RD
2873 char *kwnames[] = {
2874 (char *) "x",(char *) "y", NULL
2875 };
2876
994141e6
RD
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2878 if (obj0) {
c32bde28 2879 arg1 = (double)SWIG_As_double(obj0);
15afbcd0 2880 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2881 }
2882 if (obj1) {
c32bde28 2883 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 2884 if (PyErr_Occurred()) SWIG_fail;
994141e6 2885 }
d14a1e28
RD
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
15afbcd0 2893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2894 return resultobj;
2895 fail:
2896 return NULL;
2897}
2898
2899
c32bde28 2900static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2901 PyObject *resultobj;
2902 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2903 PyObject * obj0 = 0 ;
2904 char *kwnames[] = {
2905 (char *) "self", NULL
2906 };
2907
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
2909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 delete arg1;
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 Py_INCREF(Py_None); resultobj = Py_None;
2919 return resultobj;
2920 fail:
2921 return NULL;
2922}
2923
2924
c32bde28 2925static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2926 PyObject *resultobj;
2927 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2928 wxRealPoint *arg2 = 0 ;
e811c8ce 2929 bool result;
d14a1e28
RD
2930 wxRealPoint temp2 ;
2931 PyObject * obj0 = 0 ;
2932 PyObject * obj1 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self",(char *) "pt", NULL
2935 };
2936
e811c8ce 2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2940 {
2941 arg2 = &temp2;
2942 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2943 }
2944 {
2945 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2946 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2947
2948 wxPyEndAllowThreads(__tstate);
2949 if (PyErr_Occurred()) SWIG_fail;
2950 }
4f89f6a3
RD
2951 {
2952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2953 }
d14a1e28
RD
2954 return resultobj;
2955 fail:
2956 return NULL;
2957}
2958
2959
c32bde28 2960static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2961 PyObject *resultobj;
2962 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2963 wxRealPoint *arg2 = 0 ;
e811c8ce 2964 bool result;
d14a1e28
RD
2965 wxRealPoint temp2 ;
2966 PyObject * obj0 = 0 ;
2967 PyObject * obj1 = 0 ;
2968 char *kwnames[] = {
2969 (char *) "self",(char *) "pt", NULL
2970 };
2971
e811c8ce 2972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2975 {
2976 arg2 = &temp2;
2977 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2978 }
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2981 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
4f89f6a3
RD
2986 {
2987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2988 }
d14a1e28
RD
2989 return resultobj;
2990 fail:
2991 return NULL;
2992}
2993
2994
c32bde28 2995static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2996 PyObject *resultobj;
2997 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2998 wxRealPoint *arg2 = 0 ;
e811c8ce 2999 wxRealPoint result;
d14a1e28
RD
3000 wxRealPoint temp2 ;
3001 PyObject * obj0 = 0 ;
3002 PyObject * obj1 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self",(char *) "pt", NULL
3005 };
3006
e811c8ce 3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
3009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3010 {
3011 arg2 = &temp2;
3012 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
3013 }
3014 {
3015 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3016 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
3017
3018 wxPyEndAllowThreads(__tstate);
3019 if (PyErr_Occurred()) SWIG_fail;
3020 }
e811c8ce
RD
3021 {
3022 wxRealPoint * resultptr;
3023 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 3024 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 3025 }
d14a1e28
RD
3026 return resultobj;
3027 fail:
3028 return NULL;
3029}
3030
3031
c32bde28 3032static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3033 PyObject *resultobj;
3034 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3035 wxRealPoint *arg2 = 0 ;
e811c8ce 3036 wxRealPoint result;
d14a1e28
RD
3037 wxRealPoint temp2 ;
3038 PyObject * obj0 = 0 ;
3039 PyObject * obj1 = 0 ;
3040 char *kwnames[] = {
3041 (char *) "self",(char *) "pt", NULL
3042 };
3043
e811c8ce 3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
3046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3047 {
3048 arg2 = &temp2;
3049 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3053 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
e811c8ce
RD
3058 {
3059 wxRealPoint * resultptr;
3060 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 3061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 3062 }
d14a1e28
RD
3063 return resultobj;
3064 fail:
3065 return NULL;
3066}
3067
3068
c32bde28 3069static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3070 PyObject *resultobj;
3071 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3072 double arg2 ;
3073 double arg3 ;
3074 PyObject * obj0 = 0 ;
994141e6
RD
3075 PyObject * obj1 = 0 ;
3076 PyObject * obj2 = 0 ;
d14a1e28
RD
3077 char *kwnames[] = {
3078 (char *) "self",(char *) "x",(char *) "y", NULL
3079 };
3080
994141e6 3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
3083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3084 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 3085 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3086 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 3087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3088 {
3089 PyThreadState* __tstate = wxPyBeginAllowThreads();
3090 wxRealPoint_Set(arg1,arg2,arg3);
3091
3092 wxPyEndAllowThreads(__tstate);
3093 if (PyErr_Occurred()) SWIG_fail;
3094 }
3095 Py_INCREF(Py_None); resultobj = Py_None;
3096 return resultobj;
3097 fail:
3098 return NULL;
3099}
3100
3101
c32bde28 3102static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3103 PyObject *resultobj;
3104 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
3105 PyObject *result;
3106 PyObject * obj0 = 0 ;
3107 char *kwnames[] = {
3108 (char *) "self", NULL
3109 };
3110
e811c8ce 3111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
3113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3116 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 resultobj = result;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125}
3126
3127
c32bde28 3128static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3129 PyObject *obj;
3130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3131 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
3132 Py_INCREF(obj);
3133 return Py_BuildValue((char *)"");
3134}
c32bde28 3135static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3136 PyObject *resultobj;
3137 wxPoint *arg1 = (wxPoint *) 0 ;
3138 int arg2 ;
3139 PyObject * obj0 = 0 ;
994141e6 3140 PyObject * obj1 = 0 ;
d14a1e28
RD
3141 char *kwnames[] = {
3142 (char *) "self",(char *) "x", NULL
3143 };
3144
994141e6 3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3148 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3150 if (arg1) (arg1)->x = arg2;
3151
3152 Py_INCREF(Py_None); resultobj = Py_None;
3153 return resultobj;
3154 fail:
3155 return NULL;
3156}
3157
3158
c32bde28 3159static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3160 PyObject *resultobj;
3161 wxPoint *arg1 = (wxPoint *) 0 ;
3162 int result;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3171 result = (int) ((arg1)->x);
3172
c32bde28 3173 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3174 return resultobj;
3175 fail:
3176 return NULL;
3177}
3178
3179
c32bde28 3180static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3181 PyObject *resultobj;
3182 wxPoint *arg1 = (wxPoint *) 0 ;
3183 int arg2 ;
3184 PyObject * obj0 = 0 ;
994141e6 3185 PyObject * obj1 = 0 ;
d14a1e28
RD
3186 char *kwnames[] = {
3187 (char *) "self",(char *) "y", NULL
3188 };
3189
994141e6 3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3193 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3195 if (arg1) (arg1)->y = arg2;
3196
3197 Py_INCREF(Py_None); resultobj = Py_None;
3198 return resultobj;
3199 fail:
3200 return NULL;
3201}
3202
3203
c32bde28 3204static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3205 PyObject *resultobj;
3206 wxPoint *arg1 = (wxPoint *) 0 ;
3207 int result;
3208 PyObject * obj0 = 0 ;
3209 char *kwnames[] = {
3210 (char *) "self", NULL
3211 };
3212
3213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3216 result = (int) ((arg1)->y);
3217
c32bde28 3218 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3219 return resultobj;
3220 fail:
3221 return NULL;
3222}
3223
3224
c32bde28 3225static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3226 PyObject *resultobj;
3227 int arg1 = (int) 0 ;
3228 int arg2 = (int) 0 ;
3229 wxPoint *result;
994141e6
RD
3230 PyObject * obj0 = 0 ;
3231 PyObject * obj1 = 0 ;
d14a1e28
RD
3232 char *kwnames[] = {
3233 (char *) "x",(char *) "y", NULL
3234 };
3235
994141e6
RD
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
3237 if (obj0) {
c32bde28 3238 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 3239 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3240 }
3241 if (obj1) {
c32bde28 3242 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3243 if (PyErr_Occurred()) SWIG_fail;
994141e6 3244 }
d14a1e28
RD
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 result = (wxPoint *)new wxPoint(arg1,arg2);
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
15afbcd0 3252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3253 return resultobj;
3254 fail:
3255 return NULL;
3256}
3257
3258
c32bde28 3259static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3260 PyObject *resultobj;
3261 wxPoint *arg1 = (wxPoint *) 0 ;
3262 PyObject * obj0 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
15afbcd0
RD
3268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 delete arg1;
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 Py_INCREF(Py_None); resultobj = Py_None;
3278 return resultobj;
3279 fail:
3280 return NULL;
3281}
3282
3283
c32bde28 3284static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3285 PyObject *resultobj;
3286 wxPoint *arg1 = (wxPoint *) 0 ;
3287 wxPoint *arg2 = 0 ;
3288 bool result;
3289 wxPoint temp2 ;
3290 PyObject * obj0 = 0 ;
3291 PyObject * obj1 = 0 ;
3292 char *kwnames[] = {
e811c8ce 3293 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3299 {
3300 arg2 = &temp2;
3301 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3302 }
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3305 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
4f89f6a3
RD
3310 {
3311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3312 }
d14a1e28
RD
3313 return resultobj;
3314 fail:
3315 return NULL;
3316}
3317
3318
c32bde28 3319static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3320 PyObject *resultobj;
3321 wxPoint *arg1 = (wxPoint *) 0 ;
3322 wxPoint *arg2 = 0 ;
3323 bool result;
3324 wxPoint temp2 ;
3325 PyObject * obj0 = 0 ;
3326 PyObject * obj1 = 0 ;
3327 char *kwnames[] = {
e811c8ce 3328 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3329 };
3330
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3334 {
3335 arg2 = &temp2;
3336 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3337 }
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3340 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
4f89f6a3
RD
3345 {
3346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3347 }
d14a1e28
RD
3348 return resultobj;
3349 fail:
3350 return NULL;
3351}
3352
3353
c32bde28 3354static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3355 PyObject *resultobj;
3356 wxPoint *arg1 = (wxPoint *) 0 ;
3357 wxPoint *arg2 = 0 ;
3358 wxPoint result;
3359 wxPoint temp2 ;
3360 PyObject * obj0 = 0 ;
3361 PyObject * obj1 = 0 ;
3362 char *kwnames[] = {
e811c8ce 3363 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3369 {
3370 arg2 = &temp2;
3371 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3372 }
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3375 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 {
3381 wxPoint * resultptr;
3382 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3384 }
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
c32bde28 3391static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3392 PyObject *resultobj;
3393 wxPoint *arg1 = (wxPoint *) 0 ;
3394 wxPoint *arg2 = 0 ;
3395 wxPoint result;
3396 wxPoint temp2 ;
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
3399 char *kwnames[] = {
e811c8ce 3400 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3401 };
3402
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3406 {
3407 arg2 = &temp2;
3408 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3409 }
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3412 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 {
3418 wxPoint * resultptr;
3419 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3420 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3421 }
3422 return resultobj;
3423 fail:
3424 return NULL;
3425}
3426
3427
c32bde28 3428static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3429 PyObject *resultobj;
3430 wxPoint *arg1 = (wxPoint *) 0 ;
3431 wxPoint *arg2 = 0 ;
3432 wxPoint *result;
3433 wxPoint temp2 ;
3434 PyObject * obj0 = 0 ;
3435 PyObject * obj1 = 0 ;
3436 char *kwnames[] = {
e811c8ce 3437 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
c32bde28 3442 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
3443 {
3444 arg2 = &temp2;
3445 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3446 }
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 {
3450 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3451 result = (wxPoint *) &_result_ref;
3452 }
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
c32bde28 3457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3458 return resultobj;
3459 fail:
3460 return NULL;
3461}
3462
3463
c32bde28 3464static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3465 PyObject *resultobj;
3466 wxPoint *arg1 = (wxPoint *) 0 ;
3467 wxPoint *arg2 = 0 ;
3468 wxPoint *result;
3469 wxPoint temp2 ;
3470 PyObject * obj0 = 0 ;
3471 PyObject * obj1 = 0 ;
3472 char *kwnames[] = {
e811c8ce 3473 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3474 };
3475
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 3477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
c32bde28 3478 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
3479 {
3480 arg2 = &temp2;
3481 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3482 }
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 {
3486 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3487 result = (wxPoint *) &_result_ref;
3488 }
3489
3490 wxPyEndAllowThreads(__tstate);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
c32bde28 3493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3494 return resultobj;
3495 fail:
3496 return NULL;
3497}
3498
3499
c32bde28 3500static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3501 PyObject *resultobj;
3502 wxPoint *arg1 = (wxPoint *) 0 ;
3503 long arg2 ;
3504 long arg3 ;
3505 PyObject * obj0 = 0 ;
994141e6
RD
3506 PyObject * obj1 = 0 ;
3507 PyObject * obj2 = 0 ;
d14a1e28
RD
3508 char *kwnames[] = {
3509 (char *) "self",(char *) "x",(char *) "y", NULL
3510 };
3511
994141e6 3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3515 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 3516 if (PyErr_Occurred()) SWIG_fail;
c32bde28 3517 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 3518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 wxPoint_Set(arg1,arg2,arg3);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 return resultobj;
3528 fail:
3529 return NULL;
3530}
3531
3532
c32bde28 3533static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3534 PyObject *resultobj;
3535 wxPoint *arg1 = (wxPoint *) 0 ;
3536 PyObject *result;
3537 PyObject * obj0 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self", NULL
3540 };
3541
e811c8ce 3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3547 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 resultobj = result;
3553 return resultobj;
3554 fail:
3555 return NULL;
3556}
3557
3558
c32bde28 3559static PyObject * Point_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3560 PyObject *obj;
3561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3562 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3563 Py_INCREF(obj);
3564 return Py_BuildValue((char *)"");
3565}
c32bde28 3566static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3567 PyObject *resultobj;
3568 int arg1 = (int) 0 ;
3569 int arg2 = (int) 0 ;
3570 int arg3 = (int) 0 ;
3571 int arg4 = (int) 0 ;
3572 wxRect *result;
994141e6
RD
3573 PyObject * obj0 = 0 ;
3574 PyObject * obj1 = 0 ;
3575 PyObject * obj2 = 0 ;
3576 PyObject * obj3 = 0 ;
d14a1e28
RD
3577 char *kwnames[] = {
3578 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3579 };
3580
994141e6
RD
3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3582 if (obj0) {
c32bde28 3583 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 3584 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3585 }
3586 if (obj1) {
c32bde28 3587 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3588 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3589 }
3590 if (obj2) {
c32bde28 3591 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 3592 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3593 }
3594 if (obj3) {
c32bde28 3595 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 3596 if (PyErr_Occurred()) SWIG_fail;
994141e6 3597 }
d14a1e28
RD
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
15afbcd0 3605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3606 return resultobj;
3607 fail:
3608 return NULL;
3609}
3610
3611
c32bde28 3612static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3613 PyObject *resultobj;
3614 wxPoint *arg1 = 0 ;
3615 wxPoint *arg2 = 0 ;
3616 wxRect *result;
3617 wxPoint temp1 ;
3618 wxPoint temp2 ;
3619 PyObject * obj0 = 0 ;
3620 PyObject * obj1 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "topLeft",(char *) "bottomRight", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3626 {
3627 arg1 = &temp1;
3628 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3629 }
3630 {
3631 arg2 = &temp2;
3632 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3633 }
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
15afbcd0 3641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3642 return resultobj;
3643 fail:
3644 return NULL;
3645}
3646
3647
c32bde28 3648static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3649 PyObject *resultobj;
3650 wxPoint *arg1 = 0 ;
3651 wxSize *arg2 = 0 ;
3652 wxRect *result;
3653 wxPoint temp1 ;
3654 wxSize temp2 ;
3655 PyObject * obj0 = 0 ;
3656 PyObject * obj1 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "pos",(char *) "size", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3662 {
3663 arg1 = &temp1;
3664 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3665 }
3666 {
3667 arg2 = &temp2;
3668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3669 }
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
15afbcd0 3677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3678 return resultobj;
3679 fail:
3680 return NULL;
3681}
3682
3683
d3b6e4ff
RD
3684static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj;
3686 wxSize *arg1 = 0 ;
3687 wxRect *result;
3688 wxSize temp1 ;
3689 PyObject * obj0 = 0 ;
3690 char *kwnames[] = {
3691 (char *) "size", NULL
3692 };
3693
3694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RectS",kwnames,&obj0)) goto fail;
3695 {
3696 arg1 = &temp1;
3697 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
3698 }
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 result = (wxRect *)new wxRect((wxSize const &)*arg1);
3702
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
3707 return resultobj;
3708 fail:
3709 return NULL;
3710}
3711
3712
c32bde28 3713static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3714 PyObject *resultobj;
3715 wxRect *arg1 = (wxRect *) 0 ;
3716 PyObject * obj0 = 0 ;
3717 char *kwnames[] = {
3718 (char *) "self", NULL
3719 };
3720
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
15afbcd0
RD
3722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 delete arg1;
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 Py_INCREF(Py_None); resultobj = Py_None;
3732 return resultobj;
3733 fail:
3734 return NULL;
3735}
3736
3737
c32bde28 3738static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3739 PyObject *resultobj;
3740 wxRect *arg1 = (wxRect *) 0 ;
3741 int result;
3742 PyObject * obj0 = 0 ;
3743 char *kwnames[] = {
3744 (char *) "self", NULL
3745 };
3746
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
3748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 result = (int)((wxRect const *)arg1)->GetX();
3753
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
c32bde28 3757 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3758 return resultobj;
3759 fail:
3760 return NULL;
3761}
3762
3763
c32bde28 3764static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3765 PyObject *resultobj;
3766 wxRect *arg1 = (wxRect *) 0 ;
3767 int arg2 ;
3768 PyObject * obj0 = 0 ;
994141e6 3769 PyObject * obj1 = 0 ;
d14a1e28
RD
3770 char *kwnames[] = {
3771 (char *) "self",(char *) "x", NULL
3772 };
3773
994141e6 3774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3777 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3778 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 (arg1)->SetX(arg2);
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 Py_INCREF(Py_None); resultobj = Py_None;
3787 return resultobj;
3788 fail:
3789 return NULL;
3790}
3791
3792
c32bde28 3793static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3794 PyObject *resultobj;
3795 wxRect *arg1 = (wxRect *) 0 ;
3796 int result;
3797 PyObject * obj0 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
3803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 result = (int)(arg1)->GetY();
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) SWIG_fail;
3811 }
c32bde28 3812 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3813 return resultobj;
3814 fail:
3815 return NULL;
3816}
3817
3818
c32bde28 3819static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3820 PyObject *resultobj;
3821 wxRect *arg1 = (wxRect *) 0 ;
3822 int arg2 ;
3823 PyObject * obj0 = 0 ;
994141e6 3824 PyObject * obj1 = 0 ;
d14a1e28
RD
3825 char *kwnames[] = {
3826 (char *) "self",(char *) "y", NULL
3827 };
3828
994141e6 3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3832 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3834 {
3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
3836 (arg1)->SetY(arg2);
3837
3838 wxPyEndAllowThreads(__tstate);
3839 if (PyErr_Occurred()) SWIG_fail;
3840 }
3841 Py_INCREF(Py_None); resultobj = Py_None;
3842 return resultobj;
3843 fail:
3844 return NULL;
3845}
3846
3847
c32bde28 3848static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3849 PyObject *resultobj;
3850 wxRect *arg1 = (wxRect *) 0 ;
3851 int result;
3852 PyObject * obj0 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "self", NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3860 {
3861 PyThreadState* __tstate = wxPyBeginAllowThreads();
3862 result = (int)((wxRect const *)arg1)->GetWidth();
3863
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
c32bde28 3867 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3868 return resultobj;
3869 fail:
3870 return NULL;
3871}
3872
3873
c32bde28 3874static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3875 PyObject *resultobj;
3876 wxRect *arg1 = (wxRect *) 0 ;
3877 int arg2 ;
3878 PyObject * obj0 = 0 ;
994141e6 3879 PyObject * obj1 = 0 ;
d14a1e28
RD
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "w", NULL
3882 };
3883
994141e6 3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3887 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
3891 (arg1)->SetWidth(arg2);
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 Py_INCREF(Py_None); resultobj = Py_None;
3897 return resultobj;
3898 fail:
3899 return NULL;
3900}
3901
3902
c32bde28 3903static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3904 PyObject *resultobj;
3905 wxRect *arg1 = (wxRect *) 0 ;
3906 int result;
3907 PyObject * obj0 = 0 ;
3908 char *kwnames[] = {
3909 (char *) "self", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3915 {
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 result = (int)((wxRect const *)arg1)->GetHeight();
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
c32bde28 3922 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
3923 return resultobj;
3924 fail:
3925 return NULL;
3926}
3927
3928
c32bde28 3929static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3930 PyObject *resultobj;
3931 wxRect *arg1 = (wxRect *) 0 ;
3932 int arg2 ;
3933 PyObject * obj0 = 0 ;
994141e6 3934 PyObject * obj1 = 0 ;
d14a1e28
RD
3935 char *kwnames[] = {
3936 (char *) "self",(char *) "h", NULL
3937 };
3938
994141e6 3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 3942 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 3943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 (arg1)->SetHeight(arg2);
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 Py_INCREF(Py_None); resultobj = Py_None;
3952 return resultobj;
3953 fail:
3954 return NULL;
3955}
3956
3957
c32bde28 3958static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3959 PyObject *resultobj;
3960 wxRect *arg1 = (wxRect *) 0 ;
3961 wxPoint result;
3962 PyObject * obj0 = 0 ;
3963 char *kwnames[] = {
3964 (char *) "self", NULL
3965 };
3966
3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 result = ((wxRect const *)arg1)->GetPosition();
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 {
3978 wxPoint * resultptr;
3979 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3981 }
3982 return resultobj;
3983 fail:
3984 return NULL;
3985}
3986
3987
c32bde28 3988static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3989 PyObject *resultobj;
3990 wxRect *arg1 = (wxRect *) 0 ;
3991 wxPoint *arg2 = 0 ;
3992 wxPoint temp2 ;
3993 PyObject * obj0 = 0 ;
3994 PyObject * obj1 = 0 ;
3995 char *kwnames[] = {
3996 (char *) "self",(char *) "p", NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4002 {
4003 arg2 = &temp2;
4004 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4005 }
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 (arg1)->SetPosition((wxPoint const &)*arg2);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
c32bde28 4020static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4021 PyObject *resultobj;
4022 wxRect *arg1 = (wxRect *) 0 ;
4023 wxSize result;
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
4030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 result = ((wxRect const *)arg1)->GetSize();
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 {
4040 wxSize * resultptr;
4041 resultptr = new wxSize((wxSize &) result);
15afbcd0 4042 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
4043 }
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
c32bde28 4050static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4051 PyObject *resultobj;
4052 wxRect *arg1 = (wxRect *) 0 ;
4053 wxSize *arg2 = 0 ;
4054 wxSize temp2 ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 char *kwnames[] = {
4058 (char *) "self",(char *) "s", NULL
4059 };
4060
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4064 {
4065 arg2 = &temp2;
4066 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4067 }
4068 {
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
4070 (arg1)->SetSize((wxSize const &)*arg2);
4071
4072 wxPyEndAllowThreads(__tstate);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 Py_INCREF(Py_None); resultobj = Py_None;
4076 return resultobj;
4077 fail:
4078 return NULL;
4079}
4080
4081
c32bde28 4082static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
4083 PyObject *resultobj;
4084 wxRect *arg1 = (wxRect *) 0 ;
4085 wxPoint result;
4086 PyObject * obj0 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self", NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
4092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 result = ((wxRect const *)arg1)->GetTopLeft();
4097
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 {
4102 wxPoint * resultptr;
4103 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 4104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
4105 }
4106 return resultobj;
4107 fail:
4108 return NULL;
4109}
4110
4111
c32bde28 4112static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
4113 PyObject *resultobj;
4114 wxRect *arg1 = (wxRect *) 0 ;
4115 wxPoint *arg2 = 0 ;
4116 wxPoint temp2 ;
4117 PyObject * obj0 = 0 ;
4118 PyObject * obj1 = 0 ;
4119 char *kwnames[] = {
4120 (char *) "self",(char *) "p", NULL
4121 };
4122
4123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
4126 {
4127 arg2 = &temp2;
4128 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 (arg1)->SetTopLeft((wxPoint const &)*arg2);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 Py_INCREF(Py_None); resultobj = Py_None;
4138 return resultobj;
4139 fail:
4140 return NULL;
4141}
4142
4143
c32bde28 4144static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
4145 PyObject *resultobj;
4146 wxRect *arg1 = (wxRect *) 0 ;
4147 wxPoint result;
4148 PyObject * obj0 = 0 ;
4149 char *kwnames[] = {
4150 (char *) "self", NULL
4151 };
4152
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
4154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 result = ((wxRect const *)arg1)->GetBottomRight();
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 {
4164 wxPoint * resultptr;
4165 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 4166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
4167 }
4168 return resultobj;
4169 fail:
4170 return NULL;
4171}
4172
4173
c32bde28 4174static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
c9c7117a
RD
4175 PyObject *resultobj;
4176 wxRect *arg1 = (wxRect *) 0 ;
4177 wxPoint *arg2 = 0 ;
4178 wxPoint temp2 ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 char *kwnames[] = {
4182 (char *) "self",(char *) "p", NULL
4183 };
4184
4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
4188 {
4189 arg2 = &temp2;
4190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4191 }
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->SetBottomRight((wxPoint const &)*arg2);
4195
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 Py_INCREF(Py_None); resultobj = Py_None;
4200 return resultobj;
4201 fail:
4202 return NULL;
4203}
4204
4205
c32bde28 4206static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4207 PyObject *resultobj;
4208 wxRect *arg1 = (wxRect *) 0 ;
4209 int result;
4210 PyObject * obj0 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
4216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (int)((wxRect const *)arg1)->GetLeft();
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
c32bde28 4225 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4226 return resultobj;
4227 fail:
4228 return NULL;
4229}
4230
4231
c32bde28 4232static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4233 PyObject *resultobj;
4234 wxRect *arg1 = (wxRect *) 0 ;
4235 int result;
4236 PyObject * obj0 = 0 ;
4237 char *kwnames[] = {
4238 (char *) "self", NULL
4239 };
4240
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
4242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4244 {
4245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4246 result = (int)((wxRect const *)arg1)->GetTop();
4247
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
c32bde28 4251 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4252 return resultobj;
4253 fail:
4254 return NULL;
4255}
4256
4257
c32bde28 4258static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4259 PyObject *resultobj;
4260 wxRect *arg1 = (wxRect *) 0 ;
4261 int result;
4262 PyObject * obj0 = 0 ;
4263 char *kwnames[] = {
4264 (char *) "self", NULL
4265 };
4266
4267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
15afbcd0
RD
4268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 result = (int)((wxRect const *)arg1)->GetBottom();
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
c32bde28 4277 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4278 return resultobj;
4279 fail:
4280 return NULL;
4281}
4282
4283
c32bde28 4284static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4285 PyObject *resultobj;
4286 wxRect *arg1 = (wxRect *) 0 ;
4287 int result;
4288 PyObject * obj0 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
4294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (int)((wxRect const *)arg1)->GetRight();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
c32bde28 4303 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4304 return resultobj;
4305 fail:
4306 return NULL;
4307}
4308
4309
c32bde28 4310static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4311 PyObject *resultobj;
4312 wxRect *arg1 = (wxRect *) 0 ;
4313 int arg2 ;
4314 PyObject * obj0 = 0 ;
994141e6 4315 PyObject * obj1 = 0 ;
d14a1e28
RD
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "left", NULL
4318 };
4319
994141e6 4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4323 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4324 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4325 {
4326 PyThreadState* __tstate = wxPyBeginAllowThreads();
4327 (arg1)->SetLeft(arg2);
4328
4329 wxPyEndAllowThreads(__tstate);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 }
4332 Py_INCREF(Py_None); resultobj = Py_None;
4333 return resultobj;
4334 fail:
4335 return NULL;
4336}
4337
4338
c32bde28 4339static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4340 PyObject *resultobj;
4341 wxRect *arg1 = (wxRect *) 0 ;
4342 int arg2 ;
4343 PyObject * obj0 = 0 ;
994141e6 4344 PyObject * obj1 = 0 ;
d14a1e28
RD
4345 char *kwnames[] = {
4346 (char *) "self",(char *) "right", NULL
4347 };
4348
994141e6 4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4352 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4353 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4354 {
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 (arg1)->SetRight(arg2);
4357
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
4361 Py_INCREF(Py_None); resultobj = Py_None;
4362 return resultobj;
4363 fail:
4364 return NULL;
4365}
4366
4367
c32bde28 4368static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4369 PyObject *resultobj;
4370 wxRect *arg1 = (wxRect *) 0 ;
4371 int arg2 ;
4372 PyObject * obj0 = 0 ;
994141e6 4373 PyObject * obj1 = 0 ;
d14a1e28
RD
4374 char *kwnames[] = {
4375 (char *) "self",(char *) "top", NULL
4376 };
4377
994141e6 4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4381 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4382 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 (arg1)->SetTop(arg2);
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 Py_INCREF(Py_None); resultobj = Py_None;
4391 return resultobj;
4392 fail:
4393 return NULL;
4394}
4395
4396
c32bde28 4397static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4398 PyObject *resultobj;
4399 wxRect *arg1 = (wxRect *) 0 ;
4400 int arg2 ;
4401 PyObject * obj0 = 0 ;
994141e6 4402 PyObject * obj1 = 0 ;
d14a1e28
RD
4403 char *kwnames[] = {
4404 (char *) "self",(char *) "bottom", NULL
4405 };
4406
994141e6 4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4410 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 (arg1)->SetBottom(arg2);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 Py_INCREF(Py_None); resultobj = Py_None;
4420 return resultobj;
4421 fail:
4422 return NULL;
4423}
4424
4425
c32bde28 4426static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4427 PyObject *resultobj;
4428 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4429 int arg2 ;
4430 int arg3 ;
d14a1e28
RD
4431 wxRect *result;
4432 PyObject * obj0 = 0 ;
994141e6
RD
4433 PyObject * obj1 = 0 ;
4434 PyObject * obj2 = 0 ;
d14a1e28
RD
4435 char *kwnames[] = {
4436 (char *) "self",(char *) "dx",(char *) "dy", NULL
4437 };
4438
994141e6 4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4442 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4443 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4444 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 {
4449 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4450 result = (wxRect *) &_result_ref;
4451 }
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
15afbcd0 4456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4457 return resultobj;
4458 fail:
4459 return NULL;
4460}
4461
4462
c32bde28 4463static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4464 PyObject *resultobj;
4465 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4466 int arg2 ;
4467 int arg3 ;
d14a1e28
RD
4468 wxRect *result;
4469 PyObject * obj0 = 0 ;
994141e6
RD
4470 PyObject * obj1 = 0 ;
4471 PyObject * obj2 = 0 ;
d14a1e28
RD
4472 char *kwnames[] = {
4473 (char *) "self",(char *) "dx",(char *) "dy", NULL
4474 };
4475
994141e6 4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4479 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4480 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4481 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 {
4486 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4487 result = (wxRect *) &_result_ref;
4488 }
4489
4490 wxPyEndAllowThreads(__tstate);
4491 if (PyErr_Occurred()) SWIG_fail;
4492 }
15afbcd0 4493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4494 return resultobj;
4495 fail:
4496 return NULL;
4497}
4498
4499
c32bde28 4500static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4501 PyObject *resultobj;
4502 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4503 int arg2 ;
4504 int arg3 ;
d14a1e28 4505 PyObject * obj0 = 0 ;
994141e6
RD
4506 PyObject * obj1 = 0 ;
4507 PyObject * obj2 = 0 ;
d14a1e28
RD
4508 char *kwnames[] = {
4509 (char *) "self",(char *) "dx",(char *) "dy", NULL
4510 };
4511
994141e6 4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4515 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4516 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4517 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 (arg1)->Offset(arg2,arg3);
4522
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 Py_INCREF(Py_None); resultobj = Py_None;
4527 return resultobj;
4528 fail:
4529 return NULL;
4530}
4531
4532
c32bde28 4533static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4534 PyObject *resultobj;
4535 wxRect *arg1 = (wxRect *) 0 ;
4536 wxPoint *arg2 = 0 ;
4537 wxPoint temp2 ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4540 char *kwnames[] = {
4541 (char *) "self",(char *) "pt", NULL
4542 };
4543
4544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4547 {
4548 arg2 = &temp2;
4549 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4550 }
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 (arg1)->Offset((wxPoint const &)*arg2);
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 Py_INCREF(Py_None); resultobj = Py_None;
4559 return resultobj;
4560 fail:
4561 return NULL;
4562}
4563
4564
c32bde28 4565static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4566 PyObject *resultobj;
4567 wxRect *arg1 = (wxRect *) 0 ;
4568 wxRect *arg2 = 0 ;
4569 wxRect *result;
4570 wxRect temp2 ;
4571 PyObject * obj0 = 0 ;
4572 PyObject * obj1 = 0 ;
4573 char *kwnames[] = {
4574 (char *) "self",(char *) "rect", NULL
4575 };
4576
4577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4580 {
4581 arg2 = &temp2;
4582 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4583 }
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 {
4587 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4588 result = (wxRect *) &_result_ref;
4589 }
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
15afbcd0 4594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4595 return resultobj;
4596 fail:
4597 return NULL;
4598}
4599
4600
c32bde28 4601static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4602 PyObject *resultobj;
4603 wxRect *arg1 = (wxRect *) 0 ;
4604 wxRect *arg2 = 0 ;
4605 wxRect result;
4606 wxRect temp2 ;
4607 PyObject * obj0 = 0 ;
4608 PyObject * obj1 = 0 ;
4609 char *kwnames[] = {
4610 (char *) "self",(char *) "rect", NULL
4611 };
4612
4613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4616 {
4617 arg2 = &temp2;
4618 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4619 }
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 {
4628 wxRect * resultptr;
4629 resultptr = new wxRect((wxRect &) result);
15afbcd0 4630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4631 }
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
c32bde28 4638static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4639 PyObject *resultobj;
4640 wxRect *arg1 = (wxRect *) 0 ;
4641 wxRect *arg2 = 0 ;
4642 wxRect *result;
4643 wxRect temp2 ;
4644 PyObject * obj0 = 0 ;
4645 PyObject * obj1 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self",(char *) "rect", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 4651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
c32bde28 4652 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
4653 {
4654 arg2 = &temp2;
4655 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4656 }
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
4659 {
4660 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4661 result = (wxRect *) &_result_ref;
4662 }
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
c32bde28 4667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
c32bde28 4674static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4675 PyObject *resultobj;
4676 wxRect *arg1 = (wxRect *) 0 ;
4677 wxRect *arg2 = 0 ;
4678 bool result;
4679 wxRect temp2 ;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "rect", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4689 {
4690 arg2 = &temp2;
4691 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4f89f6a3
RD
4700 {
4701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4702 }
d14a1e28
RD
4703 return resultobj;
4704 fail:
4705 return NULL;
4706}
4707
4708
c32bde28 4709static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4710 PyObject *resultobj;
4711 wxRect *arg1 = (wxRect *) 0 ;
4712 wxRect *arg2 = 0 ;
4713 bool result;
4714 wxRect temp2 ;
4715 PyObject * obj0 = 0 ;
4716 PyObject * obj1 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self",(char *) "rect", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4724 {
4725 arg2 = &temp2;
4726 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4727 }
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4f89f6a3
RD
4735 {
4736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4737 }
d14a1e28
RD
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
c32bde28 4744static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4745 PyObject *resultobj;
4746 wxRect *arg1 = (wxRect *) 0 ;
4747 int arg2 ;
4748 int arg3 ;
4749 bool result;
4750 PyObject * obj0 = 0 ;
994141e6
RD
4751 PyObject * obj1 = 0 ;
4752 PyObject * obj2 = 0 ;
d14a1e28
RD
4753 char *kwnames[] = {
4754 (char *) "self",(char *) "x",(char *) "y", NULL
4755 };
4756
994141e6 4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4760 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4761 if (PyErr_Occurred()) SWIG_fail;
c32bde28 4762 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 4763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4f89f6a3
RD
4771 {
4772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4773 }
d14a1e28
RD
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
c32bde28 4780static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4781 PyObject *resultobj;
4782 wxRect *arg1 = (wxRect *) 0 ;
4783 wxPoint *arg2 = 0 ;
4784 bool result;
4785 wxPoint temp2 ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self",(char *) "pt", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4795 {
4796 arg2 = &temp2;
4797 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4798 }
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4f89f6a3
RD
4806 {
4807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4808 }
d14a1e28
RD
4809 return resultobj;
4810 fail:
4811 return NULL;
4812}
4813
4814
c32bde28 4815static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4816 PyObject *resultobj;
4817 wxRect *arg1 = (wxRect *) 0 ;
4818 wxRect *arg2 = 0 ;
4819 bool result;
4820 wxRect temp2 ;
4821 PyObject * obj0 = 0 ;
4822 PyObject * obj1 = 0 ;
4823 char *kwnames[] = {
4824 (char *) "self",(char *) "rect", NULL
4825 };
4826
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4830 {
4831 arg2 = &temp2;
4832 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4833 }
4834 {
4835 PyThreadState* __tstate = wxPyBeginAllowThreads();
4836 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4837
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4f89f6a3
RD
4841 {
4842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4843 }
d14a1e28
RD
4844 return resultobj;
4845 fail:
4846 return NULL;
4847}
4848
4849
c32bde28 4850static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4851 PyObject *resultobj;
4852 wxRect *arg1 = (wxRect *) 0 ;
4853 int arg2 ;
4854 PyObject * obj0 = 0 ;
994141e6 4855 PyObject * obj1 = 0 ;
d14a1e28
RD
4856 char *kwnames[] = {
4857 (char *) "self",(char *) "x", NULL
4858 };
4859
994141e6 4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4863 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4865 if (arg1) (arg1)->x = arg2;
4866
4867 Py_INCREF(Py_None); resultobj = Py_None;
4868 return resultobj;
4869 fail:
4870 return NULL;
4871}
4872
4873
c32bde28 4874static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4875 PyObject *resultobj;
4876 wxRect *arg1 = (wxRect *) 0 ;
4877 int result;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self", NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4886 result = (int) ((arg1)->x);
4887
c32bde28 4888 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
c32bde28 4895static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4896 PyObject *resultobj;
4897 wxRect *arg1 = (wxRect *) 0 ;
4898 int arg2 ;
4899 PyObject * obj0 = 0 ;
994141e6 4900 PyObject * obj1 = 0 ;
d14a1e28
RD
4901 char *kwnames[] = {
4902 (char *) "self",(char *) "y", NULL
4903 };
4904
994141e6 4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4908 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4910 if (arg1) (arg1)->y = arg2;
4911
4912 Py_INCREF(Py_None); resultobj = Py_None;
4913 return resultobj;
4914 fail:
4915 return NULL;
4916}
4917
4918
c32bde28 4919static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4920 PyObject *resultobj;
4921 wxRect *arg1 = (wxRect *) 0 ;
4922 int result;
4923 PyObject * obj0 = 0 ;
4924 char *kwnames[] = {
4925 (char *) "self", NULL
4926 };
4927
4928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4931 result = (int) ((arg1)->y);
4932
c32bde28 4933 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4934 return resultobj;
4935 fail:
4936 return NULL;
4937}
4938
4939
c32bde28 4940static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4941 PyObject *resultobj;
4942 wxRect *arg1 = (wxRect *) 0 ;
4943 int arg2 ;
4944 PyObject * obj0 = 0 ;
994141e6 4945 PyObject * obj1 = 0 ;
d14a1e28
RD
4946 char *kwnames[] = {
4947 (char *) "self",(char *) "width", NULL
4948 };
4949
994141e6 4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4953 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4955 if (arg1) (arg1)->width = arg2;
4956
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 return resultobj;
4959 fail:
4960 return NULL;
4961}
4962
4963
c32bde28 4964static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4965 PyObject *resultobj;
4966 wxRect *arg1 = (wxRect *) 0 ;
4967 int result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4976 result = (int) ((arg1)->width);
4977
c32bde28 4978 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
4979 return resultobj;
4980 fail:
4981 return NULL;
4982}
4983
4984
c32bde28 4985static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4986 PyObject *resultobj;
4987 wxRect *arg1 = (wxRect *) 0 ;
4988 int arg2 ;
4989 PyObject * obj0 = 0 ;
994141e6 4990 PyObject * obj1 = 0 ;
d14a1e28
RD
4991 char *kwnames[] = {
4992 (char *) "self",(char *) "height", NULL
4993 };
4994
994141e6 4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 4998 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 4999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5000 if (arg1) (arg1)->height = arg2;
5001
5002 Py_INCREF(Py_None); resultobj = Py_None;
5003 return resultobj;
5004 fail:
5005 return NULL;
5006}
5007
5008
c32bde28 5009static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5010 PyObject *resultobj;
5011 wxRect *arg1 = (wxRect *) 0 ;
5012 int result;
5013 PyObject * obj0 = 0 ;
5014 char *kwnames[] = {
5015 (char *) "self", NULL
5016 };
5017
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
5020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5021 result = (int) ((arg1)->height);
5022
c32bde28 5023 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
5024 return resultobj;
5025 fail:
5026 return NULL;
5027}
5028
5029
c32bde28 5030static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5031 PyObject *resultobj;
5032 wxRect *arg1 = (wxRect *) 0 ;
5033 int arg2 = (int) 0 ;
5034 int arg3 = (int) 0 ;
5035 int arg4 = (int) 0 ;
5036 int arg5 = (int) 0 ;
5037 PyObject * obj0 = 0 ;
994141e6
RD
5038 PyObject * obj1 = 0 ;
5039 PyObject * obj2 = 0 ;
5040 PyObject * obj3 = 0 ;
5041 PyObject * obj4 = 0 ;
d14a1e28
RD
5042 char *kwnames[] = {
5043 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5044 };
5045
994141e6 5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
5047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
5048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5049 if (obj1) {
c32bde28 5050 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 5051 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5052 }
5053 if (obj2) {
c32bde28 5054 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 5055 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5056 }
5057 if (obj3) {
c32bde28 5058 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 5059 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5060 }
5061 if (obj4) {
c32bde28 5062 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 5063 if (PyErr_Occurred()) SWIG_fail;
994141e6 5064 }
d14a1e28
RD
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 Py_INCREF(Py_None); resultobj = Py_None;
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
c32bde28 5079static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5080 PyObject *resultobj;
5081 wxRect *arg1 = (wxRect *) 0 ;
5082 PyObject *result;
5083 PyObject * obj0 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self", NULL
5086 };
5087
e811c8ce 5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5093 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 resultobj = result;
5099 return resultobj;
5100 fail:
5101 return NULL;
5102}
5103
5104
c32bde28 5105static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5106 PyObject *obj;
5107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5108 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
5109 Py_INCREF(obj);
5110 return Py_BuildValue((char *)"");
5111}
c32bde28 5112static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5113 PyObject *resultobj;
5114 wxRect *arg1 = (wxRect *) 0 ;
5115 wxRect *arg2 = (wxRect *) 0 ;
5116 PyObject *result;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "r1",(char *) "r2", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
5127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 5128 {
e3b71cb8 5129 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5130 PyThreadState* __tstate = wxPyBeginAllowThreads();
5131 result = (PyObject *)wxIntersectRect(arg1,arg2);
5132
5133 wxPyEndAllowThreads(__tstate);
110da5b0 5134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5135 }
5136 resultobj = result;
5137 return resultobj;
5138 fail:
5139 return NULL;
5140}
5141
5142
c32bde28 5143static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5144 PyObject *resultobj;
5145 double arg1 = (double) 0.0 ;
5146 double arg2 = (double) 0.0 ;
5147 wxPoint2D *result;
994141e6
RD
5148 PyObject * obj0 = 0 ;
5149 PyObject * obj1 = 0 ;
d14a1e28
RD
5150 char *kwnames[] = {
5151 (char *) "x",(char *) "y", NULL
5152 };
5153
994141e6
RD
5154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
5155 if (obj0) {
c32bde28 5156 arg1 = (double)SWIG_As_double(obj0);
15afbcd0 5157 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5158 }
5159 if (obj1) {
c32bde28 5160 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 5161 if (PyErr_Occurred()) SWIG_fail;
994141e6 5162 }
d14a1e28
RD
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
15afbcd0 5170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5171 return resultobj;
5172 fail:
5173 return NULL;
5174}
5175
5176
c32bde28 5177static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5178 PyObject *resultobj;
5179 wxPoint2D *arg1 = 0 ;
5180 wxPoint2D *result;
5181 wxPoint2D temp1 ;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "pt", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
5188 {
5189 arg1 = &temp1;
5190 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
5191 }
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
15afbcd0 5199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5200 return resultobj;
5201 fail:
5202 return NULL;
5203}
5204
5205
c32bde28 5206static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5207 PyObject *resultobj;
5208 wxPoint *arg1 = 0 ;
5209 wxPoint2D *result;
5210 wxPoint temp1 ;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "pt", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
5217 {
5218 arg1 = &temp1;
5219 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5220 }
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
15afbcd0 5228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5229 return resultobj;
5230 fail:
5231 return NULL;
5232}
5233
5234
c32bde28 5235static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5236 PyObject *resultobj;
5237 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5238 int *arg2 = (int *) 0 ;
5239 int *arg3 = (int *) 0 ;
5240 int temp2 ;
c32bde28 5241 int res2 = 0 ;
d14a1e28 5242 int temp3 ;
c32bde28 5243 int res3 = 0 ;
d14a1e28
RD
5244 PyObject * obj0 = 0 ;
5245 char *kwnames[] = {
5246 (char *) "self", NULL
5247 };
5248
c32bde28
RD
5249 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5250 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
15afbcd0
RD
5252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5254 {
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
5257
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5262 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5263 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5264 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5265 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
5266 return resultobj;
5267 fail:
5268 return NULL;
5269}
5270
5271
c32bde28 5272static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5273 PyObject *resultobj;
5274 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5275 int *arg2 = (int *) 0 ;
5276 int *arg3 = (int *) 0 ;
5277 int temp2 ;
c32bde28 5278 int res2 = 0 ;
d14a1e28 5279 int temp3 ;
c32bde28 5280 int res3 = 0 ;
d14a1e28
RD
5281 PyObject * obj0 = 0 ;
5282 char *kwnames[] = {
5283 (char *) "self", NULL
5284 };
5285
c32bde28
RD
5286 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5287 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
15afbcd0
RD
5289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5299 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5300 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5301 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5302 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
5303 return resultobj;
5304 fail:
5305 return NULL;
5306}
5307
5308
c32bde28 5309static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5310 PyObject *resultobj;
5311 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5312 double result;
5313 PyObject * obj0 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
5319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
5324
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
c32bde28 5328 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5329 return resultobj;
5330 fail:
5331 return NULL;
5332}
5333
5334
c32bde28 5335static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5336 PyObject *resultobj;
5337 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5338 double result;
5339 PyObject * obj0 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "self", NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
15afbcd0
RD
5345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
c32bde28 5354 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5355 return resultobj;
5356 fail:
5357 return NULL;
5358}
5359
5360
c32bde28 5361static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5362 PyObject *resultobj;
5363 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5364 double arg2 ;
5365 PyObject * obj0 = 0 ;
994141e6 5366 PyObject * obj1 = 0 ;
d14a1e28
RD
5367 char *kwnames[] = {
5368 (char *) "self",(char *) "length", NULL
5369 };
5370
994141e6 5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5374 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 5375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->SetVectorLength(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387}
5388
5389
c32bde28 5390static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5391 PyObject *resultobj;
5392 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5393 double arg2 ;
5394 PyObject * obj0 = 0 ;
994141e6 5395 PyObject * obj1 = 0 ;
d14a1e28
RD
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "degrees", NULL
5398 };
5399
994141e6 5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5403 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 5404 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 (arg1)->SetVectorAngle(arg2);
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 Py_INCREF(Py_None); resultobj = Py_None;
5413 return resultobj;
5414 fail:
5415 return NULL;
5416}
5417
5418
c32bde28 5419static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5420 PyObject *resultobj;
5421 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5422 wxPoint2D *arg2 = 0 ;
5423 double result;
5424 wxPoint2D temp2 ;
5425 PyObject * obj0 = 0 ;
5426 PyObject * obj1 = 0 ;
5427 char *kwnames[] = {
5428 (char *) "self",(char *) "pt", NULL
5429 };
5430
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5434 {
5435 arg2 = &temp2;
5436 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5437 }
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
c32bde28 5445 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5446 return resultobj;
5447 fail:
5448 return NULL;
5449}
5450
5451
c32bde28 5452static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5453 PyObject *resultobj;
5454 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5455 wxPoint2D *arg2 = 0 ;
5456 double result;
5457 wxPoint2D temp2 ;
5458 PyObject * obj0 = 0 ;
5459 PyObject * obj1 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self",(char *) "pt", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5467 {
5468 arg2 = &temp2;
5469 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
c32bde28 5478 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5479 return resultobj;
5480 fail:
5481 return NULL;
5482}
5483
5484
c32bde28 5485static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5486 PyObject *resultobj;
5487 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5488 wxPoint2D *arg2 = 0 ;
5489 double result;
5490 wxPoint2D temp2 ;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "vec", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5500 {
5501 arg2 = &temp2;
5502 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
c32bde28 5511 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5512 return resultobj;
5513 fail:
5514 return NULL;
5515}
5516
5517
c32bde28 5518static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5519 PyObject *resultobj;
5520 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5521 wxPoint2D *arg2 = 0 ;
5522 double result;
5523 wxPoint2D temp2 ;
5524 PyObject * obj0 = 0 ;
5525 PyObject * obj1 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "vec", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5533 {
5534 arg2 = &temp2;
5535 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
c32bde28 5544 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5545 return resultobj;
5546 fail:
5547 return NULL;
5548}
5549
5550
c32bde28 5551static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5552 PyObject *resultobj;
5553 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5554 wxPoint2D result;
5555 PyObject * obj0 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = (arg1)->operator -();
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 {
5571 wxPoint2D * resultptr;
5572 resultptr = new wxPoint2D((wxPoint2D &) result);
15afbcd0 5573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5574 }
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
c32bde28 5581static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5582 PyObject *resultobj;
5583 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5584 wxPoint2D *arg2 = 0 ;
5585 wxPoint2D *result;
5586 wxPoint2D temp2 ;
5587 PyObject * obj0 = 0 ;
5588 PyObject * obj1 = 0 ;
5589 char *kwnames[] = {
5590 (char *) "self",(char *) "pt", NULL
5591 };
5592
5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 5594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5595 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
5596 {
5597 arg2 = &temp2;
5598 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5599 }
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 {
5603 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5604 result = (wxPoint2D *) &_result_ref;
5605 }
5606
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
c32bde28 5610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5611 return resultobj;
5612 fail:
5613 return NULL;
5614}
5615
5616
c32bde28 5617static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5618 PyObject *resultobj;
5619 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5620 wxPoint2D *arg2 = 0 ;
5621 wxPoint2D *result;
5622 wxPoint2D temp2 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self",(char *) "pt", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 5630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5631 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
5632 {
5633 arg2 = &temp2;
5634 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5635 }
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 {
5639 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5640 result = (wxPoint2D *) &_result_ref;
5641 }
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
c32bde28 5646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5647 return resultobj;
5648 fail:
5649 return NULL;
5650}
5651
5652
c32bde28 5653static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5654 PyObject *resultobj;
5655 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5656 wxPoint2D *arg2 = 0 ;
5657 wxPoint2D *result;
5658 wxPoint2D temp2 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "pt", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 5666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5667 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
5668 {
5669 arg2 = &temp2;
5670 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5671 }
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 {
5675 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5676 result = (wxPoint2D *) &_result_ref;
5677 }
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
c32bde28 5682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5683 return resultobj;
5684 fail:
5685 return NULL;
5686}
5687
5688
c32bde28 5689static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5690 PyObject *resultobj;
5691 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5692 wxPoint2D *arg2 = 0 ;
5693 wxPoint2D *result;
5694 wxPoint2D temp2 ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self",(char *) "pt", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0 5702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
c32bde28 5703 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
5704 {
5705 arg2 = &temp2;
5706 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5707 }
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 {
5711 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5712 result = (wxPoint2D *) &_result_ref;
5713 }
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
c32bde28 5718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5719 return resultobj;
5720 fail:
5721 return NULL;
5722}
5723
5724
c32bde28 5725static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5726 PyObject *resultobj;
5727 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5728 wxPoint2D *arg2 = 0 ;
5729 bool result;
5730 wxPoint2D temp2 ;
5731 PyObject * obj0 = 0 ;
5732 PyObject * obj1 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "pt", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5740 {
5741 arg2 = &temp2;
5742 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5743 }
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
4f89f6a3
RD
5751 {
5752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5753 }
d14a1e28
RD
5754 return resultobj;
5755 fail:
5756 return NULL;
5757}
5758
5759
c32bde28 5760static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5761 PyObject *resultobj;
5762 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5763 wxPoint2D *arg2 = 0 ;
5764 bool result;
5765 wxPoint2D temp2 ;
5766 PyObject * obj0 = 0 ;
5767 PyObject * obj1 = 0 ;
5768 char *kwnames[] = {
5769 (char *) "self",(char *) "pt", NULL
5770 };
5771
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5775 {
5776 arg2 = &temp2;
5777 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5778 }
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
4f89f6a3
RD
5786 {
5787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5788 }
d14a1e28
RD
5789 return resultobj;
5790 fail:
5791 return NULL;
5792}
5793
5794
c32bde28 5795static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5796 PyObject *resultobj;
5797 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5798 double arg2 ;
5799 PyObject * obj0 = 0 ;
994141e6 5800 PyObject * obj1 = 0 ;
d14a1e28
RD
5801 char *kwnames[] = {
5802 (char *) "self",(char *) "m_x", NULL
5803 };
5804
994141e6 5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5808 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 5809 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5810 if (arg1) (arg1)->m_x = arg2;
5811
5812 Py_INCREF(Py_None); resultobj = Py_None;
5813 return resultobj;
5814 fail:
5815 return NULL;
5816}
5817
5818
c32bde28 5819static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5820 PyObject *resultobj;
5821 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5822 double result;
5823 PyObject * obj0 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5831 result = (double) ((arg1)->m_x);
5832
c32bde28 5833 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5834 return resultobj;
5835 fail:
5836 return NULL;
5837}
5838
5839
c32bde28 5840static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5841 PyObject *resultobj;
5842 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5843 double arg2 ;
5844 PyObject * obj0 = 0 ;
994141e6 5845 PyObject * obj1 = 0 ;
d14a1e28
RD
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "m_y", NULL
5848 };
5849
994141e6 5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 5853 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 5854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5855 if (arg1) (arg1)->m_y = arg2;
5856
5857 Py_INCREF(Py_None); resultobj = Py_None;
5858 return resultobj;
5859 fail:
5860 return NULL;
5861}
5862
5863
c32bde28 5864static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5865 PyObject *resultobj;
5866 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5867 double result;
5868 PyObject * obj0 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5876 result = (double) ((arg1)->m_y);
5877
c32bde28 5878 resultobj = SWIG_From_double((double)result);
d14a1e28
RD
5879 return resultobj;
5880 fail:
5881 return NULL;
5882}
5883
5884
c32bde28 5885static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5886 PyObject *resultobj;
5887 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5888 double arg2 = (double) 0 ;
5889 double arg3 = (double) 0 ;
5890 PyObject * obj0 = 0 ;
994141e6
RD
5891 PyObject * obj1 = 0 ;
5892 PyObject * obj2 = 0 ;
d14a1e28
RD
5893 char *kwnames[] = {
5894 (char *) "self",(char *) "x",(char *) "y", NULL
5895 };
5896
994141e6 5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5900 if (obj1) {
c32bde28 5901 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 5902 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5903 }
5904 if (obj2) {
c32bde28 5905 arg3 = (double)SWIG_As_double(obj2);
15afbcd0 5906 if (PyErr_Occurred()) SWIG_fail;
994141e6 5907 }
d14a1e28
RD
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 wxPoint2D_Set(arg1,arg2,arg3);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919}
5920
5921
c32bde28 5922static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5923 PyObject *resultobj;
5924 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5925 PyObject *result;
5926 PyObject * obj0 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self", NULL
5929 };
5930
e811c8ce 5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5936 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 resultobj = result;
5942 return resultobj;
5943 fail:
5944 return NULL;
5945}
5946
5947
c32bde28 5948static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5949 PyObject *obj;
5950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5951 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5952 Py_INCREF(obj);
5953 return Py_BuildValue((char *)"");
5954}
c32bde28 5955static int _wrap_DefaultPosition_set(PyObject *) {
d14a1e28
RD
5956 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5957 return 1;
5958}
5959
5960
5961static PyObject *_wrap_DefaultPosition_get() {
5962 PyObject *pyobj;
5963
15afbcd0 5964 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5965 return pyobj;
5966}
5967
5968
c32bde28 5969static int _wrap_DefaultSize_set(PyObject *) {
d14a1e28
RD
5970 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5971 return 1;
5972}
5973
5974
5975static PyObject *_wrap_DefaultSize_get() {
5976 PyObject *pyobj;
5977
15afbcd0 5978 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5979 return pyobj;
5980}
5981
5982
c32bde28 5983static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5984 PyObject *resultobj;
5985 PyObject *arg1 = (PyObject *) 0 ;
5986 wxPyInputStream *result;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "p", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5993 arg1 = obj0;
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
15afbcd0 6001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
8fb0e70a
RD
6008static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6011 PyObject * obj0 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_InputStream",kwnames,&obj0)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 delete arg1;
6022
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 Py_INCREF(Py_None); resultobj = Py_None;
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
c32bde28 6033static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6034 PyObject *resultobj;
6035 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6036 PyObject * obj0 = 0 ;
6037 char *kwnames[] = {
6038 (char *) "self", NULL
6039 };
6040
6041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
6042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 (arg1)->close();
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 Py_INCREF(Py_None); resultobj = Py_None;
6052 return resultobj;
6053 fail:
6054 return NULL;
6055}
6056
6057
c32bde28 6058static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6059 PyObject *resultobj;
6060 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 (arg1)->flush();
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 Py_INCREF(Py_None); resultobj = Py_None;
6077 return resultobj;
6078 fail:
6079 return NULL;
6080}
6081
6082
c32bde28 6083static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6084 PyObject *resultobj;
6085 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6086 bool result;
6087 PyObject * obj0 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "self", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (bool)(arg1)->eof();
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
4f89f6a3
RD
6102 {
6103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6104 }
d14a1e28
RD
6105 return resultobj;
6106 fail:
6107 return NULL;
6108}
6109
6110
c32bde28 6111static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6112 PyObject *resultobj;
6113 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6114 int arg2 = (int) -1 ;
6115 PyObject *result;
6116 PyObject * obj0 = 0 ;
994141e6 6117 PyObject * obj1 = 0 ;
d14a1e28
RD
6118 char *kwnames[] = {
6119 (char *) "self",(char *) "size", NULL
6120 };
6121
994141e6 6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6125 if (obj1) {
c32bde28 6126 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6127 if (PyErr_Occurred()) SWIG_fail;
994141e6 6128 }
d14a1e28
RD
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (PyObject *)(arg1)->read(arg2);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 resultobj = result;
6137 return resultobj;
6138 fail:
6139 return NULL;
6140}
6141
6142
c32bde28 6143static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6144 PyObject *resultobj;
6145 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6146 int arg2 = (int) -1 ;
6147 PyObject *result;
6148 PyObject * obj0 = 0 ;
994141e6 6149 PyObject * obj1 = 0 ;
d14a1e28
RD
6150 char *kwnames[] = {
6151 (char *) "self",(char *) "size", NULL
6152 };
6153
994141e6 6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6157 if (obj1) {
c32bde28 6158 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6159 if (PyErr_Occurred()) SWIG_fail;
994141e6 6160 }
d14a1e28
RD
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = (PyObject *)(arg1)->readline(arg2);
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 resultobj = result;
6169 return resultobj;
6170 fail:
6171 return NULL;
6172}
6173
6174
c32bde28 6175static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6176 PyObject *resultobj;
6177 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6178 int arg2 = (int) -1 ;
6179 PyObject *result;
6180 PyObject * obj0 = 0 ;
994141e6 6181 PyObject * obj1 = 0 ;
d14a1e28
RD
6182 char *kwnames[] = {
6183 (char *) "self",(char *) "sizehint", NULL
6184 };
6185
994141e6 6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6189 if (obj1) {
c32bde28 6190 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6191 if (PyErr_Occurred()) SWIG_fail;
994141e6 6192 }
d14a1e28
RD
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 result = (PyObject *)(arg1)->readlines(arg2);
6196
6197 wxPyEndAllowThreads(__tstate);
6198 if (PyErr_Occurred()) SWIG_fail;
6199 }
6200 resultobj = result;
6201 return resultobj;
6202 fail:
6203 return NULL;
6204}
6205
6206
c32bde28 6207static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6208 PyObject *resultobj;
6209 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6210 int arg2 ;
6211 int arg3 = (int) 0 ;
6212 PyObject * obj0 = 0 ;
994141e6
RD
6213 PyObject * obj1 = 0 ;
6214 PyObject * obj2 = 0 ;
d14a1e28
RD
6215 char *kwnames[] = {
6216 (char *) "self",(char *) "offset",(char *) "whence", NULL
6217 };
6218
994141e6 6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6222 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6223 if (PyErr_Occurred()) SWIG_fail;
994141e6 6224 if (obj2) {
c32bde28 6225 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6226 if (PyErr_Occurred()) SWIG_fail;
994141e6 6227 }
d14a1e28
RD
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 (arg1)->seek(arg2,arg3);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 Py_INCREF(Py_None); resultobj = Py_None;
6236 return resultobj;
6237 fail:
6238 return NULL;
6239}
6240
6241
c32bde28 6242static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6243 PyObject *resultobj;
6244 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6245 int result;
6246 PyObject * obj0 = 0 ;
6247 char *kwnames[] = {
6248 (char *) "self", NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
6252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (int)(arg1)->tell();
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
c32bde28 6261 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6262 return resultobj;
6263 fail:
6264 return NULL;
6265}
6266
6267
c32bde28 6268static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6269 PyObject *resultobj;
6270 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6271 char result;
6272 PyObject * obj0 = 0 ;
6273 char *kwnames[] = {
6274 (char *) "self", NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
6278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 result = (char)(arg1)->Peek();
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
c32bde28 6287 resultobj = SWIG_From_char((char)result);
d14a1e28
RD
6288 return resultobj;
6289 fail:
6290 return NULL;
6291}
6292
6293
c32bde28 6294static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6295 PyObject *resultobj;
6296 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6297 char result;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
6304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 result = (char)(arg1)->GetC();
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
c32bde28 6313 resultobj = SWIG_From_char((char)result);
d14a1e28
RD
6314 return resultobj;
6315 fail:
6316 return NULL;
6317}
6318
6319
c32bde28 6320static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6321 PyObject *resultobj;
6322 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6323 size_t result;
6324 PyObject * obj0 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (size_t)(arg1)->LastRead();
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
c32bde28 6339 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
c32bde28 6346static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6347 PyObject *resultobj;
6348 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6349 bool result;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (bool)(arg1)->CanRead();
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
4f89f6a3
RD
6365 {
6366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6367 }
d14a1e28
RD
6368 return resultobj;
6369 fail:
6370 return NULL;
6371}
6372
6373
c32bde28 6374static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6375 PyObject *resultobj;
6376 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6377 bool result;
6378 PyObject * obj0 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (bool)(arg1)->Eof();
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
4f89f6a3
RD
6393 {
6394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6395 }
d14a1e28
RD
6396 return resultobj;
6397 fail:
6398 return NULL;
6399}
6400
6401
c32bde28 6402static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6403 PyObject *resultobj;
6404 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6405 char arg2 ;
6406 bool result;
6407 PyObject * obj0 = 0 ;
994141e6 6408 PyObject * obj1 = 0 ;
d14a1e28
RD
6409 char *kwnames[] = {
6410 (char *) "self",(char *) "c", NULL
6411 };
6412
994141e6 6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6416 arg2 = (char)SWIG_As_char(obj1);
15afbcd0 6417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (bool)(arg1)->Ungetch(arg2);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
4f89f6a3
RD
6425 {
6426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6427 }
d14a1e28
RD
6428 return resultobj;
6429 fail:
6430 return NULL;
6431}
6432
6433
c32bde28 6434static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6435 PyObject *resultobj;
6436 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6437 long arg2 ;
6438 int arg3 = (int) wxFromStart ;
6439 long result;
6440 PyObject * obj0 = 0 ;
994141e6
RD
6441 PyObject * obj1 = 0 ;
6442 PyObject * obj2 = 0 ;
d14a1e28
RD
6443 char *kwnames[] = {
6444 (char *) "self",(char *) "pos",(char *) "mode", NULL
6445 };
6446
994141e6 6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6450 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 6451 if (PyErr_Occurred()) SWIG_fail;
994141e6 6452 if (obj2) {
c32bde28 6453 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6454 if (PyErr_Occurred()) SWIG_fail;
994141e6 6455 }
d14a1e28
RD
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
c32bde28 6463 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
6464 return resultobj;
6465 fail:
6466 return NULL;
6467}
6468
6469
c32bde28 6470static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6471 PyObject *resultobj;
6472 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6473 long result;
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (long)(arg1)->TellI();
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
c32bde28 6489 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
6490 return resultobj;
6491 fail:
6492 return NULL;
6493}
6494
6495
c32bde28 6496static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6497 PyObject *obj;
6498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6499 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6500 Py_INCREF(obj);
6501 return Py_BuildValue((char *)"");
6502}
c32bde28 6503static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6504 PyObject *resultobj;
6505 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6506 PyObject *arg2 = (PyObject *) 0 ;
6507 PyObject * obj0 = 0 ;
6508 PyObject * obj1 = 0 ;
6509 char *kwnames[] = {
6510 (char *) "self",(char *) "obj", NULL
6511 };
6512
6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6516 arg2 = obj1;
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 wxOutputStream_write(arg1,arg2);
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 Py_INCREF(Py_None); resultobj = Py_None;
6525 return resultobj;
6526 fail:
6527 return NULL;
6528}
6529
6530
c32bde28 6531static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6532 PyObject *obj;
6533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6535 Py_INCREF(obj);
6536 return Py_BuildValue((char *)"");
6537}
c32bde28 6538static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6539 PyObject *resultobj;
6540 wxInputStream *arg1 = (wxInputStream *) 0 ;
6541 wxString *arg2 = 0 ;
6542 wxString *arg3 = 0 ;
6543 wxString *arg4 = 0 ;
6544 wxDateTime arg5 ;
6545 wxFSFile *result;
6546 wxPyInputStream *temp1 ;
6547 bool created1 ;
ae8162c8
RD
6548 bool temp2 = false ;
6549 bool temp3 = false ;
6550 bool temp4 = false ;
d14a1e28
RD
6551 wxDateTime *argp5 ;
6552 PyObject * obj0 = 0 ;
6553 PyObject * obj1 = 0 ;
6554 PyObject * obj2 = 0 ;
6555 PyObject * obj3 = 0 ;
6556 PyObject * obj4 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6562 {
6563 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6564 arg1 = temp1->m_wxis;
ae8162c8 6565 created1 = false;
d14a1e28
RD
6566 } else {
6567 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 6568 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
6569 if (arg1 == NULL) {
6570 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6571 SWIG_fail;
6572 }
ae8162c8 6573 created1 = true;
d14a1e28
RD
6574 }
6575 }
6576 {
6577 arg2 = wxString_in_helper(obj1);
6578 if (arg2 == NULL) SWIG_fail;
ae8162c8 6579 temp2 = true;
d14a1e28
RD
6580 }
6581 {
6582 arg3 = wxString_in_helper(obj2);
6583 if (arg3 == NULL) SWIG_fail;
ae8162c8 6584 temp3 = true;
d14a1e28
RD
6585 }
6586 {
6587 arg4 = wxString_in_helper(obj3);
6588 if (arg4 == NULL) SWIG_fail;
ae8162c8 6589 temp4 = true;
d14a1e28 6590 }
15afbcd0
RD
6591 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6592 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6593 arg5 = *argp5;
d14a1e28
RD
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 {
412d302d 6602 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6603 }
6604 {
6605 if (created1)
6606 delete arg1;
6607 }
6608 {
6609 if (temp2)
6610 delete arg2;
6611 }
6612 {
6613 if (temp3)
6614 delete arg3;
6615 }
6616 {
6617 if (temp4)
6618 delete arg4;
6619 }
6620 return resultobj;
6621 fail:
6622 {
6623 if (created1)
6624 delete arg1;
6625 }
6626 {
6627 if (temp2)
6628 delete arg2;
6629 }
6630 {
6631 if (temp3)
6632 delete arg3;
6633 }
6634 {
6635 if (temp4)
6636 delete arg4;
6637 }
6638 return NULL;
6639}
6640
6641
c32bde28 6642static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6643 PyObject *resultobj;
6644 wxFSFile *arg1 = (wxFSFile *) 0 ;
6645 PyObject * obj0 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 delete arg1;
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 Py_INCREF(Py_None); resultobj = Py_None;
6661 return resultobj;
6662 fail:
6663 return NULL;
6664}
6665
6666
c32bde28 6667static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6668 PyObject *resultobj;
6669 wxFSFile *arg1 = (wxFSFile *) 0 ;
6670 wxInputStream *result;
6671 PyObject * obj0 = 0 ;
6672 char *kwnames[] = {
6673 (char *) "self", NULL
6674 };
6675
6676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (wxInputStream *)(arg1)->GetStream();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 {
6687 wxPyInputStream * _ptr = NULL;
6688
6689 if (result) {
6690 _ptr = new wxPyInputStream(result);
6691 }
fc71d09b 6692 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d14a1e28
RD
6693 }
6694 return resultobj;
6695 fail:
6696 return NULL;
6697}
6698
6699
c32bde28 6700static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6701 PyObject *resultobj;
6702 wxFSFile *arg1 = (wxFSFile *) 0 ;
6703 wxString *result;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 {
6715 wxString const &_result_ref = (arg1)->GetMimeType();
6716 result = (wxString *) &_result_ref;
6717 }
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
cc6dd355
RD
6722 {
6723#if wxUSE_UNICODE
6724 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6725#else
6726 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6727#endif
6728 }
d14a1e28
RD
6729 return resultobj;
6730 fail:
6731 return NULL;
6732}
6733
6734
c32bde28 6735static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6736 PyObject *resultobj;
6737 wxFSFile *arg1 = (wxFSFile *) 0 ;
6738 wxString *result;
6739 PyObject * obj0 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 {
6750 wxString const &_result_ref = (arg1)->GetLocation();
6751 result = (wxString *) &_result_ref;
6752 }
6753
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
cc6dd355
RD
6757 {
6758#if wxUSE_UNICODE
6759 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6760#else
6761 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6762#endif
6763 }
d14a1e28
RD
6764 return resultobj;
6765 fail:
6766 return NULL;
6767}
6768
6769
c32bde28 6770static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6771 PyObject *resultobj;
6772 wxFSFile *arg1 = (wxFSFile *) 0 ;
6773 wxString *result;
6774 PyObject * obj0 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 {
6785 wxString const &_result_ref = (arg1)->GetAnchor();
6786 result = (wxString *) &_result_ref;
6787 }
6788
6789 wxPyEndAllowThreads(__tstate);
6790 if (PyErr_Occurred()) SWIG_fail;
6791 }
cc6dd355
RD
6792 {
6793#if wxUSE_UNICODE
6794 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6795#else
6796 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6797#endif
6798 }
d14a1e28
RD
6799 return resultobj;
6800 fail:
6801 return NULL;
6802}
6803
6804
c32bde28 6805static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6806 PyObject *resultobj;
6807 wxFSFile *arg1 = (wxFSFile *) 0 ;
6808 wxDateTime result;
6809 PyObject * obj0 = 0 ;
6810 char *kwnames[] = {
6811 (char *) "self", NULL
6812 };
6813
6814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 result = (arg1)->GetModificationTime();
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 {
6825 wxDateTime * resultptr;
6826 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6828 }
6829 return resultobj;
6830 fail:
6831 return NULL;
6832}
6833
6834
c32bde28 6835static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6836 PyObject *obj;
6837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6838 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6839 Py_INCREF(obj);
6840 return Py_BuildValue((char *)"");
6841}
c32bde28 6842static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6843 PyObject *obj;
6844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6845 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6846 Py_INCREF(obj);
6847 return Py_BuildValue((char *)"");
6848}
c32bde28 6849static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6850 PyObject *resultobj;
6851 wxPyFileSystemHandler *result;
6852 char *kwnames[] = {
6853 NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
15afbcd0 6864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6865 return resultobj;
6866 fail:
6867 return NULL;
6868}
6869
6870
c32bde28 6871static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6872 PyObject *resultobj;
6873 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6874 PyObject *arg2 = (PyObject *) 0 ;
6875 PyObject *arg3 = (PyObject *) 0 ;
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj1 = 0 ;
6878 PyObject * obj2 = 0 ;
6879 char *kwnames[] = {
6880 (char *) "self",(char *) "self",(char *) "_class", NULL
6881 };
6882
6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6886 arg2 = obj1;
6887 arg3 = obj2;
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 (arg1)->_setCallbackInfo(arg2,arg3);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 Py_INCREF(Py_None); resultobj = Py_None;
6896 return resultobj;
6897 fail:
6898 return NULL;
6899}
6900
6901
c32bde28 6902static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6903 PyObject *resultobj;
6904 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6905 wxString *arg2 = 0 ;
6906 bool result;
ae8162c8 6907 bool temp2 = false ;
d14a1e28
RD
6908 PyObject * obj0 = 0 ;
6909 PyObject * obj1 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "self",(char *) "location", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6917 {
6918 arg2 = wxString_in_helper(obj1);
6919 if (arg2 == NULL) SWIG_fail;
ae8162c8 6920 temp2 = true;
d14a1e28
RD
6921 }
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
4f89f6a3
RD
6929 {
6930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6931 }
d14a1e28
RD
6932 {
6933 if (temp2)
6934 delete arg2;
6935 }
6936 return resultobj;
6937 fail:
6938 {
6939 if (temp2)
6940 delete arg2;
6941 }
6942 return NULL;
6943}
6944
6945
c32bde28 6946static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6947 PyObject *resultobj;
6948 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6949 wxFileSystem *arg2 = 0 ;
6950 wxString *arg3 = 0 ;
6951 wxFSFile *result;
ae8162c8 6952 bool temp3 = false ;
d14a1e28
RD
6953 PyObject * obj0 = 0 ;
6954 PyObject * obj1 = 0 ;
6955 PyObject * obj2 = 0 ;
6956 char *kwnames[] = {
6957 (char *) "self",(char *) "fs",(char *) "location", NULL
6958 };
6959
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6963 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6964 SWIG_POINTER_EXCEPTION | 0)) == -1)
6965 SWIG_fail;
d14a1e28 6966 if (arg2 == NULL) {
15afbcd0
RD
6967 PyErr_SetString(PyExc_TypeError,"null reference");
6968 SWIG_fail;
d14a1e28
RD
6969 }
6970 {
6971 arg3 = wxString_in_helper(obj2);
6972 if (arg3 == NULL) SWIG_fail;
ae8162c8 6973 temp3 = true;
d14a1e28
RD
6974 }
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 {
4cf4100f 6983 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6984 }
6985 {
6986 if (temp3)
6987 delete arg3;
6988 }
6989 return resultobj;
6990 fail:
6991 {
6992 if (temp3)
6993 delete arg3;
6994 }
6995 return NULL;
6996}
6997
6998
c32bde28 6999static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7000 PyObject *resultobj;
7001 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7002 wxString *arg2 = 0 ;
7003 int arg3 = (int) 0 ;
7004 wxString result;
ae8162c8 7005 bool temp2 = false ;
d14a1e28
RD
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
994141e6 7008 PyObject * obj2 = 0 ;
d14a1e28
RD
7009 char *kwnames[] = {
7010 (char *) "self",(char *) "spec",(char *) "flags", NULL
7011 };
7012
994141e6 7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7016 {
7017 arg2 = wxString_in_helper(obj1);
7018 if (arg2 == NULL) SWIG_fail;
ae8162c8 7019 temp2 = true;
d14a1e28 7020 }
994141e6 7021 if (obj2) {
c32bde28 7022 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7023 if (PyErr_Occurred()) SWIG_fail;
994141e6 7024 }
d14a1e28
RD
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7028
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 {
7033#if wxUSE_UNICODE
7034 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7035#else
7036 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7037#endif
7038 }
7039 {
7040 if (temp2)
7041 delete arg2;
7042 }
7043 return resultobj;
7044 fail:
7045 {
7046 if (temp2)
7047 delete arg2;
7048 }
7049 return NULL;
7050}
7051
7052
c32bde28 7053static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7054 PyObject *resultobj;
7055 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7056 wxString result;
7057 PyObject * obj0 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (arg1)->FindNext();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 {
7073#if wxUSE_UNICODE
7074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7075#else
7076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7077#endif
7078 }
7079 return resultobj;
7080 fail:
7081 return NULL;
7082}
7083
7084
c32bde28 7085static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7086 PyObject *resultobj;
7087 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7088 wxString *arg2 = 0 ;
7089 wxString result;
ae8162c8 7090 bool temp2 = false ;
d14a1e28
RD
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char *kwnames[] = {
7094 (char *) "self",(char *) "location", NULL
7095 };
7096
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7100 {
7101 arg2 = wxString_in_helper(obj1);
7102 if (arg2 == NULL) SWIG_fail;
ae8162c8 7103 temp2 = true;
d14a1e28
RD
7104 }
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 result = (arg1)->GetProtocol((wxString const &)*arg2);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 {
7113#if wxUSE_UNICODE
7114 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7115#else
7116 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7117#endif
7118 }
7119 {
7120 if (temp2)
7121 delete arg2;
7122 }
7123 return resultobj;
7124 fail:
7125 {
7126 if (temp2)
7127 delete arg2;
7128 }
7129 return NULL;
7130}
7131
7132
c32bde28 7133static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7134 PyObject *resultobj;
7135 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7136 wxString *arg2 = 0 ;
7137 wxString result;
ae8162c8 7138 bool temp2 = false ;
d14a1e28
RD
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "self",(char *) "location", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7148 {
7149 arg2 = wxString_in_helper(obj1);
7150 if (arg2 == NULL) SWIG_fail;
ae8162c8 7151 temp2 = true;
d14a1e28
RD
7152 }
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 {
7161#if wxUSE_UNICODE
7162 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7163#else
7164 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7165#endif
7166 }
7167 {
7168 if (temp2)
7169 delete arg2;
7170 }
7171 return resultobj;
7172 fail:
7173 {
7174 if (temp2)
7175 delete arg2;
7176 }
7177 return NULL;
7178}
7179
7180
c32bde28 7181static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7182 PyObject *resultobj;
7183 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7184 wxString *arg2 = 0 ;
7185 wxString result;
ae8162c8 7186 bool temp2 = false ;
d14a1e28
RD
7187 PyObject * obj0 = 0 ;
7188 PyObject * obj1 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self",(char *) "location", NULL
7191 };
7192
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7196 {
7197 arg2 = wxString_in_helper(obj1);
7198 if (arg2 == NULL) SWIG_fail;
ae8162c8 7199 temp2 = true;
d14a1e28
RD
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (arg1)->GetAnchor((wxString const &)*arg2);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 {
7209#if wxUSE_UNICODE
7210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7211#else
7212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7213#endif
7214 }
7215 {
7216 if (temp2)
7217 delete arg2;
7218 }
7219 return resultobj;
7220 fail:
7221 {
7222 if (temp2)
7223 delete arg2;
7224 }
7225 return NULL;
7226}
7227
7228
c32bde28 7229static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7230 PyObject *resultobj;
7231 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7232 wxString *arg2 = 0 ;
7233 wxString result;
ae8162c8 7234 bool temp2 = false ;
d14a1e28
RD
7235 PyObject * obj0 = 0 ;
7236 PyObject * obj1 = 0 ;
7237 char *kwnames[] = {
7238 (char *) "self",(char *) "location", NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7244 {
7245 arg2 = wxString_in_helper(obj1);
7246 if (arg2 == NULL) SWIG_fail;
ae8162c8 7247 temp2 = true;
d14a1e28
RD
7248 }
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = (arg1)->GetRightLocation((wxString const &)*arg2);
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 {
7257#if wxUSE_UNICODE
7258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7259#else
7260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7261#endif
7262 }
7263 {
7264 if (temp2)
7265 delete arg2;
7266 }
7267 return resultobj;
7268 fail:
7269 {
7270 if (temp2)
7271 delete arg2;
7272 }
7273 return NULL;
7274}
7275
7276
c32bde28 7277static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7278 PyObject *resultobj;
7279 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7280 wxString *arg2 = 0 ;
7281 wxString result;
ae8162c8 7282 bool temp2 = false ;
d14a1e28
RD
7283 PyObject * obj0 = 0 ;
7284 PyObject * obj1 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "self",(char *) "location", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7292 {
7293 arg2 = wxString_in_helper(obj1);
7294 if (arg2 == NULL) SWIG_fail;
ae8162c8 7295 temp2 = true;
d14a1e28
RD
7296 }
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
7300
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 {
7305#if wxUSE_UNICODE
7306 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7307#else
7308 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7309#endif
7310 }
7311 {
7312 if (temp2)
7313 delete arg2;
7314 }
7315 return resultobj;
7316 fail:
7317 {
7318 if (temp2)
7319 delete arg2;
7320 }
7321 return NULL;
7322}
7323
7324
c32bde28 7325static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7326 PyObject *obj;
7327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7328 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
7329 Py_INCREF(obj);
7330 return Py_BuildValue((char *)"");
7331}
c32bde28 7332static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7333 PyObject *resultobj;
7334 wxFileSystem *result;
7335 char *kwnames[] = {
7336 NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = (wxFileSystem *)new wxFileSystem();
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 {
412d302d 7348 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7349 }
7350 return resultobj;
7351 fail:
7352 return NULL;
7353}
7354
7355
c32bde28 7356static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7357 PyObject *resultobj;
7358 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7359 PyObject * obj0 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
7365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 delete arg1;
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
7374 Py_INCREF(Py_None); resultobj = Py_None;
7375 return resultobj;
7376 fail:
7377 return NULL;
7378}
7379
7380
c32bde28 7381static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7382 PyObject *resultobj;
7383 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7384 wxString *arg2 = 0 ;
ae8162c8
RD
7385 bool arg3 = (bool) false ;
7386 bool temp2 = false ;
d14a1e28
RD
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389 PyObject * obj2 = 0 ;
7390 char *kwnames[] = {
7391 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7392 };
7393
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7397 {
7398 arg2 = wxString_in_helper(obj1);
7399 if (arg2 == NULL) SWIG_fail;
ae8162c8 7400 temp2 = true;
d14a1e28
RD
7401 }
7402 if (obj2) {
c32bde28 7403 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7404 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7405 }
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 Py_INCREF(Py_None); resultobj = Py_None;
7414 {
7415 if (temp2)
7416 delete arg2;
7417 }
7418 return resultobj;
7419 fail:
7420 {
7421 if (temp2)
7422 delete arg2;
7423 }
7424 return NULL;
7425}
7426
7427
c32bde28 7428static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7429 PyObject *resultobj;
7430 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7431 wxString result;
7432 PyObject * obj0 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
7438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (arg1)->GetPath();
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 {
7448#if wxUSE_UNICODE
7449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7450#else
7451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7452#endif
7453 }
7454 return resultobj;
7455 fail:
7456 return NULL;
7457}
7458
7459
c32bde28 7460static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7461 PyObject *resultobj;
7462 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7463 wxString *arg2 = 0 ;
7464 wxFSFile *result;
ae8162c8 7465 bool temp2 = false ;
d14a1e28
RD
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "location", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7475 {
7476 arg2 = wxString_in_helper(obj1);
7477 if (arg2 == NULL) SWIG_fail;
ae8162c8 7478 temp2 = true;
d14a1e28
RD
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 {
4cf4100f 7488 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7489 }
7490 {
7491 if (temp2)
7492 delete arg2;
7493 }
7494 return resultobj;
7495 fail:
7496 {
7497 if (temp2)
7498 delete arg2;
7499 }
7500 return NULL;
7501}
7502
7503
c32bde28 7504static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7505 PyObject *resultobj;
7506 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7507 wxString *arg2 = 0 ;
7508 int arg3 = (int) 0 ;
7509 wxString result;
ae8162c8 7510 bool temp2 = false ;
d14a1e28
RD
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
994141e6 7513 PyObject * obj2 = 0 ;
d14a1e28
RD
7514 char *kwnames[] = {
7515 (char *) "self",(char *) "spec",(char *) "flags", NULL
7516 };
7517
994141e6 7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7521 {
7522 arg2 = wxString_in_helper(obj1);
7523 if (arg2 == NULL) SWIG_fail;
ae8162c8 7524 temp2 = true;
d14a1e28 7525 }
994141e6 7526 if (obj2) {
c32bde28 7527 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7528 if (PyErr_Occurred()) SWIG_fail;
994141e6 7529 }
d14a1e28
RD
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 {
7538#if wxUSE_UNICODE
7539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7540#else
7541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7542#endif
7543 }
7544 {
7545 if (temp2)
7546 delete arg2;
7547 }
7548 return resultobj;
7549 fail:
7550 {
7551 if (temp2)
7552 delete arg2;
7553 }
7554 return NULL;
7555}
7556
7557
c32bde28 7558static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7559 PyObject *resultobj;
7560 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7561 wxString result;
7562 PyObject * obj0 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (arg1)->FindNext();
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 {
7578#if wxUSE_UNICODE
7579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7580#else
7581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7582#endif
7583 }
7584 return resultobj;
7585 fail:
7586 return NULL;
7587}
7588
7589
c32bde28 7590static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7591 PyObject *resultobj;
7592 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7593 PyObject * obj0 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "handler", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 wxFileSystem::AddHandler(arg1);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 Py_INCREF(Py_None); resultobj = Py_None;
7609 return resultobj;
7610 fail:
7611 return NULL;
7612}
7613
7614
c32bde28 7615static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7616 PyObject *resultobj;
7617 char *kwnames[] = {
7618 NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 wxFileSystem::CleanUpHandlers();
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633}
7634
7635
c32bde28 7636static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7637 PyObject *resultobj;
7638 wxString *arg1 = 0 ;
7639 wxString result;
ae8162c8 7640 bool temp1 = false ;
d14a1e28
RD
7641 PyObject * obj0 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "filename", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7647 {
7648 arg1 = wxString_in_helper(obj0);
7649 if (arg1 == NULL) SWIG_fail;
ae8162c8 7650 temp1 = true;
d14a1e28
RD
7651 }
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 {
7660#if wxUSE_UNICODE
7661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7662#else
7663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7664#endif
7665 }
7666 {
7667 if (temp1)
7668 delete arg1;
7669 }
7670 return resultobj;
7671 fail:
7672 {
7673 if (temp1)
7674 delete arg1;
7675 }
7676 return NULL;
7677}
7678
7679
c32bde28 7680static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7681 PyObject *resultobj;
7682 wxString *arg1 = 0 ;
7683 wxString result;
ae8162c8 7684 bool temp1 = false ;
d14a1e28
RD
7685 PyObject * obj0 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "url", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7691 {
7692 arg1 = wxString_in_helper(obj0);
7693 if (arg1 == NULL) SWIG_fail;
ae8162c8 7694 temp1 = true;
d14a1e28
RD
7695 }
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2ef75293 7698 result = FileSystem_URLToFileName((wxString const &)*arg1);
d14a1e28
RD
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 {
7704#if wxUSE_UNICODE
7705 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7706#else
7707 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7708#endif
7709 }
7710 {
7711 if (temp1)
7712 delete arg1;
7713 }
7714 return resultobj;
7715 fail:
7716 {
7717 if (temp1)
7718 delete arg1;
7719 }
7720 return NULL;
7721}
7722
7723
2ef75293
RD
7724static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
7725 PyObject *obj;
7726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7727 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7728 Py_INCREF(obj);
7729 return Py_BuildValue((char *)"");
7730}
c32bde28 7731static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7732 PyObject *resultobj;
7733 wxInternetFSHandler *result;
7734 char *kwnames[] = {
7735 NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
15afbcd0 7746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7747 return resultobj;
7748 fail:
7749 return NULL;
7750}
7751
7752
c32bde28 7753static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7754 PyObject *resultobj;
7755 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7756 wxString *arg2 = 0 ;
7757 bool result;
ae8162c8 7758 bool temp2 = false ;
d14a1e28
RD
7759 PyObject * obj0 = 0 ;
7760 PyObject * obj1 = 0 ;
7761 char *kwnames[] = {
7762 (char *) "self",(char *) "location", NULL
7763 };
7764
7765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7768 {
7769 arg2 = wxString_in_helper(obj1);
7770 if (arg2 == NULL) SWIG_fail;
ae8162c8 7771 temp2 = true;
d14a1e28
RD
7772 }
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
4f89f6a3
RD
7780 {
7781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7782 }
d14a1e28
RD
7783 {
7784 if (temp2)
7785 delete arg2;
7786 }
7787 return resultobj;
7788 fail:
7789 {
7790 if (temp2)
7791 delete arg2;
7792 }
7793 return NULL;
7794}
7795
7796
c32bde28 7797static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7798 PyObject *resultobj;
7799 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7800 wxFileSystem *arg2 = 0 ;
7801 wxString *arg3 = 0 ;
7802 wxFSFile *result;
ae8162c8 7803 bool temp3 = false ;
d14a1e28
RD
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 PyObject * obj2 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self",(char *) "fs",(char *) "location", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7815 SWIG_POINTER_EXCEPTION | 0)) == -1)
7816 SWIG_fail;
d14a1e28 7817 if (arg2 == NULL) {
15afbcd0
RD
7818 PyErr_SetString(PyExc_TypeError,"null reference");
7819 SWIG_fail;
d14a1e28
RD
7820 }
7821 {
7822 arg3 = wxString_in_helper(obj2);
7823 if (arg3 == NULL) SWIG_fail;
ae8162c8 7824 temp3 = true;
d14a1e28
RD
7825 }
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 {
4cf4100f 7834 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7835 }
7836 {
7837 if (temp3)
7838 delete arg3;
7839 }
7840 return resultobj;
7841 fail:
7842 {
7843 if (temp3)
7844 delete arg3;
7845 }
7846 return NULL;
7847}
7848
7849
c32bde28 7850static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7851 PyObject *obj;
7852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7853 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7854 Py_INCREF(obj);
7855 return Py_BuildValue((char *)"");
7856}
c32bde28 7857static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7858 PyObject *resultobj;
7859 wxZipFSHandler *result;
7860 char *kwnames[] = {
7861 NULL
7862 };
7863
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 result = (wxZipFSHandler *)new wxZipFSHandler();
7868
7869 wxPyEndAllowThreads(__tstate);
7870 if (PyErr_Occurred()) SWIG_fail;
7871 }
15afbcd0 7872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7873 return resultobj;
7874 fail:
7875 return NULL;
7876}
7877
7878
c32bde28 7879static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7880 PyObject *resultobj;
7881 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7882 wxString *arg2 = 0 ;
7883 bool result;
ae8162c8 7884 bool temp2 = false ;
d14a1e28
RD
7885 PyObject * obj0 = 0 ;
7886 PyObject * obj1 = 0 ;
7887 char *kwnames[] = {
7888 (char *) "self",(char *) "location", NULL
7889 };
7890
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7894 {
7895 arg2 = wxString_in_helper(obj1);
7896 if (arg2 == NULL) SWIG_fail;
ae8162c8 7897 temp2 = true;
d14a1e28
RD
7898 }
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7902
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
4f89f6a3
RD
7906 {
7907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7908 }
d14a1e28
RD
7909 {
7910 if (temp2)
7911 delete arg2;
7912 }
7913 return resultobj;
7914 fail:
7915 {
7916 if (temp2)
7917 delete arg2;
7918 }
7919 return NULL;
7920}
7921
7922
c32bde28 7923static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7924 PyObject *resultobj;
7925 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7926 wxFileSystem *arg2 = 0 ;
7927 wxString *arg3 = 0 ;
7928 wxFSFile *result;
ae8162c8 7929 bool temp3 = false ;
d14a1e28
RD
7930 PyObject * obj0 = 0 ;
7931 PyObject * obj1 = 0 ;
7932 PyObject * obj2 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self",(char *) "fs",(char *) "location", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7941 SWIG_POINTER_EXCEPTION | 0)) == -1)
7942 SWIG_fail;
d14a1e28 7943 if (arg2 == NULL) {
15afbcd0
RD
7944 PyErr_SetString(PyExc_TypeError,"null reference");
7945 SWIG_fail;
d14a1e28
RD
7946 }
7947 {
7948 arg3 = wxString_in_helper(obj2);
7949 if (arg3 == NULL) SWIG_fail;
ae8162c8 7950 temp3 = true;
d14a1e28
RD
7951 }
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 {
4cf4100f 7960 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7961 }
7962 {
7963 if (temp3)
7964 delete arg3;
7965 }
7966 return resultobj;
7967 fail:
7968 {
7969 if (temp3)
7970 delete arg3;
7971 }
7972 return NULL;
7973}
7974
7975
c32bde28 7976static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7977 PyObject *resultobj;
7978 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7979 wxString *arg2 = 0 ;
7980 int arg3 = (int) 0 ;
7981 wxString result;
ae8162c8 7982 bool temp2 = false ;
d14a1e28
RD
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
994141e6 7985 PyObject * obj2 = 0 ;
d14a1e28
RD
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "spec",(char *) "flags", NULL
7988 };
7989
994141e6 7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7993 {
7994 arg2 = wxString_in_helper(obj1);
7995 if (arg2 == NULL) SWIG_fail;
ae8162c8 7996 temp2 = true;
d14a1e28 7997 }
994141e6 7998 if (obj2) {
c32bde28 7999 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8000 if (PyErr_Occurred()) SWIG_fail;
994141e6 8001 }
d14a1e28
RD
8002 {
8003 PyThreadState* __tstate = wxPyBeginAllowThreads();
8004 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8005
8006 wxPyEndAllowThreads(__tstate);
8007 if (PyErr_Occurred()) SWIG_fail;
8008 }
8009 {
8010#if wxUSE_UNICODE
8011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8012#else
8013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8014#endif
8015 }
8016 {
8017 if (temp2)
8018 delete arg2;
8019 }
8020 return resultobj;
8021 fail:
8022 {
8023 if (temp2)
8024 delete arg2;
8025 }
8026 return NULL;
8027}
8028
8029
c32bde28 8030static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8031 PyObject *resultobj;
8032 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
8033 wxString result;
8034 PyObject * obj0 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "self", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
8041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 result = (arg1)->FindNext();
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 {
8050#if wxUSE_UNICODE
8051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8052#else
8053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8054#endif
8055 }
8056 return resultobj;
8057 fail:
8058 return NULL;
8059}
8060
8061
c32bde28 8062static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8063 PyObject *obj;
8064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8065 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
8066 Py_INCREF(obj);
8067 return Py_BuildValue((char *)"");
8068}
c32bde28 8069static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8070 PyObject *resultobj;
8071 wxString *arg1 = 0 ;
8072 wxImage *arg2 = 0 ;
8073 long arg3 ;
ae8162c8 8074 bool temp1 = false ;
d14a1e28
RD
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
994141e6 8077 PyObject * obj2 = 0 ;
d14a1e28
RD
8078 char *kwnames[] = {
8079 (char *) "filename",(char *) "image",(char *) "type", NULL
8080 };
8081
994141e6 8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8083 {
8084 arg1 = wxString_in_helper(obj0);
8085 if (arg1 == NULL) SWIG_fail;
ae8162c8 8086 temp1 = true;
d14a1e28 8087 }
15afbcd0
RD
8088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
8089 SWIG_POINTER_EXCEPTION | 0)) == -1)
8090 SWIG_fail;
d14a1e28 8091 if (arg2 == NULL) {
15afbcd0
RD
8092 PyErr_SetString(PyExc_TypeError,"null reference");
8093 SWIG_fail;
994141e6 8094 }
c32bde28 8095 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 8096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 Py_INCREF(Py_None); resultobj = Py_None;
8105 {
8106 if (temp1)
8107 delete arg1;
8108 }
8109 return resultobj;
8110 fail:
8111 {
8112 if (temp1)
8113 delete arg1;
8114 }
8115 return NULL;
8116}
8117
8118
c32bde28 8119static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8120 PyObject *resultobj;
8121 wxString *arg1 = 0 ;
8122 wxBitmap *arg2 = 0 ;
8123 long arg3 ;
ae8162c8 8124 bool temp1 = false ;
d14a1e28
RD
8125 PyObject * obj0 = 0 ;
8126 PyObject * obj1 = 0 ;
994141e6 8127 PyObject * obj2 = 0 ;
d14a1e28
RD
8128 char *kwnames[] = {
8129 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8130 };
8131
994141e6 8132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8133 {
8134 arg1 = wxString_in_helper(obj0);
8135 if (arg1 == NULL) SWIG_fail;
ae8162c8 8136 temp1 = true;
d14a1e28 8137 }
15afbcd0
RD
8138 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
8139 SWIG_POINTER_EXCEPTION | 0)) == -1)
8140 SWIG_fail;
d14a1e28 8141 if (arg2 == NULL) {
15afbcd0
RD
8142 PyErr_SetString(PyExc_TypeError,"null reference");
8143 SWIG_fail;
994141e6 8144 }
c32bde28 8145 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 8146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 Py_INCREF(Py_None); resultobj = Py_None;
8155 {
8156 if (temp1)
8157 delete arg1;
8158 }
8159 return resultobj;
8160 fail:
8161 {
8162 if (temp1)
8163 delete arg1;
8164 }
8165 return NULL;
8166}
8167
8168
c32bde28 8169static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8170 PyObject *resultobj;
8171 wxString *arg1 = 0 ;
8172 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8 8173 bool temp1 = false ;
d14a1e28
RD
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "filename",(char *) "data", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
8181 {
8182 arg1 = wxString_in_helper(obj0);
8183 if (arg1 == NULL) SWIG_fail;
ae8162c8 8184 temp1 = true;
d14a1e28
RD
8185 }
8186 arg2 = obj1;
8187 {
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 Py_INCREF(Py_None); resultobj = Py_None;
8195 {
8196 if (temp1)
8197 delete arg1;
8198 }
8199 return resultobj;
8200 fail:
8201 {
8202 if (temp1)
8203 delete arg1;
8204 }
8205 return NULL;
8206}
8207
8208
c32bde28 8209static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8210 PyObject *resultobj;
8211 wxMemoryFSHandler *result;
8212 char *kwnames[] = {
8213 NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
15afbcd0 8224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
8225 return resultobj;
8226 fail:
8227 return NULL;
8228}
8229
8230
c32bde28 8231static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8232 PyObject *resultobj;
8233 wxString *arg1 = 0 ;
ae8162c8 8234 bool temp1 = false ;
d14a1e28
RD
8235 PyObject * obj0 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "filename", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
8241 {
8242 arg1 = wxString_in_helper(obj0);
8243 if (arg1 == NULL) SWIG_fail;
ae8162c8 8244 temp1 = true;
d14a1e28
RD
8245 }
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
8249
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 Py_INCREF(Py_None); resultobj = Py_None;
8254 {
8255 if (temp1)
8256 delete arg1;
8257 }
8258 return resultobj;
8259 fail:
8260 {
8261 if (temp1)
8262 delete arg1;
8263 }
8264 return NULL;
8265}
8266
8267
c32bde28 8268static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8269 PyObject *resultobj;
8270 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8271 wxString *arg2 = 0 ;
8272 bool result;
ae8162c8 8273 bool temp2 = false ;
d14a1e28
RD
8274 PyObject * obj0 = 0 ;
8275 PyObject * obj1 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self",(char *) "location", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8283 {
8284 arg2 = wxString_in_helper(obj1);
8285 if (arg2 == NULL) SWIG_fail;
ae8162c8 8286 temp2 = true;
d14a1e28
RD
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
4f89f6a3
RD
8295 {
8296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8297 }
d14a1e28
RD
8298 {
8299 if (temp2)
8300 delete arg2;
8301 }
8302 return resultobj;
8303 fail:
8304 {
8305 if (temp2)
8306 delete arg2;
8307 }
8308 return NULL;
8309}
8310
8311
c32bde28 8312static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8313 PyObject *resultobj;
8314 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8315 wxFileSystem *arg2 = 0 ;
8316 wxString *arg3 = 0 ;
8317 wxFSFile *result;
ae8162c8 8318 bool temp3 = false ;
d14a1e28
RD
8319 PyObject * obj0 = 0 ;
8320 PyObject * obj1 = 0 ;
8321 PyObject * obj2 = 0 ;
8322 char *kwnames[] = {
8323 (char *) "self",(char *) "fs",(char *) "location", NULL
8324 };
8325
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
8330 SWIG_POINTER_EXCEPTION | 0)) == -1)
8331 SWIG_fail;
d14a1e28 8332 if (arg2 == NULL) {
15afbcd0
RD
8333 PyErr_SetString(PyExc_TypeError,"null reference");
8334 SWIG_fail;
d14a1e28
RD
8335 }
8336 {
8337 arg3 = wxString_in_helper(obj2);
8338 if (arg3 == NULL) SWIG_fail;
ae8162c8 8339 temp3 = true;
d14a1e28
RD
8340 }
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 {
4cf4100f 8349 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
8350 }
8351 {
8352 if (temp3)
8353 delete arg3;
8354 }
8355 return resultobj;
8356 fail:
8357 {
8358 if (temp3)
8359 delete arg3;
8360 }
8361 return NULL;
8362}
8363
8364
c32bde28 8365static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8366 PyObject *resultobj;
8367 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8368 wxString *arg2 = 0 ;
8369 int arg3 = (int) 0 ;
8370 wxString result;
ae8162c8 8371 bool temp2 = false ;
d14a1e28
RD
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj1 = 0 ;
994141e6 8374 PyObject * obj2 = 0 ;
d14a1e28
RD
8375 char *kwnames[] = {
8376 (char *) "self",(char *) "spec",(char *) "flags", NULL
8377 };
8378
994141e6 8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8382 {
8383 arg2 = wxString_in_helper(obj1);
8384 if (arg2 == NULL) SWIG_fail;
ae8162c8 8385 temp2 = true;
d14a1e28 8386 }
994141e6 8387 if (obj2) {
c32bde28 8388 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8389 if (PyErr_Occurred()) SWIG_fail;
994141e6 8390 }
d14a1e28
RD
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 {
8399#if wxUSE_UNICODE
8400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8401#else
8402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8403#endif
8404 }
8405 {
8406 if (temp2)
8407 delete arg2;
8408 }
8409 return resultobj;
8410 fail:
8411 {
8412 if (temp2)
8413 delete arg2;
8414 }
8415 return NULL;
8416}
8417
8418
c32bde28 8419static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8420 PyObject *resultobj;
8421 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8422 wxString result;
8423 PyObject * obj0 = 0 ;
8424 char *kwnames[] = {
8425 (char *) "self", NULL
8426 };
8427
8428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 result = (arg1)->FindNext();
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 {
8439#if wxUSE_UNICODE
8440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8441#else
8442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8443#endif
8444 }
8445 return resultobj;
8446 fail:
8447 return NULL;
8448}
8449
8450
c32bde28 8451static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8452 PyObject *obj;
8453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8454 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8455 Py_INCREF(obj);
8456 return Py_BuildValue((char *)"");
8457}
c32bde28 8458static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8459 PyObject *resultobj;
8460 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8461 wxString result;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (arg1)->GetName();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 {
8478#if wxUSE_UNICODE
8479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8480#else
8481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8482#endif
8483 }
8484 return resultobj;
8485 fail:
8486 return NULL;
8487}
8488
8489
c32bde28 8490static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8491 PyObject *resultobj;
8492 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8493 wxString result;
8494 PyObject * obj0 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
15afbcd0
RD
8500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 result = (arg1)->GetExtension();
8505
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 {
8510#if wxUSE_UNICODE
8511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8512#else
8513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8514#endif
8515 }
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
c32bde28 8522static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8523 PyObject *resultobj;
8524 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8525 long result;
8526 PyObject * obj0 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (long)(arg1)->GetType();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
c32bde28 8541 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
8542 return resultobj;
8543 fail:
8544 return NULL;
8545}
8546
8547
c32bde28 8548static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8549 PyObject *resultobj;
8550 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8551 wxString result;
8552 PyObject * obj0 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (arg1)->GetMimeType();
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) SWIG_fail;
8566 }
8567 {
8568#if wxUSE_UNICODE
8569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8570#else
8571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8572#endif
8573 }
8574 return resultobj;
8575 fail:
8576 return NULL;
8577}
8578
8579
c32bde28 8580static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8581 PyObject *resultobj;
8582 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8583 wxString *arg2 = 0 ;
8584 bool result;
ae8162c8 8585 bool temp2 = false ;
d14a1e28
RD
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self",(char *) "name", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8595 {
8596 arg2 = wxString_in_helper(obj1);
8597 if (arg2 == NULL) SWIG_fail;
ae8162c8 8598 temp2 = true;
d14a1e28
RD
8599 }
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
4f89f6a3
RD
8607 {
8608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8609 }
d14a1e28
RD
8610 {
8611 if (temp2)
8612 delete arg2;
8613 }
8614 return resultobj;
8615 fail:
8616 {
8617 if (temp2)
8618 delete arg2;
8619 }
8620 return NULL;
8621}
8622
8623
c32bde28 8624static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8625 PyObject *resultobj;
8626 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8627 wxString *arg2 = 0 ;
ae8162c8 8628 bool temp2 = false ;
d14a1e28
RD
8629 PyObject * obj0 = 0 ;
8630 PyObject * obj1 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "self",(char *) "name", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8638 {
8639 arg2 = wxString_in_helper(obj1);
8640 if (arg2 == NULL) SWIG_fail;
ae8162c8 8641 temp2 = true;
d14a1e28
RD
8642 }
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 (arg1)->SetName((wxString const &)*arg2);
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 Py_INCREF(Py_None); resultobj = Py_None;
8651 {
8652 if (temp2)
8653 delete arg2;
8654 }
8655 return resultobj;
8656 fail:
8657 {
8658 if (temp2)
8659 delete arg2;
8660 }
8661 return NULL;
8662}
8663
8664
c32bde28 8665static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8666 PyObject *resultobj;
8667 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8668 wxString *arg2 = 0 ;
ae8162c8 8669 bool temp2 = false ;
d14a1e28
RD
8670 PyObject * obj0 = 0 ;
8671 PyObject * obj1 = 0 ;
8672 char *kwnames[] = {
8673 (char *) "self",(char *) "extension", NULL
8674 };
8675
8676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8679 {
8680 arg2 = wxString_in_helper(obj1);
8681 if (arg2 == NULL) SWIG_fail;
ae8162c8 8682 temp2 = true;
d14a1e28
RD
8683 }
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 (arg1)->SetExtension((wxString const &)*arg2);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 Py_INCREF(Py_None); resultobj = Py_None;
8692 {
8693 if (temp2)
8694 delete arg2;
8695 }
8696 return resultobj;
8697 fail:
8698 {
8699 if (temp2)
8700 delete arg2;
8701 }
8702 return NULL;
8703}
8704
8705
c32bde28 8706static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8707 PyObject *resultobj;
8708 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8709 long arg2 ;
8710 PyObject * obj0 = 0 ;
994141e6 8711 PyObject * obj1 = 0 ;
d14a1e28
RD
8712 char *kwnames[] = {
8713 (char *) "self",(char *) "type", NULL
8714 };
8715
994141e6 8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8719 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->SetType(arg2);
8724
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 Py_INCREF(Py_None); resultobj = Py_None;
8729 return resultobj;
8730 fail:
8731 return NULL;
8732}
8733
8734
c32bde28 8735static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8736 PyObject *resultobj;
8737 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8738 wxString *arg2 = 0 ;
ae8162c8 8739 bool temp2 = false ;
d14a1e28
RD
8740 PyObject * obj0 = 0 ;
8741 PyObject * obj1 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "mimetype", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8749 {
8750 arg2 = wxString_in_helper(obj1);
8751 if (arg2 == NULL) SWIG_fail;
ae8162c8 8752 temp2 = true;
d14a1e28
RD
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->SetMimeType((wxString const &)*arg2);
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 {
8763 if (temp2)
8764 delete arg2;
8765 }
8766 return resultobj;
8767 fail:
8768 {
8769 if (temp2)
8770 delete arg2;
8771 }
8772 return NULL;
8773}
8774
8775
c32bde28 8776static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8777 PyObject *obj;
8778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8779 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8780 Py_INCREF(obj);
8781 return Py_BuildValue((char *)"");
8782}
c32bde28 8783static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8784 PyObject *resultobj;
8785 wxImageHistogram *result;
8786 char *kwnames[] = {
8787 NULL
8788 };
8789
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = (wxImageHistogram *)new wxImageHistogram();
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
15afbcd0 8798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8799 return resultobj;
8800 fail:
8801 return NULL;
8802}
8803
8804
c32bde28 8805static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8806 PyObject *resultobj;
8807 unsigned char arg1 ;
8808 unsigned char arg2 ;
8809 unsigned char arg3 ;
8810 unsigned long result;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 PyObject * obj2 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "r",(char *) "g",(char *) "b", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 8819 arg1 = (unsigned char)SWIG_As_unsigned_SS_char(obj0);
15afbcd0 8820 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8821 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 8822 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8823 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 8824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
c32bde28 8832 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
8833 return resultobj;
8834 fail:
8835 return NULL;
8836}
8837
8838
c32bde28 8839static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8840 PyObject *resultobj;
8841 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8842 unsigned char *arg2 = (unsigned char *) 0 ;
8843 unsigned char *arg3 = (unsigned char *) 0 ;
8844 unsigned char *arg4 = (unsigned char *) 0 ;
8845 unsigned char arg5 = (unsigned char) 1 ;
8846 unsigned char arg6 = (unsigned char) 0 ;
8847 unsigned char arg7 = (unsigned char) 0 ;
8848 bool result;
8849 unsigned char temp2 ;
c32bde28 8850 int res2 = 0 ;
d14a1e28 8851 unsigned char temp3 ;
c32bde28 8852 int res3 = 0 ;
d14a1e28 8853 unsigned char temp4 ;
c32bde28 8854 int res4 = 0 ;
d14a1e28
RD
8855 PyObject * obj0 = 0 ;
8856 PyObject * obj1 = 0 ;
8857 PyObject * obj2 = 0 ;
8858 PyObject * obj3 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8861 };
8862
c32bde28
RD
8863 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8864 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8865 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8869 if (obj1) {
c32bde28 8870 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 8871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8872 }
8873 if (obj2) {
c32bde28 8874 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 8875 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8876 }
8877 if (obj3) {
c32bde28 8878 arg7 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 8879 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8880 }
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
4f89f6a3
RD
8888 {
8889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8890 }
c32bde28
RD
8891 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8892 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
8893 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8894 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
8895 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8896 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
d14a1e28
RD
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
c32bde28 8903static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8904 PyObject *obj;
8905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8906 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8907 Py_INCREF(obj);
8908 return Py_BuildValue((char *)"");
8909}
c32bde28 8910static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8911 PyObject *resultobj;
8912 wxString *arg1 = 0 ;
8913 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8914 int arg3 = (int) -1 ;
8915 wxImage *result;
ae8162c8 8916 bool temp1 = false ;
d14a1e28 8917 PyObject * obj0 = 0 ;
994141e6
RD
8918 PyObject * obj1 = 0 ;
8919 PyObject * obj2 = 0 ;
d14a1e28
RD
8920 char *kwnames[] = {
8921 (char *) "name",(char *) "type",(char *) "index", NULL
8922 };
8923
994141e6 8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8925 {
8926 arg1 = wxString_in_helper(obj0);
8927 if (arg1 == NULL) SWIG_fail;
ae8162c8 8928 temp1 = true;
d14a1e28 8929 }
994141e6 8930 if (obj1) {
c32bde28 8931 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8932 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8933 }
8934 if (obj2) {
c32bde28 8935 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8936 if (PyErr_Occurred()) SWIG_fail;
994141e6 8937 }
d14a1e28
RD
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
15afbcd0 8945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8946 {
8947 if (temp1)
8948 delete arg1;
8949 }
8950 return resultobj;
8951 fail:
8952 {
8953 if (temp1)
8954 delete arg1;
8955 }
8956 return NULL;
8957}
8958
8959
c32bde28 8960static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8961 PyObject *resultobj;
8962 wxImage *arg1 = (wxImage *) 0 ;
8963 PyObject * obj0 = 0 ;
8964 char *kwnames[] = {
8965 (char *) "self", NULL
8966 };
8967
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 delete arg1;
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 Py_INCREF(Py_None); resultobj = Py_None;
8979 return resultobj;
8980 fail:
8981 return NULL;
8982}
8983
8984
c32bde28 8985static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8986 PyObject *resultobj;
8987 wxString *arg1 = 0 ;
8988 wxString *arg2 = 0 ;
8989 int arg3 = (int) -1 ;
8990 wxImage *result;
ae8162c8
RD
8991 bool temp1 = false ;
8992 bool temp2 = false ;
d14a1e28
RD
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
994141e6 8995 PyObject * obj2 = 0 ;
d14a1e28
RD
8996 char *kwnames[] = {
8997 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8998 };
8999
994141e6 9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9001 {
9002 arg1 = wxString_in_helper(obj0);
9003 if (arg1 == NULL) SWIG_fail;
ae8162c8 9004 temp1 = true;
d14a1e28
RD
9005 }
9006 {
9007 arg2 = wxString_in_helper(obj1);
9008 if (arg2 == NULL) SWIG_fail;
ae8162c8 9009 temp2 = true;
d14a1e28 9010 }
994141e6 9011 if (obj2) {
c32bde28 9012 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9013 if (PyErr_Occurred()) SWIG_fail;
994141e6 9014 }
d14a1e28
RD
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
15afbcd0 9022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9023 {
9024 if (temp1)
9025 delete arg1;
9026 }
9027 {
9028 if (temp2)
9029 delete arg2;
9030 }
9031 return resultobj;
9032 fail:
9033 {
9034 if (temp1)
9035 delete arg1;
9036 }
9037 {
9038 if (temp2)
9039 delete arg2;
9040 }
9041 return NULL;
9042}
9043
9044
c32bde28 9045static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9046 PyObject *resultobj;
9047 wxInputStream *arg1 = 0 ;
9048 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9049 int arg3 = (int) -1 ;
9050 wxImage *result;
9051 wxPyInputStream *temp1 ;
9052 bool created1 ;
9053 PyObject * obj0 = 0 ;
994141e6
RD
9054 PyObject * obj1 = 0 ;
9055 PyObject * obj2 = 0 ;
d14a1e28
RD
9056 char *kwnames[] = {
9057 (char *) "stream",(char *) "type",(char *) "index", NULL
9058 };
9059
994141e6 9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9061 {
9062 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9063 arg1 = temp1->m_wxis;
ae8162c8 9064 created1 = false;
d14a1e28
RD
9065 } else {
9066 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 9067 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
9068 if (arg1 == NULL) {
9069 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9070 SWIG_fail;
9071 }
ae8162c8 9072 created1 = true;
d14a1e28
RD
9073 }
9074 }
994141e6 9075 if (obj1) {
c32bde28 9076 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9077 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9078 }
9079 if (obj2) {
c32bde28 9080 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9081 if (PyErr_Occurred()) SWIG_fail;
994141e6 9082 }
d14a1e28
RD
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
9086
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
15afbcd0 9090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9091 {
9092 if (created1)
9093 delete arg1;
9094 }
9095 return resultobj;
9096 fail:
9097 {
9098 if (created1)
9099 delete arg1;
9100 }
9101 return NULL;
9102}
9103
9104
c32bde28 9105static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9106 PyObject *resultobj;
9107 wxInputStream *arg1 = 0 ;
9108 wxString *arg2 = 0 ;
9109 int arg3 = (int) -1 ;
9110 wxImage *result;
9111 wxPyInputStream *temp1 ;
9112 bool created1 ;
ae8162c8 9113 bool temp2 = false ;
d14a1e28
RD
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
994141e6 9116 PyObject * obj2 = 0 ;
d14a1e28
RD
9117 char *kwnames[] = {
9118 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9119 };
9120
994141e6 9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9122 {
9123 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9124 arg1 = temp1->m_wxis;
ae8162c8 9125 created1 = false;
d14a1e28
RD
9126 } else {
9127 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 9128 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
9129 if (arg1 == NULL) {
9130 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9131 SWIG_fail;
9132 }
ae8162c8 9133 created1 = true;
d14a1e28
RD
9134 }
9135 }
9136 {
9137 arg2 = wxString_in_helper(obj1);
9138 if (arg2 == NULL) SWIG_fail;
ae8162c8 9139 temp2 = true;
d14a1e28 9140 }
994141e6 9141 if (obj2) {
c32bde28 9142 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9143 if (PyErr_Occurred()) SWIG_fail;
994141e6 9144 }
d14a1e28
RD
9145 {
9146 PyThreadState* __tstate = wxPyBeginAllowThreads();
9147 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
9148
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
15afbcd0 9152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9153 {
9154 if (created1)
9155 delete arg1;
9156 }
9157 {
9158 if (temp2)
9159 delete arg2;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (created1)
9165 delete arg1;
9166 }
9167 {
9168 if (temp2)
9169 delete arg2;
9170 }
9171 return NULL;
9172}
9173
9174
c32bde28 9175static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9176 PyObject *resultobj;
9177 int arg1 = (int) 0 ;
9178 int arg2 = (int) 0 ;
ae8162c8 9179 bool arg3 = (bool) true ;
d14a1e28 9180 wxImage *result;
994141e6
RD
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
d14a1e28 9183 PyObject * obj2 = 0 ;
66c033b4
RD
9184 char *kwnames[] = {
9185 (char *) "width",(char *) "height",(char *) "clear", NULL
9186 };
d14a1e28 9187
66c033b4 9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 9189 if (obj0) {
c32bde28 9190 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9191 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9192 }
9193 if (obj1) {
c32bde28 9194 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9195 if (PyErr_Occurred()) SWIG_fail;
994141e6 9196 }
d14a1e28 9197 if (obj2) {
c32bde28 9198 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 9199 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9200 }
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 9203 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
15afbcd0 9208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9209 return resultobj;
9210 fail:
9211 return NULL;
9212}
9213
9214
c32bde28 9215static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9216 PyObject *resultobj;
9217 wxBitmap *arg1 = 0 ;
9218 wxImage *result;
9219 PyObject * obj0 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "bitmap", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
9226 SWIG_POINTER_EXCEPTION | 0)) == -1)
9227 SWIG_fail;
d14a1e28 9228 if (arg1 == NULL) {
15afbcd0
RD
9229 PyErr_SetString(PyExc_TypeError,"null reference");
9230 SWIG_fail;
d14a1e28
RD
9231 }
9232 {
e3b71cb8 9233 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
9236
9237 wxPyEndAllowThreads(__tstate);
110da5b0 9238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9239 }
15afbcd0 9240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9241 return resultobj;
9242 fail:
9243 return NULL;
9244}
9245
9246
c32bde28 9247static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9248 PyObject *resultobj;
9249 int arg1 ;
9250 int arg2 ;
9251 unsigned char *arg3 = (unsigned char *) 0 ;
9252 wxImage *result;
994141e6
RD
9253 PyObject * obj0 = 0 ;
9254 PyObject * obj1 = 0 ;
d14a1e28
RD
9255 PyObject * obj2 = 0 ;
9256 char *kwnames[] = {
9257 (char *) "width",(char *) "height",(char *) "data", NULL
9258 };
9259
994141e6 9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 9261 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9262 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9263 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
9264 if (PyErr_Occurred()) SWIG_fail;
9265 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
9266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
15afbcd0 9274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9275 return resultobj;
9276 fail:
9277 return NULL;
9278}
9279
9280
c32bde28 9281static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9282 PyObject *resultobj;
9283 wxImage *arg1 = (wxImage *) 0 ;
9284 int arg2 ;
9285 int arg3 ;
9286 PyObject * obj0 = 0 ;
994141e6
RD
9287 PyObject * obj1 = 0 ;
9288 PyObject * obj2 = 0 ;
d14a1e28
RD
9289 char *kwnames[] = {
9290 (char *) "self",(char *) "width",(char *) "height", NULL
9291 };
9292
994141e6 9293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9296 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9297 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9298 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 (arg1)->Create(arg2,arg3);
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 Py_INCREF(Py_None); resultobj = Py_None;
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
c32bde28 9314static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9315 PyObject *resultobj;
9316 wxImage *arg1 = (wxImage *) 0 ;
9317 PyObject * obj0 = 0 ;
9318 char *kwnames[] = {
9319 (char *) "self", NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->Destroy();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336}
9337
9338
c32bde28 9339static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9340 PyObject *resultobj;
9341 wxImage *arg1 = (wxImage *) 0 ;
9342 int arg2 ;
9343 int arg3 ;
9344 SwigValueWrapper< wxImage > result;
9345 PyObject * obj0 = 0 ;
994141e6
RD
9346 PyObject * obj1 = 0 ;
9347 PyObject * obj2 = 0 ;
d14a1e28
RD
9348 char *kwnames[] = {
9349 (char *) "self",(char *) "width",(char *) "height", NULL
9350 };
9351
994141e6 9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9355 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9356 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9357 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9359 {
9360 PyThreadState* __tstate = wxPyBeginAllowThreads();
9361 result = (arg1)->Scale(arg2,arg3);
9362
9363 wxPyEndAllowThreads(__tstate);
9364 if (PyErr_Occurred()) SWIG_fail;
9365 }
9366 {
9367 wxImage * resultptr;
9368 resultptr = new wxImage((wxImage &) result);
15afbcd0 9369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9370 }
9371 return resultobj;
9372 fail:
9373 return NULL;
9374}
9375
9376
c32bde28 9377static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9378 PyObject *resultobj;
9379 wxImage *arg1 = (wxImage *) 0 ;
9380 int arg2 ;
9381 int arg3 ;
9382 SwigValueWrapper< wxImage > result;
9383 PyObject * obj0 = 0 ;
994141e6
RD
9384 PyObject * obj1 = 0 ;
9385 PyObject * obj2 = 0 ;
d14a1e28
RD
9386 char *kwnames[] = {
9387 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9388 };
9389
994141e6 9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9393 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9394 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9395 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9400
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 {
9405 wxImage * resultptr;
9406 resultptr = new wxImage((wxImage &) result);
15afbcd0 9407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9408 }
9409 return resultobj;
9410 fail:
9411 return NULL;
9412}
9413
9414
c32bde28 9415static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9416 PyObject *resultobj;
9417 wxImage *arg1 = (wxImage *) 0 ;
9418 int arg2 ;
9419 int arg3 ;
9420 wxImage *result;
9421 PyObject * obj0 = 0 ;
994141e6
RD
9422 PyObject * obj1 = 0 ;
9423 PyObject * obj2 = 0 ;
d14a1e28
RD
9424 char *kwnames[] = {
9425 (char *) "self",(char *) "width",(char *) "height", NULL
9426 };
9427
994141e6 9428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9431 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9432 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9433 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 {
9438 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9439 result = (wxImage *) &_result_ref;
9440 }
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
15afbcd0 9445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9446 return resultobj;
9447 fail:
9448 return NULL;
9449}
9450
9451
c32bde28 9452static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9453 PyObject *resultobj;
9454 wxImage *arg1 = (wxImage *) 0 ;
9455 int arg2 ;
9456 int arg3 ;
9457 unsigned char arg4 ;
9458 unsigned char arg5 ;
9459 unsigned char arg6 ;
9460 PyObject * obj0 = 0 ;
994141e6
RD
9461 PyObject * obj1 = 0 ;
9462 PyObject * obj2 = 0 ;
d14a1e28
RD
9463 PyObject * obj3 = 0 ;
9464 PyObject * obj4 = 0 ;
9465 PyObject * obj5 = 0 ;
9466 char *kwnames[] = {
9467 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9468 };
9469
994141e6 9470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9473 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9474 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9475 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9476 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9477 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9478 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9479 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj4);
15afbcd0 9480 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9481 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj5);
15afbcd0 9482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 Py_INCREF(Py_None); resultobj = Py_None;
9491 return resultobj;
9492 fail:
9493 return NULL;
9494}
9495
9496
c32bde28 9497static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9498 PyObject *resultobj;
9499 wxImage *arg1 = (wxImage *) 0 ;
9500 int arg2 ;
9501 int arg3 ;
9502 unsigned char result;
9503 PyObject * obj0 = 0 ;
994141e6
RD
9504 PyObject * obj1 = 0 ;
9505 PyObject * obj2 = 0 ;
d14a1e28
RD
9506 char *kwnames[] = {
9507 (char *) "self",(char *) "x",(char *) "y", NULL
9508 };
9509
994141e6 9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9513 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9514 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9515 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
c32bde28 9524 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9525 return resultobj;
9526 fail:
9527 return NULL;
9528}
9529
9530
c32bde28 9531static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9532 PyObject *resultobj;
9533 wxImage *arg1 = (wxImage *) 0 ;
9534 int arg2 ;
9535 int arg3 ;
9536 unsigned char result;
9537 PyObject * obj0 = 0 ;
994141e6
RD
9538 PyObject * obj1 = 0 ;
9539 PyObject * obj2 = 0 ;
d14a1e28
RD
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "x",(char *) "y", NULL
9542 };
9543
994141e6 9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9547 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9548 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9549 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9550 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
c32bde28 9558 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9559 return resultobj;
9560 fail:
9561 return NULL;
9562}
9563
9564
c32bde28 9565static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9566 PyObject *resultobj;
9567 wxImage *arg1 = (wxImage *) 0 ;
9568 int arg2 ;
9569 int arg3 ;
9570 unsigned char result;
9571 PyObject * obj0 = 0 ;
994141e6
RD
9572 PyObject * obj1 = 0 ;
9573 PyObject * obj2 = 0 ;
d14a1e28
RD
9574 char *kwnames[] = {
9575 (char *) "self",(char *) "x",(char *) "y", NULL
9576 };
9577
994141e6 9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9581 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9582 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9583 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9584 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9585 {
9586 PyThreadState* __tstate = wxPyBeginAllowThreads();
9587 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9588
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
c32bde28 9592 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9593 return resultobj;
9594 fail:
9595 return NULL;
9596}
9597
9598
c32bde28 9599static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9600 PyObject *resultobj;
9601 wxImage *arg1 = (wxImage *) 0 ;
9602 int arg2 ;
9603 int arg3 ;
9604 unsigned char arg4 ;
9605 PyObject * obj0 = 0 ;
994141e6
RD
9606 PyObject * obj1 = 0 ;
9607 PyObject * obj2 = 0 ;
d14a1e28
RD
9608 PyObject * obj3 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9611 };
9612
994141e6 9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9616 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9617 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9618 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9619 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9620 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 (arg1)->SetAlpha(arg2,arg3,arg4);
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 Py_INCREF(Py_None); resultobj = Py_None;
9630 return resultobj;
9631 fail:
9632 return NULL;
9633}
9634
9635
c32bde28 9636static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9637 PyObject *resultobj;
9638 wxImage *arg1 = (wxImage *) 0 ;
9639 int arg2 ;
9640 int arg3 ;
9641 unsigned char result;
9642 PyObject * obj0 = 0 ;
994141e6
RD
9643 PyObject * obj1 = 0 ;
9644 PyObject * obj2 = 0 ;
d14a1e28
RD
9645 char *kwnames[] = {
9646 (char *) "self",(char *) "x",(char *) "y", NULL
9647 };
9648
994141e6 9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9652 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9653 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9654 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9655 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
c32bde28 9663 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9664 return resultobj;
9665 fail:
9666 return NULL;
9667}
9668
9669
c32bde28 9670static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9671 PyObject *resultobj;
9672 wxImage *arg1 = (wxImage *) 0 ;
9673 bool result;
9674 PyObject * obj0 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 result = (bool)(arg1)->HasAlpha();
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
4f89f6a3
RD
9689 {
9690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9691 }
d14a1e28
RD
9692 return resultobj;
9693 fail:
9694 return NULL;
9695}
9696
9697
c32bde28 9698static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9699 PyObject *resultobj;
9700 wxImage *arg1 = (wxImage *) 0 ;
9701 byte *arg2 = (byte *) 0 ;
9702 byte *arg3 = (byte *) 0 ;
9703 byte *arg4 = (byte *) 0 ;
9704 byte arg5 = (byte) 0 ;
9705 byte arg6 = (byte) 0 ;
9706 byte arg7 = (byte) 0 ;
9707 bool result;
9708 byte temp2 ;
c32bde28 9709 int res2 = 0 ;
d14a1e28 9710 byte temp3 ;
c32bde28 9711 int res3 = 0 ;
d14a1e28 9712 byte temp4 ;
c32bde28 9713 int res4 = 0 ;
d14a1e28
RD
9714 PyObject * obj0 = 0 ;
9715 PyObject * obj1 = 0 ;
9716 PyObject * obj2 = 0 ;
9717 PyObject * obj3 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9720 };
9721
c32bde28
RD
9722 arg2 = &temp2; res2 = SWIG_NEWOBJ;
9723 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9724 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9728 if (obj1) {
c32bde28 9729 arg5 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 9730 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9731 }
9732 if (obj2) {
c32bde28 9733 arg6 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 9734 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9735 }
9736 if (obj3) {
c32bde28 9737 arg7 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9738 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9739 }
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
4f89f6a3
RD
9747 {
9748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9749 }
c32bde28
RD
9750 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
9751 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_byte, 0)));
9752 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9753 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_byte, 0)));
9754 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9755 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_byte, 0)));
d14a1e28
RD
9756 return resultobj;
9757 fail:
9758 return NULL;
9759}
9760
9761
c32bde28 9762static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) {
4cf4100f
RD
9763 PyObject *resultobj;
9764 wxImage *arg1 = (wxImage *) 0 ;
9765 byte arg2 = (byte) 128 ;
9766 bool result;
9767 PyObject * obj0 = 0 ;
9768 PyObject * obj1 = 0 ;
9769 char *kwnames[] = {
9770 (char *) "self",(char *) "threshold", NULL
9771 };
9772
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail;
9774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9776 if (obj1) {
c32bde28 9777 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
4cf4100f
RD
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 result = (bool)(arg1)->ConvertAlphaToMask(arg2);
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 {
9788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9789 }
9790 return resultobj;
9791 fail:
9792 return NULL;
9793}
9794
9795
8fb0e70a
RD
9796static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxImage *arg1 = (wxImage *) 0 ;
9799 unsigned char arg2 ;
9800 unsigned char arg3 ;
9801 unsigned char arg4 ;
9802 bool result;
9803 PyObject * obj0 = 0 ;
9804 PyObject * obj1 = 0 ;
9805 PyObject * obj2 = 0 ;
9806 PyObject * obj3 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9814 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (bool)(arg1)->ConvertColourToAlpha(arg2,arg3,arg4);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 {
9828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9829 }
9830 return resultobj;
9831 fail:
9832 return NULL;
9833}
9834
9835
c32bde28 9836static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9837 PyObject *resultobj;
9838 wxImage *arg1 = (wxImage *) 0 ;
9839 wxImage *arg2 = 0 ;
9840 byte arg3 ;
9841 byte arg4 ;
9842 byte arg5 ;
9843 bool result;
9844 PyObject * obj0 = 0 ;
9845 PyObject * obj1 = 0 ;
9846 PyObject * obj2 = 0 ;
9847 PyObject * obj3 = 0 ;
9848 PyObject * obj4 = 0 ;
9849 char *kwnames[] = {
9850 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9851 };
9852
9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9857 SWIG_POINTER_EXCEPTION | 0)) == -1)
9858 SWIG_fail;
d14a1e28 9859 if (arg2 == NULL) {
15afbcd0
RD
9860 PyErr_SetString(PyExc_TypeError,"null reference");
9861 SWIG_fail;
a41e16b6 9862 }
c32bde28 9863 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 9864 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9865 arg4 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9866 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9867 arg5 = (byte)SWIG_As_unsigned_SS_char(obj4);
15afbcd0 9868 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
4f89f6a3
RD
9876 {
9877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9878 }
d14a1e28
RD
9879 return resultobj;
9880 fail:
9881 return NULL;
9882}
9883
9884
c32bde28 9885static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9886 PyObject *resultobj;
9887 wxString *arg1 = 0 ;
9888 bool result;
ae8162c8 9889 bool temp1 = false ;
d14a1e28
RD
9890 PyObject * obj0 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "name", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9896 {
9897 arg1 = wxString_in_helper(obj0);
9898 if (arg1 == NULL) SWIG_fail;
ae8162c8 9899 temp1 = true;
d14a1e28
RD
9900 }
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
4f89f6a3
RD
9908 {
9909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9910 }
d14a1e28
RD
9911 {
9912 if (temp1)
9913 delete arg1;
9914 }
9915 return resultobj;
9916 fail:
9917 {
9918 if (temp1)
9919 delete arg1;
9920 }
9921 return NULL;
9922}
9923
9924
c32bde28 9925static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9926 PyObject *resultobj;
9927 wxString *arg1 = 0 ;
9928 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9929 int result;
ae8162c8 9930 bool temp1 = false ;
d14a1e28 9931 PyObject * obj0 = 0 ;
994141e6 9932 PyObject * obj1 = 0 ;
d14a1e28
RD
9933 char *kwnames[] = {
9934 (char *) "name",(char *) "type", NULL
9935 };
9936
994141e6 9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9938 {
9939 arg1 = wxString_in_helper(obj0);
9940 if (arg1 == NULL) SWIG_fail;
ae8162c8 9941 temp1 = true;
d14a1e28 9942 }
994141e6 9943 if (obj1) {
c32bde28 9944 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9945 if (PyErr_Occurred()) SWIG_fail;
994141e6 9946 }
d14a1e28
RD
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
c32bde28 9954 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9955 {
9956 if (temp1)
9957 delete arg1;
9958 }
9959 return resultobj;
9960 fail:
9961 {
9962 if (temp1)
9963 delete arg1;
9964 }
9965 return NULL;
9966}
9967
9968
c32bde28 9969static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9970 PyObject *resultobj;
9971 wxImage *arg1 = (wxImage *) 0 ;
9972 wxString *arg2 = 0 ;
9973 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9974 int arg4 = (int) -1 ;
9975 bool result;
ae8162c8 9976 bool temp2 = false ;
d14a1e28
RD
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
994141e6
RD
9979 PyObject * obj2 = 0 ;
9980 PyObject * obj3 = 0 ;
d14a1e28
RD
9981 char *kwnames[] = {
9982 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9983 };
9984
994141e6 9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9988 {
9989 arg2 = wxString_in_helper(obj1);
9990 if (arg2 == NULL) SWIG_fail;
ae8162c8 9991 temp2 = true;
d14a1e28 9992 }
994141e6 9993 if (obj2) {
c32bde28 9994 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 9995 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9996 }
9997 if (obj3) {
c32bde28 9998 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 9999 if (PyErr_Occurred()) SWIG_fail;
994141e6 10000 }
d14a1e28
RD
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
4f89f6a3
RD
10008 {
10009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10010 }
d14a1e28
RD
10011 {
10012 if (temp2)
10013 delete arg2;
10014 }
10015 return resultobj;
10016 fail:
10017 {
10018 if (temp2)
10019 delete arg2;
10020 }
10021 return NULL;
10022}
10023
10024
c32bde28 10025static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10026 PyObject *resultobj;
10027 wxImage *arg1 = (wxImage *) 0 ;
10028 wxString *arg2 = 0 ;
10029 wxString *arg3 = 0 ;
10030 int arg4 = (int) -1 ;
10031 bool result;
ae8162c8
RD
10032 bool temp2 = false ;
10033 bool temp3 = false ;
d14a1e28
RD
10034 PyObject * obj0 = 0 ;
10035 PyObject * obj1 = 0 ;
10036 PyObject * obj2 = 0 ;
994141e6 10037 PyObject * obj3 = 0 ;
d14a1e28
RD
10038 char *kwnames[] = {
10039 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
10040 };
10041
994141e6 10042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10045 {
10046 arg2 = wxString_in_helper(obj1);
10047 if (arg2 == NULL) SWIG_fail;
ae8162c8 10048 temp2 = true;
d14a1e28
RD
10049 }
10050 {
10051 arg3 = wxString_in_helper(obj2);
10052 if (arg3 == NULL) SWIG_fail;
ae8162c8 10053 temp3 = true;
d14a1e28 10054 }
994141e6 10055 if (obj3) {
c32bde28 10056 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10057 if (PyErr_Occurred()) SWIG_fail;
994141e6 10058 }
d14a1e28
RD
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
4f89f6a3
RD
10066 {
10067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10068 }
d14a1e28
RD
10069 {
10070 if (temp2)
10071 delete arg2;
10072 }
10073 {
10074 if (temp3)
10075 delete arg3;
10076 }
10077 return resultobj;
10078 fail:
10079 {
10080 if (temp2)
10081 delete arg2;
10082 }
10083 {
10084 if (temp3)
10085 delete arg3;
10086 }
10087 return NULL;
10088}
10089
10090
c32bde28 10091static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10092 PyObject *resultobj;
10093 wxImage *arg1 = (wxImage *) 0 ;
10094 wxString *arg2 = 0 ;
10095 int arg3 ;
10096 bool result;
ae8162c8 10097 bool temp2 = false ;
d14a1e28
RD
10098 PyObject * obj0 = 0 ;
10099 PyObject * obj1 = 0 ;
994141e6 10100 PyObject * obj2 = 0 ;
d14a1e28
RD
10101 char *kwnames[] = {
10102 (char *) "self",(char *) "name",(char *) "type", NULL
10103 };
10104
994141e6 10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10108 {
10109 arg2 = wxString_in_helper(obj1);
10110 if (arg2 == NULL) SWIG_fail;
ae8162c8 10111 temp2 = true;
d14a1e28 10112 }
c32bde28 10113 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
4f89f6a3
RD
10122 {
10123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10124 }
d14a1e28
RD
10125 {
10126 if (temp2)
10127 delete arg2;
10128 }
10129 return resultobj;
10130 fail:
10131 {
10132 if (temp2)
10133 delete arg2;
10134 }
10135 return NULL;
10136}
10137
10138
c32bde28 10139static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10140 PyObject *resultobj;
10141 wxImage *arg1 = (wxImage *) 0 ;
10142 wxString *arg2 = 0 ;
10143 wxString *arg3 = 0 ;
10144 bool result;
ae8162c8
RD
10145 bool temp2 = false ;
10146 bool temp3 = false ;
d14a1e28
RD
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149 PyObject * obj2 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10157 {
10158 arg2 = wxString_in_helper(obj1);
10159 if (arg2 == NULL) SWIG_fail;
ae8162c8 10160 temp2 = true;
d14a1e28
RD
10161 }
10162 {
10163 arg3 = wxString_in_helper(obj2);
10164 if (arg3 == NULL) SWIG_fail;
ae8162c8 10165 temp3 = true;
d14a1e28
RD
10166 }
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
4f89f6a3
RD
10174 {
10175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10176 }
d14a1e28
RD
10177 {
10178 if (temp2)
10179 delete arg2;
10180 }
10181 {
10182 if (temp3)
10183 delete arg3;
10184 }
10185 return resultobj;
10186 fail:
10187 {
10188 if (temp2)
10189 delete arg2;
10190 }
10191 {
10192 if (temp3)
10193 delete arg3;
10194 }
10195 return NULL;
10196}
10197
10198
c32bde28 10199static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10200 PyObject *resultobj;
10201 wxInputStream *arg1 = 0 ;
10202 bool result;
10203 wxPyInputStream *temp1 ;
10204 bool created1 ;
10205 PyObject * obj0 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "stream", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
10211 {
10212 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
10213 arg1 = temp1->m_wxis;
ae8162c8 10214 created1 = false;
d14a1e28
RD
10215 } else {
10216 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10217 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
10218 if (arg1 == NULL) {
10219 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10220 SWIG_fail;
10221 }
ae8162c8 10222 created1 = true;
d14a1e28
RD
10223 }
10224 }
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 result = (bool)wxImage::CanRead(*arg1);
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
4f89f6a3
RD
10232 {
10233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10234 }
d14a1e28
RD
10235 {
10236 if (created1)
10237 delete arg1;
10238 }
10239 return resultobj;
10240 fail:
10241 {
10242 if (created1)
10243 delete arg1;
10244 }
10245 return NULL;
10246}
10247
10248
c32bde28 10249static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10250 PyObject *resultobj;
10251 wxImage *arg1 = (wxImage *) 0 ;
10252 wxInputStream *arg2 = 0 ;
10253 long arg3 = (long) wxBITMAP_TYPE_ANY ;
10254 int arg4 = (int) -1 ;
10255 bool result;
10256 wxPyInputStream *temp2 ;
10257 bool created2 ;
10258 PyObject * obj0 = 0 ;
10259 PyObject * obj1 = 0 ;
994141e6
RD
10260 PyObject * obj2 = 0 ;
10261 PyObject * obj3 = 0 ;
d14a1e28
RD
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10264 };
10265
994141e6 10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10269 {
10270 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
10271 arg2 = temp2->m_wxis;
ae8162c8 10272 created2 = false;
d14a1e28
RD
10273 } else {
10274 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10275 arg2 = wxPyCBInputStream_create(obj1, false);
d14a1e28
RD
10276 if (arg2 == NULL) {
10277 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10278 SWIG_fail;
10279 }
ae8162c8 10280 created2 = true;
d14a1e28
RD
10281 }
10282 }
994141e6 10283 if (obj2) {
c32bde28 10284 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 10285 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10286 }
10287 if (obj3) {
c32bde28 10288 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10289 if (PyErr_Occurred()) SWIG_fail;
994141e6 10290 }
d14a1e28
RD
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
4f89f6a3
RD
10298 {
10299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10300 }
d14a1e28
RD
10301 {
10302 if (created2)
10303 delete arg2;
10304 }
10305 return resultobj;
10306 fail:
10307 {
10308 if (created2)
10309 delete arg2;
10310 }
10311 return NULL;
10312}
10313
10314
c32bde28 10315static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10316 PyObject *resultobj;
10317 wxImage *arg1 = (wxImage *) 0 ;
10318 wxInputStream *arg2 = 0 ;
10319 wxString *arg3 = 0 ;
10320 int arg4 = (int) -1 ;
10321 bool result;
10322 wxPyInputStream *temp2 ;
10323 bool created2 ;
ae8162c8 10324 bool temp3 = false ;
d14a1e28
RD
10325 PyObject * obj0 = 0 ;
10326 PyObject * obj1 = 0 ;
10327 PyObject * obj2 = 0 ;
994141e6 10328 PyObject * obj3 = 0 ;
d14a1e28
RD
10329 char *kwnames[] = {
10330 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10331 };
10332
994141e6 10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10336 {
10337 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
10338 arg2 = temp2->m_wxis;
ae8162c8 10339 created2 = false;
d14a1e28
RD
10340 } else {
10341 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10342 arg2 = wxPyCBInputStream_create(obj1, false);
d14a1e28
RD
10343 if (arg2 == NULL) {
10344 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10345 SWIG_fail;
10346 }
ae8162c8 10347 created2 = true;
d14a1e28
RD
10348 }
10349 }
10350 {
10351 arg3 = wxString_in_helper(obj2);
10352 if (arg3 == NULL) SWIG_fail;
ae8162c8 10353 temp3 = true;
d14a1e28 10354 }
994141e6 10355 if (obj3) {
c32bde28 10356 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10357 if (PyErr_Occurred()) SWIG_fail;
994141e6 10358 }
d14a1e28
RD
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
4f89f6a3
RD
10366 {
10367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10368 }
d14a1e28
RD
10369 {
10370 if (created2)
10371 delete arg2;
10372 }
10373 {
10374 if (temp3)
10375 delete arg3;
10376 }
10377 return resultobj;
10378 fail:
10379 {
10380 if (created2)
10381 delete arg2;
10382 }
10383 {
10384 if (temp3)
10385 delete arg3;
10386 }
10387 return NULL;
10388}
10389
10390
c32bde28 10391static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10392 PyObject *resultobj;
10393 wxImage *arg1 = (wxImage *) 0 ;
10394 bool result;
10395 PyObject * obj0 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
10401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 result = (bool)(arg1)->Ok();
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
4f89f6a3
RD
10410 {
10411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10412 }
d14a1e28
RD
10413 return resultobj;
10414 fail:
10415 return NULL;
10416}
10417
10418
c32bde28 10419static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10420 PyObject *resultobj;
10421 wxImage *arg1 = (wxImage *) 0 ;
10422 int result;
10423 PyObject * obj0 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (int)(arg1)->GetWidth();
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
c32bde28 10438 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10439 return resultobj;
10440 fail:
10441 return NULL;
10442}
10443
10444
c32bde28 10445static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10446 PyObject *resultobj;
10447 wxImage *arg1 = (wxImage *) 0 ;
10448 int result;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
10455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 result = (int)(arg1)->GetHeight();
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
c32bde28 10464 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10465 return resultobj;
10466 fail:
10467 return NULL;
10468}
10469
10470
c32bde28 10471static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
10472 PyObject *resultobj;
10473 wxImage *arg1 = (wxImage *) 0 ;
10474 wxSize result;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = wxImage_GetSize(arg1);
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 {
10491 wxSize * resultptr;
10492 resultptr = new wxSize((wxSize &) result);
10493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10494 }
10495 return resultobj;
10496 fail:
10497 return NULL;
10498}
10499
10500
c32bde28 10501static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10502 PyObject *resultobj;
10503 wxImage *arg1 = (wxImage *) 0 ;
10504 wxRect *arg2 = 0 ;
10505 SwigValueWrapper< wxImage > result;
10506 wxRect temp2 ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "rect", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10516 {
10517 arg2 = &temp2;
10518 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 {
10528 wxImage * resultptr;
10529 resultptr = new wxImage((wxImage &) result);
15afbcd0 10530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10531 }
10532 return resultobj;
10533 fail:
10534 return NULL;
10535}
10536
10537
c32bde28 10538static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10539 PyObject *resultobj;
10540 wxImage *arg1 = (wxImage *) 0 ;
10541 SwigValueWrapper< wxImage > result;
10542 PyObject * obj0 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = (arg1)->Copy();
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 {
10558 wxImage * resultptr;
10559 resultptr = new wxImage((wxImage &) result);
15afbcd0 10560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10561 }
10562 return resultobj;
10563 fail:
10564 return NULL;
10565}
10566
10567
c32bde28 10568static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10569 PyObject *resultobj;
10570 wxImage *arg1 = (wxImage *) 0 ;
10571 wxImage *arg2 = 0 ;
10572 int arg3 ;
10573 int arg4 ;
10574 PyObject * obj0 = 0 ;
10575 PyObject * obj1 = 0 ;
994141e6
RD
10576 PyObject * obj2 = 0 ;
10577 PyObject * obj3 = 0 ;
d14a1e28
RD
10578 char *kwnames[] = {
10579 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10580 };
10581
994141e6 10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10586 SWIG_POINTER_EXCEPTION | 0)) == -1)
10587 SWIG_fail;
d14a1e28 10588 if (arg2 == NULL) {
15afbcd0
RD
10589 PyErr_SetString(PyExc_TypeError,"null reference");
10590 SWIG_fail;
994141e6 10591 }
c32bde28 10592 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10593 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10594 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10595 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10599
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 Py_INCREF(Py_None); resultobj = Py_None;
10604 return resultobj;
10605 fail:
10606 return NULL;
10607}
10608
10609
c32bde28 10610static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10611 PyObject *resultobj;
10612 wxImage *arg1 = (wxImage *) 0 ;
10613 PyObject *result;
10614 PyObject * obj0 = 0 ;
10615 char *kwnames[] = {
10616 (char *) "self", NULL
10617 };
10618
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10622 {
10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
10624 result = (PyObject *)wxImage_GetData(arg1);
10625
10626 wxPyEndAllowThreads(__tstate);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 resultobj = result;
10630 return resultobj;
10631 fail:
10632 return NULL;
10633}
10634
10635
c32bde28 10636static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10637 PyObject *resultobj;
10638 wxImage *arg1 = (wxImage *) 0 ;
10639 PyObject *arg2 = (PyObject *) 0 ;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "data", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10649 arg2 = obj1;
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 wxImage_SetData(arg1,arg2);
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 Py_INCREF(Py_None); resultobj = Py_None;
10658 return resultobj;
10659 fail:
10660 return NULL;
10661}
10662
10663
c32bde28 10664static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10665 PyObject *resultobj;
10666 wxImage *arg1 = (wxImage *) 0 ;
10667 PyObject *result;
10668 PyObject * obj0 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 resultobj = result;
10684 return resultobj;
10685 fail:
10686 return NULL;
10687}
10688
10689
c32bde28 10690static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10691 PyObject *resultobj;
10692 wxImage *arg1 = (wxImage *) 0 ;
10693 PyObject *arg2 = (PyObject *) 0 ;
10694 PyObject * obj0 = 0 ;
10695 PyObject * obj1 = 0 ;
10696 char *kwnames[] = {
10697 (char *) "self",(char *) "data", NULL
10698 };
10699
10700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10703 arg2 = obj1;
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 wxImage_SetDataBuffer(arg1,arg2);
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 Py_INCREF(Py_None); resultobj = Py_None;
10712 return resultobj;
10713 fail:
10714 return NULL;
10715}
10716
10717
c32bde28 10718static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10719 PyObject *resultobj;
10720 wxImage *arg1 = (wxImage *) 0 ;
10721 PyObject *result;
10722 PyObject * obj0 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (PyObject *)wxImage_GetAlphaData(arg1);
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 resultobj = result;
10738 return resultobj;
10739 fail:
10740 return NULL;
10741}
10742
10743
c32bde28 10744static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10745 PyObject *resultobj;
10746 wxImage *arg1 = (wxImage *) 0 ;
10747 PyObject *arg2 = (PyObject *) 0 ;
10748 PyObject * obj0 = 0 ;
10749 PyObject * obj1 = 0 ;
10750 char *kwnames[] = {
10751 (char *) "self",(char *) "data", NULL
10752 };
10753
10754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10757 arg2 = obj1;
10758 {
10759 PyThreadState* __tstate = wxPyBeginAllowThreads();
10760 wxImage_SetAlphaData(arg1,arg2);
10761
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 Py_INCREF(Py_None); resultobj = Py_None;
10766 return resultobj;
10767 fail:
10768 return NULL;
10769}
10770
10771
c32bde28 10772static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10773 PyObject *resultobj;
10774 wxImage *arg1 = (wxImage *) 0 ;
10775 PyObject *result;
10776 PyObject * obj0 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "self", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 resultobj = result;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795}
10796
10797
c32bde28 10798static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10799 PyObject *resultobj;
10800 wxImage *arg1 = (wxImage *) 0 ;
10801 PyObject *arg2 = (PyObject *) 0 ;
10802 PyObject * obj0 = 0 ;
10803 PyObject * obj1 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self",(char *) "data", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10811 arg2 = obj1;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 wxImage_SetAlphaBuffer(arg1,arg2);
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 Py_INCREF(Py_None); resultobj = Py_None;
10820 return resultobj;
10821 fail:
10822 return NULL;
10823}
10824
10825
c32bde28 10826static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10827 PyObject *resultobj;
10828 wxImage *arg1 = (wxImage *) 0 ;
10829 unsigned char arg2 ;
10830 unsigned char arg3 ;
10831 unsigned char arg4 ;
10832 PyObject * obj0 = 0 ;
10833 PyObject * obj1 = 0 ;
10834 PyObject * obj2 = 0 ;
10835 PyObject * obj3 = 0 ;
10836 char *kwnames[] = {
10837 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10838 };
10839
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10843 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 10844 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10845 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 10846 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10847 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 10848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 (arg1)->SetMaskColour(arg2,arg3,arg4);
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 Py_INCREF(Py_None); resultobj = Py_None;
10857 return resultobj;
10858 fail:
10859 return NULL;
10860}
10861
10862
c32bde28 10863static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10864 PyObject *resultobj;
10865 wxImage *arg1 = (wxImage *) 0 ;
10866 unsigned char result;
10867 PyObject * obj0 = 0 ;
10868 char *kwnames[] = {
10869 (char *) "self", NULL
10870 };
10871
10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 result = (unsigned char)(arg1)->GetMaskRed();
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
c32bde28 10882 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
10883 return resultobj;
10884 fail:
10885 return NULL;
10886}
10887
10888
c32bde28 10889static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10890 PyObject *resultobj;
10891 wxImage *arg1 = (wxImage *) 0 ;
10892 unsigned char result;
10893 PyObject * obj0 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "self", NULL
10896 };
10897
10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 result = (unsigned char)(arg1)->GetMaskGreen();
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
c32bde28 10908 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
10909 return resultobj;
10910 fail:
10911 return NULL;
10912}
10913
10914
c32bde28 10915static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10916 PyObject *resultobj;
10917 wxImage *arg1 = (wxImage *) 0 ;
10918 unsigned char result;
10919 PyObject * obj0 = 0 ;
10920 char *kwnames[] = {
10921 (char *) "self", NULL
10922 };
10923
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 result = (unsigned char)(arg1)->GetMaskBlue();
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
c32bde28 10934 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
10935 return resultobj;
10936 fail:
10937 return NULL;
10938}
10939
10940
c32bde28 10941static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10942 PyObject *resultobj;
10943 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 10944 bool arg2 = (bool) true ;
d14a1e28
RD
10945 PyObject * obj0 = 0 ;
10946 PyObject * obj1 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self",(char *) "mask", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10954 if (obj1) {
c32bde28 10955 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 10956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10957 }
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 (arg1)->SetMask(arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 Py_INCREF(Py_None); resultobj = Py_None;
10966 return resultobj;
10967 fail:
10968 return NULL;
10969}
10970
10971
c32bde28 10972static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10973 PyObject *resultobj;
10974 wxImage *arg1 = (wxImage *) 0 ;
10975 bool result;
10976 PyObject * obj0 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 result = (bool)(arg1)->HasMask();
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
4f89f6a3
RD
10991 {
10992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10993 }
d14a1e28
RD
10994 return resultobj;
10995 fail:
10996 return NULL;
10997}
10998
10999
c32bde28 11000static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11001 PyObject *resultobj;
11002 wxImage *arg1 = (wxImage *) 0 ;
11003 double arg2 ;
11004 wxPoint *arg3 = 0 ;
ae8162c8 11005 bool arg4 = (bool) true ;
d14a1e28
RD
11006 wxPoint *arg5 = (wxPoint *) NULL ;
11007 SwigValueWrapper< wxImage > result;
11008 wxPoint temp3 ;
11009 PyObject * obj0 = 0 ;
994141e6 11010 PyObject * obj1 = 0 ;
d14a1e28
RD
11011 PyObject * obj2 = 0 ;
11012 PyObject * obj3 = 0 ;
11013 PyObject * obj4 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
11016 };
11017
994141e6 11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11021 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 11022 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11023 {
11024 arg3 = &temp3;
11025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11026 }
11027 if (obj3) {
c32bde28 11028 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 11029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11030 }
11031 if (obj4) {
15afbcd0
RD
11032 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
11033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11034 }
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 {
11043 wxImage * resultptr;
11044 resultptr = new wxImage((wxImage &) result);
15afbcd0 11045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11046 }
11047 return resultobj;
11048 fail:
11049 return NULL;
11050}
11051
11052
c32bde28 11053static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11054 PyObject *resultobj;
11055 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 11056 bool arg2 = (bool) true ;
d14a1e28
RD
11057 SwigValueWrapper< wxImage > result;
11058 PyObject * obj0 = 0 ;
11059 PyObject * obj1 = 0 ;
11060 char *kwnames[] = {
11061 (char *) "self",(char *) "clockwise", NULL
11062 };
11063
11064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11067 if (obj1) {
c32bde28 11068 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11070 }
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (arg1)->Rotate90(arg2);
11074
11075 wxPyEndAllowThreads(__tstate);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 {
11079 wxImage * resultptr;
11080 resultptr = new wxImage((wxImage &) result);
15afbcd0 11081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11082 }
11083 return resultobj;
11084 fail:
11085 return NULL;
11086}
11087
11088
c32bde28 11089static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11090 PyObject *resultobj;
11091 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 11092 bool arg2 = (bool) true ;
d14a1e28
RD
11093 SwigValueWrapper< wxImage > result;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 char *kwnames[] = {
11097 (char *) "self",(char *) "horizontally", NULL
11098 };
11099
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11103 if (obj1) {
c32bde28 11104 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11106 }
11107 {
11108 PyThreadState* __tstate = wxPyBeginAllowThreads();
11109 result = (arg1)->Mirror(arg2);
11110
11111 wxPyEndAllowThreads(__tstate);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 }
11114 {
11115 wxImage * resultptr;
11116 resultptr = new wxImage((wxImage &) result);
15afbcd0 11117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11118 }
11119 return resultobj;
11120 fail:
11121 return NULL;
11122}
11123
11124
c32bde28 11125static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11126 PyObject *resultobj;
11127 wxImage *arg1 = (wxImage *) 0 ;
11128 unsigned char arg2 ;
11129 unsigned char arg3 ;
11130 unsigned char arg4 ;
11131 unsigned char arg5 ;
11132 unsigned char arg6 ;
11133 unsigned char arg7 ;
11134 PyObject * obj0 = 0 ;
11135 PyObject * obj1 = 0 ;
11136 PyObject * obj2 = 0 ;
11137 PyObject * obj3 = 0 ;
11138 PyObject * obj4 = 0 ;
11139 PyObject * obj5 = 0 ;
11140 PyObject * obj6 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11148 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 11149 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11150 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 11151 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11152 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 11153 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11154 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj4);
15afbcd0 11155 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11156 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj5);
15afbcd0 11157 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11158 arg7 = (unsigned char)SWIG_As_unsigned_SS_char(obj6);
15afbcd0 11159 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 Py_INCREF(Py_None); resultobj = Py_None;
11168 return resultobj;
11169 fail:
11170 return NULL;
11171}
11172
11173
c32bde28 11174static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11175 PyObject *resultobj;
11176 wxImage *arg1 = (wxImage *) 0 ;
11177 unsigned char arg2 ;
11178 unsigned char arg3 ;
11179 unsigned char arg4 ;
11180 SwigValueWrapper< wxImage > result;
11181 PyObject * obj0 = 0 ;
11182 PyObject * obj1 = 0 ;
11183 PyObject * obj2 = 0 ;
11184 PyObject * obj3 = 0 ;
11185 char *kwnames[] = {
11186 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11192 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 11193 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11194 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 11195 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11196 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 11197 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 {
11206 wxImage * resultptr;
11207 resultptr = new wxImage((wxImage &) result);
15afbcd0 11208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11209 }
11210 return resultobj;
11211 fail:
11212 return NULL;
11213}
11214
11215
c32bde28 11216static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11217 PyObject *resultobj;
11218 wxImage *arg1 = (wxImage *) 0 ;
11219 wxString *arg2 = 0 ;
11220 wxString *arg3 = 0 ;
ae8162c8
RD
11221 bool temp2 = false ;
11222 bool temp3 = false ;
d14a1e28
RD
11223 PyObject * obj0 = 0 ;
11224 PyObject * obj1 = 0 ;
11225 PyObject * obj2 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self",(char *) "name",(char *) "value", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11233 {
11234 arg2 = wxString_in_helper(obj1);
11235 if (arg2 == NULL) SWIG_fail;
ae8162c8 11236 temp2 = true;
d14a1e28
RD
11237 }
11238 {
11239 arg3 = wxString_in_helper(obj2);
11240 if (arg3 == NULL) SWIG_fail;
ae8162c8 11241 temp3 = true;
d14a1e28
RD
11242 }
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 Py_INCREF(Py_None); resultobj = Py_None;
11251 {
11252 if (temp2)
11253 delete arg2;
11254 }
11255 {
11256 if (temp3)
11257 delete arg3;
11258 }
11259 return resultobj;
11260 fail:
11261 {
11262 if (temp2)
11263 delete arg2;
11264 }
11265 {
11266 if (temp3)
11267 delete arg3;
11268 }
11269 return NULL;
11270}
11271
11272
c32bde28 11273static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11274 PyObject *resultobj;
11275 wxImage *arg1 = (wxImage *) 0 ;
11276 wxString *arg2 = 0 ;
11277 int arg3 ;
ae8162c8 11278 bool temp2 = false ;
d14a1e28
RD
11279 PyObject * obj0 = 0 ;
11280 PyObject * obj1 = 0 ;
994141e6 11281 PyObject * obj2 = 0 ;
d14a1e28
RD
11282 char *kwnames[] = {
11283 (char *) "self",(char *) "name",(char *) "value", NULL
11284 };
11285
994141e6 11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11289 {
11290 arg2 = wxString_in_helper(obj1);
11291 if (arg2 == NULL) SWIG_fail;
ae8162c8 11292 temp2 = true;
d14a1e28 11293 }
c32bde28 11294 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 (arg1)->SetOption((wxString const &)*arg2,arg3);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 Py_INCREF(Py_None); resultobj = Py_None;
11304 {
11305 if (temp2)
11306 delete arg2;
11307 }
11308 return resultobj;
11309 fail:
11310 {
11311 if (temp2)
11312 delete arg2;
11313 }
11314 return NULL;
11315}
11316
11317
c32bde28 11318static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11319 PyObject *resultobj;
11320 wxImage *arg1 = (wxImage *) 0 ;
11321 wxString *arg2 = 0 ;
11322 wxString result;
ae8162c8 11323 bool temp2 = false ;
d14a1e28
RD
11324 PyObject * obj0 = 0 ;
11325 PyObject * obj1 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "self",(char *) "name", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11333 {
11334 arg2 = wxString_in_helper(obj1);
11335 if (arg2 == NULL) SWIG_fail;
ae8162c8 11336 temp2 = true;
d14a1e28
RD
11337 }
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 {
11346#if wxUSE_UNICODE
11347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11348#else
11349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11350#endif
11351 }
11352 {
11353 if (temp2)
11354 delete arg2;
11355 }
11356 return resultobj;
11357 fail:
11358 {
11359 if (temp2)
11360 delete arg2;
11361 }
11362 return NULL;
11363}
11364
11365
c32bde28 11366static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11367 PyObject *resultobj;
11368 wxImage *arg1 = (wxImage *) 0 ;
11369 wxString *arg2 = 0 ;
11370 int result;
ae8162c8 11371 bool temp2 = false ;
d14a1e28
RD
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "self",(char *) "name", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11381 {
11382 arg2 = wxString_in_helper(obj1);
11383 if (arg2 == NULL) SWIG_fail;
ae8162c8 11384 temp2 = true;
d14a1e28
RD
11385 }
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
c32bde28 11393 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11394 {
11395 if (temp2)
11396 delete arg2;
11397 }
11398 return resultobj;
11399 fail:
11400 {
11401 if (temp2)
11402 delete arg2;
11403 }
11404 return NULL;
11405}
11406
11407
c32bde28 11408static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11409 PyObject *resultobj;
11410 wxImage *arg1 = (wxImage *) 0 ;
11411 wxString *arg2 = 0 ;
11412 bool result;
ae8162c8 11413 bool temp2 = false ;
d14a1e28
RD
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "self",(char *) "name", NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11423 {
11424 arg2 = wxString_in_helper(obj1);
11425 if (arg2 == NULL) SWIG_fail;
ae8162c8 11426 temp2 = true;
d14a1e28
RD
11427 }
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11431
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
4f89f6a3
RD
11435 {
11436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11437 }
d14a1e28
RD
11438 {
11439 if (temp2)
11440 delete arg2;
11441 }
11442 return resultobj;
11443 fail:
11444 {
11445 if (temp2)
11446 delete arg2;
11447 }
11448 return NULL;
11449}
11450
11451
c32bde28 11452static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11453 PyObject *resultobj;
11454 wxImage *arg1 = (wxImage *) 0 ;
11455 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11456 unsigned long result;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self",(char *) "stopafter", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11466 if (obj1) {
c32bde28 11467 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 11468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11469 }
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (unsigned long)(arg1)->CountColours(arg2);
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
c32bde28 11477 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
11478 return resultobj;
11479 fail:
11480 return NULL;
11481}
11482
11483
c32bde28 11484static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11485 PyObject *resultobj;
11486 wxImage *arg1 = (wxImage *) 0 ;
11487 wxImageHistogram *arg2 = 0 ;
11488 unsigned long result;
11489 PyObject * obj0 = 0 ;
11490 PyObject * obj1 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self",(char *) "h", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11499 SWIG_POINTER_EXCEPTION | 0)) == -1)
11500 SWIG_fail;
d14a1e28 11501 if (arg2 == NULL) {
15afbcd0
RD
11502 PyErr_SetString(PyExc_TypeError,"null reference");
11503 SWIG_fail;
d14a1e28
RD
11504 }
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
c32bde28 11512 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
11513 return resultobj;
11514 fail:
11515 return NULL;
11516}
11517
11518
c32bde28 11519static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11520 PyObject *resultobj;
11521 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11522 PyObject * obj0 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "handler", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 wxImage::AddHandler(arg1);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 Py_INCREF(Py_None); resultobj = Py_None;
11538 return resultobj;
11539 fail:
11540 return NULL;
11541}
11542
11543
c32bde28 11544static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11545 PyObject *resultobj;
11546 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11547 PyObject * obj0 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "handler", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 wxImage::InsertHandler(arg1);
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 Py_INCREF(Py_None); resultobj = Py_None;
11563 return resultobj;
11564 fail:
11565 return NULL;
11566}
11567
11568
c32bde28 11569static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11570 PyObject *resultobj;
11571 wxString *arg1 = 0 ;
11572 bool result;
ae8162c8 11573 bool temp1 = false ;
d14a1e28
RD
11574 PyObject * obj0 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "name", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11580 {
11581 arg1 = wxString_in_helper(obj0);
11582 if (arg1 == NULL) SWIG_fail;
ae8162c8 11583 temp1 = true;
d14a1e28
RD
11584 }
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
4f89f6a3
RD
11592 {
11593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11594 }
d14a1e28
RD
11595 {
11596 if (temp1)
11597 delete arg1;
11598 }
11599 return resultobj;
11600 fail:
11601 {
11602 if (temp1)
11603 delete arg1;
11604 }
11605 return NULL;
11606}
11607
11608
c32bde28 11609static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11610 PyObject *resultobj;
11611 wxString result;
11612 char *kwnames[] = {
11613 NULL
11614 };
11615
11616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 result = wxImage::GetImageExtWildcard();
11620
11621 wxPyEndAllowThreads(__tstate);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 }
11624 {
11625#if wxUSE_UNICODE
11626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11627#else
11628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11629#endif
11630 }
11631 return resultobj;
11632 fail:
11633 return NULL;
11634}
11635
11636
c32bde28 11637static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11638 PyObject *resultobj;
11639 wxImage *arg1 = (wxImage *) 0 ;
1fbf26be 11640 int arg2 = (int) -1 ;
d14a1e28
RD
11641 wxBitmap result;
11642 PyObject * obj0 = 0 ;
1fbf26be 11643 PyObject * obj1 = 0 ;
d14a1e28 11644 char *kwnames[] = {
1fbf26be 11645 (char *) "self",(char *) "depth", NULL
d14a1e28
RD
11646 };
11647
1fbf26be 11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fbf26be
RD
11651 if (obj1) {
11652 arg2 = (int)SWIG_As_int(obj1);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
d14a1e28 11655 {
e3b71cb8 11656 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fbf26be 11658 result = wxImage_ConvertToBitmap(arg1,arg2);
d14a1e28
RD
11659
11660 wxPyEndAllowThreads(__tstate);
110da5b0 11661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11662 }
11663 {
11664 wxBitmap * resultptr;
11665 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11667 }
11668 return resultobj;
11669 fail:
11670 return NULL;
11671}
11672
11673
c32bde28 11674static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11675 PyObject *resultobj;
11676 wxImage *arg1 = (wxImage *) 0 ;
11677 unsigned char arg2 ;
11678 unsigned char arg3 ;
11679 unsigned char arg4 ;
11680 wxBitmap result;
11681 PyObject * obj0 = 0 ;
11682 PyObject * obj1 = 0 ;
11683 PyObject * obj2 = 0 ;
11684 PyObject * obj3 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11692 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 11693 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11694 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 11695 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11696 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 11697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11698 {
e3b71cb8 11699 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11702
11703 wxPyEndAllowThreads(__tstate);
110da5b0 11704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11705 }
11706 {
11707 wxBitmap * resultptr;
11708 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11710 }
11711 return resultobj;
11712 fail:
11713 return NULL;
11714}
11715
11716
c32bde28 11717static PyObject * Image_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11718 PyObject *obj;
11719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11720 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11721 Py_INCREF(obj);
11722 return Py_BuildValue((char *)"");
11723}
c32bde28 11724static int _wrap_NullImage_set(PyObject *) {
d14a1e28
RD
11725 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11726 return 1;
11727}
11728
11729
11730static PyObject *_wrap_NullImage_get() {
11731 PyObject *pyobj;
11732
15afbcd0 11733 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11734 return pyobj;
11735}
11736
11737
c32bde28 11738static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
d14a1e28
RD
11739 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11740 return 1;
11741}
11742
11743
11744static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11745 PyObject *pyobj;
11746
11747 {
11748#if wxUSE_UNICODE
11749 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11750#else
11751 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11752#endif
11753 }
11754 return pyobj;
11755}
11756
11757
c32bde28 11758static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
d14a1e28
RD
11759 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11760 return 1;
11761}
11762
11763
11764static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11765 PyObject *pyobj;
11766
11767 {
11768#if wxUSE_UNICODE
11769 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11770#else
11771 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11772#endif
11773 }
11774 return pyobj;
11775}
11776
11777
c32bde28 11778static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
d14a1e28
RD
11779 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11780 return 1;
11781}
11782
11783
11784static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11785 PyObject *pyobj;
11786
11787 {
11788#if wxUSE_UNICODE
11789 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11790#else
11791 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11792#endif
11793 }
11794 return pyobj;
11795}
11796
11797
c32bde28 11798static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
d14a1e28
RD
11799 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11800 return 1;
11801}
11802
11803
11804static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11805 PyObject *pyobj;
11806
11807 {
11808#if wxUSE_UNICODE
11809 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11810#else
11811 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11812#endif
11813 }
11814 return pyobj;
11815}
11816
11817
c32bde28 11818static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
d14a1e28
RD
11819 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11820 return 1;
11821}
11822
11823
11824static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11825 PyObject *pyobj;
11826
11827 {
11828#if wxUSE_UNICODE
11829 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11830#else
11831 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11832#endif
11833 }
11834 return pyobj;
11835}
11836
11837
c32bde28 11838static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11839 PyObject *resultobj;
11840 wxBMPHandler *result;
11841 char *kwnames[] = {
11842 NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (wxBMPHandler *)new wxBMPHandler();
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
15afbcd0 11853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11854 return resultobj;
11855 fail:
11856 return NULL;
11857}
11858
11859
c32bde28 11860static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11861 PyObject *obj;
11862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11863 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11864 Py_INCREF(obj);
11865 return Py_BuildValue((char *)"");
11866}
c32bde28 11867static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11868 PyObject *resultobj;
11869 wxICOHandler *result;
11870 char *kwnames[] = {
11871 NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 result = (wxICOHandler *)new wxICOHandler();
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
15afbcd0 11882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11883 return resultobj;
11884 fail:
11885 return NULL;
11886}
11887
11888
c32bde28 11889static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11890 PyObject *obj;
11891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11892 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11893 Py_INCREF(obj);
11894 return Py_BuildValue((char *)"");
11895}
c32bde28 11896static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11897 PyObject *resultobj;
11898 wxCURHandler *result;
11899 char *kwnames[] = {
11900 NULL
11901 };
11902
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11904 {
11905 PyThreadState* __tstate = wxPyBeginAllowThreads();
11906 result = (wxCURHandler *)new wxCURHandler();
11907
11908 wxPyEndAllowThreads(__tstate);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
15afbcd0 11911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11912 return resultobj;
11913 fail:
11914 return NULL;
11915}
11916
11917
c32bde28 11918static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11919 PyObject *obj;
11920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11921 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11922 Py_INCREF(obj);
11923 return Py_BuildValue((char *)"");
11924}
c32bde28 11925static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11926 PyObject *resultobj;
11927 wxANIHandler *result;
11928 char *kwnames[] = {
11929 NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11933 {
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 result = (wxANIHandler *)new wxANIHandler();
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
15afbcd0 11940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11941 return resultobj;
11942 fail:
11943 return NULL;
11944}
11945
11946
c32bde28 11947static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11948 PyObject *obj;
11949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11950 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11951 Py_INCREF(obj);
11952 return Py_BuildValue((char *)"");
11953}
c32bde28 11954static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11955 PyObject *resultobj;
11956 wxPNGHandler *result;
11957 char *kwnames[] = {
11958 NULL
11959 };
11960
11961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 result = (wxPNGHandler *)new wxPNGHandler();
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
15afbcd0 11969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11970 return resultobj;
11971 fail:
11972 return NULL;
11973}
11974
11975
c32bde28 11976static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11977 PyObject *obj;
11978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11979 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11980 Py_INCREF(obj);
11981 return Py_BuildValue((char *)"");
11982}
c32bde28 11983static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11984 PyObject *resultobj;
11985 wxGIFHandler *result;
11986 char *kwnames[] = {
11987 NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (wxGIFHandler *)new wxGIFHandler();
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
15afbcd0 11998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11999 return resultobj;
12000 fail:
12001 return NULL;
12002}
12003
12004
c32bde28 12005static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12006 PyObject *obj;
12007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12008 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
12009 Py_INCREF(obj);
12010 return Py_BuildValue((char *)"");
12011}
c32bde28 12012static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12013 PyObject *resultobj;
12014 wxPCXHandler *result;
12015 char *kwnames[] = {
12016 NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 result = (wxPCXHandler *)new wxPCXHandler();
12023
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
15afbcd0 12027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
12028 return resultobj;
12029 fail:
12030 return NULL;
12031}
12032
12033
c32bde28 12034static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12035 PyObject *obj;
12036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12037 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
12038 Py_INCREF(obj);
12039 return Py_BuildValue((char *)"");
12040}
c32bde28 12041static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12042 PyObject *resultobj;
12043 wxJPEGHandler *result;
12044 char *kwnames[] = {
12045 NULL
12046 };
12047
12048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (wxJPEGHandler *)new wxJPEGHandler();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
15afbcd0 12056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
12057 return resultobj;
12058 fail:
12059 return NULL;
12060}
12061
12062
c32bde28 12063static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12064 PyObject *obj;
12065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12066 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
12067 Py_INCREF(obj);
12068 return Py_BuildValue((char *)"");
12069}
c32bde28 12070static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12071 PyObject *resultobj;
12072 wxPNMHandler *result;
12073 char *kwnames[] = {
12074 NULL
12075 };
12076
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (wxPNMHandler *)new wxPNMHandler();
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
15afbcd0 12085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
12086 return resultobj;
12087 fail:
12088 return NULL;
12089}
12090
12091
c32bde28 12092static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12093 PyObject *obj;
12094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12095 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
12096 Py_INCREF(obj);
12097 return Py_BuildValue((char *)"");
12098}
c32bde28 12099static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12100 PyObject *resultobj;
12101 wxXPMHandler *result;
12102 char *kwnames[] = {
12103 NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
12109 result = (wxXPMHandler *)new wxXPMHandler();
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
15afbcd0 12114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
12115 return resultobj;
12116 fail:
12117 return NULL;
12118}
12119
12120
c32bde28 12121static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12122 PyObject *obj;
12123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12124 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
12125 Py_INCREF(obj);
12126 return Py_BuildValue((char *)"");
12127}
c32bde28 12128static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12129 PyObject *resultobj;
12130 wxTIFFHandler *result;
12131 char *kwnames[] = {
12132 NULL
12133 };
12134
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 result = (wxTIFFHandler *)new wxTIFFHandler();
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
15afbcd0 12143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
12144 return resultobj;
12145 fail:
12146 return NULL;
12147}
12148
12149
c32bde28 12150static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12151 PyObject *obj;
12152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12153 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
12154 Py_INCREF(obj);
12155 return Py_BuildValue((char *)"");
12156}
c32bde28 12157static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) {
c0de73ae
RD
12158 PyObject *resultobj;
12159 wxImage *arg1 = 0 ;
12160 wxImage *arg2 = 0 ;
12161 int arg3 = (int) 236 ;
12162 int arg4 = (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE ;
12163 bool result;
12164 PyObject * obj0 = 0 ;
12165 PyObject * obj1 = 0 ;
12166 PyObject * obj2 = 0 ;
12167 PyObject * obj3 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
12174 SWIG_POINTER_EXCEPTION | 0)) == -1)
12175 SWIG_fail;
12176 if (arg1 == NULL) {
12177 PyErr_SetString(PyExc_TypeError,"null reference");
12178 SWIG_fail;
12179 }
12180 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
12181 SWIG_POINTER_EXCEPTION | 0)) == -1)
12182 SWIG_fail;
12183 if (arg2 == NULL) {
12184 PyErr_SetString(PyExc_TypeError,"null reference");
12185 SWIG_fail;
12186 }
12187 if (obj2) {
c32bde28 12188 arg3 = (int)SWIG_As_int(obj2);
c0de73ae
RD
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 if (obj3) {
c32bde28 12192 arg4 = (int)SWIG_As_int(obj3);
c0de73ae
RD
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 {
12203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12204 }
12205 return resultobj;
12206 fail:
12207 return NULL;
12208}
12209
12210
c32bde28 12211static PyObject * Quantize_swigregister(PyObject *, PyObject *args) {
c0de73ae
RD
12212 PyObject *obj;
12213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12214 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj);
12215 Py_INCREF(obj);
12216 return Py_BuildValue((char *)"");
12217}
c32bde28 12218static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12219 PyObject *resultobj;
12220 wxEvtHandler *result;
12221 char *kwnames[] = {
12222 NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = (wxEvtHandler *)new wxEvtHandler();
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
b0f7404b 12233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
d14a1e28
RD
12234 return resultobj;
12235 fail:
12236 return NULL;
12237}
12238
12239
c32bde28 12240static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12241 PyObject *resultobj;
12242 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12243 wxEvtHandler *result;
12244 PyObject * obj0 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (wxEvtHandler *)(arg1)->GetNextHandler();
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 {
412d302d 12260 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12261 }
12262 return resultobj;
12263 fail:
12264 return NULL;
12265}
12266
12267
c32bde28 12268static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12269 PyObject *resultobj;
12270 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12271 wxEvtHandler *result;
12272 PyObject * obj0 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
12283
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 {
412d302d 12288 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12289 }
12290 return resultobj;
12291 fail:
12292 return NULL;
12293}
12294
12295
c32bde28 12296static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12297 PyObject *resultobj;
12298 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12299 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 char *kwnames[] = {
12303 (char *) "self",(char *) "handler", NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
12310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 (arg1)->SetNextHandler(arg2);
12314
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 Py_INCREF(Py_None); resultobj = Py_None;
12319 return resultobj;
12320 fail:
12321 return NULL;
12322}
12323
12324
c32bde28 12325static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12326 PyObject *resultobj;
12327 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12328 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
12329 PyObject * obj0 = 0 ;
12330 PyObject * obj1 = 0 ;
12331 char *kwnames[] = {
12332 (char *) "self",(char *) "handler", NULL
12333 };
12334
12335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
12339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 (arg1)->SetPreviousHandler(arg2);
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 Py_INCREF(Py_None); resultobj = Py_None;
12348 return resultobj;
12349 fail:
12350 return NULL;
12351}
12352
12353
c32bde28 12354static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12355 PyObject *resultobj;
12356 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12357 bool result;
12358 PyObject * obj0 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
12364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (bool)(arg1)->GetEvtHandlerEnabled();
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
4f89f6a3
RD
12373 {
12374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12375 }
d14a1e28
RD
12376 return resultobj;
12377 fail:
12378 return NULL;
12379}
12380
12381
c32bde28 12382static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12383 PyObject *resultobj;
12384 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12385 bool arg2 ;
12386 PyObject * obj0 = 0 ;
12387 PyObject * obj1 = 0 ;
12388 char *kwnames[] = {
12389 (char *) "self",(char *) "enabled", NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12395 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 12396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 (arg1)->SetEvtHandlerEnabled(arg2);
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 Py_INCREF(Py_None); resultobj = Py_None;
12405 return resultobj;
12406 fail:
12407 return NULL;
12408}
12409
12410
c32bde28 12411static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12412 PyObject *resultobj;
12413 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12414 wxEvent *arg2 = 0 ;
12415 bool result;
12416 PyObject * obj0 = 0 ;
12417 PyObject * obj1 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self",(char *) "event", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12426 SWIG_POINTER_EXCEPTION | 0)) == -1)
12427 SWIG_fail;
d14a1e28 12428 if (arg2 == NULL) {
15afbcd0
RD
12429 PyErr_SetString(PyExc_TypeError,"null reference");
12430 SWIG_fail;
d14a1e28
RD
12431 }
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (bool)(arg1)->ProcessEvent(*arg2);
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
4f89f6a3
RD
12439 {
12440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12441 }
d14a1e28
RD
12442 return resultobj;
12443 fail:
12444 return NULL;
12445}
12446
12447
c32bde28 12448static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12449 PyObject *resultobj;
12450 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12451 wxEvent *arg2 = 0 ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self",(char *) "event", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12462 SWIG_POINTER_EXCEPTION | 0)) == -1)
12463 SWIG_fail;
d14a1e28 12464 if (arg2 == NULL) {
15afbcd0
RD
12465 PyErr_SetString(PyExc_TypeError,"null reference");
12466 SWIG_fail;
d14a1e28
RD
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 (arg1)->AddPendingEvent(*arg2);
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 Py_INCREF(Py_None); resultobj = Py_None;
12476 return resultobj;
12477 fail:
12478 return NULL;
12479}
12480
12481
c32bde28 12482static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12483 PyObject *resultobj;
12484 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12485 PyObject * obj0 = 0 ;
12486 char *kwnames[] = {
12487 (char *) "self", NULL
12488 };
12489
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
12491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 (arg1)->ProcessPendingEvents();
12496
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 Py_INCREF(Py_None); resultobj = Py_None;
12501 return resultobj;
12502 fail:
12503 return NULL;
12504}
12505
12506
c32bde28 12507static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12508 PyObject *resultobj;
12509 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12510 int arg2 ;
12511 int arg3 ;
12512 int arg4 ;
12513 PyObject *arg5 = (PyObject *) 0 ;
12514 PyObject * obj0 = 0 ;
994141e6
RD
12515 PyObject * obj1 = 0 ;
12516 PyObject * obj2 = 0 ;
12517 PyObject * obj3 = 0 ;
d14a1e28
RD
12518 PyObject * obj4 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12521 };
12522
994141e6 12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12526 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12527 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12528 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12529 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12530 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 12531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12532 arg5 = obj4;
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12536
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 Py_INCREF(Py_None); resultobj = Py_None;
12541 return resultobj;
12542 fail:
12543 return NULL;
12544}
12545
12546
c32bde28 12547static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12548 PyObject *resultobj;
12549 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12550 int arg2 ;
12551 int arg3 = (int) -1 ;
12552 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12553 bool result;
12554 PyObject * obj0 = 0 ;
994141e6
RD
12555 PyObject * obj1 = 0 ;
12556 PyObject * obj2 = 0 ;
12557 PyObject * obj3 = 0 ;
d14a1e28
RD
12558 char *kwnames[] = {
12559 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12560 };
12561
994141e6 12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12565 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12566 if (PyErr_Occurred()) SWIG_fail;
994141e6 12567 if (obj2) {
c32bde28 12568 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12569 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12570 }
12571 if (obj3) {
c32bde28 12572 arg4 = (wxEventType)SWIG_As_int(obj3);
15afbcd0 12573 if (PyErr_Occurred()) SWIG_fail;
994141e6 12574 }
d14a1e28
RD
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
4f89f6a3
RD
12582 {
12583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12584 }
d14a1e28
RD
12585 return resultobj;
12586 fail:
12587 return NULL;
12588}
12589
12590
c32bde28 12591static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12592 PyObject *resultobj;
12593 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12594 PyObject *arg2 = (PyObject *) 0 ;
12595 PyObject * obj0 = 0 ;
12596 PyObject * obj1 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self",(char *) "_self", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12604 arg2 = obj1;
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 wxEvtHandler__setOORInfo(arg1,arg2);
12608
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 Py_INCREF(Py_None); resultobj = Py_None;
12613 return resultobj;
12614 fail:
12615 return NULL;
12616}
12617
12618
c32bde28 12619static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12620 PyObject *obj;
12621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12622 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12623 Py_INCREF(obj);
12624 return Py_BuildValue((char *)"");
12625}
c32bde28 12626static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12627 PyObject *resultobj;
12628 wxEventType result;
12629 char *kwnames[] = {
12630 NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = (wxEventType)wxNewEventType();
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
c32bde28 12641 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12642 return resultobj;
12643 fail:
12644 return NULL;
12645}
12646
12647
c32bde28 12648static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12649 PyObject *resultobj;
12650 wxEvent *arg1 = (wxEvent *) 0 ;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12659 {
12660 PyThreadState* __tstate = wxPyBeginAllowThreads();
12661 delete arg1;
12662
12663 wxPyEndAllowThreads(__tstate);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 }
12666 Py_INCREF(Py_None); resultobj = Py_None;
12667 return resultobj;
12668 fail:
12669 return NULL;
12670}
12671
12672
c32bde28 12673static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12674 PyObject *resultobj;
12675 wxEvent *arg1 = (wxEvent *) 0 ;
12676 wxEventType arg2 ;
12677 PyObject * obj0 = 0 ;
994141e6 12678 PyObject * obj1 = 0 ;
d14a1e28
RD
12679 char *kwnames[] = {
12680 (char *) "self",(char *) "typ", NULL
12681 };
12682
994141e6 12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12686 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0 12687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12688 {
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 (arg1)->SetEventType(arg2);
12691
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 Py_INCREF(Py_None); resultobj = Py_None;
12696 return resultobj;
12697 fail:
12698 return NULL;
12699}
12700
12701
c32bde28 12702static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12703 PyObject *resultobj;
12704 wxEvent *arg1 = (wxEvent *) 0 ;
12705 wxEventType result;
12706 PyObject * obj0 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "self", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
c32bde28 12721 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12722 return resultobj;
12723 fail:
12724 return NULL;
12725}
12726
12727
c32bde28 12728static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12729 PyObject *resultobj;
12730 wxEvent *arg1 = (wxEvent *) 0 ;
12731 wxObject *result;
12732 PyObject * obj0 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 {
412d302d 12748 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12749 }
12750 return resultobj;
12751 fail:
12752 return NULL;
12753}
12754
12755
c32bde28 12756static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12757 PyObject *resultobj;
12758 wxEvent *arg1 = (wxEvent *) 0 ;
12759 wxObject *arg2 = (wxObject *) 0 ;
12760 PyObject * obj0 = 0 ;
12761 PyObject * obj1 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self",(char *) "obj", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 (arg1)->SetEventObject(arg2);
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 Py_INCREF(Py_None); resultobj = Py_None;
12779 return resultobj;
12780 fail:
12781 return NULL;
12782}
12783
12784
c32bde28 12785static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12786 PyObject *resultobj;
12787 wxEvent *arg1 = (wxEvent *) 0 ;
12788 long result;
12789 PyObject * obj0 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "self", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
c32bde28 12804 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
12805 return resultobj;
12806 fail:
12807 return NULL;
12808}
12809
12810
c32bde28 12811static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12812 PyObject *resultobj;
12813 wxEvent *arg1 = (wxEvent *) 0 ;
12814 long arg2 = (long) 0 ;
12815 PyObject * obj0 = 0 ;
994141e6 12816 PyObject * obj1 = 0 ;
d14a1e28
RD
12817 char *kwnames[] = {
12818 (char *) "self",(char *) "ts", NULL
12819 };
12820
994141e6 12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12824 if (obj1) {
c32bde28 12825 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 12826 if (PyErr_Occurred()) SWIG_fail;
994141e6 12827 }
d14a1e28
RD
12828 {
12829 PyThreadState* __tstate = wxPyBeginAllowThreads();
12830 (arg1)->SetTimestamp(arg2);
12831
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 Py_INCREF(Py_None); resultobj = Py_None;
12836 return resultobj;
12837 fail:
12838 return NULL;
12839}
12840
12841
c32bde28 12842static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12843 PyObject *resultobj;
12844 wxEvent *arg1 = (wxEvent *) 0 ;
12845 int result;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 result = (int)((wxEvent const *)arg1)->GetId();
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
c32bde28 12861 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c32bde28 12868static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12869 PyObject *resultobj;
12870 wxEvent *arg1 = (wxEvent *) 0 ;
12871 int arg2 ;
12872 PyObject * obj0 = 0 ;
994141e6 12873 PyObject * obj1 = 0 ;
d14a1e28
RD
12874 char *kwnames[] = {
12875 (char *) "self",(char *) "Id", NULL
12876 };
12877
994141e6 12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12881 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->SetId(arg2);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 Py_INCREF(Py_None); resultobj = Py_None;
12891 return resultobj;
12892 fail:
12893 return NULL;
12894}
12895
12896
c32bde28 12897static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12898 PyObject *resultobj;
12899 wxEvent *arg1 = (wxEvent *) 0 ;
12900 bool result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
4f89f6a3
RD
12916 {
12917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12918 }
d14a1e28
RD
12919 return resultobj;
12920 fail:
12921 return NULL;
12922}
12923
12924
c32bde28 12925static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12926 PyObject *resultobj;
12927 wxEvent *arg1 = (wxEvent *) 0 ;
ae8162c8 12928 bool arg2 = (bool) true ;
d14a1e28
RD
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 char *kwnames[] = {
12932 (char *) "self",(char *) "skip", NULL
12933 };
12934
12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12938 if (obj1) {
c32bde28 12939 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 12940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12941 }
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 (arg1)->Skip(arg2);
12945
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 Py_INCREF(Py_None); resultobj = Py_None;
12950 return resultobj;
12951 fail:
12952 return NULL;
12953}
12954
12955
c32bde28 12956static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12957 PyObject *resultobj;
12958 wxEvent *arg1 = (wxEvent *) 0 ;
12959 bool result;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
4f89f6a3
RD
12975 {
12976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12977 }
d14a1e28
RD
12978 return resultobj;
12979 fail:
12980 return NULL;
12981}
12982
12983
c32bde28 12984static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12985 PyObject *resultobj;
12986 wxEvent *arg1 = (wxEvent *) 0 ;
12987 bool result;
12988 PyObject * obj0 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
4f89f6a3
RD
13003 {
13004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13005 }
d14a1e28
RD
13006 return resultobj;
13007 fail:
13008 return NULL;
13009}
13010
13011
c32bde28 13012static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13013 PyObject *resultobj;
13014 wxEvent *arg1 = (wxEvent *) 0 ;
13015 int result;
13016 PyObject * obj0 = 0 ;
13017 char *kwnames[] = {
13018 (char *) "self", NULL
13019 };
13020
13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
13026 result = (int)(arg1)->StopPropagation();
13027
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 }
c32bde28 13031 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13032 return resultobj;
13033 fail:
13034 return NULL;
13035}
13036
13037
c32bde28 13038static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13039 PyObject *resultobj;
13040 wxEvent *arg1 = (wxEvent *) 0 ;
13041 int arg2 ;
13042 PyObject * obj0 = 0 ;
994141e6 13043 PyObject * obj1 = 0 ;
d14a1e28
RD
13044 char *kwnames[] = {
13045 (char *) "self",(char *) "propagationLevel", NULL
13046 };
13047
994141e6 13048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13051 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 (arg1)->ResumePropagation(arg2);
13056
13057 wxPyEndAllowThreads(__tstate);
13058 if (PyErr_Occurred()) SWIG_fail;
13059 }
13060 Py_INCREF(Py_None); resultobj = Py_None;
13061 return resultobj;
13062 fail:
13063 return NULL;
13064}
13065
13066
c32bde28 13067static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13068 PyObject *resultobj;
13069 wxEvent *arg1 = (wxEvent *) 0 ;
13070 wxEvent *result;
13071 PyObject * obj0 = 0 ;
13072 char *kwnames[] = {
13073 (char *) "self", NULL
13074 };
13075
13076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 result = (wxEvent *)(arg1)->Clone();
13082
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
15afbcd0 13086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13087 return resultobj;
13088 fail:
13089 return NULL;
13090}
13091
13092
c32bde28 13093static PyObject * Event_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13094 PyObject *obj;
13095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13096 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
13097 Py_INCREF(obj);
13098 return Py_BuildValue((char *)"");
13099}
c32bde28 13100static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13101 PyObject *resultobj;
13102 wxEvent *arg1 = 0 ;
13103 wxPropagationDisabler *result;
13104 PyObject * obj0 = 0 ;
13105 char *kwnames[] = {
13106 (char *) "event", NULL
13107 };
13108
13109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
13110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13111 SWIG_POINTER_EXCEPTION | 0)) == -1)
13112 SWIG_fail;
d14a1e28 13113 if (arg1 == NULL) {
15afbcd0
RD
13114 PyErr_SetString(PyExc_TypeError,"null reference");
13115 SWIG_fail;
d14a1e28
RD
13116 }
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
15afbcd0 13124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
13125 return resultobj;
13126 fail:
13127 return NULL;
13128}
13129
13130
c32bde28 13131static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13132 PyObject *resultobj;
13133 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
13134 PyObject * obj0 = 0 ;
13135 char *kwnames[] = {
13136 (char *) "self", NULL
13137 };
13138
13139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
13140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
13141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 delete arg1;
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 Py_INCREF(Py_None); resultobj = Py_None;
13150 return resultobj;
13151 fail:
13152 return NULL;
13153}
13154
13155
c32bde28 13156static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13157 PyObject *obj;
13158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13159 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
13160 Py_INCREF(obj);
13161 return Py_BuildValue((char *)"");
13162}
c32bde28 13163static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13164 PyObject *resultobj;
13165 wxEvent *arg1 = 0 ;
13166 wxPropagateOnce *result;
13167 PyObject * obj0 = 0 ;
13168 char *kwnames[] = {
13169 (char *) "event", NULL
13170 };
13171
13172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
13173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13174 SWIG_POINTER_EXCEPTION | 0)) == -1)
13175 SWIG_fail;
d14a1e28 13176 if (arg1 == NULL) {
15afbcd0
RD
13177 PyErr_SetString(PyExc_TypeError,"null reference");
13178 SWIG_fail;
d14a1e28
RD
13179 }
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
15afbcd0 13187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
13188 return resultobj;
13189 fail:
13190 return NULL;
13191}
13192
13193
c32bde28 13194static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13195 PyObject *resultobj;
13196 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
13197 PyObject * obj0 = 0 ;
13198 char *kwnames[] = {
13199 (char *) "self", NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
13203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
13204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 delete arg1;
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 Py_INCREF(Py_None); resultobj = Py_None;
13213 return resultobj;
13214 fail:
13215 return NULL;
13216}
13217
13218
c32bde28 13219static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13220 PyObject *obj;
13221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13222 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
13223 Py_INCREF(obj);
13224 return Py_BuildValue((char *)"");
13225}
c32bde28 13226static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13227 PyObject *resultobj;
13228 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13229 int arg2 = (int) 0 ;
13230 wxCommandEvent *result;
994141e6
RD
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
d14a1e28
RD
13233 char *kwnames[] = {
13234 (char *) "commandType",(char *) "winid", NULL
13235 };
13236
994141e6
RD
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
13238 if (obj0) {
c32bde28 13239 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13240 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13241 }
13242 if (obj1) {
c32bde28 13243 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13244 if (PyErr_Occurred()) SWIG_fail;
994141e6 13245 }
d14a1e28
RD
13246 {
13247 PyThreadState* __tstate = wxPyBeginAllowThreads();
13248 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
13249
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
15afbcd0 13253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
13254 return resultobj;
13255 fail:
13256 return NULL;
13257}
13258
13259
c32bde28 13260static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13261 PyObject *resultobj;
13262 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13263 int result;
13264 PyObject * obj0 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
c32bde28 13279 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13280 return resultobj;
13281 fail:
13282 return NULL;
13283}
13284
13285
c32bde28 13286static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13287 PyObject *resultobj;
13288 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13289 wxString *arg2 = 0 ;
ae8162c8 13290 bool temp2 = false ;
d14a1e28
RD
13291 PyObject * obj0 = 0 ;
13292 PyObject * obj1 = 0 ;
13293 char *kwnames[] = {
13294 (char *) "self",(char *) "s", NULL
13295 };
13296
13297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13300 {
13301 arg2 = wxString_in_helper(obj1);
13302 if (arg2 == NULL) SWIG_fail;
ae8162c8 13303 temp2 = true;
d14a1e28
RD
13304 }
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 (arg1)->SetString((wxString const &)*arg2);
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 Py_INCREF(Py_None); resultobj = Py_None;
13313 {
13314 if (temp2)
13315 delete arg2;
13316 }
13317 return resultobj;
13318 fail:
13319 {
13320 if (temp2)
13321 delete arg2;
13322 }
13323 return NULL;
13324}
13325
13326
c32bde28 13327static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13328 PyObject *resultobj;
13329 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13330 wxString result;
13331 PyObject * obj0 = 0 ;
13332 char *kwnames[] = {
13333 (char *) "self", NULL
13334 };
13335
13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 result = ((wxCommandEvent const *)arg1)->GetString();
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 {
13347#if wxUSE_UNICODE
13348 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13349#else
13350 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13351#endif
13352 }
13353 return resultobj;
13354 fail:
13355 return NULL;
13356}
13357
13358
c32bde28 13359static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13360 PyObject *resultobj;
13361 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13362 bool result;
13363 PyObject * obj0 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "self", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
13369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
4f89f6a3
RD
13378 {
13379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13380 }
d14a1e28
RD
13381 return resultobj;
13382 fail:
13383 return NULL;
13384}
13385
13386
c32bde28 13387static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13388 PyObject *resultobj;
13389 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13390 bool result;
13391 PyObject * obj0 = 0 ;
13392 char *kwnames[] = {
13393 (char *) "self", NULL
13394 };
13395
13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
4f89f6a3
RD
13406 {
13407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13408 }
d14a1e28
RD
13409 return resultobj;
13410 fail:
13411 return NULL;
13412}
13413
13414
c32bde28 13415static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13416 PyObject *resultobj;
13417 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13418 long arg2 ;
13419 PyObject * obj0 = 0 ;
994141e6 13420 PyObject * obj1 = 0 ;
d14a1e28
RD
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "extraLong", NULL
13423 };
13424
994141e6 13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13428 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 13429 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 (arg1)->SetExtraLong(arg2);
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 Py_INCREF(Py_None); resultobj = Py_None;
13438 return resultobj;
13439 fail:
13440 return NULL;
13441}
13442
13443
c32bde28 13444static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13445 PyObject *resultobj;
13446 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13447 long result;
13448 PyObject * obj0 = 0 ;
13449 char *kwnames[] = {
13450 (char *) "self", NULL
13451 };
13452
13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
13454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13456 {
13457 PyThreadState* __tstate = wxPyBeginAllowThreads();
13458 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13459
13460 wxPyEndAllowThreads(__tstate);
13461 if (PyErr_Occurred()) SWIG_fail;
13462 }
c32bde28 13463 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
13464 return resultobj;
13465 fail:
13466 return NULL;
13467}
13468
13469
c32bde28 13470static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13471 PyObject *resultobj;
13472 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13473 int arg2 ;
13474 PyObject * obj0 = 0 ;
994141e6 13475 PyObject * obj1 = 0 ;
d14a1e28
RD
13476 char *kwnames[] = {
13477 (char *) "self",(char *) "i", NULL
13478 };
13479
994141e6 13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13483 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 (arg1)->SetInt(arg2);
13488
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
13492 Py_INCREF(Py_None); resultobj = Py_None;
13493 return resultobj;
13494 fail:
13495 return NULL;
13496}
13497
13498
c32bde28 13499static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13500 PyObject *resultobj;
13501 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13502 long result;
13503 PyObject * obj0 = 0 ;
13504 char *kwnames[] = {
13505 (char *) "self", NULL
13506 };
13507
13508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
13509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13511 {
13512 PyThreadState* __tstate = wxPyBeginAllowThreads();
13513 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13514
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
c32bde28 13518 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
13519 return resultobj;
13520 fail:
13521 return NULL;
13522}
13523
13524
c32bde28 13525static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13526 PyObject *resultobj;
13527 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13528 wxEvent *result;
13529 PyObject * obj0 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "self", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
15afbcd0 13544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13545 return resultobj;
13546 fail:
13547 return NULL;
13548}
13549
13550
c32bde28 13551static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13552 PyObject *obj;
13553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13554 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13555 Py_INCREF(obj);
13556 return Py_BuildValue((char *)"");
13557}
c32bde28 13558static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13559 PyObject *resultobj;
13560 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13561 int arg2 = (int) 0 ;
13562 wxNotifyEvent *result;
994141e6
RD
13563 PyObject * obj0 = 0 ;
13564 PyObject * obj1 = 0 ;
d14a1e28
RD
13565 char *kwnames[] = {
13566 (char *) "commandType",(char *) "winid", NULL
13567 };
13568
994141e6
RD
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13570 if (obj0) {
c32bde28 13571 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13572 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13573 }
13574 if (obj1) {
c32bde28 13575 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13576 if (PyErr_Occurred()) SWIG_fail;
994141e6 13577 }
d14a1e28
RD
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13581
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
15afbcd0 13585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13586 return resultobj;
13587 fail:
13588 return NULL;
13589}
13590
13591
c32bde28 13592static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13593 PyObject *resultobj;
13594 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13595 PyObject * obj0 = 0 ;
13596 char *kwnames[] = {
13597 (char *) "self", NULL
13598 };
13599
13600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 (arg1)->Veto();
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 Py_INCREF(Py_None); resultobj = Py_None;
13611 return resultobj;
13612 fail:
13613 return NULL;
13614}
13615
13616
c32bde28 13617static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13618 PyObject *resultobj;
13619 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13620 PyObject * obj0 = 0 ;
13621 char *kwnames[] = {
13622 (char *) "self", NULL
13623 };
13624
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13628 {
13629 PyThreadState* __tstate = wxPyBeginAllowThreads();
13630 (arg1)->Allow();
13631
13632 wxPyEndAllowThreads(__tstate);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 }
13635 Py_INCREF(Py_None); resultobj = Py_None;
13636 return resultobj;
13637 fail:
13638 return NULL;
13639}
13640
13641
c32bde28 13642static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13643 PyObject *resultobj;
13644 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13645 bool result;
13646 PyObject * obj0 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self", NULL
13649 };
13650
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 result = (bool)(arg1)->IsAllowed();
13657
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
4f89f6a3
RD
13661 {
13662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13663 }
d14a1e28
RD
13664 return resultobj;
13665 fail:
13666 return NULL;
13667}
13668
13669
c32bde28 13670static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13671 PyObject *obj;
13672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13673 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13674 Py_INCREF(obj);
13675 return Py_BuildValue((char *)"");
13676}
c32bde28 13677static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13678 PyObject *resultobj;
13679 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13680 int arg2 = (int) 0 ;
13681 int arg3 = (int) 0 ;
13682 int arg4 = (int) 0 ;
13683 wxScrollEvent *result;
994141e6
RD
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 PyObject * obj2 = 0 ;
13687 PyObject * obj3 = 0 ;
d14a1e28
RD
13688 char *kwnames[] = {
13689 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13690 };
13691
994141e6
RD
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13693 if (obj0) {
c32bde28 13694 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13695 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13696 }
13697 if (obj1) {
c32bde28 13698 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13699 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13700 }
13701 if (obj2) {
c32bde28 13702 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13703 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13704 }
13705 if (obj3) {
c32bde28 13706 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 13707 if (PyErr_Occurred()) SWIG_fail;
994141e6 13708 }
d14a1e28
RD
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
15afbcd0 13716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13717 return resultobj;
13718 fail:
13719 return NULL;
13720}
13721
13722
c32bde28 13723static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13724 PyObject *resultobj;
13725 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13726 int result;
13727 PyObject * obj0 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self", NULL
13730 };
13731
13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13738
13739 wxPyEndAllowThreads(__tstate);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 }
c32bde28 13742 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13743 return resultobj;
13744 fail:
13745 return NULL;
13746}
13747
13748
c32bde28 13749static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13750 PyObject *resultobj;
13751 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13752 int result;
13753 PyObject * obj0 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
c32bde28 13768 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13769 return resultobj;
13770 fail:
13771 return NULL;
13772}
13773
13774
c32bde28 13775static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13776 PyObject *resultobj;
13777 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13778 int arg2 ;
13779 PyObject * obj0 = 0 ;
994141e6 13780 PyObject * obj1 = 0 ;
d14a1e28
RD
13781 char *kwnames[] = {
13782 (char *) "self",(char *) "orient", NULL
13783 };
13784
994141e6 13785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13788 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13790 {
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 (arg1)->SetOrientation(arg2);
13793
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 Py_INCREF(Py_None); resultobj = Py_None;
13798 return resultobj;
13799 fail:
13800 return NULL;
13801}
13802
13803
c32bde28 13804static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13805 PyObject *resultobj;
13806 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13807 int arg2 ;
13808 PyObject * obj0 = 0 ;
994141e6 13809 PyObject * obj1 = 0 ;
d14a1e28
RD
13810 char *kwnames[] = {
13811 (char *) "self",(char *) "pos", NULL
13812 };
13813
994141e6 13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13817 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 (arg1)->SetPosition(arg2);
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 Py_INCREF(Py_None); resultobj = Py_None;
13827 return resultobj;
13828 fail:
13829 return NULL;
13830}
13831
13832
c32bde28 13833static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13834 PyObject *obj;
13835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13836 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13837 Py_INCREF(obj);
13838 return Py_BuildValue((char *)"");
13839}
c32bde28 13840static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13841 PyObject *resultobj;
13842 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13843 int arg2 = (int) 0 ;
13844 int arg3 = (int) 0 ;
13845 wxScrollWinEvent *result;
994141e6
RD
13846 PyObject * obj0 = 0 ;
13847 PyObject * obj1 = 0 ;
13848 PyObject * obj2 = 0 ;
d14a1e28
RD
13849 char *kwnames[] = {
13850 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13851 };
13852
994141e6
RD
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13854 if (obj0) {
c32bde28 13855 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13856 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13857 }
13858 if (obj1) {
c32bde28 13859 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13860 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13861 }
13862 if (obj2) {
c32bde28 13863 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13864 if (PyErr_Occurred()) SWIG_fail;
994141e6 13865 }
d14a1e28
RD
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
15afbcd0 13873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13874 return resultobj;
13875 fail:
13876 return NULL;
13877}
13878
13879
c32bde28 13880static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13881 PyObject *resultobj;
13882 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13883 int result;
13884 PyObject * obj0 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
c32bde28 13899 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13900 return resultobj;
13901 fail:
13902 return NULL;
13903}
13904
13905
c32bde28 13906static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13907 PyObject *resultobj;
13908 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13909 int result;
13910 PyObject * obj0 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
c32bde28 13925 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13926 return resultobj;
13927 fail:
13928 return NULL;
13929}
13930
13931
c32bde28 13932static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13933 PyObject *resultobj;
13934 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13935 int arg2 ;
13936 PyObject * obj0 = 0 ;
994141e6 13937 PyObject * obj1 = 0 ;
d14a1e28
RD
13938 char *kwnames[] = {
13939 (char *) "self",(char *) "orient", NULL
13940 };
13941
994141e6 13942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13945 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->SetOrientation(arg2);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 Py_INCREF(Py_None); resultobj = Py_None;
13955 return resultobj;
13956 fail:
13957 return NULL;
13958}
13959
13960
c32bde28 13961static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13962 PyObject *resultobj;
13963 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13964 int arg2 ;
13965 PyObject * obj0 = 0 ;
994141e6 13966 PyObject * obj1 = 0 ;
d14a1e28
RD
13967 char *kwnames[] = {
13968 (char *) "self",(char *) "pos", NULL
13969 };
13970
994141e6 13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13974 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 (arg1)->SetPosition(arg2);
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 Py_INCREF(Py_None); resultobj = Py_None;
13984 return resultobj;
13985 fail:
13986 return NULL;
13987}
13988
13989
c32bde28 13990static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13991 PyObject *obj;
13992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13993 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13994 Py_INCREF(obj);
13995 return Py_BuildValue((char *)"");
13996}
c32bde28 13997static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13998 PyObject *resultobj;
13999 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14000 wxMouseEvent *result;
994141e6 14001 PyObject * obj0 = 0 ;
d14a1e28
RD
14002 char *kwnames[] = {
14003 (char *) "mouseType", NULL
14004 };
14005
994141e6
RD
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
14007 if (obj0) {
c32bde28 14008 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 14009 if (PyErr_Occurred()) SWIG_fail;
994141e6 14010 }
d14a1e28
RD
14011 {
14012 PyThreadState* __tstate = wxPyBeginAllowThreads();
14013 result = (wxMouseEvent *)new wxMouseEvent(arg1);
14014
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 {
412d302d 14019 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
14020 }
14021 return resultobj;
14022 fail:
14023 return NULL;
14024}
14025
14026
c32bde28 14027static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14028 PyObject *resultobj;
14029 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14030 bool result;
14031 PyObject * obj0 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
14037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
4f89f6a3
RD
14046 {
14047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14048 }
d14a1e28
RD
14049 return resultobj;
14050 fail:
14051 return NULL;
14052}
14053
14054
c32bde28 14055static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14056 PyObject *resultobj;
14057 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14058 int arg2 = (int) wxMOUSE_BTN_ANY ;
14059 bool result;
14060 PyObject * obj0 = 0 ;
994141e6 14061 PyObject * obj1 = 0 ;
d14a1e28
RD
14062 char *kwnames[] = {
14063 (char *) "self",(char *) "but", NULL
14064 };
14065
994141e6 14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14069 if (obj1) {
c32bde28 14070 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14071 if (PyErr_Occurred()) SWIG_fail;
994141e6 14072 }
d14a1e28
RD
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
4f89f6a3
RD
14080 {
14081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14082 }
d14a1e28
RD
14083 return resultobj;
14084 fail:
14085 return NULL;
14086}
14087
14088
c32bde28 14089static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14090 PyObject *resultobj;
14091 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14092 int arg2 = (int) wxMOUSE_BTN_ANY ;
14093 bool result;
14094 PyObject * obj0 = 0 ;
994141e6 14095 PyObject * obj1 = 0 ;
d14a1e28
RD
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "but", NULL
14098 };
14099
994141e6 14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14103 if (obj1) {
c32bde28 14104 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14105 if (PyErr_Occurred()) SWIG_fail;
994141e6 14106 }
d14a1e28
RD
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
4f89f6a3
RD
14114 {
14115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14116 }
d14a1e28
RD
14117 return resultobj;
14118 fail:
14119 return NULL;
14120}
14121
14122
c32bde28 14123static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14124 PyObject *resultobj;
14125 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14126 int arg2 = (int) wxMOUSE_BTN_ANY ;
14127 bool result;
14128 PyObject * obj0 = 0 ;
994141e6 14129 PyObject * obj1 = 0 ;
d14a1e28
RD
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "but", NULL
14132 };
14133
994141e6 14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14137 if (obj1) {
c32bde28 14138 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14139 if (PyErr_Occurred()) SWIG_fail;
994141e6 14140 }
d14a1e28
RD
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
4f89f6a3
RD
14148 {
14149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14150 }
d14a1e28
RD
14151 return resultobj;
14152 fail:
14153 return NULL;
14154}
14155
14156
c32bde28 14157static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14158 PyObject *resultobj;
14159 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14160 int arg2 ;
14161 bool result;
14162 PyObject * obj0 = 0 ;
994141e6 14163 PyObject * obj1 = 0 ;
d14a1e28
RD
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "but", NULL
14166 };
14167
994141e6 14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14171 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
4f89f6a3
RD
14180 {
14181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14182 }
d14a1e28
RD
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
c32bde28 14189static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14190 PyObject *resultobj;
14191 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14192 int arg2 ;
14193 bool result;
14194 PyObject * obj0 = 0 ;
994141e6 14195 PyObject * obj1 = 0 ;
d14a1e28
RD
14196 char *kwnames[] = {
14197 (char *) "self",(char *) "but", NULL
14198 };
14199
994141e6 14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14203 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14204 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
4f89f6a3
RD
14212 {
14213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14214 }
d14a1e28
RD
14215 return resultobj;
14216 fail:
14217 return NULL;
14218}
14219
14220
c32bde28 14221static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14222 PyObject *resultobj;
14223 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14224 int result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (int)((wxMouseEvent const *)arg1)->GetButton();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
c32bde28 14240 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14241 return resultobj;
14242 fail:
14243 return NULL;
14244}
14245
14246
c32bde28 14247static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14248 PyObject *resultobj;
14249 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14250 bool result;
14251 PyObject * obj0 = 0 ;
14252 char *kwnames[] = {
14253 (char *) "self", NULL
14254 };
14255
14256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14259 {
14260 PyThreadState* __tstate = wxPyBeginAllowThreads();
14261 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
14262
14263 wxPyEndAllowThreads(__tstate);
14264 if (PyErr_Occurred()) SWIG_fail;
14265 }
4f89f6a3
RD
14266 {
14267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14268 }
d14a1e28
RD
14269 return resultobj;
14270 fail:
14271 return NULL;
14272}
14273
14274
c32bde28 14275static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14276 PyObject *resultobj;
14277 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14278 bool result;
14279 PyObject * obj0 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
14290
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
4f89f6a3
RD
14294 {
14295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14296 }
d14a1e28
RD
14297 return resultobj;
14298 fail:
14299 return NULL;
14300}
14301
14302
c32bde28 14303static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14304 PyObject *resultobj;
14305 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14306 bool result;
14307 PyObject * obj0 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
4f89f6a3
RD
14322 {
14323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14324 }
d14a1e28
RD
14325 return resultobj;
14326 fail:
14327 return NULL;
14328}
14329
14330
c32bde28 14331static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14332 PyObject *resultobj;
14333 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14334 bool result;
14335 PyObject * obj0 = 0 ;
14336 char *kwnames[] = {
14337 (char *) "self", NULL
14338 };
14339
14340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
14346
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
4f89f6a3
RD
14350 {
14351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14352 }
d14a1e28
RD
14353 return resultobj;
14354 fail:
14355 return NULL;
14356}
14357
14358
c32bde28 14359static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
14360 PyObject *resultobj;
14361 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14362 bool result;
14363 PyObject * obj0 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
14369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14371 {
14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
14373 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
14374
14375 wxPyEndAllowThreads(__tstate);
14376 if (PyErr_Occurred()) SWIG_fail;
14377 }
14378 {
14379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14380 }
14381 return resultobj;
14382 fail:
14383 return NULL;
14384}
14385
14386
c32bde28 14387static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14388 PyObject *resultobj;
14389 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14390 bool result;
14391 PyObject * obj0 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
14402
14403 wxPyEndAllowThreads(__tstate);
14404 if (PyErr_Occurred()) SWIG_fail;
14405 }
4f89f6a3
RD
14406 {
14407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14408 }
d14a1e28
RD
14409 return resultobj;
14410 fail:
14411 return NULL;
14412}
14413
14414
c32bde28 14415static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14416 PyObject *resultobj;
14417 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14418 bool result;
14419 PyObject * obj0 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
4f89f6a3
RD
14434 {
14435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14436 }
d14a1e28
RD
14437 return resultobj;
14438 fail:
14439 return NULL;
14440}
14441
14442
c32bde28 14443static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14444 PyObject *resultobj;
14445 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14446 bool result;
14447 PyObject * obj0 = 0 ;
14448 char *kwnames[] = {
14449 (char *) "self", NULL
14450 };
14451
14452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14458
14459 wxPyEndAllowThreads(__tstate);
14460 if (PyErr_Occurred()) SWIG_fail;
14461 }
4f89f6a3
RD
14462 {
14463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14464 }
d14a1e28
RD
14465 return resultobj;
14466 fail:
14467 return NULL;
14468}
14469
14470
c32bde28 14471static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14472 PyObject *resultobj;
14473 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14474 bool result;
14475 PyObject * obj0 = 0 ;
14476 char *kwnames[] = {
14477 (char *) "self", NULL
14478 };
14479
14480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14483 {
14484 PyThreadState* __tstate = wxPyBeginAllowThreads();
14485 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14486
14487 wxPyEndAllowThreads(__tstate);
14488 if (PyErr_Occurred()) SWIG_fail;
14489 }
4f89f6a3
RD
14490 {
14491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14492 }
d14a1e28
RD
14493 return resultobj;
14494 fail:
14495 return NULL;
14496}
14497
14498
c32bde28 14499static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14500 PyObject *resultobj;
14501 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14502 bool result;
14503 PyObject * obj0 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
4f89f6a3
RD
14518 {
14519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14520 }
d14a1e28
RD
14521 return resultobj;
14522 fail:
14523 return NULL;
14524}
14525
14526
c32bde28 14527static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14528 PyObject *resultobj;
14529 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14530 bool result;
14531 PyObject * obj0 = 0 ;
14532 char *kwnames[] = {
14533 (char *) "self", NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
4f89f6a3
RD
14546 {
14547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14548 }
d14a1e28
RD
14549 return resultobj;
14550 fail:
14551 return NULL;
14552}
14553
14554
c32bde28 14555static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14556 PyObject *resultobj;
14557 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14558 bool result;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
4f89f6a3
RD
14574 {
14575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14576 }
d14a1e28
RD
14577 return resultobj;
14578 fail:
14579 return NULL;
14580}
14581
14582
c32bde28 14583static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14584 PyObject *resultobj;
14585 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14586 bool result;
14587 PyObject * obj0 = 0 ;
14588 char *kwnames[] = {
14589 (char *) "self", NULL
14590 };
14591
14592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14598
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
4f89f6a3
RD
14602 {
14603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14604 }
d14a1e28
RD
14605 return resultobj;
14606 fail:
14607 return NULL;
14608}
14609
14610
c32bde28 14611static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14612 PyObject *resultobj;
14613 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14614 bool result;
14615 PyObject * obj0 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "self", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
4f89f6a3
RD
14630 {
14631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14632 }
d14a1e28
RD
14633 return resultobj;
14634 fail:
14635 return NULL;
14636}
14637
14638
c32bde28 14639static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14640 PyObject *resultobj;
14641 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14642 bool result;
14643 PyObject * obj0 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "self", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 result = (bool)(arg1)->LeftIsDown();
14654
14655 wxPyEndAllowThreads(__tstate);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
4f89f6a3
RD
14658 {
14659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14660 }
d14a1e28
RD
14661 return resultobj;
14662 fail:
14663 return NULL;
14664}
14665
14666
c32bde28 14667static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14668 PyObject *resultobj;
14669 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14670 bool result;
14671 PyObject * obj0 = 0 ;
14672 char *kwnames[] = {
14673 (char *) "self", NULL
14674 };
14675
14676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (bool)(arg1)->MiddleIsDown();
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
4f89f6a3
RD
14686 {
14687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14688 }
d14a1e28
RD
14689 return resultobj;
14690 fail:
14691 return NULL;
14692}
14693
14694
c32bde28 14695static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14696 PyObject *resultobj;
14697 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14698 bool result;
14699 PyObject * obj0 = 0 ;
14700 char *kwnames[] = {
14701 (char *) "self", NULL
14702 };
14703
14704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (bool)(arg1)->RightIsDown();
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
4f89f6a3
RD
14714 {
14715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14716 }
d14a1e28
RD
14717 return resultobj;
14718 fail:
14719 return NULL;
14720}
14721
14722
c32bde28 14723static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14724 PyObject *resultobj;
14725 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14726 bool result;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
15afbcd0
RD
14733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
4f89f6a3
RD
14742 {
14743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14744 }
d14a1e28
RD
14745 return resultobj;
14746 fail:
14747 return NULL;
14748}
14749
14750
c32bde28 14751static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14752 PyObject *resultobj;
14753 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14754 bool result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14766
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
4f89f6a3
RD
14770 {
14771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14772 }
d14a1e28
RD
14773 return resultobj;
14774 fail:
14775 return NULL;
14776}
14777
14778
c32bde28 14779static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14780 PyObject *resultobj;
14781 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14782 bool result;
14783 PyObject * obj0 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
15afbcd0
RD
14789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14791 {
14792 PyThreadState* __tstate = wxPyBeginAllowThreads();
14793 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14794
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
4f89f6a3
RD
14798 {
14799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14800 }
d14a1e28
RD
14801 return resultobj;
14802 fail:
14803 return NULL;
14804}
14805
14806
c32bde28 14807static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14808 PyObject *resultobj;
14809 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14810 bool result;
14811 PyObject * obj0 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "self", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
4f89f6a3
RD
14826 {
14827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14828 }
d14a1e28
RD
14829 return resultobj;
14830 fail:
14831 return NULL;
14832}
14833
14834
c32bde28 14835static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14836 PyObject *resultobj;
14837 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14838 wxPoint result;
14839 PyObject * obj0 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "self", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 result = (arg1)->GetPosition();
14850
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 {
14855 wxPoint * resultptr;
14856 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14858 }
14859 return resultobj;
14860 fail:
14861 return NULL;
14862}
14863
14864
c32bde28 14865static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14866 PyObject *resultobj;
14867 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14868 long *arg2 = (long *) 0 ;
14869 long *arg3 = (long *) 0 ;
14870 long temp2 ;
c32bde28 14871 int res2 = 0 ;
d14a1e28 14872 long temp3 ;
c32bde28 14873 int res3 = 0 ;
d14a1e28
RD
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self", NULL
14877 };
14878
c32bde28
RD
14879 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14880 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 14881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 (arg1)->GetPosition(arg2,arg3);
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14892 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14893 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
14894 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14895 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
14896 return resultobj;
14897 fail:
14898 return NULL;
14899}
14900
14901
c32bde28 14902static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14903 PyObject *resultobj;
14904 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14905 wxDC *arg2 = 0 ;
14906 wxPoint result;
14907 PyObject * obj0 = 0 ;
14908 PyObject * obj1 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self",(char *) "dc", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14917 SWIG_POINTER_EXCEPTION | 0)) == -1)
14918 SWIG_fail;
d14a1e28 14919 if (arg2 == NULL) {
15afbcd0
RD
14920 PyErr_SetString(PyExc_TypeError,"null reference");
14921 SWIG_fail;
d14a1e28
RD
14922 }
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 {
14931 wxPoint * resultptr;
14932 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14934 }
14935 return resultobj;
14936 fail:
14937 return NULL;
14938}
14939
14940
c32bde28 14941static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14942 PyObject *resultobj;
14943 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14944 int result;
d14a1e28
RD
14945 PyObject * obj0 = 0 ;
14946 char *kwnames[] = {
14947 (char *) "self", NULL
14948 };
14949
14950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14953 {
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14955 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
c32bde28 14960 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14961 return resultobj;
14962 fail:
14963 return NULL;
14964}
14965
14966
c32bde28 14967static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14968 PyObject *resultobj;
14969 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14970 int result;
d14a1e28
RD
14971 PyObject * obj0 = 0 ;
14972 char *kwnames[] = {
14973 (char *) "self", NULL
14974 };
14975
14976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14979 {
14980 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14981 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14982
14983 wxPyEndAllowThreads(__tstate);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 }
c32bde28 14986 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14987 return resultobj;
14988 fail:
14989 return NULL;
14990}
14991
14992
c32bde28 14993static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14994 PyObject *resultobj;
14995 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14996 int result;
14997 PyObject * obj0 = 0 ;
14998 char *kwnames[] = {
14999 (char *) "self", NULL
15000 };
15001
15002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
15003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15005 {
15006 PyThreadState* __tstate = wxPyBeginAllowThreads();
15007 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
15008
15009 wxPyEndAllowThreads(__tstate);
15010 if (PyErr_Occurred()) SWIG_fail;
15011 }
c32bde28 15012 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15013 return resultobj;
15014 fail:
15015 return NULL;
15016}
15017
15018
c32bde28 15019static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15020 PyObject *resultobj;
15021 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15022 int result;
15023 PyObject * obj0 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "self", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
15029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
15034
15035 wxPyEndAllowThreads(__tstate);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
c32bde28 15038 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15039 return resultobj;
15040 fail:
15041 return NULL;
15042}
15043
15044
c32bde28 15045static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15046 PyObject *resultobj;
15047 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15048 int result;
15049 PyObject * obj0 = 0 ;
15050 char *kwnames[] = {
15051 (char *) "self", NULL
15052 };
15053
15054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
15055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
c32bde28 15064 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15065 return resultobj;
15066 fail:
15067 return NULL;
15068}
15069
15070
c32bde28 15071static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15072 PyObject *resultobj;
15073 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15074 bool result;
15075 PyObject * obj0 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
15081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
4f89f6a3
RD
15090 {
15091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15092 }
d14a1e28
RD
15093 return resultobj;
15094 fail:
15095 return NULL;
15096}
15097
15098
c32bde28 15099static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15100 PyObject *resultobj;
15101 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15102 int arg2 ;
d14a1e28 15103 PyObject * obj0 = 0 ;
994141e6 15104 PyObject * obj1 = 0 ;
d14a1e28
RD
15105 char *kwnames[] = {
15106 (char *) "self",(char *) "m_x", NULL
15107 };
15108
994141e6 15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15112 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15114 if (arg1) (arg1)->m_x = arg2;
15115
15116 Py_INCREF(Py_None); resultobj = Py_None;
15117 return resultobj;
15118 fail:
15119 return NULL;
15120}
15121
15122
c32bde28 15123static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15124 PyObject *resultobj;
15125 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15126 int result;
d14a1e28
RD
15127 PyObject * obj0 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15135 result = (int) ((arg1)->m_x);
d14a1e28 15136
c32bde28 15137 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15138 return resultobj;
15139 fail:
15140 return NULL;
15141}
15142
15143
c32bde28 15144static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15145 PyObject *resultobj;
15146 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15147 int arg2 ;
d14a1e28 15148 PyObject * obj0 = 0 ;
994141e6 15149 PyObject * obj1 = 0 ;
d14a1e28
RD
15150 char *kwnames[] = {
15151 (char *) "self",(char *) "m_y", NULL
15152 };
15153
994141e6 15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15157 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15159 if (arg1) (arg1)->m_y = arg2;
15160
15161 Py_INCREF(Py_None); resultobj = Py_None;
15162 return resultobj;
15163 fail:
15164 return NULL;
15165}
15166
15167
c32bde28 15168static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15169 PyObject *resultobj;
15170 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15171 int result;
d14a1e28
RD
15172 PyObject * obj0 = 0 ;
15173 char *kwnames[] = {
15174 (char *) "self", NULL
15175 };
15176
15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15180 result = (int) ((arg1)->m_y);
d14a1e28 15181
c32bde28 15182 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15183 return resultobj;
15184 fail:
15185 return NULL;
15186}
15187
15188
c32bde28 15189static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15190 PyObject *resultobj;
15191 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15192 bool arg2 ;
15193 PyObject * obj0 = 0 ;
15194 PyObject * obj1 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self",(char *) "m_leftDown", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15202 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15204 if (arg1) (arg1)->m_leftDown = arg2;
15205
15206 Py_INCREF(Py_None); resultobj = Py_None;
15207 return resultobj;
15208 fail:
15209 return NULL;
15210}
15211
15212
c32bde28 15213static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15214 PyObject *resultobj;
15215 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15216 bool result;
15217 PyObject * obj0 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15225 result = (bool) ((arg1)->m_leftDown);
15226
4f89f6a3
RD
15227 {
15228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15229 }
d14a1e28
RD
15230 return resultobj;
15231 fail:
15232 return NULL;
15233}
15234
15235
c32bde28 15236static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15237 PyObject *resultobj;
15238 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15239 bool arg2 ;
15240 PyObject * obj0 = 0 ;
15241 PyObject * obj1 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "m_middleDown", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15249 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15251 if (arg1) (arg1)->m_middleDown = arg2;
15252
15253 Py_INCREF(Py_None); resultobj = Py_None;
15254 return resultobj;
15255 fail:
15256 return NULL;
15257}
15258
15259
c32bde28 15260static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15261 PyObject *resultobj;
15262 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15263 bool result;
15264 PyObject * obj0 = 0 ;
15265 char *kwnames[] = {
15266 (char *) "self", NULL
15267 };
15268
15269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15272 result = (bool) ((arg1)->m_middleDown);
15273
4f89f6a3
RD
15274 {
15275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15276 }
d14a1e28
RD
15277 return resultobj;
15278 fail:
15279 return NULL;
15280}
15281
15282
c32bde28 15283static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15284 PyObject *resultobj;
15285 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15286 bool arg2 ;
15287 PyObject * obj0 = 0 ;
15288 PyObject * obj1 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self",(char *) "m_rightDown", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15296 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15298 if (arg1) (arg1)->m_rightDown = arg2;
15299
15300 Py_INCREF(Py_None); resultobj = Py_None;
15301 return resultobj;
15302 fail:
15303 return NULL;
15304}
15305
15306
c32bde28 15307static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15308 PyObject *resultobj;
15309 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15310 bool result;
15311 PyObject * obj0 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15319 result = (bool) ((arg1)->m_rightDown);
15320
4f89f6a3
RD
15321 {
15322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15323 }
d14a1e28
RD
15324 return resultobj;
15325 fail:
15326 return NULL;
15327}
15328
15329
c32bde28 15330static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15331 PyObject *resultobj;
15332 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15333 bool arg2 ;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self",(char *) "m_controlDown", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15343 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15345 if (arg1) (arg1)->m_controlDown = arg2;
15346
15347 Py_INCREF(Py_None); resultobj = Py_None;
15348 return resultobj;
15349 fail:
15350 return NULL;
15351}
15352
15353
c32bde28 15354static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15355 PyObject *resultobj;
15356 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15357 bool result;
15358 PyObject * obj0 = 0 ;
15359 char *kwnames[] = {
15360 (char *) "self", NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15366 result = (bool) ((arg1)->m_controlDown);
15367
4f89f6a3
RD
15368 {
15369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15370 }
d14a1e28
RD
15371 return resultobj;
15372 fail:
15373 return NULL;
15374}
15375
15376
c32bde28 15377static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15378 PyObject *resultobj;
15379 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15380 bool arg2 ;
15381 PyObject * obj0 = 0 ;
15382 PyObject * obj1 = 0 ;
15383 char *kwnames[] = {
15384 (char *) "self",(char *) "m_shiftDown", NULL
15385 };
15386
15387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15390 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15391 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15392 if (arg1) (arg1)->m_shiftDown = arg2;
15393
15394 Py_INCREF(Py_None); resultobj = Py_None;
15395 return resultobj;
15396 fail:
15397 return NULL;
15398}
15399
15400
c32bde28 15401static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15402 PyObject *resultobj;
15403 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15404 bool result;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15413 result = (bool) ((arg1)->m_shiftDown);
15414
4f89f6a3
RD
15415 {
15416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15417 }
d14a1e28
RD
15418 return resultobj;
15419 fail:
15420 return NULL;
15421}
15422
15423
c32bde28 15424static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15425 PyObject *resultobj;
15426 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15427 bool arg2 ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "self",(char *) "m_altDown", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15437 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15438 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15439 if (arg1) (arg1)->m_altDown = arg2;
15440
15441 Py_INCREF(Py_None); resultobj = Py_None;
15442 return resultobj;
15443 fail:
15444 return NULL;
15445}
15446
15447
c32bde28 15448static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15449 PyObject *resultobj;
15450 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15451 bool result;
15452 PyObject * obj0 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15460 result = (bool) ((arg1)->m_altDown);
15461
4f89f6a3
RD
15462 {
15463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15464 }
d14a1e28
RD
15465 return resultobj;
15466 fail:
15467 return NULL;
15468}
15469
15470
c32bde28 15471static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15472 PyObject *resultobj;
15473 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15474 bool arg2 ;
15475 PyObject * obj0 = 0 ;
15476 PyObject * obj1 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self",(char *) "m_metaDown", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15484 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15486 if (arg1) (arg1)->m_metaDown = arg2;
15487
15488 Py_INCREF(Py_None); resultobj = Py_None;
15489 return resultobj;
15490 fail:
15491 return NULL;
15492}
15493
15494
c32bde28 15495static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15496 PyObject *resultobj;
15497 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15498 bool result;
15499 PyObject * obj0 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15507 result = (bool) ((arg1)->m_metaDown);
15508
4f89f6a3
RD
15509 {
15510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15511 }
d14a1e28
RD
15512 return resultobj;
15513 fail:
15514 return NULL;
15515}
15516
15517
c32bde28 15518static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15519 PyObject *resultobj;
15520 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15521 int arg2 ;
15522 PyObject * obj0 = 0 ;
994141e6 15523 PyObject * obj1 = 0 ;
d14a1e28
RD
15524 char *kwnames[] = {
15525 (char *) "self",(char *) "m_wheelRotation", NULL
15526 };
15527
994141e6 15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15531 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15532 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15533 if (arg1) (arg1)->m_wheelRotation = arg2;
15534
15535 Py_INCREF(Py_None); resultobj = Py_None;
15536 return resultobj;
15537 fail:
15538 return NULL;
15539}
15540
15541
c32bde28 15542static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15543 PyObject *resultobj;
15544 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15545 int result;
15546 PyObject * obj0 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15554 result = (int) ((arg1)->m_wheelRotation);
15555
c32bde28 15556 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15557 return resultobj;
15558 fail:
15559 return NULL;
15560}
15561
15562
c32bde28 15563static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15564 PyObject *resultobj;
15565 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15566 int arg2 ;
15567 PyObject * obj0 = 0 ;
994141e6 15568 PyObject * obj1 = 0 ;
d14a1e28
RD
15569 char *kwnames[] = {
15570 (char *) "self",(char *) "m_wheelDelta", NULL
15571 };
15572
994141e6 15573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15576 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15578 if (arg1) (arg1)->m_wheelDelta = arg2;
15579
15580 Py_INCREF(Py_None); resultobj = Py_None;
15581 return resultobj;
15582 fail:
15583 return NULL;
15584}
15585
15586
c32bde28 15587static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15588 PyObject *resultobj;
15589 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15590 int result;
15591 PyObject * obj0 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15599 result = (int) ((arg1)->m_wheelDelta);
15600
c32bde28 15601 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15602 return resultobj;
15603 fail:
15604 return NULL;
15605}
15606
15607
c32bde28 15608static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15609 PyObject *resultobj;
15610 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15611 int arg2 ;
15612 PyObject * obj0 = 0 ;
994141e6 15613 PyObject * obj1 = 0 ;
d14a1e28
RD
15614 char *kwnames[] = {
15615 (char *) "self",(char *) "m_linesPerAction", NULL
15616 };
15617
994141e6 15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15621 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15623 if (arg1) (arg1)->m_linesPerAction = arg2;
15624
15625 Py_INCREF(Py_None); resultobj = Py_None;
15626 return resultobj;
15627 fail:
15628 return NULL;
15629}
15630
15631
c32bde28 15632static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15633 PyObject *resultobj;
15634 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15635 int result;
15636 PyObject * obj0 = 0 ;
15637 char *kwnames[] = {
15638 (char *) "self", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15644 result = (int) ((arg1)->m_linesPerAction);
15645
c32bde28 15646 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15647 return resultobj;
15648 fail:
15649 return NULL;
15650}
15651
15652
c32bde28 15653static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15654 PyObject *obj;
15655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15656 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15657 Py_INCREF(obj);
15658 return Py_BuildValue((char *)"");
15659}
c32bde28 15660static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15661 PyObject *resultobj;
e811c8ce
RD
15662 int arg1 = (int) 0 ;
15663 int arg2 = (int) 0 ;
d14a1e28 15664 wxSetCursorEvent *result;
994141e6
RD
15665 PyObject * obj0 = 0 ;
15666 PyObject * obj1 = 0 ;
d14a1e28
RD
15667 char *kwnames[] = {
15668 (char *) "x",(char *) "y", NULL
15669 };
15670
994141e6
RD
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15672 if (obj0) {
c32bde28 15673 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 15674 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15675 }
15676 if (obj1) {
c32bde28 15677 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15678 if (PyErr_Occurred()) SWIG_fail;
994141e6 15679 }
d14a1e28
RD
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15afbcd0 15687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15688 return resultobj;
15689 fail:
15690 return NULL;
15691}
15692
15693
c32bde28 15694static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15695 PyObject *resultobj;
15696 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15697 int result;
d14a1e28
RD
15698 PyObject * obj0 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self", NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15708 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15709
15710 wxPyEndAllowThreads(__tstate);
15711 if (PyErr_Occurred()) SWIG_fail;
15712 }
c32bde28 15713 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15714 return resultobj;
15715 fail:
15716 return NULL;
15717}
15718
15719
c32bde28 15720static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15721 PyObject *resultobj;
15722 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15723 int result;
d14a1e28
RD
15724 PyObject * obj0 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "self", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15734 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
c32bde28 15739 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15740 return resultobj;
15741 fail:
15742 return NULL;
15743}
15744
15745
c32bde28 15746static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15747 PyObject *resultobj;
15748 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15749 wxCursor *arg2 = 0 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self",(char *) "cursor", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15760 SWIG_POINTER_EXCEPTION | 0)) == -1)
15761 SWIG_fail;
d14a1e28 15762 if (arg2 == NULL) {
15afbcd0
RD
15763 PyErr_SetString(PyExc_TypeError,"null reference");
15764 SWIG_fail;
d14a1e28
RD
15765 }
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
15768 (arg1)->SetCursor((wxCursor const &)*arg2);
15769
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 Py_INCREF(Py_None); resultobj = Py_None;
15774 return resultobj;
15775 fail:
15776 return NULL;
15777}
15778
15779
c32bde28 15780static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15781 PyObject *resultobj;
15782 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15783 wxCursor *result;
15784 PyObject * obj0 = 0 ;
15785 char *kwnames[] = {
15786 (char *) "self", NULL
15787 };
15788
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 {
15795 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15796 result = (wxCursor *) &_result_ref;
15797 }
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
4276dc52
RD
15802 {
15803 wxCursor* resultptr = new wxCursor(*result);
15804 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15805 }
d14a1e28
RD
15806 return resultobj;
15807 fail:
15808 return NULL;
15809}
15810
15811
c32bde28 15812static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15813 PyObject *resultobj;
15814 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15815 bool result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
4f89f6a3
RD
15831 {
15832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15833 }
d14a1e28
RD
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
c32bde28 15840static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15841 PyObject *obj;
15842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15843 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15844 Py_INCREF(obj);
15845 return Py_BuildValue((char *)"");
15846}
c32bde28 15847static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15848 PyObject *resultobj;
15849 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15850 wxKeyEvent *result;
994141e6 15851 PyObject * obj0 = 0 ;
d14a1e28
RD
15852 char *kwnames[] = {
15853 (char *) "keyType", NULL
15854 };
15855
994141e6
RD
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15857 if (obj0) {
c32bde28 15858 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 15859 if (PyErr_Occurred()) SWIG_fail;
994141e6 15860 }
d14a1e28
RD
15861 {
15862 PyThreadState* __tstate = wxPyBeginAllowThreads();
15863 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15864
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15afbcd0 15868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15869 return resultobj;
15870 fail:
15871 return NULL;
15872}
15873
15874
c32bde28 15875static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15876 PyObject *resultobj;
15877 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15878 bool result;
15879 PyObject * obj0 = 0 ;
15880 char *kwnames[] = {
15881 (char *) "self", NULL
15882 };
15883
15884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
4f89f6a3
RD
15894 {
15895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15896 }
d14a1e28
RD
15897 return resultobj;
15898 fail:
15899 return NULL;
15900}
15901
15902
c32bde28 15903static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15904 PyObject *resultobj;
15905 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15906 bool result;
15907 PyObject * obj0 = 0 ;
15908 char *kwnames[] = {
15909 (char *) "self", NULL
15910 };
15911
15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
4f89f6a3
RD
15922 {
15923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15924 }
d14a1e28
RD
15925 return resultobj;
15926 fail:
15927 return NULL;
15928}
15929
15930
c32bde28 15931static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15932 PyObject *resultobj;
15933 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15934 bool result;
15935 PyObject * obj0 = 0 ;
15936 char *kwnames[] = {
15937 (char *) "self", NULL
15938 };
15939
15940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15946
15947 wxPyEndAllowThreads(__tstate);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
4f89f6a3
RD
15950 {
15951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15952 }
d14a1e28
RD
15953 return resultobj;
15954 fail:
15955 return NULL;
15956}
15957
15958
c32bde28 15959static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15960 PyObject *resultobj;
15961 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15962 bool result;
15963 PyObject * obj0 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15971 {
15972 PyThreadState* __tstate = wxPyBeginAllowThreads();
15973 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15974
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
4f89f6a3
RD
15978 {
15979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15980 }
d14a1e28
RD
15981 return resultobj;
15982 fail:
15983 return NULL;
15984}
15985
15986
c32bde28 15987static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
15988 PyObject *resultobj;
15989 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15990 bool result;
15991 PyObject * obj0 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 {
16007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16008 }
16009 return resultobj;
16010 fail:
16011 return NULL;
16012}
16013
16014
c32bde28 16015static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16016 PyObject *resultobj;
16017 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16018 bool result;
16019 PyObject * obj0 = 0 ;
16020 char *kwnames[] = {
16021 (char *) "self", NULL
16022 };
16023
16024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
16025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
4f89f6a3
RD
16034 {
16035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16036 }
d14a1e28
RD
16037 return resultobj;
16038 fail:
16039 return NULL;
16040}
16041
16042
c32bde28 16043static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16044 PyObject *resultobj;
16045 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16046 int result;
16047 PyObject * obj0 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
16053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
c32bde28 16062 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16063 return resultobj;
16064 fail:
16065 return NULL;
16066}
16067
16068
c32bde28 16069static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16070 PyObject *resultobj;
16071 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16072 int result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self", NULL
16076 };
16077
19272049 16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
15afbcd0
RD
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 16083 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d14a1e28
RD
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
c32bde28 16088 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16089 return resultobj;
16090 fail:
16091 return NULL;
16092}
16093
16094
c32bde28 16095static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16096 PyObject *resultobj;
16097 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16098 unsigned int result;
d14a1e28
RD
16099 PyObject * obj0 = 0 ;
16100 char *kwnames[] = {
16101 (char *) "self", NULL
16102 };
16103
16104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
16105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16109 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
16110
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
c32bde28 16114 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16115 return resultobj;
16116 fail:
16117 return NULL;
16118}
16119
16120
c32bde28 16121static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16122 PyObject *resultobj;
16123 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16124 unsigned int result;
d14a1e28
RD
16125 PyObject * obj0 = 0 ;
16126 char *kwnames[] = {
16127 (char *) "self", NULL
16128 };
16129
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
16131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16135 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
16136
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
c32bde28 16140 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16141 return resultobj;
16142 fail:
16143 return NULL;
16144}
16145
16146
c32bde28 16147static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16148 PyObject *resultobj;
16149 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16150 wxPoint result;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 result = (arg1)->GetPosition();
16162
16163 wxPyEndAllowThreads(__tstate);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 {
16167 wxPoint * resultptr;
16168 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16170 }
16171 return resultobj;
16172 fail:
16173 return NULL;
16174}
16175
16176
c32bde28 16177static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16178 PyObject *resultobj;
16179 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16180 long *arg2 = (long *) 0 ;
16181 long *arg3 = (long *) 0 ;
16182 long temp2 ;
c32bde28 16183 int res2 = 0 ;
d14a1e28 16184 long temp3 ;
c32bde28 16185 int res3 = 0 ;
d14a1e28
RD
16186 PyObject * obj0 = 0 ;
16187 char *kwnames[] = {
16188 (char *) "self", NULL
16189 };
16190
c32bde28
RD
16191 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16192 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
16194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 (arg1)->GetPosition(arg2,arg3);
16199
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16204 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16205 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
16206 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16207 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
16208 return resultobj;
16209 fail:
16210 return NULL;
16211}
16212
16213
c32bde28 16214static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16215 PyObject *resultobj;
16216 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16217 int result;
d14a1e28
RD
16218 PyObject * obj0 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
16224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16228 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
c32bde28 16233 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16234 return resultobj;
16235 fail:
16236 return NULL;
16237}
16238
16239
c32bde28 16240static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16241 PyObject *resultobj;
16242 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16243 int result;
d14a1e28
RD
16244 PyObject * obj0 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
16250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16254 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
c32bde28 16259 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16260 return resultobj;
16261 fail:
16262 return NULL;
16263}
16264
16265
c32bde28 16266static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16267 PyObject *resultobj;
16268 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16269 int arg2 ;
d14a1e28 16270 PyObject * obj0 = 0 ;
994141e6 16271 PyObject * obj1 = 0 ;
d14a1e28
RD
16272 char *kwnames[] = {
16273 (char *) "self",(char *) "m_x", NULL
16274 };
16275
994141e6 16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16279 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16281 if (arg1) (arg1)->m_x = arg2;
16282
16283 Py_INCREF(Py_None); resultobj = Py_None;
16284 return resultobj;
16285 fail:
16286 return NULL;
16287}
16288
16289
c32bde28 16290static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16291 PyObject *resultobj;
16292 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16293 int result;
d14a1e28
RD
16294 PyObject * obj0 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16302 result = (int) ((arg1)->m_x);
d14a1e28 16303
c32bde28 16304 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16305 return resultobj;
16306 fail:
16307 return NULL;
16308}
16309
16310
c32bde28 16311static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16312 PyObject *resultobj;
16313 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16314 int arg2 ;
d14a1e28 16315 PyObject * obj0 = 0 ;
994141e6 16316 PyObject * obj1 = 0 ;
d14a1e28
RD
16317 char *kwnames[] = {
16318 (char *) "self",(char *) "m_y", NULL
16319 };
16320
994141e6 16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16324 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16326 if (arg1) (arg1)->m_y = arg2;
16327
16328 Py_INCREF(Py_None); resultobj = Py_None;
16329 return resultobj;
16330 fail:
16331 return NULL;
16332}
16333
16334
c32bde28 16335static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16336 PyObject *resultobj;
16337 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16338 int result;
d14a1e28
RD
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16347 result = (int) ((arg1)->m_y);
d14a1e28 16348
c32bde28 16349 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16350 return resultobj;
16351 fail:
16352 return NULL;
16353}
16354
16355
c32bde28 16356static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16357 PyObject *resultobj;
16358 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16359 long arg2 ;
16360 PyObject * obj0 = 0 ;
994141e6 16361 PyObject * obj1 = 0 ;
d14a1e28
RD
16362 char *kwnames[] = {
16363 (char *) "self",(char *) "m_keyCode", NULL
16364 };
16365
994141e6 16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16369 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 16370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16371 if (arg1) (arg1)->m_keyCode = arg2;
16372
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 return resultobj;
16375 fail:
16376 return NULL;
16377}
16378
16379
c32bde28 16380static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16381 PyObject *resultobj;
16382 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16383 long result;
16384 PyObject * obj0 = 0 ;
16385 char *kwnames[] = {
16386 (char *) "self", NULL
16387 };
16388
16389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16392 result = (long) ((arg1)->m_keyCode);
16393
c32bde28 16394 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
16395 return resultobj;
16396 fail:
16397 return NULL;
16398}
16399
16400
c32bde28 16401static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16402 PyObject *resultobj;
16403 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16404 bool arg2 ;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "m_controlDown", NULL
16409 };
16410
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16414 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16416 if (arg1) (arg1)->m_controlDown = arg2;
16417
16418 Py_INCREF(Py_None); resultobj = Py_None;
16419 return resultobj;
16420 fail:
16421 return NULL;
16422}
16423
16424
c32bde28 16425static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16426 PyObject *resultobj;
16427 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16428 bool result;
16429 PyObject * obj0 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16437 result = (bool) ((arg1)->m_controlDown);
16438
4f89f6a3
RD
16439 {
16440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16441 }
d14a1e28
RD
16442 return resultobj;
16443 fail:
16444 return NULL;
16445}
16446
16447
c32bde28 16448static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16449 PyObject *resultobj;
16450 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16451 bool arg2 ;
16452 PyObject * obj0 = 0 ;
16453 PyObject * obj1 = 0 ;
16454 char *kwnames[] = {
16455 (char *) "self",(char *) "m_shiftDown", NULL
16456 };
16457
16458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16461 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16463 if (arg1) (arg1)->m_shiftDown = arg2;
16464
16465 Py_INCREF(Py_None); resultobj = Py_None;
16466 return resultobj;
16467 fail:
16468 return NULL;
16469}
16470
16471
c32bde28 16472static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16473 PyObject *resultobj;
16474 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16475 bool result;
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16484 result = (bool) ((arg1)->m_shiftDown);
16485
4f89f6a3
RD
16486 {
16487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16488 }
d14a1e28
RD
16489 return resultobj;
16490 fail:
16491 return NULL;
16492}
16493
16494
c32bde28 16495static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16496 PyObject *resultobj;
16497 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16498 bool arg2 ;
16499 PyObject * obj0 = 0 ;
16500 PyObject * obj1 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self",(char *) "m_altDown", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16508 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16509 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16510 if (arg1) (arg1)->m_altDown = arg2;
16511
16512 Py_INCREF(Py_None); resultobj = Py_None;
16513 return resultobj;
16514 fail:
16515 return NULL;
16516}
16517
16518
c32bde28 16519static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16520 PyObject *resultobj;
16521 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16522 bool result;
16523 PyObject * obj0 = 0 ;
16524 char *kwnames[] = {
16525 (char *) "self", NULL
16526 };
16527
16528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16531 result = (bool) ((arg1)->m_altDown);
16532
4f89f6a3
RD
16533 {
16534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16535 }
d14a1e28
RD
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
c32bde28 16542static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16543 PyObject *resultobj;
16544 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16545 bool arg2 ;
16546 PyObject * obj0 = 0 ;
16547 PyObject * obj1 = 0 ;
16548 char *kwnames[] = {
16549 (char *) "self",(char *) "m_metaDown", NULL
16550 };
16551
16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16555 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16556 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16557 if (arg1) (arg1)->m_metaDown = arg2;
16558
16559 Py_INCREF(Py_None); resultobj = Py_None;
16560 return resultobj;
16561 fail:
16562 return NULL;
16563}
16564
16565
c32bde28 16566static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16567 PyObject *resultobj;
16568 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16569 bool result;
16570 PyObject * obj0 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16578 result = (bool) ((arg1)->m_metaDown);
16579
4f89f6a3
RD
16580 {
16581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16582 }
d14a1e28
RD
16583 return resultobj;
16584 fail:
16585 return NULL;
16586}
16587
16588
c32bde28 16589static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16590 PyObject *resultobj;
16591 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16592 bool arg2 ;
16593 PyObject * obj0 = 0 ;
16594 PyObject * obj1 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self",(char *) "m_scanCode", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16602 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16604 if (arg1) (arg1)->m_scanCode = arg2;
16605
16606 Py_INCREF(Py_None); resultobj = Py_None;
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
c32bde28 16613static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16614 PyObject *resultobj;
16615 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16616 bool result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16625 result = (bool) ((arg1)->m_scanCode);
16626
4f89f6a3
RD
16627 {
16628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16629 }
d14a1e28
RD
16630 return resultobj;
16631 fail:
16632 return NULL;
16633}
16634
16635
c32bde28 16636static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16637 PyObject *resultobj;
16638 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16639 unsigned int arg2 ;
d14a1e28
RD
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self",(char *) "m_rawCode", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16649 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 16650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16651 if (arg1) (arg1)->m_rawCode = arg2;
16652
16653 Py_INCREF(Py_None); resultobj = Py_None;
16654 return resultobj;
16655 fail:
16656 return NULL;
16657}
16658
16659
c32bde28 16660static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16661 PyObject *resultobj;
16662 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16663 unsigned int result;
d14a1e28
RD
16664 PyObject * obj0 = 0 ;
16665 char *kwnames[] = {
16666 (char *) "self", NULL
16667 };
16668
16669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16672 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16673
c32bde28 16674 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16675 return resultobj;
16676 fail:
16677 return NULL;
16678}
16679
16680
c32bde28 16681static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16682 PyObject *resultobj;
16683 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16684 unsigned int arg2 ;
d14a1e28
RD
16685 PyObject * obj0 = 0 ;
16686 PyObject * obj1 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self",(char *) "m_rawFlags", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16694 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 16695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16696 if (arg1) (arg1)->m_rawFlags = arg2;
16697
16698 Py_INCREF(Py_None); resultobj = Py_None;
16699 return resultobj;
16700 fail:
16701 return NULL;
16702}
16703
16704
c32bde28 16705static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16706 PyObject *resultobj;
16707 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16708 unsigned int result;
d14a1e28
RD
16709 PyObject * obj0 = 0 ;
16710 char *kwnames[] = {
16711 (char *) "self", NULL
16712 };
16713
16714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16717 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16718
c32bde28 16719 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16720 return resultobj;
16721 fail:
16722 return NULL;
16723}
16724
16725
c32bde28 16726static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16727 PyObject *obj;
16728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16729 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16730 Py_INCREF(obj);
16731 return Py_BuildValue((char *)"");
16732}
c32bde28 16733static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16734 PyObject *resultobj;
16735 wxSize const &arg1_defvalue = wxDefaultSize ;
16736 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16737 int arg2 = (int) 0 ;
16738 wxSizeEvent *result;
16739 wxSize temp1 ;
16740 PyObject * obj0 = 0 ;
994141e6 16741 PyObject * obj1 = 0 ;
d14a1e28
RD
16742 char *kwnames[] = {
16743 (char *) "sz",(char *) "winid", NULL
16744 };
16745
994141e6 16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16747 if (obj0) {
16748 {
16749 arg1 = &temp1;
16750 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16751 }
16752 }
994141e6 16753 if (obj1) {
c32bde28 16754 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16755 if (PyErr_Occurred()) SWIG_fail;
994141e6 16756 }
d14a1e28
RD
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
15afbcd0 16764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16765 return resultobj;
16766 fail:
16767 return NULL;
16768}
16769
16770
c32bde28 16771static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16772 PyObject *resultobj;
16773 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16774 wxSize result;
16775 PyObject * obj0 = 0 ;
16776 char *kwnames[] = {
16777 (char *) "self", NULL
16778 };
16779
16780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 result = ((wxSizeEvent const *)arg1)->GetSize();
16786
16787 wxPyEndAllowThreads(__tstate);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 {
16791 wxSize * resultptr;
16792 resultptr = new wxSize((wxSize &) result);
15afbcd0 16793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16794 }
16795 return resultobj;
16796 fail:
16797 return NULL;
16798}
16799
16800
c32bde28 16801static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16802 PyObject *resultobj;
16803 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16804 wxRect result;
16805 PyObject * obj0 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = ((wxSizeEvent const *)arg1)->GetRect();
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 {
16821 wxRect * resultptr;
16822 resultptr = new wxRect((wxRect &) result);
15afbcd0 16823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16824 }
16825 return resultobj;
16826 fail:
16827 return NULL;
16828}
16829
16830
c32bde28 16831static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16832 PyObject *resultobj;
16833 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16834 wxRect arg2 ;
16835 wxRect *argp2 ;
16836 PyObject * obj0 = 0 ;
16837 PyObject * obj1 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "self",(char *) "rect", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16845 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16846 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16847 arg2 = *argp2;
d14a1e28
RD
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 (arg1)->SetRect(arg2);
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 Py_INCREF(Py_None); resultobj = Py_None;
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
c32bde28 16862static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16863 PyObject *resultobj;
16864 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16865 wxSize arg2 ;
16866 wxSize *argp2 ;
16867 PyObject * obj0 = 0 ;
16868 PyObject * obj1 = 0 ;
16869 char *kwnames[] = {
16870 (char *) "self",(char *) "size", NULL
16871 };
16872
16873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16876 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16877 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16878 arg2 = *argp2;
d14a1e28
RD
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 wxSizeEvent_SetSize(arg1,arg2);
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 Py_INCREF(Py_None); resultobj = Py_None;
16887 return resultobj;
16888 fail:
16889 return NULL;
16890}
16891
16892
c32bde28 16893static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16894 PyObject *resultobj;
16895 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16896 wxSize *arg2 = (wxSize *) 0 ;
16897 PyObject * obj0 = 0 ;
16898 PyObject * obj1 = 0 ;
16899 char *kwnames[] = {
16900 (char *) "self",(char *) "m_size", NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16908 if (arg1) (arg1)->m_size = *arg2;
16909
16910 Py_INCREF(Py_None); resultobj = Py_None;
16911 return resultobj;
16912 fail:
16913 return NULL;
16914}
16915
16916
c32bde28 16917static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16918 PyObject *resultobj;
16919 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16920 wxSize *result;
16921 PyObject * obj0 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16929 result = (wxSize *)& ((arg1)->m_size);
16930
15afbcd0 16931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16932 return resultobj;
16933 fail:
16934 return NULL;
16935}
16936
16937
c32bde28 16938static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16939 PyObject *resultobj;
16940 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16941 wxRect *arg2 = (wxRect *) 0 ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self",(char *) "m_rect", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16953 if (arg1) (arg1)->m_rect = *arg2;
16954
16955 Py_INCREF(Py_None); resultobj = Py_None;
16956 return resultobj;
16957 fail:
16958 return NULL;
16959}
16960
16961
c32bde28 16962static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16963 PyObject *resultobj;
16964 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16965 wxRect *result;
16966 PyObject * obj0 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self", NULL
16969 };
16970
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16974 result = (wxRect *)& ((arg1)->m_rect);
16975
15afbcd0 16976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16977 return resultobj;
16978 fail:
16979 return NULL;
16980}
16981
16982
c32bde28 16983static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16984 PyObject *obj;
16985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16986 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16987 Py_INCREF(obj);
16988 return Py_BuildValue((char *)"");
16989}
c32bde28 16990static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16991 PyObject *resultobj;
16992 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16993 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16994 int arg2 = (int) 0 ;
16995 wxMoveEvent *result;
16996 wxPoint temp1 ;
16997 PyObject * obj0 = 0 ;
994141e6 16998 PyObject * obj1 = 0 ;
d14a1e28
RD
16999 char *kwnames[] = {
17000 (char *) "pos",(char *) "winid", NULL
17001 };
17002
994141e6 17003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
17004 if (obj0) {
17005 {
17006 arg1 = &temp1;
17007 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
17008 }
17009 }
994141e6 17010 if (obj1) {
c32bde28 17011 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17012 if (PyErr_Occurred()) SWIG_fail;
994141e6 17013 }
d14a1e28
RD
17014 {
17015 PyThreadState* __tstate = wxPyBeginAllowThreads();
17016 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
17017
17018 wxPyEndAllowThreads(__tstate);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
15afbcd0 17021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
17022 return resultobj;
17023 fail:
17024 return NULL;
17025}
17026
17027
c32bde28 17028static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17029 PyObject *resultobj;
17030 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17031 wxPoint result;
17032 PyObject * obj0 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
17038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = ((wxMoveEvent const *)arg1)->GetPosition();
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 {
17048 wxPoint * resultptr;
17049 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 17050 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17051 }
17052 return resultobj;
17053 fail:
17054 return NULL;
17055}
17056
17057
c32bde28 17058static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17059 PyObject *resultobj;
17060 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17061 wxRect result;
17062 PyObject * obj0 = 0 ;
17063 char *kwnames[] = {
17064 (char *) "self", NULL
17065 };
17066
17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
17068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 result = ((wxMoveEvent const *)arg1)->GetRect();
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 {
17078 wxRect * resultptr;
17079 resultptr = new wxRect((wxRect &) result);
15afbcd0 17080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
17081 }
17082 return resultobj;
17083 fail:
17084 return NULL;
17085}
17086
17087
c32bde28 17088static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17089 PyObject *resultobj;
17090 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17091 wxRect arg2 ;
17092 wxRect *argp2 ;
17093 PyObject * obj0 = 0 ;
17094 PyObject * obj1 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self",(char *) "rect", NULL
17097 };
17098
17099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17102 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
17103 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
17104 arg2 = *argp2;
d14a1e28
RD
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 (arg1)->SetRect(arg2);
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 Py_INCREF(Py_None); resultobj = Py_None;
17113 return resultobj;
17114 fail:
17115 return NULL;
17116}
17117
17118
c32bde28 17119static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17120 PyObject *resultobj;
17121 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17122 wxPoint arg2 ;
17123 wxPoint *argp2 ;
17124 PyObject * obj0 = 0 ;
17125 PyObject * obj1 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self",(char *) "pos", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17133 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
17134 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
17135 arg2 = *argp2;
d14a1e28
RD
17136 {
17137 PyThreadState* __tstate = wxPyBeginAllowThreads();
17138 wxMoveEvent_SetPosition(arg1,arg2);
17139
17140 wxPyEndAllowThreads(__tstate);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 }
17143 Py_INCREF(Py_None); resultobj = Py_None;
17144 return resultobj;
17145 fail:
17146 return NULL;
17147}
17148
17149
c32bde28 17150static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17151 PyObject *resultobj;
17152 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17153 wxPoint *arg2 = (wxPoint *) 0 ;
17154 PyObject * obj0 = 0 ;
17155 PyObject * obj1 = 0 ;
17156 char *kwnames[] = {
17157 (char *) "self",(char *) "m_pos", NULL
17158 };
17159
17160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
17164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17165 if (arg1) (arg1)->m_pos = *arg2;
17166
17167 Py_INCREF(Py_None); resultobj = Py_None;
17168 return resultobj;
17169 fail:
17170 return NULL;
17171}
17172
17173
c32bde28 17174static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17175 PyObject *resultobj;
17176 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17177 wxPoint *result;
17178 PyObject * obj0 = 0 ;
17179 char *kwnames[] = {
17180 (char *) "self", NULL
17181 };
17182
17183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
17184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17186 result = (wxPoint *)& ((arg1)->m_pos);
17187
15afbcd0 17188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
17189 return resultobj;
17190 fail:
17191 return NULL;
17192}
17193
17194
c32bde28 17195static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17196 PyObject *resultobj;
17197 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17198 wxRect *arg2 = (wxRect *) 0 ;
17199 PyObject * obj0 = 0 ;
17200 PyObject * obj1 = 0 ;
17201 char *kwnames[] = {
17202 (char *) "self",(char *) "m_rect", NULL
17203 };
17204
17205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
17209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17210 if (arg1) (arg1)->m_rect = *arg2;
17211
17212 Py_INCREF(Py_None); resultobj = Py_None;
17213 return resultobj;
17214 fail:
17215 return NULL;
17216}
17217
17218
c32bde28 17219static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17220 PyObject *resultobj;
17221 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17222 wxRect *result;
17223 PyObject * obj0 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
17229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17231 result = (wxRect *)& ((arg1)->m_rect);
17232
15afbcd0 17233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
17234 return resultobj;
17235 fail:
17236 return NULL;
17237}
17238
17239
c32bde28 17240static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17241 PyObject *obj;
17242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17243 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
17244 Py_INCREF(obj);
17245 return Py_BuildValue((char *)"");
17246}
c32bde28 17247static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17248 PyObject *resultobj;
17249 int arg1 = (int) 0 ;
17250 wxPaintEvent *result;
994141e6 17251 PyObject * obj0 = 0 ;
d14a1e28
RD
17252 char *kwnames[] = {
17253 (char *) "Id", NULL
17254 };
17255
994141e6
RD
17256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
17257 if (obj0) {
c32bde28 17258 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17259 if (PyErr_Occurred()) SWIG_fail;
994141e6 17260 }
d14a1e28
RD
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = (wxPaintEvent *)new wxPaintEvent(arg1);
17264
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
15afbcd0 17268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
17269 return resultobj;
17270 fail:
17271 return NULL;
17272}
17273
17274
c32bde28 17275static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17276 PyObject *obj;
17277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17278 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
17279 Py_INCREF(obj);
17280 return Py_BuildValue((char *)"");
17281}
c32bde28 17282static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17283 PyObject *resultobj;
17284 int arg1 = (int) 0 ;
17285 wxNcPaintEvent *result;
994141e6 17286 PyObject * obj0 = 0 ;
d14a1e28
RD
17287 char *kwnames[] = {
17288 (char *) "winid", NULL
17289 };
17290
994141e6
RD
17291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
17292 if (obj0) {
c32bde28 17293 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17294 if (PyErr_Occurred()) SWIG_fail;
994141e6 17295 }
d14a1e28
RD
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
15afbcd0 17303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
17304 return resultobj;
17305 fail:
17306 return NULL;
17307}
17308
17309
c32bde28 17310static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17311 PyObject *obj;
17312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17313 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
17314 Py_INCREF(obj);
17315 return Py_BuildValue((char *)"");
17316}
c32bde28 17317static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17318 PyObject *resultobj;
17319 int arg1 = (int) 0 ;
17320 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
17321 wxEraseEvent *result;
994141e6 17322 PyObject * obj0 = 0 ;
d14a1e28
RD
17323 PyObject * obj1 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "Id",(char *) "dc", NULL
17326 };
17327
994141e6
RD
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
17329 if (obj0) {
c32bde28 17330 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17331 if (PyErr_Occurred()) SWIG_fail;
994141e6 17332 }
d14a1e28 17333 if (obj1) {
15afbcd0
RD
17334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17336 }
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
15afbcd0 17344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
17345 return resultobj;
17346 fail:
17347 return NULL;
17348}
17349
17350
c32bde28 17351static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17352 PyObject *resultobj;
17353 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
17354 wxDC *result;
17355 PyObject * obj0 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
17361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
17362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
412d302d 17371 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17372 }
17373 return resultobj;
17374 fail:
17375 return NULL;
17376}
17377
17378
c32bde28 17379static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17380 PyObject *obj;
17381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17382 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
17383 Py_INCREF(obj);
17384 return Py_BuildValue((char *)"");
17385}
c32bde28 17386static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17387 PyObject *resultobj;
17388 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17389 int arg2 = (int) 0 ;
17390 wxFocusEvent *result;
994141e6
RD
17391 PyObject * obj0 = 0 ;
17392 PyObject * obj1 = 0 ;
d14a1e28
RD
17393 char *kwnames[] = {
17394 (char *) "type",(char *) "winid", NULL
17395 };
17396
994141e6
RD
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
17398 if (obj0) {
c32bde28 17399 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17400 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17401 }
17402 if (obj1) {
c32bde28 17403 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17404 if (PyErr_Occurred()) SWIG_fail;
994141e6 17405 }
d14a1e28
RD
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
15afbcd0 17413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
17414 return resultobj;
17415 fail:
17416 return NULL;
17417}
17418
17419
c32bde28 17420static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17421 PyObject *resultobj;
17422 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17423 wxWindow *result;
17424 PyObject * obj0 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 {
412d302d 17440 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17441 }
17442 return resultobj;
17443 fail:
17444 return NULL;
17445}
17446
17447
c32bde28 17448static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17449 PyObject *resultobj;
17450 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17451 wxWindow *arg2 = (wxWindow *) 0 ;
17452 PyObject * obj0 = 0 ;
17453 PyObject * obj1 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self",(char *) "win", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 (arg1)->SetWindow(arg2);
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 Py_INCREF(Py_None); resultobj = Py_None;
17471 return resultobj;
17472 fail:
17473 return NULL;
17474}
17475
17476
c32bde28 17477static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17478 PyObject *obj;
17479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17480 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17481 Py_INCREF(obj);
17482 return Py_BuildValue((char *)"");
17483}
c32bde28 17484static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17485 PyObject *resultobj;
17486 wxWindow *arg1 = (wxWindow *) NULL ;
17487 wxChildFocusEvent *result;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "win", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17494 if (obj0) {
15afbcd0
RD
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17497 }
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
15afbcd0 17505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
17506 return resultobj;
17507 fail:
17508 return NULL;
17509}
17510
17511
c32bde28 17512static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17513 PyObject *resultobj;
17514 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17515 wxWindow *result;
17516 PyObject * obj0 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 {
412d302d 17532 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17533 }
17534 return resultobj;
17535 fail:
17536 return NULL;
17537}
17538
17539
c32bde28 17540static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17541 PyObject *obj;
17542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17543 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17544 Py_INCREF(obj);
17545 return Py_BuildValue((char *)"");
17546}
c32bde28 17547static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17548 PyObject *resultobj;
17549 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
ae8162c8 17550 bool arg2 = (bool) true ;
d14a1e28
RD
17551 int arg3 = (int) 0 ;
17552 wxActivateEvent *result;
994141e6 17553 PyObject * obj0 = 0 ;
d14a1e28 17554 PyObject * obj1 = 0 ;
994141e6 17555 PyObject * obj2 = 0 ;
d14a1e28
RD
17556 char *kwnames[] = {
17557 (char *) "type",(char *) "active",(char *) "Id", NULL
17558 };
17559
994141e6
RD
17560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17561 if (obj0) {
c32bde28 17562 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17563 if (PyErr_Occurred()) SWIG_fail;
994141e6 17564 }
d14a1e28 17565 if (obj1) {
c32bde28 17566 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17567 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17568 }
17569 if (obj2) {
c32bde28 17570 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17572 }
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
15afbcd0 17580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17581 return resultobj;
17582 fail:
17583 return NULL;
17584}
17585
17586
c32bde28 17587static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17588 PyObject *resultobj;
17589 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17590 bool result;
17591 PyObject * obj0 = 0 ;
17592 char *kwnames[] = {
17593 (char *) "self", NULL
17594 };
17595
17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
17597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
4f89f6a3
RD
17606 {
17607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17608 }
d14a1e28
RD
17609 return resultobj;
17610 fail:
17611 return NULL;
17612}
17613
17614
c32bde28 17615static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17616 PyObject *obj;
17617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17618 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17619 Py_INCREF(obj);
17620 return Py_BuildValue((char *)"");
17621}
c32bde28 17622static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17623 PyObject *resultobj;
17624 int arg1 = (int) 0 ;
17625 wxInitDialogEvent *result;
994141e6 17626 PyObject * obj0 = 0 ;
d14a1e28
RD
17627 char *kwnames[] = {
17628 (char *) "Id", NULL
17629 };
17630
994141e6
RD
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17632 if (obj0) {
c32bde28 17633 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17634 if (PyErr_Occurred()) SWIG_fail;
994141e6 17635 }
d14a1e28
RD
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
15afbcd0 17643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17644 return resultobj;
17645 fail:
17646 return NULL;
17647}
17648
17649
c32bde28 17650static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17651 PyObject *obj;
17652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17653 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17654 Py_INCREF(obj);
17655 return Py_BuildValue((char *)"");
17656}
c32bde28 17657static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17658 PyObject *resultobj;
17659 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17660 int arg2 = (int) 0 ;
17661 wxMenu *arg3 = (wxMenu *) NULL ;
17662 wxMenuEvent *result;
994141e6
RD
17663 PyObject * obj0 = 0 ;
17664 PyObject * obj1 = 0 ;
d14a1e28
RD
17665 PyObject * obj2 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "type",(char *) "winid",(char *) "menu", NULL
17668 };
17669
994141e6
RD
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17671 if (obj0) {
c32bde28 17672 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17673 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17674 }
17675 if (obj1) {
c32bde28 17676 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17677 if (PyErr_Occurred()) SWIG_fail;
994141e6 17678 }
d14a1e28 17679 if (obj2) {
15afbcd0
RD
17680 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17682 }
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
15afbcd0 17690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17691 return resultobj;
17692 fail:
17693 return NULL;
17694}
17695
17696
c32bde28 17697static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17698 PyObject *resultobj;
17699 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17700 int result;
17701 PyObject * obj0 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17712
17713 wxPyEndAllowThreads(__tstate);
17714 if (PyErr_Occurred()) SWIG_fail;
17715 }
c32bde28 17716 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17717 return resultobj;
17718 fail:
17719 return NULL;
17720}
17721
17722
c32bde28 17723static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17724 PyObject *resultobj;
17725 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17726 bool result;
17727 PyObject * obj0 = 0 ;
17728 char *kwnames[] = {
17729 (char *) "self", NULL
17730 };
17731
17732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
4f89f6a3
RD
17742 {
17743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17744 }
d14a1e28
RD
17745 return resultobj;
17746 fail:
17747 return NULL;
17748}
17749
17750
c32bde28 17751static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17752 PyObject *resultobj;
17753 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17754 wxMenu *result;
17755 PyObject * obj0 = 0 ;
17756 char *kwnames[] = {
17757 (char *) "self", NULL
17758 };
17759
17760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 {
412d302d 17771 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17772 }
17773 return resultobj;
17774 fail:
17775 return NULL;
17776}
17777
17778
c32bde28 17779static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17780 PyObject *obj;
17781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17782 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17783 Py_INCREF(obj);
17784 return Py_BuildValue((char *)"");
17785}
c32bde28 17786static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17787 PyObject *resultobj;
17788 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17789 int arg2 = (int) 0 ;
17790 wxCloseEvent *result;
994141e6
RD
17791 PyObject * obj0 = 0 ;
17792 PyObject * obj1 = 0 ;
d14a1e28
RD
17793 char *kwnames[] = {
17794 (char *) "type",(char *) "winid", NULL
17795 };
17796
994141e6
RD
17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17798 if (obj0) {
c32bde28 17799 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17800 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17801 }
17802 if (obj1) {
c32bde28 17803 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17804 if (PyErr_Occurred()) SWIG_fail;
994141e6 17805 }
d14a1e28
RD
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
15afbcd0 17813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17814 return resultobj;
17815 fail:
17816 return NULL;
17817}
17818
17819
c32bde28 17820static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17821 PyObject *resultobj;
17822 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17823 bool arg2 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "logOff", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17833 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 (arg1)->SetLoggingOff(arg2);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 Py_INCREF(Py_None); resultobj = Py_None;
17843 return resultobj;
17844 fail:
17845 return NULL;
17846}
17847
17848
c32bde28 17849static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17850 PyObject *resultobj;
17851 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17852 bool result;
17853 PyObject * obj0 = 0 ;
17854 char *kwnames[] = {
17855 (char *) "self", NULL
17856 };
17857
17858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
4f89f6a3
RD
17868 {
17869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17870 }
d14a1e28
RD
17871 return resultobj;
17872 fail:
17873 return NULL;
17874}
17875
17876
c32bde28 17877static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17878 PyObject *resultobj;
17879 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
ae8162c8 17880 bool arg2 = (bool) true ;
d14a1e28
RD
17881 PyObject * obj0 = 0 ;
17882 PyObject * obj1 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self",(char *) "veto", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17890 if (obj1) {
c32bde28 17891 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17893 }
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 (arg1)->Veto(arg2);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 Py_INCREF(Py_None); resultobj = Py_None;
17902 return resultobj;
17903 fail:
17904 return NULL;
17905}
17906
17907
c32bde28 17908static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17909 PyObject *resultobj;
17910 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17911 bool arg2 ;
17912 PyObject * obj0 = 0 ;
17913 PyObject * obj1 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self",(char *) "canVeto", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17921 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 (arg1)->SetCanVeto(arg2);
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 Py_INCREF(Py_None); resultobj = Py_None;
17931 return resultobj;
17932 fail:
17933 return NULL;
17934}
17935
17936
c32bde28 17937static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17938 PyObject *resultobj;
17939 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17940 bool result;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
4f89f6a3
RD
17956 {
17957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17958 }
d14a1e28
RD
17959 return resultobj;
17960 fail:
17961 return NULL;
17962}
17963
17964
c32bde28 17965static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17966 PyObject *resultobj;
17967 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17968 bool result;
17969 PyObject * obj0 = 0 ;
17970 char *kwnames[] = {
17971 (char *) "self", NULL
17972 };
17973
17974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
4f89f6a3
RD
17984 {
17985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17986 }
d14a1e28
RD
17987 return resultobj;
17988 fail:
17989 return NULL;
17990}
17991
17992
c32bde28 17993static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17994 PyObject *obj;
17995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17996 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17997 Py_INCREF(obj);
17998 return Py_BuildValue((char *)"");
17999}
c32bde28 18000static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18001 PyObject *resultobj;
18002 int arg1 = (int) 0 ;
ae8162c8 18003 bool arg2 = (bool) false ;
d14a1e28 18004 wxShowEvent *result;
994141e6 18005 PyObject * obj0 = 0 ;
d14a1e28
RD
18006 PyObject * obj1 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "winid",(char *) "show", NULL
18009 };
18010
994141e6
RD
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
18012 if (obj0) {
c32bde28 18013 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18014 if (PyErr_Occurred()) SWIG_fail;
994141e6 18015 }
d14a1e28 18016 if (obj1) {
c32bde28 18017 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18019 }
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
18023
18024 wxPyEndAllowThreads(__tstate);
18025 if (PyErr_Occurred()) SWIG_fail;
18026 }
15afbcd0 18027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
18028 return resultobj;
18029 fail:
18030 return NULL;
18031}
18032
18033
c32bde28 18034static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18035 PyObject *resultobj;
18036 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
18037 bool arg2 ;
18038 PyObject * obj0 = 0 ;
18039 PyObject * obj1 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "show", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
18046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18047 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 (arg1)->SetShow(arg2);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 Py_INCREF(Py_None); resultobj = Py_None;
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
c32bde28 18063static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18064 PyObject *resultobj;
18065 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
18066 bool result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
18074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (bool)((wxShowEvent const *)arg1)->GetShow();
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
4f89f6a3
RD
18082 {
18083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18084 }
d14a1e28
RD
18085 return resultobj;
18086 fail:
18087 return NULL;
18088}
18089
18090
c32bde28 18091static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18092 PyObject *obj;
18093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18094 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
18095 Py_INCREF(obj);
18096 return Py_BuildValue((char *)"");
18097}
c32bde28 18098static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18099 PyObject *resultobj;
18100 int arg1 = (int) 0 ;
ae8162c8 18101 bool arg2 = (bool) true ;
d14a1e28 18102 wxIconizeEvent *result;
994141e6 18103 PyObject * obj0 = 0 ;
d14a1e28
RD
18104 PyObject * obj1 = 0 ;
18105 char *kwnames[] = {
18106 (char *) "id",(char *) "iconized", NULL
18107 };
18108
994141e6
RD
18109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
18110 if (obj0) {
c32bde28 18111 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18112 if (PyErr_Occurred()) SWIG_fail;
994141e6 18113 }
d14a1e28 18114 if (obj1) {
c32bde28 18115 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18116 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18117 }
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
18121
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
15afbcd0 18125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
18126 return resultobj;
18127 fail:
18128 return NULL;
18129}
18130
18131
c32bde28 18132static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18133 PyObject *resultobj;
18134 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
18135 bool result;
18136 PyObject * obj0 = 0 ;
18137 char *kwnames[] = {
18138 (char *) "self", NULL
18139 };
18140
18141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
18143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 result = (bool)(arg1)->Iconized();
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
4f89f6a3
RD
18151 {
18152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18153 }
d14a1e28
RD
18154 return resultobj;
18155 fail:
18156 return NULL;
18157}
18158
18159
c32bde28 18160static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18161 PyObject *obj;
18162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18163 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
18164 Py_INCREF(obj);
18165 return Py_BuildValue((char *)"");
18166}
c32bde28 18167static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18168 PyObject *resultobj;
18169 int arg1 = (int) 0 ;
18170 wxMaximizeEvent *result;
994141e6 18171 PyObject * obj0 = 0 ;
d14a1e28
RD
18172 char *kwnames[] = {
18173 (char *) "id", NULL
18174 };
18175
994141e6
RD
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
18177 if (obj0) {
c32bde28 18178 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18179 if (PyErr_Occurred()) SWIG_fail;
994141e6 18180 }
d14a1e28
RD
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
15afbcd0 18188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
18189 return resultobj;
18190 fail:
18191 return NULL;
18192}
18193
18194
c32bde28 18195static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18196 PyObject *obj;
18197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18198 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
18199 Py_INCREF(obj);
18200 return Py_BuildValue((char *)"");
18201}
c32bde28 18202static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18203 PyObject *resultobj;
18204 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18205 wxPoint result;
18206 PyObject * obj0 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
18212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 result = (arg1)->GetPosition();
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 {
18222 wxPoint * resultptr;
18223 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 18224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
18225 }
18226 return resultobj;
18227 fail:
18228 return NULL;
18229}
18230
18231
c32bde28 18232static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18233 PyObject *resultobj;
18234 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18235 int result;
18236 PyObject * obj0 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
18242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (int)(arg1)->GetNumberOfFiles();
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
c32bde28 18251 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18252 return resultobj;
18253 fail:
18254 return NULL;
18255}
18256
18257
c32bde28 18258static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18259 PyObject *resultobj;
18260 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18261 PyObject *result;
18262 PyObject * obj0 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
18268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 resultobj = result;
18278 return resultobj;
18279 fail:
18280 return NULL;
18281}
18282
18283
c32bde28 18284static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18285 PyObject *obj;
18286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18287 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
18288 Py_INCREF(obj);
18289 return Py_BuildValue((char *)"");
18290}
c32bde28 18291static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18292 PyObject *resultobj;
e811c8ce 18293 int arg1 = (int) 0 ;
d14a1e28 18294 wxUpdateUIEvent *result;
994141e6 18295 PyObject * obj0 = 0 ;
d14a1e28
RD
18296 char *kwnames[] = {
18297 (char *) "commandId", NULL
18298 };
18299
994141e6
RD
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
18301 if (obj0) {
c32bde28 18302 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18303 if (PyErr_Occurred()) SWIG_fail;
994141e6 18304 }
d14a1e28
RD
18305 {
18306 PyThreadState* __tstate = wxPyBeginAllowThreads();
18307 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
18308
18309 wxPyEndAllowThreads(__tstate);
18310 if (PyErr_Occurred()) SWIG_fail;
18311 }
15afbcd0 18312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
18313 return resultobj;
18314 fail:
18315 return NULL;
18316}
18317
18318
c32bde28 18319static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18320 PyObject *resultobj;
18321 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18322 bool result;
18323 PyObject * obj0 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
18329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
18334
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
4f89f6a3
RD
18338 {
18339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18340 }
d14a1e28
RD
18341 return resultobj;
18342 fail:
18343 return NULL;
18344}
18345
18346
c32bde28 18347static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18348 PyObject *resultobj;
18349 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18350 bool result;
18351 PyObject * obj0 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
18357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
4f89f6a3
RD
18366 {
18367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18368 }
d14a1e28
RD
18369 return resultobj;
18370 fail:
18371 return NULL;
18372}
18373
18374
c32bde28 18375static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18376 PyObject *resultobj;
18377 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18378 wxString result;
18379 PyObject * obj0 = 0 ;
18380 char *kwnames[] = {
18381 (char *) "self", NULL
18382 };
18383
18384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 result = ((wxUpdateUIEvent const *)arg1)->GetText();
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 {
18395#if wxUSE_UNICODE
18396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18397#else
18398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18399#endif
18400 }
18401 return resultobj;
18402 fail:
18403 return NULL;
18404}
18405
18406
c32bde28 18407static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18408 PyObject *resultobj;
18409 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18410 bool result;
18411 PyObject * obj0 = 0 ;
18412 char *kwnames[] = {
18413 (char *) "self", NULL
18414 };
18415
18416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
4f89f6a3
RD
18426 {
18427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18428 }
d14a1e28
RD
18429 return resultobj;
18430 fail:
18431 return NULL;
18432}
18433
18434
c32bde28 18435static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18436 PyObject *resultobj;
18437 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18438 bool result;
18439 PyObject * obj0 = 0 ;
18440 char *kwnames[] = {
18441 (char *) "self", NULL
18442 };
18443
18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
18445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18447 {
18448 PyThreadState* __tstate = wxPyBeginAllowThreads();
18449 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
18450
18451 wxPyEndAllowThreads(__tstate);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
4f89f6a3
RD
18454 {
18455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18456 }
d14a1e28
RD
18457 return resultobj;
18458 fail:
18459 return NULL;
18460}
18461
18462
c32bde28 18463static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18464 PyObject *resultobj;
18465 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18466 bool result;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
4f89f6a3
RD
18482 {
18483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18484 }
d14a1e28
RD
18485 return resultobj;
18486 fail:
18487 return NULL;
18488}
18489
18490
c32bde28 18491static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18492 PyObject *resultobj;
18493 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18494 bool arg2 ;
18495 PyObject * obj0 = 0 ;
18496 PyObject * obj1 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self",(char *) "check", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18504 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18506 {
18507 PyThreadState* __tstate = wxPyBeginAllowThreads();
18508 (arg1)->Check(arg2);
18509
18510 wxPyEndAllowThreads(__tstate);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 }
18513 Py_INCREF(Py_None); resultobj = Py_None;
18514 return resultobj;
18515 fail:
18516 return NULL;
18517}
18518
18519
c32bde28 18520static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18521 PyObject *resultobj;
18522 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18523 bool arg2 ;
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "self",(char *) "enable", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18533 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18534 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 (arg1)->Enable(arg2);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 Py_INCREF(Py_None); resultobj = Py_None;
18543 return resultobj;
18544 fail:
18545 return NULL;
18546}
18547
18548
c32bde28 18549static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18550 PyObject *resultobj;
18551 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18552 wxString *arg2 = 0 ;
ae8162c8 18553 bool temp2 = false ;
d14a1e28
RD
18554 PyObject * obj0 = 0 ;
18555 PyObject * obj1 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "self",(char *) "text", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18563 {
18564 arg2 = wxString_in_helper(obj1);
18565 if (arg2 == NULL) SWIG_fail;
ae8162c8 18566 temp2 = true;
d14a1e28
RD
18567 }
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 (arg1)->SetText((wxString const &)*arg2);
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 Py_INCREF(Py_None); resultobj = Py_None;
18576 {
18577 if (temp2)
18578 delete arg2;
18579 }
18580 return resultobj;
18581 fail:
18582 {
18583 if (temp2)
18584 delete arg2;
18585 }
18586 return NULL;
18587}
18588
18589
c32bde28 18590static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18591 PyObject *resultobj;
18592 long arg1 ;
994141e6 18593 PyObject * obj0 = 0 ;
d14a1e28
RD
18594 char *kwnames[] = {
18595 (char *) "updateInterval", NULL
18596 };
18597
994141e6 18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
c32bde28 18599 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 18600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 wxUpdateUIEvent::SetUpdateInterval(arg1);
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 Py_INCREF(Py_None); resultobj = Py_None;
18609 return resultobj;
18610 fail:
18611 return NULL;
18612}
18613
18614
c32bde28 18615static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18616 PyObject *resultobj;
18617 long result;
18618 char *kwnames[] = {
18619 NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18623 {
18624 PyThreadState* __tstate = wxPyBeginAllowThreads();
18625 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
c32bde28 18630 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
18631 return resultobj;
18632 fail:
18633 return NULL;
18634}
18635
18636
c32bde28 18637static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18638 PyObject *resultobj;
18639 wxWindow *arg1 = (wxWindow *) 0 ;
18640 bool result;
18641 PyObject * obj0 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "win", NULL
18644 };
18645
18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18649 {
18650 PyThreadState* __tstate = wxPyBeginAllowThreads();
18651 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18652
18653 wxPyEndAllowThreads(__tstate);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
4f89f6a3
RD
18656 {
18657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18658 }
d14a1e28
RD
18659 return resultobj;
18660 fail:
18661 return NULL;
18662}
18663
18664
c32bde28 18665static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18666 PyObject *resultobj;
18667 char *kwnames[] = {
18668 NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 wxUpdateUIEvent::ResetUpdateTime();
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 Py_INCREF(Py_None); resultobj = Py_None;
18680 return resultobj;
18681 fail:
18682 return NULL;
18683}
18684
18685
c32bde28 18686static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18687 PyObject *resultobj;
18688 int arg1 ;
994141e6 18689 PyObject * obj0 = 0 ;
d14a1e28
RD
18690 char *kwnames[] = {
18691 (char *) "mode", NULL
18692 };
18693
994141e6 18694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
c32bde28 18695 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18696 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18697 {
18698 PyThreadState* __tstate = wxPyBeginAllowThreads();
18699 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18700
18701 wxPyEndAllowThreads(__tstate);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 Py_INCREF(Py_None); resultobj = Py_None;
18705 return resultobj;
18706 fail:
18707 return NULL;
18708}
18709
18710
c32bde28 18711static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18712 PyObject *resultobj;
18713 int result;
18714 char *kwnames[] = {
18715 NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 result = (int)wxUpdateUIEvent::GetMode();
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
c32bde28 18726 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18727 return resultobj;
18728 fail:
18729 return NULL;
18730}
18731
18732
c32bde28 18733static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18734 PyObject *obj;
18735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18736 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18737 Py_INCREF(obj);
18738 return Py_BuildValue((char *)"");
18739}
c32bde28 18740static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18741 PyObject *resultobj;
18742 wxSysColourChangedEvent *result;
18743 char *kwnames[] = {
18744 NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
15afbcd0 18755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18756 return resultobj;
18757 fail:
18758 return NULL;
18759}
18760
18761
c32bde28 18762static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18763 PyObject *obj;
18764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18765 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18766 Py_INCREF(obj);
18767 return Py_BuildValue((char *)"");
18768}
c32bde28 18769static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18770 PyObject *resultobj;
e811c8ce 18771 int arg1 = (int) 0 ;
d14a1e28
RD
18772 wxWindow *arg2 = (wxWindow *) NULL ;
18773 wxMouseCaptureChangedEvent *result;
994141e6 18774 PyObject * obj0 = 0 ;
d14a1e28
RD
18775 PyObject * obj1 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "winid",(char *) "gainedCapture", NULL
18778 };
18779
994141e6
RD
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18781 if (obj0) {
c32bde28 18782 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18783 if (PyErr_Occurred()) SWIG_fail;
994141e6 18784 }
d14a1e28 18785 if (obj1) {
15afbcd0
RD
18786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18788 }
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
15afbcd0 18796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18797 return resultobj;
18798 fail:
18799 return NULL;
18800}
18801
18802
c32bde28 18803static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18804 PyObject *resultobj;
18805 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18806 wxWindow *result;
18807 PyObject * obj0 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 {
412d302d 18823 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18824 }
18825 return resultobj;
18826 fail:
18827 return NULL;
18828}
18829
18830
c32bde28 18831static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18832 PyObject *obj;
18833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18834 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18835 Py_INCREF(obj);
18836 return Py_BuildValue((char *)"");
18837}
c32bde28 18838static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18839 PyObject *resultobj;
18840 wxDisplayChangedEvent *result;
18841 char *kwnames[] = {
18842 NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
15afbcd0 18853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18854 return resultobj;
18855 fail:
18856 return NULL;
18857}
18858
18859
c32bde28 18860static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18861 PyObject *obj;
18862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18863 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18864 Py_INCREF(obj);
18865 return Py_BuildValue((char *)"");
18866}
c32bde28 18867static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18868 PyObject *resultobj;
e811c8ce 18869 int arg1 = (int) 0 ;
d14a1e28 18870 wxPaletteChangedEvent *result;
994141e6 18871 PyObject * obj0 = 0 ;
d14a1e28
RD
18872 char *kwnames[] = {
18873 (char *) "id", NULL
18874 };
18875
994141e6
RD
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18877 if (obj0) {
c32bde28 18878 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18879 if (PyErr_Occurred()) SWIG_fail;
994141e6 18880 }
d14a1e28
RD
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
15afbcd0 18888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18889 return resultobj;
18890 fail:
18891 return NULL;
18892}
18893
18894
c32bde28 18895static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18896 PyObject *resultobj;
18897 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18898 wxWindow *arg2 = (wxWindow *) 0 ;
18899 PyObject * obj0 = 0 ;
18900 PyObject * obj1 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self",(char *) "win", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18910 {
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
18912 (arg1)->SetChangedWindow(arg2);
18913
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
18917 Py_INCREF(Py_None); resultobj = Py_None;
18918 return resultobj;
18919 fail:
18920 return NULL;
18921}
18922
18923
c32bde28 18924static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18925 PyObject *resultobj;
18926 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18927 wxWindow *result;
18928 PyObject * obj0 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 result = (wxWindow *)(arg1)->GetChangedWindow();
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 {
412d302d 18944 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18945 }
18946 return resultobj;
18947 fail:
18948 return NULL;
18949}
18950
18951
c32bde28 18952static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18953 PyObject *obj;
18954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18955 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18956 Py_INCREF(obj);
18957 return Py_BuildValue((char *)"");
18958}
c32bde28 18959static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18960 PyObject *resultobj;
e811c8ce 18961 int arg1 = (int) 0 ;
d14a1e28 18962 wxQueryNewPaletteEvent *result;
994141e6 18963 PyObject * obj0 = 0 ;
d14a1e28
RD
18964 char *kwnames[] = {
18965 (char *) "winid", NULL
18966 };
18967
994141e6
RD
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18969 if (obj0) {
c32bde28 18970 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18971 if (PyErr_Occurred()) SWIG_fail;
994141e6 18972 }
d14a1e28
RD
18973 {
18974 PyThreadState* __tstate = wxPyBeginAllowThreads();
18975 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18976
18977 wxPyEndAllowThreads(__tstate);
18978 if (PyErr_Occurred()) SWIG_fail;
18979 }
15afbcd0 18980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18981 return resultobj;
18982 fail:
18983 return NULL;
18984}
18985
18986
c32bde28 18987static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18988 PyObject *resultobj;
18989 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18990 bool arg2 ;
18991 PyObject * obj0 = 0 ;
18992 PyObject * obj1 = 0 ;
18993 char *kwnames[] = {
18994 (char *) "self",(char *) "realized", NULL
18995 };
18996
18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19000 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 (arg1)->SetPaletteRealized(arg2);
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 return resultobj;
19011 fail:
19012 return NULL;
19013}
19014
19015
c32bde28 19016static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19017 PyObject *resultobj;
19018 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
19019 bool result;
19020 PyObject * obj0 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19028 {
19029 PyThreadState* __tstate = wxPyBeginAllowThreads();
19030 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
19031
19032 wxPyEndAllowThreads(__tstate);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
4f89f6a3
RD
19035 {
19036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19037 }
d14a1e28
RD
19038 return resultobj;
19039 fail:
19040 return NULL;
19041}
19042
19043
c32bde28 19044static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19045 PyObject *obj;
19046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19047 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
19048 Py_INCREF(obj);
19049 return Py_BuildValue((char *)"");
19050}
c32bde28 19051static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19052 PyObject *resultobj;
19053 wxNavigationKeyEvent *result;
19054 char *kwnames[] = {
19055 NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
15afbcd0 19066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
19067 return resultobj;
19068 fail:
19069 return NULL;
19070}
19071
19072
c32bde28 19073static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19074 PyObject *resultobj;
19075 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19076 bool result;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
19083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
4f89f6a3
RD
19092 {
19093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19094 }
d14a1e28
RD
19095 return resultobj;
19096 fail:
19097 return NULL;
19098}
19099
19100
c32bde28 19101static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19102 PyObject *resultobj;
19103 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19104 bool arg2 ;
19105 PyObject * obj0 = 0 ;
19106 PyObject * obj1 = 0 ;
19107 char *kwnames[] = {
908b74cd 19108 (char *) "self",(char *) "forward", NULL
d14a1e28
RD
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19114 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->SetDirection(arg2);
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 return resultobj;
19125 fail:
19126 return NULL;
19127}
19128
19129
c32bde28 19130static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19131 PyObject *resultobj;
19132 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19133 bool result;
19134 PyObject * obj0 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
4f89f6a3
RD
19149 {
19150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19151 }
d14a1e28
RD
19152 return resultobj;
19153 fail:
19154 return NULL;
19155}
19156
19157
c32bde28 19158static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19159 PyObject *resultobj;
19160 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19161 bool arg2 ;
19162 PyObject * obj0 = 0 ;
19163 PyObject * obj1 = 0 ;
19164 char *kwnames[] = {
908b74cd 19165 (char *) "self",(char *) "ischange", NULL
d14a1e28
RD
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19171 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19173 {
19174 PyThreadState* __tstate = wxPyBeginAllowThreads();
19175 (arg1)->SetWindowChange(arg2);
19176
19177 wxPyEndAllowThreads(__tstate);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 }
19180 Py_INCREF(Py_None); resultobj = Py_None;
19181 return resultobj;
19182 fail:
19183 return NULL;
19184}
19185
19186
c32bde28 19187static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
19188 PyObject *resultobj;
19189 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19190 long arg2 ;
19191 PyObject * obj0 = 0 ;
19192 PyObject * obj1 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self",(char *) "flags", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
19198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19200 arg2 = (long)SWIG_As_long(obj1);
908b74cd
RD
19201 if (PyErr_Occurred()) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->SetFlags(arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213}
19214
19215
c32bde28 19216static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19217 PyObject *resultobj;
19218 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19219 wxWindow *result;
19220 PyObject * obj0 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "self", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19228 {
19229 PyThreadState* __tstate = wxPyBeginAllowThreads();
19230 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
19231
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 {
412d302d 19236 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19237 }
19238 return resultobj;
19239 fail:
19240 return NULL;
19241}
19242
19243
c32bde28 19244static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19245 PyObject *resultobj;
19246 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19247 wxWindow *arg2 = (wxWindow *) 0 ;
19248 PyObject * obj0 = 0 ;
19249 PyObject * obj1 = 0 ;
19250 char *kwnames[] = {
19251 (char *) "self",(char *) "win", NULL
19252 };
19253
19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->SetCurrentFocus(arg2);
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 return resultobj;
19268 fail:
19269 return NULL;
19270}
19271
19272
c32bde28 19273static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19274 PyObject *obj;
19275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19276 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
19277 Py_INCREF(obj);
19278 return Py_BuildValue((char *)"");
19279}
c32bde28 19280static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19281 PyObject *resultobj;
19282 wxWindow *arg1 = (wxWindow *) NULL ;
19283 wxWindowCreateEvent *result;
19284 PyObject * obj0 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "win", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
19290 if (obj0) {
15afbcd0
RD
19291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19293 }
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
15afbcd0 19301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
19302 return resultobj;
19303 fail:
19304 return NULL;
19305}
19306
19307
c32bde28 19308static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19309 PyObject *resultobj;
19310 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
19311 wxWindow *result;
19312 PyObject * obj0 = 0 ;
19313 char *kwnames[] = {
19314 (char *) "self", NULL
19315 };
19316
19317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
19318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
19319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
19323
19324 wxPyEndAllowThreads(__tstate);
19325 if (PyErr_Occurred()) SWIG_fail;
19326 }
19327 {
412d302d 19328 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19329 }
19330 return resultobj;
19331 fail:
19332 return NULL;
19333}
19334
19335
c32bde28 19336static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19337 PyObject *obj;
19338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19339 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
19340 Py_INCREF(obj);
19341 return Py_BuildValue((char *)"");
19342}
c32bde28 19343static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19344 PyObject *resultobj;
19345 wxWindow *arg1 = (wxWindow *) NULL ;
19346 wxWindowDestroyEvent *result;
19347 PyObject * obj0 = 0 ;
19348 char *kwnames[] = {
19349 (char *) "win", NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
19353 if (obj0) {
15afbcd0
RD
19354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19356 }
19357 {
19358 PyThreadState* __tstate = wxPyBeginAllowThreads();
19359 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
19360
19361 wxPyEndAllowThreads(__tstate);
19362 if (PyErr_Occurred()) SWIG_fail;
19363 }
15afbcd0 19364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
19365 return resultobj;
19366 fail:
19367 return NULL;
19368}
19369
19370
c32bde28 19371static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19372 PyObject *resultobj;
19373 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
19374 wxWindow *result;
19375 PyObject * obj0 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 {
412d302d 19391 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19392 }
19393 return resultobj;
19394 fail:
19395 return NULL;
19396}
19397
19398
c32bde28 19399static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19400 PyObject *obj;
19401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19402 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
19403 Py_INCREF(obj);
19404 return Py_BuildValue((char *)"");
19405}
c32bde28 19406static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19407 PyObject *resultobj;
19408 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 19409 int arg2 = (int) 0 ;
d14a1e28
RD
19410 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19411 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19412 wxContextMenuEvent *result;
19413 wxPoint temp3 ;
994141e6
RD
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
d14a1e28
RD
19416 PyObject * obj2 = 0 ;
19417 char *kwnames[] = {
19418 (char *) "type",(char *) "winid",(char *) "pt", NULL
19419 };
19420
994141e6
RD
19421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
19422 if (obj0) {
c32bde28 19423 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 19424 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19425 }
19426 if (obj1) {
c32bde28 19427 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19428 if (PyErr_Occurred()) SWIG_fail;
994141e6 19429 }
d14a1e28
RD
19430 if (obj2) {
19431 {
19432 arg3 = &temp3;
19433 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19434 }
19435 }
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
15afbcd0 19443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
19444 return resultobj;
19445 fail:
19446 return NULL;
19447}
19448
19449
c32bde28 19450static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19451 PyObject *resultobj;
19452 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19453 wxPoint *result;
19454 PyObject * obj0 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
19460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 {
19465 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
19466 result = (wxPoint *) &_result_ref;
19467 }
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
15afbcd0 19472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19473 return resultobj;
19474 fail:
19475 return NULL;
19476}
19477
19478
c32bde28 19479static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19480 PyObject *resultobj;
19481 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19482 wxPoint *arg2 = 0 ;
19483 wxPoint temp2 ;
19484 PyObject * obj0 = 0 ;
19485 PyObject * obj1 = 0 ;
19486 char *kwnames[] = {
19487 (char *) "self",(char *) "pos", NULL
19488 };
19489
19490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19493 {
19494 arg2 = &temp2;
19495 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19496 }
19497 {
19498 PyThreadState* __tstate = wxPyBeginAllowThreads();
19499 (arg1)->SetPosition((wxPoint const &)*arg2);
19500
19501 wxPyEndAllowThreads(__tstate);
19502 if (PyErr_Occurred()) SWIG_fail;
19503 }
19504 Py_INCREF(Py_None); resultobj = Py_None;
19505 return resultobj;
19506 fail:
19507 return NULL;
19508}
19509
19510
c32bde28 19511static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19512 PyObject *obj;
19513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19514 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19515 Py_INCREF(obj);
19516 return Py_BuildValue((char *)"");
19517}
c32bde28 19518static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19519 PyObject *resultobj;
19520 wxIdleEvent *result;
19521 char *kwnames[] = {
19522 NULL
19523 };
19524
19525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19526 {
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
19528 result = (wxIdleEvent *)new wxIdleEvent();
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
15afbcd0 19533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
19534 return resultobj;
19535 fail:
19536 return NULL;
19537}
19538
19539
c32bde28 19540static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19541 PyObject *resultobj;
19542 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
ae8162c8 19543 bool arg2 = (bool) true ;
d14a1e28
RD
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self",(char *) "needMore", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19553 if (obj1) {
c32bde28 19554 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19556 }
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 (arg1)->RequestMore(arg2);
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 Py_INCREF(Py_None); resultobj = Py_None;
19565 return resultobj;
19566 fail:
19567 return NULL;
19568}
19569
19570
c32bde28 19571static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19572 PyObject *resultobj;
19573 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19574 bool result;
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
19581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19586
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
4f89f6a3
RD
19590 {
19591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19592 }
d14a1e28
RD
19593 return resultobj;
19594 fail:
19595 return NULL;
19596}
19597
19598
c32bde28 19599static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19600 PyObject *resultobj;
19601 int arg1 ;
994141e6 19602 PyObject * obj0 = 0 ;
d14a1e28
RD
19603 char *kwnames[] = {
19604 (char *) "mode", NULL
19605 };
19606
994141e6 19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
c32bde28 19608 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 19609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 wxIdleEvent::SetMode((wxIdleMode )arg1);
19613
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
19617 Py_INCREF(Py_None); resultobj = Py_None;
19618 return resultobj;
19619 fail:
19620 return NULL;
19621}
19622
19623
c32bde28 19624static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19625 PyObject *resultobj;
19626 int result;
19627 char *kwnames[] = {
19628 NULL
19629 };
19630
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 result = (int)wxIdleEvent::GetMode();
19635
19636 wxPyEndAllowThreads(__tstate);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
c32bde28 19639 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
19640 return resultobj;
19641 fail:
19642 return NULL;
19643}
19644
19645
c32bde28 19646static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19647 PyObject *resultobj;
19648 wxWindow *arg1 = (wxWindow *) 0 ;
19649 bool result;
19650 PyObject * obj0 = 0 ;
19651 char *kwnames[] = {
19652 (char *) "win", NULL
19653 };
19654
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
19656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 result = (bool)wxIdleEvent::CanSend(arg1);
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
4f89f6a3
RD
19665 {
19666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19667 }
d14a1e28
RD
19668 return resultobj;
19669 fail:
19670 return NULL;
19671}
19672
19673
c32bde28 19674static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19675 PyObject *obj;
19676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19677 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19678 Py_INCREF(obj);
19679 return Py_BuildValue((char *)"");
19680}
c32bde28 19681static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19682 PyObject *resultobj;
19683 int arg1 = (int) 0 ;
19684 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19685 wxPyEvent *result;
994141e6
RD
19686 PyObject * obj0 = 0 ;
19687 PyObject * obj1 = 0 ;
d14a1e28
RD
19688 char *kwnames[] = {
19689 (char *) "winid",(char *) "commandType", NULL
19690 };
19691
994141e6
RD
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19693 if (obj0) {
c32bde28 19694 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 19695 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19696 }
19697 if (obj1) {
c32bde28 19698 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0 19699 if (PyErr_Occurred()) SWIG_fail;
994141e6 19700 }
d14a1e28
RD
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
15afbcd0 19708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19709 return resultobj;
19710 fail:
19711 return NULL;
19712}
19713
19714
c32bde28 19715static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19716 PyObject *resultobj;
19717 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19718 PyObject * obj0 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 delete arg1;
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 Py_INCREF(Py_None); resultobj = Py_None;
19734 return resultobj;
19735 fail:
19736 return NULL;
19737}
19738
19739
c32bde28 19740static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19741 PyObject *resultobj;
19742 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19743 PyObject *arg2 = (PyObject *) 0 ;
19744 PyObject * obj0 = 0 ;
19745 PyObject * obj1 = 0 ;
19746 char *kwnames[] = {
19747 (char *) "self",(char *) "self", NULL
19748 };
19749
19750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19753 arg2 = obj1;
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 (arg1)->SetSelf(arg2);
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 Py_INCREF(Py_None); resultobj = Py_None;
19762 return resultobj;
19763 fail:
19764 return NULL;
19765}
19766
19767
c32bde28 19768static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19769 PyObject *resultobj;
19770 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19771 PyObject *result;
19772 PyObject * obj0 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (PyObject *)(arg1)->GetSelf();
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 resultobj = result;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791}
19792
19793
c32bde28 19794static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19795 PyObject *obj;
19796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19797 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19798 Py_INCREF(obj);
19799 return Py_BuildValue((char *)"");
19800}
c32bde28 19801static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19802 PyObject *resultobj;
19803 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19804 int arg2 = (int) 0 ;
19805 wxPyCommandEvent *result;
994141e6
RD
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
d14a1e28
RD
19808 char *kwnames[] = {
19809 (char *) "commandType",(char *) "id", NULL
19810 };
19811
994141e6
RD
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19813 if (obj0) {
c32bde28 19814 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 19815 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19816 }
19817 if (obj1) {
c32bde28 19818 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19819 if (PyErr_Occurred()) SWIG_fail;
994141e6 19820 }
d14a1e28
RD
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19824
19825 wxPyEndAllowThreads(__tstate);
19826 if (PyErr_Occurred()) SWIG_fail;
19827 }
15afbcd0 19828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19829 return resultobj;
19830 fail:
19831 return NULL;
19832}
19833
19834
c32bde28 19835static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19836 PyObject *resultobj;
19837 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19838 PyObject * obj0 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19846 {
19847 PyThreadState* __tstate = wxPyBeginAllowThreads();
19848 delete arg1;
19849
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 Py_INCREF(Py_None); resultobj = Py_None;
19854 return resultobj;
19855 fail:
19856 return NULL;
19857}
19858
19859
c32bde28 19860static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19861 PyObject *resultobj;
19862 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19863 PyObject *arg2 = (PyObject *) 0 ;
19864 PyObject * obj0 = 0 ;
19865 PyObject * obj1 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self",(char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19873 arg2 = obj1;
19874 {
19875 PyThreadState* __tstate = wxPyBeginAllowThreads();
19876 (arg1)->SetSelf(arg2);
19877
19878 wxPyEndAllowThreads(__tstate);
19879 if (PyErr_Occurred()) SWIG_fail;
19880 }
19881 Py_INCREF(Py_None); resultobj = Py_None;
19882 return resultobj;
19883 fail:
19884 return NULL;
19885}
19886
19887
c32bde28 19888static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19889 PyObject *resultobj;
19890 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19891 PyObject *result;
19892 PyObject * obj0 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19900 {
19901 PyThreadState* __tstate = wxPyBeginAllowThreads();
19902 result = (PyObject *)(arg1)->GetSelf();
19903
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 resultobj = result;
19908 return resultobj;
19909 fail:
19910 return NULL;
19911}
19912
19913
c32bde28 19914static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19915 PyObject *obj;
19916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19917 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19918 Py_INCREF(obj);
19919 return Py_BuildValue((char *)"");
19920}
c32bde28 19921static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19922 PyObject *resultobj;
19923 wxPyApp *result;
19924 char *kwnames[] = {
19925 NULL
19926 };
19927
19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (wxPyApp *)new_wxPyApp();
19932
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
b0f7404b 19936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
d14a1e28
RD
19937 return resultobj;
19938 fail:
19939 return NULL;
19940}
19941
19942
c32bde28 19943static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19944 PyObject *resultobj;
19945 wxPyApp *arg1 = (wxPyApp *) 0 ;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 delete arg1;
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 Py_INCREF(Py_None); resultobj = Py_None;
19962 return resultobj;
19963 fail:
19964 return NULL;
19965}
19966
19967
c32bde28 19968static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19969 PyObject *resultobj;
19970 wxPyApp *arg1 = (wxPyApp *) 0 ;
19971 PyObject *arg2 = (PyObject *) 0 ;
19972 PyObject *arg3 = (PyObject *) 0 ;
19973 PyObject * obj0 = 0 ;
19974 PyObject * obj1 = 0 ;
19975 PyObject * obj2 = 0 ;
19976 char *kwnames[] = {
19977 (char *) "self",(char *) "self",(char *) "_class", NULL
19978 };
19979
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19983 arg2 = obj1;
19984 arg3 = obj2;
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 (arg1)->_setCallbackInfo(arg2,arg3);
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 Py_INCREF(Py_None); resultobj = Py_None;
19993 return resultobj;
19994 fail:
19995 return NULL;
19996}
19997
19998
c32bde28 19999static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20000 PyObject *resultobj;
20001 wxPyApp *arg1 = (wxPyApp *) 0 ;
20002 wxString result;
20003 PyObject * obj0 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
20009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 result = ((wxPyApp const *)arg1)->GetAppName();
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 {
20019#if wxUSE_UNICODE
20020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20021#else
20022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20023#endif
20024 }
20025 return resultobj;
20026 fail:
20027 return NULL;
20028}
20029
20030
c32bde28 20031static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20032 PyObject *resultobj;
20033 wxPyApp *arg1 = (wxPyApp *) 0 ;
20034 wxString *arg2 = 0 ;
ae8162c8 20035 bool temp2 = false ;
d14a1e28
RD
20036 PyObject * obj0 = 0 ;
20037 PyObject * obj1 = 0 ;
20038 char *kwnames[] = {
20039 (char *) "self",(char *) "name", NULL
20040 };
20041
20042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20045 {
20046 arg2 = wxString_in_helper(obj1);
20047 if (arg2 == NULL) SWIG_fail;
ae8162c8 20048 temp2 = true;
d14a1e28
RD
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 (arg1)->SetAppName((wxString const &)*arg2);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 Py_INCREF(Py_None); resultobj = Py_None;
20058 {
20059 if (temp2)
20060 delete arg2;
20061 }
20062 return resultobj;
20063 fail:
20064 {
20065 if (temp2)
20066 delete arg2;
20067 }
20068 return NULL;
20069}
20070
20071
c32bde28 20072static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20073 PyObject *resultobj;
20074 wxPyApp *arg1 = (wxPyApp *) 0 ;
20075 wxString result;
20076 PyObject * obj0 = 0 ;
20077 char *kwnames[] = {
20078 (char *) "self", NULL
20079 };
20080
20081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
20082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20084 {
20085 PyThreadState* __tstate = wxPyBeginAllowThreads();
20086 result = ((wxPyApp const *)arg1)->GetClassName();
20087
20088 wxPyEndAllowThreads(__tstate);
20089 if (PyErr_Occurred()) SWIG_fail;
20090 }
20091 {
20092#if wxUSE_UNICODE
20093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20094#else
20095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20096#endif
20097 }
20098 return resultobj;
20099 fail:
20100 return NULL;
20101}
20102
20103
c32bde28 20104static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20105 PyObject *resultobj;
20106 wxPyApp *arg1 = (wxPyApp *) 0 ;
20107 wxString *arg2 = 0 ;
ae8162c8 20108 bool temp2 = false ;
d14a1e28
RD
20109 PyObject * obj0 = 0 ;
20110 PyObject * obj1 = 0 ;
20111 char *kwnames[] = {
20112 (char *) "self",(char *) "name", NULL
20113 };
20114
20115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20118 {
20119 arg2 = wxString_in_helper(obj1);
20120 if (arg2 == NULL) SWIG_fail;
ae8162c8 20121 temp2 = true;
d14a1e28
RD
20122 }
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 (arg1)->SetClassName((wxString const &)*arg2);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 {
20132 if (temp2)
20133 delete arg2;
20134 }
20135 return resultobj;
20136 fail:
20137 {
20138 if (temp2)
20139 delete arg2;
20140 }
20141 return NULL;
20142}
20143
20144
c32bde28 20145static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20146 PyObject *resultobj;
20147 wxPyApp *arg1 = (wxPyApp *) 0 ;
20148 wxString *result;
20149 PyObject * obj0 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
20155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20157 {
20158 PyThreadState* __tstate = wxPyBeginAllowThreads();
20159 {
20160 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
20161 result = (wxString *) &_result_ref;
20162 }
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
cc6dd355
RD
20167 {
20168#if wxUSE_UNICODE
20169 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20170#else
20171 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20172#endif
20173 }
d14a1e28
RD
20174 return resultobj;
20175 fail:
20176 return NULL;
20177}
20178
20179
c32bde28 20180static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20181 PyObject *resultobj;
20182 wxPyApp *arg1 = (wxPyApp *) 0 ;
20183 wxString *arg2 = 0 ;
ae8162c8 20184 bool temp2 = false ;
d14a1e28
RD
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "name", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20194 {
20195 arg2 = wxString_in_helper(obj1);
20196 if (arg2 == NULL) SWIG_fail;
ae8162c8 20197 temp2 = true;
d14a1e28
RD
20198 }
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 (arg1)->SetVendorName((wxString const &)*arg2);
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 Py_INCREF(Py_None); resultobj = Py_None;
20207 {
20208 if (temp2)
20209 delete arg2;
20210 }
20211 return resultobj;
20212 fail:
20213 {
20214 if (temp2)
20215 delete arg2;
20216 }
20217 return NULL;
20218}
20219
20220
c32bde28 20221static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20222 PyObject *resultobj;
20223 wxPyApp *arg1 = (wxPyApp *) 0 ;
20224 wxAppTraits *result;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
20231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20233 {
20234 PyThreadState* __tstate = wxPyBeginAllowThreads();
20235 result = (wxAppTraits *)(arg1)->GetTraits();
20236
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
15afbcd0 20240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
20241 return resultobj;
20242 fail:
20243 return NULL;
20244}
20245
20246
c32bde28 20247static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20248 PyObject *resultobj;
20249 wxPyApp *arg1 = (wxPyApp *) 0 ;
20250 PyObject * obj0 = 0 ;
20251 char *kwnames[] = {
20252 (char *) "self", NULL
20253 };
20254
20255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
20256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 (arg1)->ProcessPendingEvents();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 Py_INCREF(Py_None); resultobj = Py_None;
20266 return resultobj;
20267 fail:
20268 return NULL;
20269}
20270
20271
c32bde28 20272static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20273 PyObject *resultobj;
20274 wxPyApp *arg1 = (wxPyApp *) 0 ;
ae8162c8 20275 bool arg2 = (bool) false ;
d14a1e28
RD
20276 bool result;
20277 PyObject * obj0 = 0 ;
20278 PyObject * obj1 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self",(char *) "onlyIfNeeded", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 20286 if (obj1) {
c32bde28 20287 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20289 }
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (bool)(arg1)->Yield(arg2);
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
4f89f6a3
RD
20297 {
20298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20299 }
d14a1e28
RD
20300 return resultobj;
20301 fail:
20302 return NULL;
20303}
20304
20305
c32bde28 20306static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20307 PyObject *resultobj;
20308 wxPyApp *arg1 = (wxPyApp *) 0 ;
20309 PyObject * obj0 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
20315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 (arg1)->WakeUpIdle();
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 Py_INCREF(Py_None); resultobj = Py_None;
20325 return resultobj;
20326 fail:
20327 return NULL;
20328}
20329
20330
1fc3b23a
RD
20331static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) {
20332 PyObject *resultobj;
20333 bool result;
20334 char *kwnames[] = {
20335 NULL
20336 };
20337
20338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_IsMainLoopRunning",kwnames)) goto fail;
20339 {
20340 PyThreadState* __tstate = wxPyBeginAllowThreads();
20341 result = (bool)wxPyApp::IsMainLoopRunning();
20342
20343 wxPyEndAllowThreads(__tstate);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 {
20347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20348 }
20349 return resultobj;
20350 fail:
20351 return NULL;
20352}
20353
20354
c32bde28 20355static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20356 PyObject *resultobj;
20357 wxPyApp *arg1 = (wxPyApp *) 0 ;
20358 int result;
20359 PyObject * obj0 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "self", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
20365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 result = (int)(arg1)->MainLoop();
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
c32bde28 20374 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20375 return resultobj;
20376 fail:
20377 return NULL;
20378}
20379
20380
c32bde28 20381static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20382 PyObject *resultobj;
20383 wxPyApp *arg1 = (wxPyApp *) 0 ;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 (arg1)->Exit();
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 Py_INCREF(Py_None); resultobj = Py_None;
20400 return resultobj;
20401 fail:
20402 return NULL;
20403}
20404
20405
c32bde28 20406static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20407 PyObject *resultobj;
20408 wxPyApp *arg1 = (wxPyApp *) 0 ;
20409 PyObject * obj0 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
20415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 (arg1)->ExitMainLoop();
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 Py_INCREF(Py_None); resultobj = Py_None;
20425 return resultobj;
20426 fail:
20427 return NULL;
20428}
20429
20430
c32bde28 20431static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20432 PyObject *resultobj;
20433 wxPyApp *arg1 = (wxPyApp *) 0 ;
20434 bool result;
20435 PyObject * obj0 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20443 {
20444 PyThreadState* __tstate = wxPyBeginAllowThreads();
20445 result = (bool)(arg1)->Pending();
20446
20447 wxPyEndAllowThreads(__tstate);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
4f89f6a3
RD
20450 {
20451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20452 }
d14a1e28
RD
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
c32bde28 20459static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20460 PyObject *resultobj;
20461 wxPyApp *arg1 = (wxPyApp *) 0 ;
20462 bool result;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = (bool)(arg1)->Dispatch();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
4f89f6a3
RD
20478 {
20479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20480 }
d14a1e28
RD
20481 return resultobj;
20482 fail:
20483 return NULL;
20484}
20485
20486
c32bde28 20487static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20488 PyObject *resultobj;
20489 wxPyApp *arg1 = (wxPyApp *) 0 ;
20490 bool result;
20491 PyObject * obj0 = 0 ;
20492 char *kwnames[] = {
20493 (char *) "self", NULL
20494 };
20495
20496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
20497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20499 {
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 result = (bool)(arg1)->ProcessIdle();
20502
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
4f89f6a3
RD
20506 {
20507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20508 }
d14a1e28
RD
20509 return resultobj;
20510 fail:
20511 return NULL;
20512}
20513
20514
c32bde28 20515static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20516 PyObject *resultobj;
20517 wxPyApp *arg1 = (wxPyApp *) 0 ;
20518 wxWindow *arg2 = (wxWindow *) 0 ;
20519 wxIdleEvent *arg3 = 0 ;
20520 bool result;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 PyObject * obj2 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self",(char *) "win",(char *) "event", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20533 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20534 SWIG_POINTER_EXCEPTION | 0)) == -1)
20535 SWIG_fail;
d14a1e28 20536 if (arg3 == NULL) {
15afbcd0
RD
20537 PyErr_SetString(PyExc_TypeError,"null reference");
20538 SWIG_fail;
d14a1e28
RD
20539 }
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20543
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
4f89f6a3
RD
20547 {
20548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20549 }
d14a1e28
RD
20550 return resultobj;
20551 fail:
20552 return NULL;
20553}
20554
20555
c32bde28 20556static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20557 PyObject *resultobj;
20558 wxPyApp *arg1 = (wxPyApp *) 0 ;
20559 bool result;
20560 PyObject * obj0 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
20566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 result = (bool)((wxPyApp const *)arg1)->IsActive();
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
4f89f6a3
RD
20575 {
20576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20577 }
d14a1e28
RD
20578 return resultobj;
20579 fail:
20580 return NULL;
20581}
20582
20583
c32bde28 20584static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20585 PyObject *resultobj;
20586 wxPyApp *arg1 = (wxPyApp *) 0 ;
20587 wxWindow *arg2 = (wxWindow *) 0 ;
20588 PyObject * obj0 = 0 ;
20589 PyObject * obj1 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "self",(char *) "win", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20597 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 (arg1)->SetTopWindow(arg2);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 Py_INCREF(Py_None); resultobj = Py_None;
20607 return resultobj;
20608 fail:
20609 return NULL;
20610}
20611
20612
c32bde28 20613static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20614 PyObject *resultobj;
20615 wxPyApp *arg1 = (wxPyApp *) 0 ;
20616 wxWindow *result;
20617 PyObject * obj0 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
20623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 {
412d302d 20633 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20634 }
20635 return resultobj;
20636 fail:
20637 return NULL;
20638}
20639
20640
c32bde28 20641static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20642 PyObject *resultobj;
20643 wxPyApp *arg1 = (wxPyApp *) 0 ;
20644 bool arg2 ;
20645 PyObject * obj0 = 0 ;
20646 PyObject * obj1 = 0 ;
20647 char *kwnames[] = {
20648 (char *) "self",(char *) "flag", NULL
20649 };
20650
20651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20654 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20655 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 (arg1)->SetExitOnFrameDelete(arg2);
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 Py_INCREF(Py_None); resultobj = Py_None;
20664 return resultobj;
20665 fail:
20666 return NULL;
20667}
20668
20669
c32bde28 20670static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20671 PyObject *resultobj;
20672 wxPyApp *arg1 = (wxPyApp *) 0 ;
20673 bool result;
20674 PyObject * obj0 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
4f89f6a3
RD
20689 {
20690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20691 }
d14a1e28
RD
20692 return resultobj;
20693 fail:
20694 return NULL;
20695}
20696
20697
c32bde28 20698static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20699 PyObject *resultobj;
20700 wxPyApp *arg1 = (wxPyApp *) 0 ;
20701 bool arg2 ;
20702 PyObject * obj0 = 0 ;
20703 PyObject * obj1 = 0 ;
20704 char *kwnames[] = {
20705 (char *) "self",(char *) "flag", NULL
20706 };
20707
20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20711 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 (arg1)->SetUseBestVisual(arg2);
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 Py_INCREF(Py_None); resultobj = Py_None;
20721 return resultobj;
20722 fail:
20723 return NULL;
20724}
20725
20726
c32bde28 20727static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20728 PyObject *resultobj;
20729 wxPyApp *arg1 = (wxPyApp *) 0 ;
20730 bool result;
20731 PyObject * obj0 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
4f89f6a3
RD
20746 {
20747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20748 }
d14a1e28
RD
20749 return resultobj;
20750 fail:
20751 return NULL;
20752}
20753
20754
c32bde28 20755static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20756 PyObject *resultobj;
20757 wxPyApp *arg1 = (wxPyApp *) 0 ;
20758 int arg2 ;
20759 PyObject * obj0 = 0 ;
994141e6 20760 PyObject * obj1 = 0 ;
d14a1e28
RD
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "mode", NULL
20763 };
20764
994141e6 20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20768 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20769 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 (arg1)->SetPrintMode(arg2);
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 Py_INCREF(Py_None); resultobj = Py_None;
20778 return resultobj;
20779 fail:
20780 return NULL;
20781}
20782
20783
c32bde28 20784static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20785 PyObject *resultobj;
20786 wxPyApp *arg1 = (wxPyApp *) 0 ;
20787 int result;
20788 PyObject * obj0 = 0 ;
20789 char *kwnames[] = {
20790 (char *) "self", NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
c32bde28 20803 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20804 return resultobj;
20805 fail:
20806 return NULL;
20807}
20808
20809
c32bde28 20810static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20811 PyObject *resultobj;
20812 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20813 int arg2 ;
d14a1e28 20814 PyObject * obj0 = 0 ;
994141e6 20815 PyObject * obj1 = 0 ;
d14a1e28 20816 char *kwnames[] = {
6c3b4aae 20817 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20818 };
20819
994141e6 20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20823 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20825 {
20826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20827 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
6c3b4aae 20832 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20833 return resultobj;
20834 fail:
20835 return NULL;
20836}
20837
20838
c32bde28 20839static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20840 PyObject *resultobj;
20841 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20842 int result;
d14a1e28
RD
20843 PyObject * obj0 = 0 ;
20844 char *kwnames[] = {
6c3b4aae 20845 (char *) "self", NULL
d14a1e28
RD
20846 };
20847
6c3b4aae 20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20853 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
c32bde28 20858 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20859 return resultobj;
20860 fail:
20861 return NULL;
20862}
20863
20864
c32bde28 20865static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20866 PyObject *resultobj;
20867 bool result;
20868 char *kwnames[] = {
20869 NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
4f89f6a3
RD
20880 {
20881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20882 }
d14a1e28
RD
20883 return resultobj;
20884 fail:
20885 return NULL;
20886}
20887
20888
c32bde28 20889static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20890 PyObject *resultobj;
20891 long result;
20892 char *kwnames[] = {
20893 NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (long)wxPyApp::GetMacAboutMenuItemId();
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
c32bde28 20904 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20905 return resultobj;
20906 fail:
20907 return NULL;
20908}
20909
20910
c32bde28 20911static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20912 PyObject *resultobj;
20913 long result;
20914 char *kwnames[] = {
20915 NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20922
20923 wxPyEndAllowThreads(__tstate);
20924 if (PyErr_Occurred()) SWIG_fail;
20925 }
c32bde28 20926 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20927 return resultobj;
20928 fail:
20929 return NULL;
20930}
20931
20932
c32bde28 20933static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20934 PyObject *resultobj;
20935 long result;
20936 char *kwnames[] = {
20937 NULL
20938 };
20939
20940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20941 {
20942 PyThreadState* __tstate = wxPyBeginAllowThreads();
20943 result = (long)wxPyApp::GetMacExitMenuItemId();
20944
20945 wxPyEndAllowThreads(__tstate);
20946 if (PyErr_Occurred()) SWIG_fail;
20947 }
c32bde28 20948 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20949 return resultobj;
20950 fail:
20951 return NULL;
20952}
20953
20954
c32bde28 20955static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20956 PyObject *resultobj;
20957 wxString result;
20958 char *kwnames[] = {
20959 NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = wxPyApp::GetMacHelpMenuTitleName();
20966
20967 wxPyEndAllowThreads(__tstate);
20968 if (PyErr_Occurred()) SWIG_fail;
20969 }
20970 {
20971#if wxUSE_UNICODE
20972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20973#else
20974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20975#endif
20976 }
20977 return resultobj;
20978 fail:
20979 return NULL;
20980}
20981
20982
c32bde28 20983static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20984 PyObject *resultobj;
20985 bool arg1 ;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "val", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
c32bde28 20992 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 20993 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 Py_INCREF(Py_None); resultobj = Py_None;
21002 return resultobj;
21003 fail:
21004 return NULL;
21005}
21006
21007
c32bde28 21008static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21009 PyObject *resultobj;
21010 long arg1 ;
994141e6 21011 PyObject * obj0 = 0 ;
d14a1e28
RD
21012 char *kwnames[] = {
21013 (char *) "val", NULL
21014 };
21015
994141e6 21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 21017 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 21018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 wxPyApp::SetMacAboutMenuItemId(arg1);
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 Py_INCREF(Py_None); resultobj = Py_None;
21027 return resultobj;
21028 fail:
21029 return NULL;
21030}
21031
21032
c32bde28 21033static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21034 PyObject *resultobj;
21035 long arg1 ;
994141e6 21036 PyObject * obj0 = 0 ;
d14a1e28
RD
21037 char *kwnames[] = {
21038 (char *) "val", NULL
21039 };
21040
994141e6 21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 21042 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 21043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 wxPyApp::SetMacPreferencesMenuItemId(arg1);
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 Py_INCREF(Py_None); resultobj = Py_None;
21052 return resultobj;
21053 fail:
21054 return NULL;
21055}
21056
21057
c32bde28 21058static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21059 PyObject *resultobj;
21060 long arg1 ;
994141e6 21061 PyObject * obj0 = 0 ;
d14a1e28
RD
21062 char *kwnames[] = {
21063 (char *) "val", NULL
21064 };
21065
994141e6 21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 21067 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 21068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21069 {
21070 PyThreadState* __tstate = wxPyBeginAllowThreads();
21071 wxPyApp::SetMacExitMenuItemId(arg1);
21072
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 Py_INCREF(Py_None); resultobj = Py_None;
21077 return resultobj;
21078 fail:
21079 return NULL;
21080}
21081
21082
c32bde28 21083static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21084 PyObject *resultobj;
21085 wxString *arg1 = 0 ;
ae8162c8 21086 bool temp1 = false ;
d14a1e28
RD
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "val", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
21093 {
21094 arg1 = wxString_in_helper(obj0);
21095 if (arg1 == NULL) SWIG_fail;
ae8162c8 21096 temp1 = true;
d14a1e28
RD
21097 }
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 Py_INCREF(Py_None); resultobj = Py_None;
21106 {
21107 if (temp1)
21108 delete arg1;
21109 }
21110 return resultobj;
21111 fail:
21112 {
21113 if (temp1)
21114 delete arg1;
21115 }
21116 return NULL;
21117}
21118
21119
c32bde28 21120static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21121 PyObject *resultobj;
21122 wxPyApp *arg1 = (wxPyApp *) 0 ;
21123 PyObject * obj0 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
21129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
21130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 (arg1)->_BootstrapApp();
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 Py_INCREF(Py_None); resultobj = Py_None;
21139 return resultobj;
21140 fail:
21141 return NULL;
21142}
21143
21144
c32bde28 21145static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21146 PyObject *resultobj;
21147 int result;
21148 char *kwnames[] = {
21149 NULL
21150 };
21151
21152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
21153 {
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 result = (int)PyApp_GetComCtl32Version();
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
c32bde28 21160 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21161 return resultobj;
21162 fail:
21163 return NULL;
21164}
21165
21166
c32bde28 21167static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21168 PyObject *obj;
21169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21170 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
21171 Py_INCREF(obj);
21172 return Py_BuildValue((char *)"");
21173}
c32bde28 21174static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21175 PyObject *resultobj;
21176 char *kwnames[] = {
21177 NULL
21178 };
21179
21180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 wxExit();
21184
21185 wxPyEndAllowThreads(__tstate);
21186 if (PyErr_Occurred()) SWIG_fail;
21187 }
21188 Py_INCREF(Py_None); resultobj = Py_None;
21189 return resultobj;
21190 fail:
21191 return NULL;
21192}
21193
21194
c32bde28 21195static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21196 PyObject *resultobj;
21197 bool result;
21198 char *kwnames[] = {
21199 NULL
21200 };
21201
21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 result = (bool)wxYield();
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
4f89f6a3
RD
21210 {
21211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21212 }
d14a1e28
RD
21213 return resultobj;
21214 fail:
21215 return NULL;
21216}
21217
21218
c32bde28 21219static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21220 PyObject *resultobj;
21221 bool result;
21222 char *kwnames[] = {
21223 NULL
21224 };
21225
21226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
21227 {
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 result = (bool)wxYieldIfNeeded();
21230
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
4f89f6a3
RD
21234 {
21235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21236 }
d14a1e28
RD
21237 return resultobj;
21238 fail:
21239 return NULL;
21240}
21241
21242
c32bde28 21243static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21244 PyObject *resultobj;
21245 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 21246 bool arg2 = (bool) false ;
d14a1e28
RD
21247 bool result;
21248 PyObject * obj0 = 0 ;
21249 PyObject * obj1 = 0 ;
21250 char *kwnames[] = {
21251 (char *) "win",(char *) "onlyIfNeeded", NULL
21252 };
21253
21254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
21255 if (obj0) {
15afbcd0
RD
21256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21258 }
21259 if (obj1) {
c32bde28 21260 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21262 }
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (bool)wxSafeYield(arg1,arg2);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
4f89f6a3
RD
21270 {
21271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21272 }
d14a1e28
RD
21273 return resultobj;
21274 fail:
21275 return NULL;
21276}
21277
21278
c32bde28 21279static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21280 PyObject *resultobj;
21281 char *kwnames[] = {
21282 NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
21286 {
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 wxWakeUpIdle();
21289
21290 wxPyEndAllowThreads(__tstate);
21291 if (PyErr_Occurred()) SWIG_fail;
21292 }
21293 Py_INCREF(Py_None); resultobj = Py_None;
21294 return resultobj;
21295 fail:
21296 return NULL;
21297}
21298
21299
c32bde28 21300static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21301 PyObject *resultobj;
21302 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
21303 wxEvent *arg2 = 0 ;
21304 PyObject * obj0 = 0 ;
21305 PyObject * obj1 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "dest",(char *) "event", NULL
21308 };
21309
21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
21312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
21314 SWIG_POINTER_EXCEPTION | 0)) == -1)
21315 SWIG_fail;
d14a1e28 21316 if (arg2 == NULL) {
15afbcd0
RD
21317 PyErr_SetString(PyExc_TypeError,"null reference");
21318 SWIG_fail;
d14a1e28
RD
21319 }
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 wxPostEvent(arg1,*arg2);
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 Py_INCREF(Py_None); resultobj = Py_None;
21328 return resultobj;
21329 fail:
21330 return NULL;
21331}
21332
21333
c32bde28 21334static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21335 PyObject *resultobj;
21336 char *kwnames[] = {
21337 NULL
21338 };
21339
21340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
21341 {
21342 PyThreadState* __tstate = wxPyBeginAllowThreads();
21343 wxApp_CleanUp();
21344
21345 wxPyEndAllowThreads(__tstate);
21346 if (PyErr_Occurred()) SWIG_fail;
21347 }
21348 Py_INCREF(Py_None); resultobj = Py_None;
21349 return resultobj;
21350 fail:
21351 return NULL;
21352}
21353
21354
c32bde28 21355static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21356 PyObject *resultobj;
21357 wxPyApp *result;
21358 char *kwnames[] = {
21359 NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
21363 {
21364 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 21365 result = (wxPyApp *)wxPyGetApp();
d14a1e28
RD
21366
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
21370 {
412d302d 21371 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21372 }
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
2ef75293
RD
21379static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
21380 PyObject *resultobj;
21381 wxEventLoop *result;
21382 char *kwnames[] = {
21383 NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (wxEventLoop *)new wxEventLoop();
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 1);
21395 return resultobj;
21396 fail:
21397 return NULL;
21398}
21399
21400
21401static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21404 PyObject * obj0 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail;
21410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 delete arg1;
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 Py_INCREF(Py_None); resultobj = Py_None;
21420 return resultobj;
21421 fail:
21422 return NULL;
21423}
21424
21425
21426static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21429 int result;
21430 PyObject * obj0 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (int)(arg1)->Run();
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 resultobj = SWIG_From_int((int)result);
21446 return resultobj;
21447 fail:
21448 return NULL;
21449}
21450
21451
21452static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21455 int arg2 = (int) 0 ;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458 char *kwnames[] = {
21459 (char *) "self",(char *) "rc", NULL
21460 };
21461
21462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail;
21463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21465 if (obj1) {
21466 arg2 = (int)SWIG_As_int(obj1);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 (arg1)->Exit(arg2);
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 Py_INCREF(Py_None); resultobj = Py_None;
21477 return resultobj;
21478 fail:
21479 return NULL;
21480}
21481
21482
21483static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21486 bool result;
21487 PyObject * obj0 = 0 ;
21488 char *kwnames[] = {
21489 (char *) "self", NULL
21490 };
21491
21492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail;
21493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 result = (bool)((wxEventLoop const *)arg1)->Pending();
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 {
21503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21504 }
21505 return resultobj;
21506 fail:
21507 return NULL;
21508}
21509
21510
21511static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj;
21513 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21514 bool result;
21515 PyObject * obj0 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = (bool)(arg1)->Dispatch();
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 {
21531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21532 }
21533 return resultobj;
21534 fail:
21535 return NULL;
21536}
21537
21538
21539static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj;
21541 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21542 bool result;
21543 PyObject * obj0 = 0 ;
21544 char *kwnames[] = {
21545 (char *) "self", NULL
21546 };
21547
21548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail;
21549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 result = (bool)((wxEventLoop const *)arg1)->IsRunning();
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 {
21559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21560 }
21561 return resultobj;
21562 fail:
21563 return NULL;
21564}
21565
21566
21567static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxEventLoop *result;
21570 char *kwnames[] = {
21571 NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail;
21575 {
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (wxEventLoop *)wxEventLoop::GetActive();
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 0);
21583 return resultobj;
21584 fail:
21585 return NULL;
21586}
21587
21588
21589static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
21590 PyObject *resultobj;
21591 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21592 PyObject * obj0 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "loop", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 wxEventLoop::SetActive(arg1);
21603
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 Py_INCREF(Py_None); resultobj = Py_None;
21608 return resultobj;
21609 fail:
21610 return NULL;
21611}
21612
21613
21614static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
21615 PyObject *obj;
21616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21617 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj);
21618 Py_INCREF(obj);
21619 return Py_BuildValue((char *)"");
21620}
c32bde28 21621static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21622 PyObject *resultobj;
21623 int arg1 = (int) 0 ;
21624 int arg2 = (int) 0 ;
21625 int arg3 = (int) 0 ;
1e0c8722 21626 wxAcceleratorEntry *result;
994141e6
RD
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 PyObject * obj2 = 0 ;
1e0c8722 21630 char *kwnames[] = {
66c033b4 21631 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
21632 };
21633
66c033b4 21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 21635 if (obj0) {
c32bde28 21636 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 21637 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21638 }
21639 if (obj1) {
c32bde28 21640 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21641 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21642 }
21643 if (obj2) {
c32bde28 21644 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 21645 if (PyErr_Occurred()) SWIG_fail;
994141e6 21646 }
1e0c8722
RD
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21649 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
21650
21651 wxPyEndAllowThreads(__tstate);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 }
15afbcd0 21654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
21655 return resultobj;
21656 fail:
21657 return NULL;
21658}
21659
21660
c32bde28 21661static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21662 PyObject *resultobj;
21663 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21664 PyObject * obj0 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
21670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 delete arg1;
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 Py_INCREF(Py_None); resultobj = Py_None;
21680 return resultobj;
21681 fail:
21682 return NULL;
21683}
21684
21685
c32bde28 21686static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21687 PyObject *resultobj;
21688 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21689 int arg2 ;
21690 int arg3 ;
21691 int arg4 ;
1e0c8722 21692 PyObject * obj0 = 0 ;
994141e6
RD
21693 PyObject * obj1 = 0 ;
21694 PyObject * obj2 = 0 ;
21695 PyObject * obj3 = 0 ;
1e0c8722 21696 char *kwnames[] = {
66c033b4 21697 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
21698 };
21699
66c033b4 21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21703 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21704 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21705 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 21706 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21707 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 21708 if (PyErr_Occurred()) SWIG_fail;
1e0c8722
RD
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21711 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 Py_INCREF(Py_None); resultobj = Py_None;
21717 return resultobj;
21718 fail:
21719 return NULL;
21720}
21721
21722
c32bde28 21723static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21724 PyObject *resultobj;
21725 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21726 int result;
21727 PyObject * obj0 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
21733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 result = (int)(arg1)->GetFlags();
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
c32bde28 21742 resultobj = SWIG_From_int((int)result);
1e0c8722
RD
21743 return resultobj;
21744 fail:
21745 return NULL;
21746}
21747
21748
c32bde28 21749static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21750 PyObject *resultobj;
21751 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21752 int result;
21753 PyObject * obj0 = 0 ;
21754 char *kwnames[] = {
21755 (char *) "self", NULL
21756 };
21757
21758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
21759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21761 {
21762 PyThreadState* __tstate = wxPyBeginAllowThreads();
21763 result = (int)(arg1)->GetKeyCode();
21764
21765 wxPyEndAllowThreads(__tstate);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 }
c32bde28 21768 resultobj = SWIG_From_int((int)result);
1e0c8722
RD
21769 return resultobj;
21770 fail:
21771 return NULL;
21772}
21773
21774
c32bde28 21775static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21776 PyObject *resultobj;
21777 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21778 int result;
21779 PyObject * obj0 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
21785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 result = (int)(arg1)->GetCommand();
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
c32bde28 21794 resultobj = SWIG_From_int((int)result);
1e0c8722
RD
21795 return resultobj;
21796 fail:
21797 return NULL;
21798}
21799
21800
c32bde28 21801static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
1e0c8722
RD
21802 PyObject *obj;
21803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21804 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21805 Py_INCREF(obj);
21806 return Py_BuildValue((char *)"");
21807}
c32bde28 21808static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21809 PyObject *resultobj;
21810 int arg1 ;
21811 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21812 wxAcceleratorTable *result;
21813 PyObject * obj0 = 0 ;
21814 char *kwnames[] = {
21815 (char *) "n", NULL
21816 };
21817
21818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21819 {
21820 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21821 if (arg2) arg1 = PyList_Size(obj0);
21822 else arg1 = 0;
21823 }
21824 {
21825 PyThreadState* __tstate = wxPyBeginAllowThreads();
21826 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21827
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
15afbcd0 21831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
21832 {
21833 delete [] arg2;
21834 }
21835 return resultobj;
21836 fail:
21837 {
21838 delete [] arg2;
21839 }
21840 return NULL;
21841}
21842
21843
c32bde28 21844static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21845 PyObject *resultobj;
21846 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21847 PyObject * obj0 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
21853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 delete arg1;
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 Py_INCREF(Py_None); resultobj = Py_None;
21863 return resultobj;
21864 fail:
21865 return NULL;
21866}
21867
21868
c32bde28 21869static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21870 PyObject *resultobj;
21871 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21872 bool result;
21873 PyObject * obj0 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21881 {
21882 PyThreadState* __tstate = wxPyBeginAllowThreads();
21883 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21884
21885 wxPyEndAllowThreads(__tstate);
21886 if (PyErr_Occurred()) SWIG_fail;
21887 }
4f89f6a3
RD
21888 {
21889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21890 }
1e0c8722
RD
21891 return resultobj;
21892 fail:
21893 return NULL;
21894}
21895
21896
c32bde28 21897static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
1e0c8722
RD
21898 PyObject *obj;
21899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21900 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21901 Py_INCREF(obj);
21902 return Py_BuildValue((char *)"");
21903}
c32bde28 21904static int _wrap_NullAcceleratorTable_set(PyObject *) {
1e0c8722
RD
21905 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21906 return 1;
21907}
21908
21909
21910static PyObject *_wrap_NullAcceleratorTable_get() {
21911 PyObject *pyobj;
21912
15afbcd0 21913 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21914 return pyobj;
21915}
21916
21917
c32bde28 21918static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21919 PyObject *resultobj;
21920 wxString *arg1 = 0 ;
21921 wxAcceleratorEntry *result;
ae8162c8 21922 bool temp1 = false ;
1e0c8722
RD
21923 PyObject * obj0 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "label", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21929 {
21930 arg1 = wxString_in_helper(obj0);
21931 if (arg1 == NULL) SWIG_fail;
ae8162c8 21932 temp1 = true;
1e0c8722
RD
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
15afbcd0 21941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21942 {
21943 if (temp1)
21944 delete arg1;
21945 }
21946 return resultobj;
21947 fail:
21948 {
21949 if (temp1)
21950 delete arg1;
21951 }
21952 return NULL;
21953}
21954
21955
c32bde28 21956static int _wrap_PanelNameStr_set(PyObject *) {
e811c8ce
RD
21957 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21958 return 1;
21959}
21960
21961
21962static PyObject *_wrap_PanelNameStr_get() {
21963 PyObject *pyobj;
21964
21965 {
21966#if wxUSE_UNICODE
21967 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21968#else
21969 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21970#endif
21971 }
21972 return pyobj;
21973}
21974
21975
c32bde28 21976static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
21977 PyObject *resultobj;
21978 wxVisualAttributes *result;
21979 char *kwnames[] = {
21980 NULL
21981 };
21982
21983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21984 {
21985 PyThreadState* __tstate = wxPyBeginAllowThreads();
21986 result = (wxVisualAttributes *)new_wxVisualAttributes();
21987
21988 wxPyEndAllowThreads(__tstate);
21989 if (PyErr_Occurred()) SWIG_fail;
21990 }
21991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21992 return resultobj;
21993 fail:
21994 return NULL;
21995}
21996
21997
c32bde28 21998static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
21999 PyObject *resultobj;
22000 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22001 PyObject * obj0 = 0 ;
22002 char *kwnames[] = {
22003 (char *) "self", NULL
22004 };
22005
22006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
22007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 delete_wxVisualAttributes(arg1);
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 Py_INCREF(Py_None); resultobj = Py_None;
22017 return resultobj;
22018 fail:
22019 return NULL;
22020}
22021
22022
c32bde28 22023static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22024 PyObject *resultobj;
22025 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22026 wxFont *arg2 = (wxFont *) 0 ;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "font", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
22034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
22037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22038 if (arg1) (arg1)->font = *arg2;
22039
22040 Py_INCREF(Py_None); resultobj = Py_None;
22041 return resultobj;
22042 fail:
22043 return NULL;
22044}
22045
22046
c32bde28 22047static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22048 PyObject *resultobj;
22049 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22050 wxFont *result;
22051 PyObject * obj0 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22059 result = (wxFont *)& ((arg1)->font);
22060
22061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
22062 return resultobj;
22063 fail:
22064 return NULL;
22065}
22066
22067
c32bde28 22068static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22069 PyObject *resultobj;
22070 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22071 wxColour *arg2 = (wxColour *) 0 ;
22072 PyObject * obj0 = 0 ;
22073 PyObject * obj1 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self",(char *) "colFg", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
22079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
22082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22083 if (arg1) (arg1)->colFg = *arg2;
22084
22085 Py_INCREF(Py_None); resultobj = Py_None;
22086 return resultobj;
22087 fail:
22088 return NULL;
22089}
22090
22091
c32bde28 22092static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22093 PyObject *resultobj;
22094 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22095 wxColour *result;
22096 PyObject * obj0 = 0 ;
22097 char *kwnames[] = {
22098 (char *) "self", NULL
22099 };
22100
22101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
22102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22104 result = (wxColour *)& ((arg1)->colFg);
22105
22106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
22107 return resultobj;
22108 fail:
22109 return NULL;
22110}
22111
22112
c32bde28 22113static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22114 PyObject *resultobj;
22115 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22116 wxColour *arg2 = (wxColour *) 0 ;
22117 PyObject * obj0 = 0 ;
22118 PyObject * obj1 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self",(char *) "colBg", NULL
22121 };
22122
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
22124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
22127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22128 if (arg1) (arg1)->colBg = *arg2;
22129
22130 Py_INCREF(Py_None); resultobj = Py_None;
22131 return resultobj;
22132 fail:
22133 return NULL;
22134}
22135
22136
c32bde28 22137static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22138 PyObject *resultobj;
22139 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22140 wxColour *result;
22141 PyObject * obj0 = 0 ;
22142 char *kwnames[] = {
22143 (char *) "self", NULL
22144 };
22145
22146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
22147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22149 result = (wxColour *)& ((arg1)->colBg);
22150
22151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
22152 return resultobj;
22153 fail:
22154 return NULL;
22155}
22156
22157
c32bde28 22158static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) {
74a57fcd
RD
22159 PyObject *obj;
22160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22161 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
22162 Py_INCREF(obj);
22163 return Py_BuildValue((char *)"");
22164}
c32bde28 22165static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22166 PyObject *resultobj;
22167 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 22168 int arg2 = (int) (int)-1 ;
d14a1e28
RD
22169 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22170 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22171 wxSize const &arg4_defvalue = wxDefaultSize ;
22172 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22173 long arg5 = (long) 0 ;
22174 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22175 wxString *arg6 = (wxString *) &arg6_defvalue ;
22176 wxWindow *result;
22177 wxPoint temp3 ;
22178 wxSize temp4 ;
ae8162c8 22179 bool temp6 = false ;
d14a1e28 22180 PyObject * obj0 = 0 ;
994141e6 22181 PyObject * obj1 = 0 ;
d14a1e28
RD
22182 PyObject * obj2 = 0 ;
22183 PyObject * obj3 = 0 ;
994141e6 22184 PyObject * obj4 = 0 ;
d14a1e28
RD
22185 PyObject * obj5 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22188 };
22189
74a57fcd 22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 22193 if (obj1) {
c32bde28 22194 arg2 = (int)SWIG_As_int(obj1);
74a57fcd
RD
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
d14a1e28
RD
22197 if (obj2) {
22198 {
22199 arg3 = &temp3;
22200 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22201 }
22202 }
22203 if (obj3) {
22204 {
22205 arg4 = &temp4;
22206 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22207 }
22208 }
994141e6 22209 if (obj4) {
c32bde28 22210 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 22211 if (PyErr_Occurred()) SWIG_fail;
994141e6 22212 }
d14a1e28
RD
22213 if (obj5) {
22214 {
22215 arg6 = wxString_in_helper(obj5);
22216 if (arg6 == NULL) SWIG_fail;
ae8162c8 22217 temp6 = true;
d14a1e28
RD
22218 }
22219 }
22220 {
e3b71cb8 22221 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22224
22225 wxPyEndAllowThreads(__tstate);
110da5b0 22226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22227 }
b0f7404b 22228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
22229 {
22230 if (temp6)
22231 delete arg6;
22232 }
22233 return resultobj;
22234 fail:
22235 {
22236 if (temp6)
22237 delete arg6;
22238 }
22239 return NULL;
22240}
22241
22242
c32bde28 22243static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22244 PyObject *resultobj;
22245 wxWindow *result;
22246 char *kwnames[] = {
22247 NULL
22248 };
22249
22250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
22251 {
e3b71cb8 22252 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = (wxWindow *)new wxWindow();
22255
22256 wxPyEndAllowThreads(__tstate);
110da5b0 22257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22258 }
b0f7404b 22259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
22260 return resultobj;
22261 fail:
22262 return NULL;
22263}
22264
22265
c32bde28 22266static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22267 PyObject *resultobj;
22268 wxWindow *arg1 = (wxWindow *) 0 ;
22269 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 22270 int arg3 = (int) (int)-1 ;
d14a1e28
RD
22271 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22272 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22273 wxSize const &arg5_defvalue = wxDefaultSize ;
22274 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22275 long arg6 = (long) 0 ;
22276 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22277 wxString *arg7 = (wxString *) &arg7_defvalue ;
22278 bool result;
22279 wxPoint temp4 ;
22280 wxSize temp5 ;
ae8162c8 22281 bool temp7 = false ;
d14a1e28
RD
22282 PyObject * obj0 = 0 ;
22283 PyObject * obj1 = 0 ;
994141e6 22284 PyObject * obj2 = 0 ;
d14a1e28
RD
22285 PyObject * obj3 = 0 ;
22286 PyObject * obj4 = 0 ;
994141e6 22287 PyObject * obj5 = 0 ;
d14a1e28
RD
22288 PyObject * obj6 = 0 ;
22289 char *kwnames[] = {
22290 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22291 };
22292
74a57fcd 22293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 22298 if (obj2) {
c32bde28 22299 arg3 = (int)SWIG_As_int(obj2);
74a57fcd
RD
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
d14a1e28
RD
22302 if (obj3) {
22303 {
22304 arg4 = &temp4;
22305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22306 }
22307 }
22308 if (obj4) {
22309 {
22310 arg5 = &temp5;
22311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22312 }
22313 }
994141e6 22314 if (obj5) {
c32bde28 22315 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 22316 if (PyErr_Occurred()) SWIG_fail;
994141e6 22317 }
d14a1e28
RD
22318 if (obj6) {
22319 {
22320 arg7 = wxString_in_helper(obj6);
22321 if (arg7 == NULL) SWIG_fail;
ae8162c8 22322 temp7 = true;
d14a1e28
RD
22323 }
22324 }
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22328
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
4f89f6a3
RD
22332 {
22333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22334 }
d14a1e28
RD
22335 {
22336 if (temp7)
22337 delete arg7;
22338 }
22339 return resultobj;
22340 fail:
22341 {
22342 if (temp7)
22343 delete arg7;
22344 }
22345 return NULL;
22346}
22347
22348
c32bde28 22349static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22350 PyObject *resultobj;
22351 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 22352 bool arg2 = (bool) false ;
d14a1e28
RD
22353 bool result;
22354 PyObject * obj0 = 0 ;
22355 PyObject * obj1 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self",(char *) "force", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 22363 if (obj1) {
c32bde28 22364 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 22365 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22366 }
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 result = (bool)(arg1)->Close(arg2);
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
4f89f6a3
RD
22374 {
22375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22376 }
d14a1e28
RD
22377 return resultobj;
22378 fail:
22379 return NULL;
22380}
22381
22382
c32bde28 22383static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22384 PyObject *resultobj;
22385 wxWindow *arg1 = (wxWindow *) 0 ;
22386 bool result;
22387 PyObject * obj0 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
22393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 result = (bool)(arg1)->Destroy();
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
4f89f6a3
RD
22402 {
22403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22404 }
d14a1e28
RD
22405 return resultobj;
22406 fail:
22407 return NULL;
22408}
22409
22410
c32bde28 22411static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22412 PyObject *resultobj;
22413 wxWindow *arg1 = (wxWindow *) 0 ;
22414 bool result;
22415 PyObject * obj0 = 0 ;
22416 char *kwnames[] = {
22417 (char *) "self", NULL
22418 };
22419
22420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
22421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 result = (bool)(arg1)->DestroyChildren();
22426
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
4f89f6a3
RD
22430 {
22431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22432 }
d14a1e28
RD
22433 return resultobj;
22434 fail:
22435 return NULL;
22436}
22437
22438
c32bde28 22439static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22440 PyObject *resultobj;
22441 wxWindow *arg1 = (wxWindow *) 0 ;
22442 bool result;
22443 PyObject * obj0 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
22449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22451 {
22452 PyThreadState* __tstate = wxPyBeginAllowThreads();
22453 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
22454
22455 wxPyEndAllowThreads(__tstate);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 }
4f89f6a3
RD
22458 {
22459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22460 }
d14a1e28
RD
22461 return resultobj;
22462 fail:
22463 return NULL;
22464}
22465
22466
c32bde28 22467static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22468 PyObject *resultobj;
22469 wxWindow *arg1 = (wxWindow *) 0 ;
22470 wxString *arg2 = 0 ;
ae8162c8 22471 bool temp2 = false ;
d14a1e28
RD
22472 PyObject * obj0 = 0 ;
22473 PyObject * obj1 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self",(char *) "title", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22481 {
22482 arg2 = wxString_in_helper(obj1);
22483 if (arg2 == NULL) SWIG_fail;
ae8162c8 22484 temp2 = true;
d14a1e28
RD
22485 }
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 (arg1)->SetTitle((wxString const &)*arg2);
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 Py_INCREF(Py_None); resultobj = Py_None;
22494 {
22495 if (temp2)
22496 delete arg2;
22497 }
22498 return resultobj;
22499 fail:
22500 {
22501 if (temp2)
22502 delete arg2;
22503 }
22504 return NULL;
22505}
22506
22507
c32bde28 22508static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22509 PyObject *resultobj;
22510 wxWindow *arg1 = (wxWindow *) 0 ;
22511 wxString result;
22512 PyObject * obj0 = 0 ;
22513 char *kwnames[] = {
22514 (char *) "self", NULL
22515 };
22516
22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
22518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 result = ((wxWindow const *)arg1)->GetTitle();
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 {
22528#if wxUSE_UNICODE
22529 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22530#else
22531 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22532#endif
22533 }
22534 return resultobj;
22535 fail:
22536 return NULL;
22537}
22538
22539
c32bde28 22540static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22541 PyObject *resultobj;
22542 wxWindow *arg1 = (wxWindow *) 0 ;
22543 wxString *arg2 = 0 ;
ae8162c8 22544 bool temp2 = false ;
d14a1e28
RD
22545 PyObject * obj0 = 0 ;
22546 PyObject * obj1 = 0 ;
22547 char *kwnames[] = {
22548 (char *) "self",(char *) "label", NULL
22549 };
22550
22551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22554 {
22555 arg2 = wxString_in_helper(obj1);
22556 if (arg2 == NULL) SWIG_fail;
ae8162c8 22557 temp2 = true;
d14a1e28
RD
22558 }
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 (arg1)->SetLabel((wxString const &)*arg2);
22562
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 Py_INCREF(Py_None); resultobj = Py_None;
22567 {
22568 if (temp2)
22569 delete arg2;
22570 }
22571 return resultobj;
22572 fail:
22573 {
22574 if (temp2)
22575 delete arg2;
22576 }
22577 return NULL;
22578}
22579
22580
c32bde28 22581static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22582 PyObject *resultobj;
22583 wxWindow *arg1 = (wxWindow *) 0 ;
22584 wxString result;
22585 PyObject * obj0 = 0 ;
22586 char *kwnames[] = {
22587 (char *) "self", NULL
22588 };
22589
22590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
22591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22593 {
22594 PyThreadState* __tstate = wxPyBeginAllowThreads();
22595 result = ((wxWindow const *)arg1)->GetLabel();
22596
22597 wxPyEndAllowThreads(__tstate);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 {
22601#if wxUSE_UNICODE
22602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22603#else
22604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22605#endif
22606 }
22607 return resultobj;
22608 fail:
22609 return NULL;
22610}
22611
22612
c32bde28 22613static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22614 PyObject *resultobj;
22615 wxWindow *arg1 = (wxWindow *) 0 ;
22616 wxString *arg2 = 0 ;
ae8162c8 22617 bool temp2 = false ;
d14a1e28
RD
22618 PyObject * obj0 = 0 ;
22619 PyObject * obj1 = 0 ;
22620 char *kwnames[] = {
22621 (char *) "self",(char *) "name", NULL
22622 };
22623
22624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22627 {
22628 arg2 = wxString_in_helper(obj1);
22629 if (arg2 == NULL) SWIG_fail;
ae8162c8 22630 temp2 = true;
d14a1e28
RD
22631 }
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 (arg1)->SetName((wxString const &)*arg2);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 Py_INCREF(Py_None); resultobj = Py_None;
22640 {
22641 if (temp2)
22642 delete arg2;
22643 }
22644 return resultobj;
22645 fail:
22646 {
22647 if (temp2)
22648 delete arg2;
22649 }
22650 return NULL;
22651}
22652
22653
c32bde28 22654static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22655 PyObject *resultobj;
22656 wxWindow *arg1 = (wxWindow *) 0 ;
22657 wxString result;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
22664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22666 {
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 result = ((wxWindow const *)arg1)->GetName();
22669
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 {
22674#if wxUSE_UNICODE
22675 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22676#else
22677 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22678#endif
22679 }
22680 return resultobj;
22681 fail:
22682 return NULL;
22683}
22684
22685
c32bde28 22686static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
22687 PyObject *resultobj;
22688 wxWindow *arg1 = (wxWindow *) 0 ;
22689 int arg2 ;
22690 PyObject * obj0 = 0 ;
22691 PyObject * obj1 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self",(char *) "variant", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
22697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22699 arg2 = (int)SWIG_As_int(obj1);
4276dc52
RD
22700 if (PyErr_Occurred()) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 Py_INCREF(Py_None); resultobj = Py_None;
22709 return resultobj;
22710 fail:
22711 return NULL;
22712}
22713
22714
c32bde28 22715static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
22716 PyObject *resultobj;
22717 wxWindow *arg1 = (wxWindow *) 0 ;
22718 int result;
22719 PyObject * obj0 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22727 {
22728 PyThreadState* __tstate = wxPyBeginAllowThreads();
22729 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22730
22731 wxPyEndAllowThreads(__tstate);
22732 if (PyErr_Occurred()) SWIG_fail;
22733 }
c32bde28 22734 resultobj = SWIG_From_int((int)result);
4276dc52
RD
22735 return resultobj;
22736 fail:
22737 return NULL;
22738}
22739
22740
c32bde28 22741static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22742 PyObject *resultobj;
22743 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22744 int arg2 ;
d14a1e28 22745 PyObject * obj0 = 0 ;
994141e6 22746 PyObject * obj1 = 0 ;
d14a1e28
RD
22747 char *kwnames[] = {
22748 (char *) "self",(char *) "winid", NULL
22749 };
22750
994141e6 22751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22754 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22755 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 (arg1)->SetId(arg2);
22759
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 Py_INCREF(Py_None); resultobj = Py_None;
22764 return resultobj;
22765 fail:
22766 return NULL;
22767}
22768
22769
c32bde28 22770static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22771 PyObject *resultobj;
22772 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22773 int result;
d14a1e28
RD
22774 PyObject * obj0 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22784 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
c32bde28 22789 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22790 return resultobj;
22791 fail:
22792 return NULL;
22793}
22794
22795
c32bde28 22796static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22797 PyObject *resultobj;
22798 int result;
22799 char *kwnames[] = {
22800 NULL
22801 };
22802
22803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 result = (int)wxWindow::NewControlId();
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
c32bde28 22811 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22812 return resultobj;
22813 fail:
22814 return NULL;
22815}
22816
22817
c32bde28 22818static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22819 PyObject *resultobj;
22820 int arg1 ;
22821 int result;
994141e6 22822 PyObject * obj0 = 0 ;
d14a1e28
RD
22823 char *kwnames[] = {
22824 (char *) "winid", NULL
22825 };
22826
994141e6 22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
c32bde28 22828 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 22829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = (int)wxWindow::NextControlId(arg1);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
c32bde28 22837 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22838 return resultobj;
22839 fail:
22840 return NULL;
22841}
22842
22843
c32bde28 22844static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22845 PyObject *resultobj;
22846 int arg1 ;
22847 int result;
994141e6 22848 PyObject * obj0 = 0 ;
d14a1e28
RD
22849 char *kwnames[] = {
22850 (char *) "winid", NULL
22851 };
22852
994141e6 22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
c32bde28 22854 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 22855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (int)wxWindow::PrevControlId(arg1);
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
c32bde28 22863 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22864 return resultobj;
22865 fail:
22866 return NULL;
22867}
22868
22869
c32bde28 22870static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22871 PyObject *resultobj;
22872 wxWindow *arg1 = (wxWindow *) 0 ;
22873 wxSize *arg2 = 0 ;
22874 wxSize temp2 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 char *kwnames[] = {
22878 (char *) "self",(char *) "size", NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22884 {
22885 arg2 = &temp2;
22886 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22887 }
22888 {
22889 PyThreadState* __tstate = wxPyBeginAllowThreads();
22890 (arg1)->SetSize((wxSize const &)*arg2);
22891
22892 wxPyEndAllowThreads(__tstate);
22893 if (PyErr_Occurred()) SWIG_fail;
22894 }
22895 Py_INCREF(Py_None); resultobj = Py_None;
22896 return resultobj;
22897 fail:
22898 return NULL;
22899}
22900
22901
c32bde28 22902static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22903 PyObject *resultobj;
22904 wxWindow *arg1 = (wxWindow *) 0 ;
22905 int arg2 ;
22906 int arg3 ;
22907 int arg4 ;
22908 int arg5 ;
22909 int arg6 = (int) wxSIZE_AUTO ;
22910 PyObject * obj0 = 0 ;
994141e6
RD
22911 PyObject * obj1 = 0 ;
22912 PyObject * obj2 = 0 ;
22913 PyObject * obj3 = 0 ;
22914 PyObject * obj4 = 0 ;
22915 PyObject * obj5 = 0 ;
d14a1e28
RD
22916 char *kwnames[] = {
22917 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22918 };
22919
994141e6 22920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22923 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22924 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22925 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22926 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22927 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 22928 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22929 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 22930 if (PyErr_Occurred()) SWIG_fail;
994141e6 22931 if (obj5) {
c32bde28 22932 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 22933 if (PyErr_Occurred()) SWIG_fail;
994141e6 22934 }
d14a1e28
RD
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22938
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 Py_INCREF(Py_None); resultobj = Py_None;
22943 return resultobj;
22944 fail:
22945 return NULL;
22946}
22947
22948
c32bde28 22949static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22950 PyObject *resultobj;
22951 wxWindow *arg1 = (wxWindow *) 0 ;
22952 wxRect *arg2 = 0 ;
22953 int arg3 = (int) wxSIZE_AUTO ;
22954 wxRect temp2 ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
994141e6 22957 PyObject * obj2 = 0 ;
d14a1e28
RD
22958 char *kwnames[] = {
22959 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22960 };
22961
994141e6 22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22965 {
22966 arg2 = &temp2;
22967 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22968 }
994141e6 22969 if (obj2) {
c32bde28 22970 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22971 if (PyErr_Occurred()) SWIG_fail;
994141e6 22972 }
d14a1e28
RD
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 Py_INCREF(Py_None); resultobj = Py_None;
22981 return resultobj;
22982 fail:
22983 return NULL;
22984}
22985
22986
c32bde28 22987static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22988 PyObject *resultobj;
22989 wxWindow *arg1 = (wxWindow *) 0 ;
22990 int arg2 ;
22991 int arg3 ;
22992 PyObject * obj0 = 0 ;
994141e6
RD
22993 PyObject * obj1 = 0 ;
22994 PyObject * obj2 = 0 ;
d14a1e28
RD
22995 char *kwnames[] = {
22996 (char *) "self",(char *) "width",(char *) "height", NULL
22997 };
22998
994141e6 22999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23002 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23003 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23004 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23005 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 (arg1)->SetSize(arg2,arg3);
23009
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 Py_INCREF(Py_None); resultobj = Py_None;
23014 return resultobj;
23015 fail:
23016 return NULL;
23017}
23018
23019
c32bde28 23020static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23021 PyObject *resultobj;
23022 wxWindow *arg1 = (wxWindow *) 0 ;
23023 wxPoint *arg2 = 0 ;
23024 int arg3 = (int) wxSIZE_USE_EXISTING ;
23025 wxPoint temp2 ;
23026 PyObject * obj0 = 0 ;
23027 PyObject * obj1 = 0 ;
994141e6 23028 PyObject * obj2 = 0 ;
d14a1e28
RD
23029 char *kwnames[] = {
23030 (char *) "self",(char *) "pt",(char *) "flags", NULL
23031 };
23032
994141e6 23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23036 {
23037 arg2 = &temp2;
23038 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23039 }
994141e6 23040 if (obj2) {
c32bde28 23041 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23042 if (PyErr_Occurred()) SWIG_fail;
994141e6 23043 }
d14a1e28
RD
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 (arg1)->Move((wxPoint const &)*arg2,arg3);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 Py_INCREF(Py_None); resultobj = Py_None;
23052 return resultobj;
23053 fail:
23054 return NULL;
23055}
23056
23057
c32bde28 23058static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23059 PyObject *resultobj;
23060 wxWindow *arg1 = (wxWindow *) 0 ;
23061 int arg2 ;
23062 int arg3 ;
23063 int arg4 = (int) wxSIZE_USE_EXISTING ;
23064 PyObject * obj0 = 0 ;
994141e6
RD
23065 PyObject * obj1 = 0 ;
23066 PyObject * obj2 = 0 ;
23067 PyObject * obj3 = 0 ;
d14a1e28
RD
23068 char *kwnames[] = {
23069 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23070 };
23071
994141e6 23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23075 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23076 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23077 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23078 if (PyErr_Occurred()) SWIG_fail;
994141e6 23079 if (obj3) {
c32bde28 23080 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23081 if (PyErr_Occurred()) SWIG_fail;
994141e6 23082 }
d14a1e28
RD
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 (arg1)->Move(arg2,arg3,arg4);
23086
23087 wxPyEndAllowThreads(__tstate);
23088 if (PyErr_Occurred()) SWIG_fail;
23089 }
23090 Py_INCREF(Py_None); resultobj = Py_None;
23091 return resultobj;
23092 fail:
23093 return NULL;
23094}
23095
23096
c32bde28 23097static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
f8167d6e
RD
23098 PyObject *resultobj;
23099 wxWindow *arg1 = (wxWindow *) 0 ;
23100 wxSize const &arg2_defvalue = wxDefaultSize ;
23101 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
23102 wxSize temp2 ;
23103 PyObject * obj0 = 0 ;
23104 PyObject * obj1 = 0 ;
23105 char *kwnames[] = {
23106 (char *) "self",(char *) "size", NULL
23107 };
23108
23109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
23110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23112 if (obj1) {
23113 {
23114 arg2 = &temp2;
23115 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23116 }
23117 }
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
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_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23133 PyObject *resultobj;
23134 wxWindow *arg1 = (wxWindow *) 0 ;
23135 PyObject * obj0 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
15afbcd0
RD
23141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 (arg1)->Raise();
23146
23147 wxPyEndAllowThreads(__tstate);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 Py_INCREF(Py_None); resultobj = Py_None;
23151 return resultobj;
23152 fail:
23153 return NULL;
23154}
23155
23156
c32bde28 23157static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23158 PyObject *resultobj;
23159 wxWindow *arg1 = (wxWindow *) 0 ;
23160 PyObject * obj0 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
23166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->Lower();
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 Py_INCREF(Py_None); resultobj = Py_None;
23176 return resultobj;
23177 fail:
23178 return NULL;
23179}
23180
23181
c32bde28 23182static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23183 PyObject *resultobj;
23184 wxWindow *arg1 = (wxWindow *) 0 ;
23185 wxSize *arg2 = 0 ;
23186 wxSize temp2 ;
23187 PyObject * obj0 = 0 ;
23188 PyObject * obj1 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "self",(char *) "size", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23196 {
23197 arg2 = &temp2;
23198 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23199 }
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 (arg1)->SetClientSize((wxSize const &)*arg2);
23203
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
23207 Py_INCREF(Py_None); resultobj = Py_None;
23208 return resultobj;
23209 fail:
23210 return NULL;
23211}
23212
23213
c32bde28 23214static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23215 PyObject *resultobj;
23216 wxWindow *arg1 = (wxWindow *) 0 ;
23217 int arg2 ;
23218 int arg3 ;
23219 PyObject * obj0 = 0 ;
994141e6
RD
23220 PyObject * obj1 = 0 ;
23221 PyObject * obj2 = 0 ;
d14a1e28
RD
23222 char *kwnames[] = {
23223 (char *) "self",(char *) "width",(char *) "height", NULL
23224 };
23225
994141e6 23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23229 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23230 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23231 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23233 {
23234 PyThreadState* __tstate = wxPyBeginAllowThreads();
23235 (arg1)->SetClientSize(arg2,arg3);
23236
23237 wxPyEndAllowThreads(__tstate);
23238 if (PyErr_Occurred()) SWIG_fail;
23239 }
23240 Py_INCREF(Py_None); resultobj = Py_None;
23241 return resultobj;
23242 fail:
23243 return NULL;
23244}
23245
23246
c32bde28 23247static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23248 PyObject *resultobj;
23249 wxWindow *arg1 = (wxWindow *) 0 ;
23250 wxRect *arg2 = 0 ;
23251 wxRect temp2 ;
23252 PyObject * obj0 = 0 ;
23253 PyObject * obj1 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self",(char *) "rect", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23261 {
23262 arg2 = &temp2;
23263 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
23264 }
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->SetClientSize((wxRect const &)*arg2);
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276}
23277
23278
c32bde28 23279static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23280 PyObject *resultobj;
23281 wxWindow *arg1 = (wxWindow *) 0 ;
23282 wxPoint result;
23283 PyObject * obj0 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
23289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 23293 result = (arg1)->GetPosition();
d14a1e28
RD
23294
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 {
23299 wxPoint * resultptr;
23300 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 23301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23302 }
23303 return resultobj;
23304 fail:
23305 return NULL;
23306}
23307
23308
c32bde28 23309static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23310 PyObject *resultobj;
23311 wxWindow *arg1 = (wxWindow *) 0 ;
23312 int *arg2 = (int *) 0 ;
23313 int *arg3 = (int *) 0 ;
23314 int temp2 ;
c32bde28 23315 int res2 = 0 ;
d14a1e28 23316 int temp3 ;
c32bde28 23317 int res3 = 0 ;
d14a1e28
RD
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
c32bde28
RD
23323 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23324 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23328 {
23329 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 23330 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
23331
23332 wxPyEndAllowThreads(__tstate);
23333 if (PyErr_Occurred()) SWIG_fail;
23334 }
23335 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23336 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23337 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23338 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23339 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23340 return resultobj;
23341 fail:
23342 return NULL;
23343}
23344
23345
c32bde28 23346static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23347 PyObject *resultobj;
23348 wxWindow *arg1 = (wxWindow *) 0 ;
23349 wxSize result;
23350 PyObject * obj0 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 result = ((wxWindow const *)arg1)->GetSize();
23361
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 {
23366 wxSize * resultptr;
23367 resultptr = new wxSize((wxSize &) result);
15afbcd0 23368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23369 }
23370 return resultobj;
23371 fail:
23372 return NULL;
23373}
23374
23375
c32bde28 23376static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23377 PyObject *resultobj;
23378 wxWindow *arg1 = (wxWindow *) 0 ;
23379 int *arg2 = (int *) 0 ;
23380 int *arg3 = (int *) 0 ;
23381 int temp2 ;
c32bde28 23382 int res2 = 0 ;
d14a1e28 23383 int temp3 ;
c32bde28 23384 int res3 = 0 ;
d14a1e28
RD
23385 PyObject * obj0 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self", NULL
23388 };
23389
c32bde28
RD
23390 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23391 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23395 {
23396 PyThreadState* __tstate = wxPyBeginAllowThreads();
23397 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
23398
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23403 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23404 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23405 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23406 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23407 return resultobj;
23408 fail:
23409 return NULL;
23410}
23411
23412
c32bde28 23413static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23414 PyObject *resultobj;
23415 wxWindow *arg1 = (wxWindow *) 0 ;
23416 wxRect result;
23417 PyObject * obj0 = 0 ;
23418 char *kwnames[] = {
23419 (char *) "self", NULL
23420 };
23421
23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
23423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23425 {
23426 PyThreadState* __tstate = wxPyBeginAllowThreads();
23427 result = ((wxWindow const *)arg1)->GetRect();
23428
23429 wxPyEndAllowThreads(__tstate);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 }
23432 {
23433 wxRect * resultptr;
23434 resultptr = new wxRect((wxRect &) result);
15afbcd0 23435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
23436 }
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
c32bde28 23443static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23444 PyObject *resultobj;
23445 wxWindow *arg1 = (wxWindow *) 0 ;
23446 wxSize result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = ((wxWindow const *)arg1)->GetClientSize();
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 {
23463 wxSize * resultptr;
23464 resultptr = new wxSize((wxSize &) result);
15afbcd0 23465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23466 }
23467 return resultobj;
23468 fail:
23469 return NULL;
23470}
23471
23472
c32bde28 23473static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23474 PyObject *resultobj;
23475 wxWindow *arg1 = (wxWindow *) 0 ;
23476 int *arg2 = (int *) 0 ;
23477 int *arg3 = (int *) 0 ;
23478 int temp2 ;
c32bde28 23479 int res2 = 0 ;
d14a1e28 23480 int temp3 ;
c32bde28 23481 int res3 = 0 ;
d14a1e28
RD
23482 PyObject * obj0 = 0 ;
23483 char *kwnames[] = {
23484 (char *) "self", NULL
23485 };
23486
c32bde28
RD
23487 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23488 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
23495
23496 wxPyEndAllowThreads(__tstate);
23497 if (PyErr_Occurred()) SWIG_fail;
23498 }
23499 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23500 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23501 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23502 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23503 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23504 return resultobj;
23505 fail:
23506 return NULL;
23507}
23508
23509
c32bde28 23510static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23511 PyObject *resultobj;
23512 wxWindow *arg1 = (wxWindow *) 0 ;
23513 wxPoint result;
23514 PyObject * obj0 = 0 ;
23515 char *kwnames[] = {
23516 (char *) "self", NULL
23517 };
23518
23519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
23520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 {
23530 wxPoint * resultptr;
23531 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 23532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23533 }
23534 return resultobj;
23535 fail:
23536 return NULL;
23537}
23538
23539
c32bde28 23540static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23541 PyObject *resultobj;
23542 wxWindow *arg1 = (wxWindow *) 0 ;
23543 wxRect result;
23544 PyObject * obj0 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
23550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = ((wxWindow const *)arg1)->GetClientRect();
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 {
23560 wxRect * resultptr;
23561 resultptr = new wxRect((wxRect &) result);
15afbcd0 23562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
23563 }
23564 return resultobj;
23565 fail:
23566 return NULL;
23567}
23568
23569
c32bde28 23570static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23571 PyObject *resultobj;
23572 wxWindow *arg1 = (wxWindow *) 0 ;
23573 wxSize result;
23574 PyObject * obj0 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = ((wxWindow const *)arg1)->GetBestSize();
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 {
23590 wxSize * resultptr;
23591 resultptr = new wxSize((wxSize &) result);
15afbcd0 23592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23593 }
23594 return resultobj;
23595 fail:
23596 return NULL;
23597}
23598
23599
c32bde28 23600static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23601 PyObject *resultobj;
23602 wxWindow *arg1 = (wxWindow *) 0 ;
23603 int *arg2 = (int *) 0 ;
23604 int *arg3 = (int *) 0 ;
23605 int temp2 ;
c32bde28 23606 int res2 = 0 ;
d14a1e28 23607 int temp3 ;
c32bde28 23608 int res3 = 0 ;
d14a1e28
RD
23609 PyObject * obj0 = 0 ;
23610 char *kwnames[] = {
23611 (char *) "self", NULL
23612 };
23613
c32bde28
RD
23614 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23615 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
23622
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23627 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23628 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23629 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23630 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23631 return resultobj;
23632 fail:
23633 return NULL;
23634}
23635
23636
c32bde28 23637static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
23638 PyObject *resultobj;
23639 wxWindow *arg1 = (wxWindow *) 0 ;
23640 PyObject * obj0 = 0 ;
23641 char *kwnames[] = {
23642 (char *) "self", NULL
23643 };
23644
23645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
23646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 (arg1)->InvalidateBestSize();
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 Py_INCREF(Py_None); resultobj = Py_None;
23656 return resultobj;
23657 fail:
23658 return NULL;
23659}
23660
23661
c32bde28 23662static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
23663 PyObject *resultobj;
23664 wxWindow *arg1 = (wxWindow *) 0 ;
23665 wxSize result;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = ((wxWindow const *)arg1)->GetBestFittingSize();
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 {
23682 wxSize * resultptr;
23683 resultptr = new wxSize((wxSize &) result);
23684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23685 }
23686 return resultobj;
23687 fail:
23688 return NULL;
23689}
23690
23691
c32bde28 23692static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23693 PyObject *resultobj;
23694 wxWindow *arg1 = (wxWindow *) 0 ;
23695 wxSize result;
23696 PyObject * obj0 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23704 {
23705 PyThreadState* __tstate = wxPyBeginAllowThreads();
23706 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
23707
23708 wxPyEndAllowThreads(__tstate);
23709 if (PyErr_Occurred()) SWIG_fail;
23710 }
23711 {
23712 wxSize * resultptr;
23713 resultptr = new wxSize((wxSize &) result);
15afbcd0 23714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23715 }
23716 return resultobj;
23717 fail:
23718 return NULL;
23719}
23720
23721
c32bde28 23722static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23723 PyObject *resultobj;
23724 wxWindow *arg1 = (wxWindow *) 0 ;
23725 int arg2 = (int) wxBOTH ;
23726 PyObject * obj0 = 0 ;
994141e6 23727 PyObject * obj1 = 0 ;
d14a1e28
RD
23728 char *kwnames[] = {
23729 (char *) "self",(char *) "direction", NULL
23730 };
23731
994141e6 23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23735 if (obj1) {
c32bde28 23736 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23737 if (PyErr_Occurred()) SWIG_fail;
994141e6 23738 }
d14a1e28
RD
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 (arg1)->Center(arg2);
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 Py_INCREF(Py_None); resultobj = Py_None;
23747 return resultobj;
23748 fail:
23749 return NULL;
23750}
23751
23752
c32bde28 23753static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23754 PyObject *resultobj;
23755 wxWindow *arg1 = (wxWindow *) 0 ;
23756 int arg2 = (int) wxBOTH ;
23757 PyObject * obj0 = 0 ;
994141e6 23758 PyObject * obj1 = 0 ;
d14a1e28
RD
23759 char *kwnames[] = {
23760 (char *) "self",(char *) "dir", NULL
23761 };
23762
994141e6 23763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23766 if (obj1) {
c32bde28 23767 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23768 if (PyErr_Occurred()) SWIG_fail;
994141e6 23769 }
d14a1e28
RD
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 (arg1)->CenterOnScreen(arg2);
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 Py_INCREF(Py_None); resultobj = Py_None;
23778 return resultobj;
23779 fail:
23780 return NULL;
23781}
23782
23783
c32bde28 23784static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23785 PyObject *resultobj;
23786 wxWindow *arg1 = (wxWindow *) 0 ;
23787 int arg2 = (int) wxBOTH ;
23788 PyObject * obj0 = 0 ;
994141e6 23789 PyObject * obj1 = 0 ;
d14a1e28
RD
23790 char *kwnames[] = {
23791 (char *) "self",(char *) "dir", NULL
23792 };
23793
994141e6 23794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23797 if (obj1) {
c32bde28 23798 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23799 if (PyErr_Occurred()) SWIG_fail;
994141e6 23800 }
d14a1e28
RD
23801 {
23802 PyThreadState* __tstate = wxPyBeginAllowThreads();
23803 (arg1)->CenterOnParent(arg2);
23804
23805 wxPyEndAllowThreads(__tstate);
23806 if (PyErr_Occurred()) SWIG_fail;
23807 }
23808 Py_INCREF(Py_None); resultobj = Py_None;
23809 return resultobj;
23810 fail:
23811 return NULL;
23812}
23813
23814
c32bde28 23815static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23816 PyObject *resultobj;
23817 wxWindow *arg1 = (wxWindow *) 0 ;
23818 PyObject * obj0 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
23824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 (arg1)->Fit();
23829
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 Py_INCREF(Py_None); resultobj = Py_None;
23834 return resultobj;
23835 fail:
23836 return NULL;
23837}
23838
23839
c32bde28 23840static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23841 PyObject *resultobj;
23842 wxWindow *arg1 = (wxWindow *) 0 ;
23843 PyObject * obj0 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
23849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 (arg1)->FitInside();
23854
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 Py_INCREF(Py_None); resultobj = Py_None;
23859 return resultobj;
23860 fail:
23861 return NULL;
23862}
23863
23864
c32bde28 23865static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23866 PyObject *resultobj;
23867 wxWindow *arg1 = (wxWindow *) 0 ;
23868 int arg2 ;
23869 int arg3 ;
23870 int arg4 = (int) -1 ;
23871 int arg5 = (int) -1 ;
23872 int arg6 = (int) -1 ;
23873 int arg7 = (int) -1 ;
23874 PyObject * obj0 = 0 ;
994141e6
RD
23875 PyObject * obj1 = 0 ;
23876 PyObject * obj2 = 0 ;
23877 PyObject * obj3 = 0 ;
23878 PyObject * obj4 = 0 ;
23879 PyObject * obj5 = 0 ;
23880 PyObject * obj6 = 0 ;
f16ab95d
RD
23881 char *kwnames[] = {
23882 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23883 };
d14a1e28 23884
f16ab95d 23885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23888 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23889 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23890 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23891 if (PyErr_Occurred()) SWIG_fail;
994141e6 23892 if (obj3) {
c32bde28 23893 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23894 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23895 }
23896 if (obj4) {
c32bde28 23897 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 23898 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23899 }
23900 if (obj5) {
c32bde28 23901 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 23902 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23903 }
23904 if (obj6) {
c32bde28 23905 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 23906 if (PyErr_Occurred()) SWIG_fail;
994141e6 23907 }
d14a1e28
RD
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23911
23912 wxPyEndAllowThreads(__tstate);
23913 if (PyErr_Occurred()) SWIG_fail;
23914 }
23915 Py_INCREF(Py_None); resultobj = Py_None;
23916 return resultobj;
23917 fail:
23918 return NULL;
23919}
23920
23921
c32bde28 23922static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23923 PyObject *resultobj;
23924 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23925 wxSize *arg2 = 0 ;
23926 wxSize const &arg3_defvalue = wxDefaultSize ;
23927 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
f16ab95d
RD
23928 wxSize const &arg4_defvalue = wxDefaultSize ;
23929 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
908b74cd
RD
23930 wxSize temp2 ;
23931 wxSize temp3 ;
f16ab95d 23932 wxSize temp4 ;
d14a1e28 23933 PyObject * obj0 = 0 ;
994141e6
RD
23934 PyObject * obj1 = 0 ;
23935 PyObject * obj2 = 0 ;
f16ab95d
RD
23936 PyObject * obj3 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23939 };
d14a1e28 23940
f16ab95d 23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23944 {
23945 arg2 = &temp2;
23946 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
994141e6 23947 }
908b74cd
RD
23948 if (obj2) {
23949 {
23950 arg3 = &temp3;
23951 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23952 }
994141e6 23953 }
f16ab95d
RD
23954 if (obj3) {
23955 {
23956 arg4 = &temp4;
23957 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23958 }
23959 }
d14a1e28
RD
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
f16ab95d 23962 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
d14a1e28
RD
23963
23964 wxPyEndAllowThreads(__tstate);
23965 if (PyErr_Occurred()) SWIG_fail;
23966 }
23967 Py_INCREF(Py_None); resultobj = Py_None;
23968 return resultobj;
23969 fail:
23970 return NULL;
23971}
23972
23973
c32bde28 23974static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
23975 PyObject *resultobj;
23976 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23977 int arg2 ;
23978 int arg3 ;
23979 int arg4 = (int) -1 ;
23980 int arg5 = (int) -1 ;
74a57fcd
RD
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 PyObject * obj2 = 0 ;
908b74cd
RD
23984 PyObject * obj3 = 0 ;
23985 PyObject * obj4 = 0 ;
f16ab95d
RD
23986 char *kwnames[] = {
23987 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23988 };
74a57fcd 23989
f16ab95d 23990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
74a57fcd
RD
23991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23993 arg2 = (int)SWIG_As_int(obj1);
908b74cd 23994 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23995 arg3 = (int)SWIG_As_int(obj2);
908b74cd
RD
23996 if (PyErr_Occurred()) SWIG_fail;
23997 if (obj3) {
c32bde28 23998 arg4 = (int)SWIG_As_int(obj3);
908b74cd 23999 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 24000 }
908b74cd 24001 if (obj4) {
c32bde28 24002 arg5 = (int)SWIG_As_int(obj4);
908b74cd 24003 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
24004 }
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24007 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
74a57fcd
RD
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016}
24017
24018
c32bde28 24019static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
f16ab95d
RD
24020 PyObject *resultobj;
24021 wxWindow *arg1 = (wxWindow *) 0 ;
24022 wxSize *arg2 = 0 ;
24023 wxSize const &arg3_defvalue = wxDefaultSize ;
24024 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
24025 wxSize temp2 ;
24026 wxSize temp3 ;
24027 PyObject * obj0 = 0 ;
24028 PyObject * obj1 = 0 ;
24029 PyObject * obj2 = 0 ;
24030 char *kwnames[] = {
24031 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
24032 };
74a57fcd 24033
f16ab95d
RD
24034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
24035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24037 {
24038 arg2 = &temp2;
24039 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
74a57fcd 24040 }
f16ab95d 24041 if (obj2) {
74a57fcd 24042 {
f16ab95d
RD
24043 arg3 = &temp3;
24044 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
74a57fcd
RD
24045 }
24046 }
f16ab95d
RD
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 24053 }
f16ab95d
RD
24054 Py_INCREF(Py_None); resultobj = Py_None;
24055 return resultobj;
24056 fail:
74a57fcd
RD
24057 return NULL;
24058}
24059
24060
c32bde28 24061static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24062 PyObject *resultobj;
24063 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24064 wxSize result;
d14a1e28
RD
24065 PyObject * obj0 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self", NULL
24068 };
24069
908b74cd 24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24075 result = ((wxWindow const *)arg1)->GetMaxSize();
d14a1e28
RD
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
908b74cd
RD
24080 {
24081 wxSize * resultptr;
24082 resultptr = new wxSize((wxSize &) result);
24083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24084 }
d14a1e28
RD
24085 return resultobj;
24086 fail:
24087 return NULL;
24088}
24089
24090
c32bde28 24091static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24092 PyObject *resultobj;
24093 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24094 wxSize result;
d14a1e28
RD
24095 PyObject * obj0 = 0 ;
24096 char *kwnames[] = {
24097 (char *) "self", NULL
24098 };
24099
908b74cd 24100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24103 {
24104 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24105 result = ((wxWindow const *)arg1)->GetMinSize();
d14a1e28
RD
24106
24107 wxPyEndAllowThreads(__tstate);
24108 if (PyErr_Occurred()) SWIG_fail;
24109 }
908b74cd
RD
24110 {
24111 wxSize * resultptr;
24112 resultptr = new wxSize((wxSize &) result);
24113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24114 }
d14a1e28
RD
24115 return resultobj;
24116 fail:
24117 return NULL;
24118}
24119
24120
c32bde28 24121static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
24122 PyObject *resultobj;
24123 wxWindow *arg1 = (wxWindow *) 0 ;
24124 wxSize *arg2 = 0 ;
24125 wxSize temp2 ;
24126 PyObject * obj0 = 0 ;
24127 PyObject * obj1 = 0 ;
24128 char *kwnames[] = {
24129 (char *) "self",(char *) "minSize", NULL
24130 };
24131
24132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
24133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24135 {
24136 arg2 = &temp2;
24137 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24138 }
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 (arg1)->SetMinSize((wxSize const &)*arg2);
24142
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 Py_INCREF(Py_None); resultobj = Py_None;
24147 return resultobj;
24148 fail:
24149 return NULL;
24150}
24151
24152
c32bde28 24153static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
24154 PyObject *resultobj;
24155 wxWindow *arg1 = (wxWindow *) 0 ;
24156 wxSize *arg2 = 0 ;
24157 wxSize temp2 ;
24158 PyObject * obj0 = 0 ;
24159 PyObject * obj1 = 0 ;
24160 char *kwnames[] = {
24161 (char *) "self",(char *) "maxSize", NULL
24162 };
24163
24164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
24165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24167 {
24168 arg2 = &temp2;
24169 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24170 }
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 (arg1)->SetMaxSize((wxSize const &)*arg2);
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 Py_INCREF(Py_None); resultobj = Py_None;
24179 return resultobj;
24180 fail:
24181 return NULL;
24182}
24183
24184
c32bde28 24185static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24186 PyObject *resultobj;
24187 wxWindow *arg1 = (wxWindow *) 0 ;
24188 int result;
24189 PyObject * obj0 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self", NULL
24192 };
24193
908b74cd 24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
24195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24197 {
24198 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24199 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d14a1e28
RD
24200
24201 wxPyEndAllowThreads(__tstate);
24202 if (PyErr_Occurred()) SWIG_fail;
24203 }
c32bde28 24204 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24205 return resultobj;
24206 fail:
24207 return NULL;
24208}
24209
24210
c32bde28 24211static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24212 PyObject *resultobj;
24213 wxWindow *arg1 = (wxWindow *) 0 ;
24214 int result;
24215 PyObject * obj0 = 0 ;
24216 char *kwnames[] = {
24217 (char *) "self", NULL
24218 };
24219
908b74cd 24220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
24221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24225 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d14a1e28
RD
24226
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
c32bde28 24230 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24231 return resultobj;
24232 fail:
24233 return NULL;
24234}
24235
24236
c32bde28 24237static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24238 PyObject *resultobj;
24239 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24240 int result;
d14a1e28
RD
24241 PyObject * obj0 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self", NULL
24244 };
24245
908b74cd 24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
24247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24251 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d14a1e28
RD
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
c32bde28 24256 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24257 return resultobj;
24258 fail:
24259 return NULL;
24260}
24261
24262
c32bde28 24263static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
24264 PyObject *resultobj;
24265 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24266 int result;
74a57fcd
RD
24267 PyObject * obj0 = 0 ;
24268 char *kwnames[] = {
24269 (char *) "self", NULL
24270 };
24271
908b74cd 24272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
74a57fcd
RD
24273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24277 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
74a57fcd
RD
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
c32bde28 24282 resultobj = SWIG_From_int((int)result);
74a57fcd
RD
24283 return resultobj;
24284 fail:
24285 return NULL;
24286}
24287
24288
c32bde28 24289static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24290 PyObject *resultobj;
24291 wxWindow *arg1 = (wxWindow *) 0 ;
24292 wxSize *arg2 = 0 ;
24293 wxSize temp2 ;
24294 PyObject * obj0 = 0 ;
24295 PyObject * obj1 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "self",(char *) "size", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24303 {
24304 arg2 = &temp2;
24305 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24306 }
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 (arg1)->SetVirtualSize((wxSize const &)*arg2);
24310
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 Py_INCREF(Py_None); resultobj = Py_None;
24315 return resultobj;
24316 fail:
24317 return NULL;
24318}
24319
24320
c32bde28 24321static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24322 PyObject *resultobj;
24323 wxWindow *arg1 = (wxWindow *) 0 ;
24324 int arg2 ;
24325 int arg3 ;
24326 PyObject * obj0 = 0 ;
994141e6
RD
24327 PyObject * obj1 = 0 ;
24328 PyObject * obj2 = 0 ;
d14a1e28
RD
24329 char *kwnames[] = {
24330 (char *) "self",(char *) "w",(char *) "h", NULL
24331 };
24332
994141e6 24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24336 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24337 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24338 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 24339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24340 {
24341 PyThreadState* __tstate = wxPyBeginAllowThreads();
24342 (arg1)->SetVirtualSize(arg2,arg3);
24343
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 Py_INCREF(Py_None); resultobj = Py_None;
24348 return resultobj;
24349 fail:
24350 return NULL;
24351}
24352
24353
c32bde28 24354static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24355 PyObject *resultobj;
24356 wxWindow *arg1 = (wxWindow *) 0 ;
24357 wxSize result;
24358 PyObject * obj0 = 0 ;
24359 char *kwnames[] = {
24360 (char *) "self", NULL
24361 };
24362
24363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24366 {
24367 PyThreadState* __tstate = wxPyBeginAllowThreads();
24368 result = ((wxWindow const *)arg1)->GetVirtualSize();
24369
24370 wxPyEndAllowThreads(__tstate);
24371 if (PyErr_Occurred()) SWIG_fail;
24372 }
24373 {
24374 wxSize * resultptr;
24375 resultptr = new wxSize((wxSize &) result);
15afbcd0 24376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24377 }
24378 return resultobj;
24379 fail:
24380 return NULL;
24381}
24382
24383
c32bde28 24384static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24385 PyObject *resultobj;
24386 wxWindow *arg1 = (wxWindow *) 0 ;
24387 int *arg2 = (int *) 0 ;
24388 int *arg3 = (int *) 0 ;
24389 int temp2 ;
c32bde28 24390 int res2 = 0 ;
d14a1e28 24391 int temp3 ;
c32bde28 24392 int res3 = 0 ;
d14a1e28
RD
24393 PyObject * obj0 = 0 ;
24394 char *kwnames[] = {
24395 (char *) "self", NULL
24396 };
24397
c32bde28
RD
24398 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24399 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
24401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24403 {
24404 PyThreadState* __tstate = wxPyBeginAllowThreads();
24405 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
24406
24407 wxPyEndAllowThreads(__tstate);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
24410 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24411 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24412 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24413 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24414 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24415 return resultobj;
24416 fail:
24417 return NULL;
24418}
24419
24420
c32bde28 24421static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24422 PyObject *resultobj;
24423 wxWindow *arg1 = (wxWindow *) 0 ;
24424 wxSize result;
24425 PyObject * obj0 = 0 ;
24426 char *kwnames[] = {
24427 (char *) "self", NULL
24428 };
24429
24430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24433 {
24434 PyThreadState* __tstate = wxPyBeginAllowThreads();
24435 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
24436
24437 wxPyEndAllowThreads(__tstate);
24438 if (PyErr_Occurred()) SWIG_fail;
24439 }
24440 {
24441 wxSize * resultptr;
24442 resultptr = new wxSize((wxSize &) result);
15afbcd0 24443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24444 }
24445 return resultobj;
24446 fail:
24447 return NULL;
24448}
24449
24450
c32bde28 24451static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24452 PyObject *resultobj;
24453 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24454 bool arg2 = (bool) true ;
d14a1e28
RD
24455 bool result;
24456 PyObject * obj0 = 0 ;
24457 PyObject * obj1 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self",(char *) "show", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24465 if (obj1) {
c32bde28 24466 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24467 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24468 }
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = (bool)(arg1)->Show(arg2);
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
4f89f6a3
RD
24476 {
24477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24478 }
d14a1e28
RD
24479 return resultobj;
24480 fail:
24481 return NULL;
24482}
24483
24484
c32bde28 24485static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24486 PyObject *resultobj;
24487 wxWindow *arg1 = (wxWindow *) 0 ;
24488 bool result;
24489 PyObject * obj0 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
24495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = (bool)(arg1)->Hide();
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
4f89f6a3
RD
24504 {
24505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24506 }
d14a1e28
RD
24507 return resultobj;
24508 fail:
24509 return NULL;
24510}
24511
24512
c32bde28 24513static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24514 PyObject *resultobj;
24515 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24516 bool arg2 = (bool) true ;
d14a1e28
RD
24517 bool result;
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj1 = 0 ;
24520 char *kwnames[] = {
24521 (char *) "self",(char *) "enable", NULL
24522 };
24523
24524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24527 if (obj1) {
c32bde28 24528 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24530 }
24531 {
24532 PyThreadState* __tstate = wxPyBeginAllowThreads();
24533 result = (bool)(arg1)->Enable(arg2);
24534
24535 wxPyEndAllowThreads(__tstate);
24536 if (PyErr_Occurred()) SWIG_fail;
24537 }
4f89f6a3
RD
24538 {
24539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24540 }
d14a1e28
RD
24541 return resultobj;
24542 fail:
24543 return NULL;
24544}
24545
24546
c32bde28 24547static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24548 PyObject *resultobj;
24549 wxWindow *arg1 = (wxWindow *) 0 ;
24550 bool result;
24551 PyObject * obj0 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self", NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
24557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = (bool)(arg1)->Disable();
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
4f89f6a3
RD
24566 {
24567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24568 }
d14a1e28
RD
24569 return resultobj;
24570 fail:
24571 return NULL;
24572}
24573
24574
c32bde28 24575static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24576 PyObject *resultobj;
24577 wxWindow *arg1 = (wxWindow *) 0 ;
24578 bool result;
24579 PyObject * obj0 = 0 ;
24580 char *kwnames[] = {
24581 (char *) "self", NULL
24582 };
24583
24584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
24585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 result = (bool)((wxWindow const *)arg1)->IsShown();
24590
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
4f89f6a3
RD
24594 {
24595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24596 }
d14a1e28
RD
24597 return resultobj;
24598 fail:
24599 return NULL;
24600}
24601
24602
c32bde28 24603static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
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_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (bool)((wxWindow const *)arg1)->IsEnabled();
24618
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
4f89f6a3
RD
24622 {
24623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24624 }
d14a1e28
RD
24625 return resultobj;
24626 fail:
24627 return NULL;
24628}
24629
24630
c32bde28 24631static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24632 PyObject *resultobj;
24633 wxWindow *arg1 = (wxWindow *) 0 ;
24634 long arg2 ;
24635 PyObject * obj0 = 0 ;
994141e6 24636 PyObject * obj1 = 0 ;
d14a1e28
RD
24637 char *kwnames[] = {
24638 (char *) "self",(char *) "style", NULL
24639 };
24640
994141e6 24641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
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);
15afbcd0 24645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->SetWindowStyleFlag(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_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
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_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
24670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
c32bde28 24679 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24680 return resultobj;
24681 fail:
24682 return NULL;
24683}
24684
24685
c32bde28 24686static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24687 PyObject *resultobj;
24688 wxWindow *arg1 = (wxWindow *) 0 ;
24689 int arg2 ;
24690 bool result;
24691 PyObject * obj0 = 0 ;
994141e6 24692 PyObject * obj1 = 0 ;
d14a1e28
RD
24693 char *kwnames[] = {
24694 (char *) "self",(char *) "flag", NULL
24695 };
24696
994141e6 24697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24700 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24705
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
4f89f6a3
RD
24709 {
24710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24711 }
d14a1e28
RD
24712 return resultobj;
24713 fail:
24714 return NULL;
24715}
24716
24717
c32bde28 24718static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24719 PyObject *resultobj;
24720 wxWindow *arg1 = (wxWindow *) 0 ;
24721 bool result;
24722 PyObject * obj0 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
15afbcd0
RD
24728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24730 {
24731 PyThreadState* __tstate = wxPyBeginAllowThreads();
24732 result = (bool)((wxWindow const *)arg1)->IsRetained();
24733
24734 wxPyEndAllowThreads(__tstate);
24735 if (PyErr_Occurred()) SWIG_fail;
24736 }
4f89f6a3
RD
24737 {
24738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24739 }
d14a1e28
RD
24740 return resultobj;
24741 fail:
24742 return NULL;
24743}
24744
24745
c32bde28 24746static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24747 PyObject *resultobj;
24748 wxWindow *arg1 = (wxWindow *) 0 ;
24749 long arg2 ;
24750 PyObject * obj0 = 0 ;
994141e6 24751 PyObject * obj1 = 0 ;
d14a1e28
RD
24752 char *kwnames[] = {
24753 (char *) "self",(char *) "exStyle", NULL
24754 };
24755
994141e6 24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24759 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 24760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 (arg1)->SetExtraStyle(arg2);
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 Py_INCREF(Py_None); resultobj = Py_None;
24769 return resultobj;
24770 fail:
24771 return NULL;
24772}
24773
24774
c32bde28 24775static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24776 PyObject *resultobj;
24777 wxWindow *arg1 = (wxWindow *) 0 ;
24778 long result;
24779 PyObject * obj0 = 0 ;
24780 char *kwnames[] = {
24781 (char *) "self", NULL
24782 };
24783
24784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
24785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
c32bde28 24794 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24795 return resultobj;
24796 fail:
24797 return NULL;
24798}
24799
24800
c32bde28 24801static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24802 PyObject *resultobj;
24803 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24804 bool arg2 = (bool) true ;
d14a1e28
RD
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self",(char *) "modal", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24814 if (obj1) {
c32bde28 24815 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24817 }
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 (arg1)->MakeModal(arg2);
24821
24822 wxPyEndAllowThreads(__tstate);
24823 if (PyErr_Occurred()) SWIG_fail;
24824 }
24825 Py_INCREF(Py_None); resultobj = Py_None;
24826 return resultobj;
24827 fail:
24828 return NULL;
24829}
24830
24831
c32bde28 24832static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24833 PyObject *resultobj;
24834 wxWindow *arg1 = (wxWindow *) 0 ;
24835 bool arg2 ;
24836 PyObject * obj0 = 0 ;
24837 PyObject * obj1 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "self",(char *) "enableTheme", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24845 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24846 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->SetThemeEnabled(arg2);
24850
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 Py_INCREF(Py_None); resultobj = Py_None;
24855 return resultobj;
24856 fail:
24857 return NULL;
24858}
24859
24860
c32bde28 24861static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24862 PyObject *resultobj;
24863 wxWindow *arg1 = (wxWindow *) 0 ;
24864 bool result;
24865 PyObject * obj0 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24876
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
4f89f6a3
RD
24880 {
24881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24882 }
d14a1e28
RD
24883 return resultobj;
24884 fail:
24885 return NULL;
24886}
24887
24888
c32bde28 24889static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24890 PyObject *resultobj;
24891 wxWindow *arg1 = (wxWindow *) 0 ;
24892 PyObject * obj0 = 0 ;
24893 char *kwnames[] = {
24894 (char *) "self", NULL
24895 };
24896
24897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24900 {
24901 PyThreadState* __tstate = wxPyBeginAllowThreads();
24902 (arg1)->SetFocus();
24903
24904 wxPyEndAllowThreads(__tstate);
24905 if (PyErr_Occurred()) SWIG_fail;
24906 }
24907 Py_INCREF(Py_None); resultobj = Py_None;
24908 return resultobj;
24909 fail:
24910 return NULL;
24911}
24912
24913
c32bde28 24914static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24915 PyObject *resultobj;
24916 wxWindow *arg1 = (wxWindow *) 0 ;
24917 PyObject * obj0 = 0 ;
24918 char *kwnames[] = {
24919 (char *) "self", NULL
24920 };
24921
24922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
24923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 (arg1)->SetFocusFromKbd();
24928
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 Py_INCREF(Py_None); resultobj = Py_None;
24933 return resultobj;
24934 fail:
24935 return NULL;
24936}
24937
24938
c32bde28 24939static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24940 PyObject *resultobj;
24941 wxWindow *result;
24942 char *kwnames[] = {
24943 NULL
24944 };
24945
24946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24947 {
e3b71cb8 24948 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 result = (wxWindow *)wxWindow::FindFocus();
24951
24952 wxPyEndAllowThreads(__tstate);
110da5b0 24953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24954 }
24955 {
412d302d 24956 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24957 }
24958 return resultobj;
24959 fail:
24960 return NULL;
24961}
24962
24963
c32bde28 24964static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24965 PyObject *resultobj;
24966 wxWindow *arg1 = (wxWindow *) 0 ;
24967 bool result;
24968 PyObject * obj0 = 0 ;
24969 char *kwnames[] = {
24970 (char *) "self", NULL
24971 };
24972
24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24976 {
24977 PyThreadState* __tstate = wxPyBeginAllowThreads();
24978 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24979
24980 wxPyEndAllowThreads(__tstate);
24981 if (PyErr_Occurred()) SWIG_fail;
24982 }
4f89f6a3
RD
24983 {
24984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24985 }
d14a1e28
RD
24986 return resultobj;
24987 fail:
24988 return NULL;
24989}
24990
24991
c32bde28 24992static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24993 PyObject *resultobj;
24994 wxWindow *arg1 = (wxWindow *) 0 ;
24995 bool result;
24996 PyObject * obj0 = 0 ;
24997 char *kwnames[] = {
24998 (char *) "self", NULL
24999 };
25000
25001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
25002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25004 {
25005 PyThreadState* __tstate = wxPyBeginAllowThreads();
25006 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
25007
25008 wxPyEndAllowThreads(__tstate);
25009 if (PyErr_Occurred()) SWIG_fail;
25010 }
4f89f6a3
RD
25011 {
25012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25013 }
d14a1e28
RD
25014 return resultobj;
25015 fail:
25016 return NULL;
25017}
25018
25019
c32bde28 25020static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25021 PyObject *resultobj;
25022 wxWindow *arg1 = (wxWindow *) 0 ;
25023 wxWindow *result;
25024 PyObject * obj0 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "self", NULL
25027 };
25028
25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
25030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25032 {
25033 PyThreadState* __tstate = wxPyBeginAllowThreads();
25034 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
25035
25036 wxPyEndAllowThreads(__tstate);
25037 if (PyErr_Occurred()) SWIG_fail;
25038 }
25039 {
412d302d 25040 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25041 }
25042 return resultobj;
25043 fail:
25044 return NULL;
25045}
25046
25047
c32bde28 25048static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25049 PyObject *resultobj;
25050 wxWindow *arg1 = (wxWindow *) 0 ;
25051 wxWindow *arg2 = (wxWindow *) 0 ;
25052 wxWindow *result;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 char *kwnames[] = {
25056 (char *) "self",(char *) "child", NULL
25057 };
25058
25059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 {
412d302d 25072 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25073 }
25074 return resultobj;
25075 fail:
25076 return NULL;
25077}
25078
25079
c32bde28 25080static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25081 PyObject *resultobj;
25082 wxWindow *arg1 = (wxWindow *) 0 ;
25083 wxWindow *arg2 = (wxWindow *) 0 ;
25084 PyObject * obj0 = 0 ;
25085 PyObject * obj1 = 0 ;
25086 char *kwnames[] = {
25087 (char *) "self",(char *) "win", NULL
25088 };
25089
25090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25095 {
25096 PyThreadState* __tstate = wxPyBeginAllowThreads();
25097 (arg1)->SetTmpDefaultItem(arg2);
25098
25099 wxPyEndAllowThreads(__tstate);
25100 if (PyErr_Occurred()) SWIG_fail;
25101 }
25102 Py_INCREF(Py_None); resultobj = Py_None;
25103 return resultobj;
25104 fail:
25105 return NULL;
25106}
25107
25108
c32bde28 25109static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
25110 PyObject *resultobj;
25111 wxWindow *arg1 = (wxWindow *) 0 ;
25112 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
25113 bool result;
25114 PyObject * obj0 = 0 ;
25115 PyObject * obj1 = 0 ;
25116 char *kwnames[] = {
25117 (char *) "self",(char *) "flags", NULL
25118 };
25119
25120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
25121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25123 if (obj1) {
c32bde28 25124 arg2 = (int)SWIG_As_int(obj1);
908b74cd
RD
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = (bool)(arg1)->Navigate(arg2);
25130
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 {
25135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25136 }
25137 return resultobj;
25138 fail:
25139 return NULL;
25140}
25141
25142
c32bde28 25143static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
7f98d120
RD
25144 PyObject *resultobj;
25145 wxWindow *arg1 = (wxWindow *) 0 ;
25146 wxWindow *arg2 = (wxWindow *) 0 ;
25147 PyObject * obj0 = 0 ;
25148 PyObject * obj1 = 0 ;
25149 char *kwnames[] = {
25150 (char *) "self",(char *) "win", NULL
25151 };
25152
25153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
25154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->MoveAfterInTabOrder(arg2);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 Py_INCREF(Py_None); resultobj = Py_None;
25166 return resultobj;
25167 fail:
25168 return NULL;
25169}
25170
25171
c32bde28 25172static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
7f98d120
RD
25173 PyObject *resultobj;
25174 wxWindow *arg1 = (wxWindow *) 0 ;
25175 wxWindow *arg2 = (wxWindow *) 0 ;
25176 PyObject * obj0 = 0 ;
25177 PyObject * obj1 = 0 ;
25178 char *kwnames[] = {
25179 (char *) "self",(char *) "win", NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
25183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 (arg1)->MoveBeforeInTabOrder(arg2);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 Py_INCREF(Py_None); resultobj = Py_None;
25195 return resultobj;
25196 fail:
25197 return NULL;
25198}
25199
25200
c32bde28 25201static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25202 PyObject *resultobj;
25203 wxWindow *arg1 = (wxWindow *) 0 ;
25204 PyObject *result;
25205 PyObject * obj0 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
25211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 result = (PyObject *)wxWindow_GetChildren(arg1);
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 resultobj = result;
25221 return resultobj;
25222 fail:
25223 return NULL;
25224}
25225
25226
c32bde28 25227static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25228 PyObject *resultobj;
25229 wxWindow *arg1 = (wxWindow *) 0 ;
25230 wxWindow *result;
25231 PyObject * obj0 = 0 ;
25232 char *kwnames[] = {
25233 (char *) "self", NULL
25234 };
25235
25236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
412d302d 25247 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25248 }
25249 return resultobj;
25250 fail:
25251 return NULL;
25252}
25253
25254
c32bde28 25255static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25256 PyObject *resultobj;
25257 wxWindow *arg1 = (wxWindow *) 0 ;
25258 wxWindow *result;
25259 PyObject * obj0 = 0 ;
25260 char *kwnames[] = {
25261 (char *) "self", NULL
25262 };
25263
25264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25267 {
25268 PyThreadState* __tstate = wxPyBeginAllowThreads();
25269 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
25270
25271 wxPyEndAllowThreads(__tstate);
25272 if (PyErr_Occurred()) SWIG_fail;
25273 }
25274 {
412d302d 25275 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25276 }
25277 return resultobj;
25278 fail:
25279 return NULL;
25280}
25281
25282
c32bde28 25283static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25284 PyObject *resultobj;
25285 wxWindow *arg1 = (wxWindow *) 0 ;
25286 bool result;
25287 PyObject * obj0 = 0 ;
25288 char *kwnames[] = {
25289 (char *) "self", NULL
25290 };
25291
25292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
25293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
25298
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
4f89f6a3
RD
25302 {
25303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25304 }
d14a1e28
RD
25305 return resultobj;
25306 fail:
25307 return NULL;
25308}
25309
25310
c32bde28 25311static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25312 PyObject *resultobj;
25313 wxWindow *arg1 = (wxWindow *) 0 ;
25314 wxWindow *arg2 = (wxWindow *) 0 ;
25315 bool result;
25316 PyObject * obj0 = 0 ;
25317 PyObject * obj1 = 0 ;
25318 char *kwnames[] = {
25319 (char *) "self",(char *) "newParent", NULL
25320 };
25321
25322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25327 {
25328 PyThreadState* __tstate = wxPyBeginAllowThreads();
25329 result = (bool)(arg1)->Reparent(arg2);
25330
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
4f89f6a3
RD
25334 {
25335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25336 }
d14a1e28
RD
25337 return resultobj;
25338 fail:
25339 return NULL;
25340}
25341
25342
c32bde28 25343static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25344 PyObject *resultobj;
25345 wxWindow *arg1 = (wxWindow *) 0 ;
25346 wxWindow *arg2 = (wxWindow *) 0 ;
25347 PyObject * obj0 = 0 ;
25348 PyObject * obj1 = 0 ;
25349 char *kwnames[] = {
25350 (char *) "self",(char *) "child", NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25358 {
25359 PyThreadState* __tstate = wxPyBeginAllowThreads();
25360 (arg1)->AddChild(arg2);
25361
25362 wxPyEndAllowThreads(__tstate);
25363 if (PyErr_Occurred()) SWIG_fail;
25364 }
25365 Py_INCREF(Py_None); resultobj = Py_None;
25366 return resultobj;
25367 fail:
25368 return NULL;
25369}
25370
25371
c32bde28 25372static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25373 PyObject *resultobj;
25374 wxWindow *arg1 = (wxWindow *) 0 ;
25375 wxWindow *arg2 = (wxWindow *) 0 ;
25376 PyObject * obj0 = 0 ;
25377 PyObject * obj1 = 0 ;
25378 char *kwnames[] = {
25379 (char *) "self",(char *) "child", NULL
25380 };
25381
25382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25387 {
25388 PyThreadState* __tstate = wxPyBeginAllowThreads();
25389 (arg1)->RemoveChild(arg2);
25390
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 Py_INCREF(Py_None); resultobj = Py_None;
25395 return resultobj;
25396 fail:
25397 return NULL;
25398}
25399
25400
c32bde28 25401static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25402 PyObject *resultobj;
25403 wxWindow *arg1 = (wxWindow *) 0 ;
25404 long arg2 ;
25405 wxWindow *result;
25406 PyObject * obj0 = 0 ;
994141e6 25407 PyObject * obj1 = 0 ;
d14a1e28
RD
25408 char *kwnames[] = {
25409 (char *) "self",(char *) "winid", NULL
25410 };
25411
994141e6 25412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25415 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 25416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25417 {
25418 PyThreadState* __tstate = wxPyBeginAllowThreads();
25419 result = (wxWindow *)(arg1)->FindWindow(arg2);
25420
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 {
412d302d 25425 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25426 }
25427 return resultobj;
25428 fail:
25429 return NULL;
25430}
25431
25432
c32bde28 25433static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25434 PyObject *resultobj;
25435 wxWindow *arg1 = (wxWindow *) 0 ;
25436 wxString *arg2 = 0 ;
25437 wxWindow *result;
ae8162c8 25438 bool temp2 = false ;
d14a1e28
RD
25439 PyObject * obj0 = 0 ;
25440 PyObject * obj1 = 0 ;
25441 char *kwnames[] = {
25442 (char *) "self",(char *) "name", NULL
25443 };
25444
25445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25448 {
25449 arg2 = wxString_in_helper(obj1);
25450 if (arg2 == NULL) SWIG_fail;
ae8162c8 25451 temp2 = true;
d14a1e28
RD
25452 }
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 {
412d302d 25461 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25462 }
25463 {
25464 if (temp2)
25465 delete arg2;
25466 }
25467 return resultobj;
25468 fail:
25469 {
25470 if (temp2)
25471 delete arg2;
25472 }
25473 return NULL;
25474}
25475
25476
c32bde28 25477static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25478 PyObject *resultobj;
25479 wxWindow *arg1 = (wxWindow *) 0 ;
25480 wxEvtHandler *result;
25481 PyObject * obj0 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
25487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25489 {
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
25492
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 {
412d302d 25497 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25498 }
25499 return resultobj;
25500 fail:
25501 return NULL;
25502}
25503
25504
c32bde28 25505static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25506 PyObject *resultobj;
25507 wxWindow *arg1 = (wxWindow *) 0 ;
25508 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25509 PyObject * obj0 = 0 ;
25510 PyObject * obj1 = 0 ;
25511 char *kwnames[] = {
25512 (char *) "self",(char *) "handler", NULL
25513 };
25514
25515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 (arg1)->SetEventHandler(arg2);
25523
25524 wxPyEndAllowThreads(__tstate);
25525 if (PyErr_Occurred()) SWIG_fail;
25526 }
25527 Py_INCREF(Py_None); resultobj = Py_None;
25528 return resultobj;
25529 fail:
25530 return NULL;
25531}
25532
25533
c32bde28 25534static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25535 PyObject *resultobj;
25536 wxWindow *arg1 = (wxWindow *) 0 ;
25537 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25538 PyObject * obj0 = 0 ;
25539 PyObject * obj1 = 0 ;
25540 char *kwnames[] = {
25541 (char *) "self",(char *) "handler", NULL
25542 };
25543
25544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 (arg1)->PushEventHandler(arg2);
25552
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 Py_INCREF(Py_None); resultobj = Py_None;
25557 return resultobj;
25558 fail:
25559 return NULL;
25560}
25561
25562
c32bde28 25563static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25564 PyObject *resultobj;
25565 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 25566 bool arg2 = (bool) false ;
d14a1e28
RD
25567 wxEvtHandler *result;
25568 PyObject * obj0 = 0 ;
25569 PyObject * obj1 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self",(char *) "deleteHandler", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25577 if (obj1) {
c32bde28 25578 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 25579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25580 }
25581 {
25582 PyThreadState* __tstate = wxPyBeginAllowThreads();
25583 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
25584
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 {
412d302d 25589 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25590 }
25591 return resultobj;
25592 fail:
25593 return NULL;
25594}
25595
25596
c32bde28 25597static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25598 PyObject *resultobj;
25599 wxWindow *arg1 = (wxWindow *) 0 ;
25600 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25601 bool result;
25602 PyObject * obj0 = 0 ;
25603 PyObject * obj1 = 0 ;
25604 char *kwnames[] = {
25605 (char *) "self",(char *) "handler", NULL
25606 };
25607
25608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 result = (bool)(arg1)->RemoveEventHandler(arg2);
25616
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
4f89f6a3
RD
25620 {
25621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25622 }
d14a1e28
RD
25623 return resultobj;
25624 fail:
25625 return NULL;
25626}
25627
25628
c32bde28 25629static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25630 PyObject *resultobj;
25631 wxWindow *arg1 = (wxWindow *) 0 ;
25632 wxValidator *arg2 = 0 ;
25633 PyObject * obj0 = 0 ;
25634 PyObject * obj1 = 0 ;
25635 char *kwnames[] = {
25636 (char *) "self",(char *) "validator", NULL
25637 };
25638
25639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
25643 SWIG_POINTER_EXCEPTION | 0)) == -1)
25644 SWIG_fail;
d14a1e28 25645 if (arg2 == NULL) {
15afbcd0
RD
25646 PyErr_SetString(PyExc_TypeError,"null reference");
25647 SWIG_fail;
d14a1e28
RD
25648 }
25649 {
25650 PyThreadState* __tstate = wxPyBeginAllowThreads();
25651 (arg1)->SetValidator((wxValidator const &)*arg2);
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 Py_INCREF(Py_None); resultobj = Py_None;
25657 return resultobj;
25658 fail:
25659 return NULL;
25660}
25661
25662
c32bde28 25663static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25664 PyObject *resultobj;
25665 wxWindow *arg1 = (wxWindow *) 0 ;
25666 wxValidator *result;
25667 PyObject * obj0 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
25673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 result = (wxValidator *)(arg1)->GetValidator();
25678
25679 wxPyEndAllowThreads(__tstate);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 {
412d302d 25683 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25684 }
25685 return resultobj;
25686 fail:
25687 return NULL;
25688}
25689
25690
c32bde28 25691static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25692 PyObject *resultobj;
25693 wxWindow *arg1 = (wxWindow *) 0 ;
25694 bool result;
25695 PyObject * obj0 = 0 ;
25696 char *kwnames[] = {
25697 (char *) "self", NULL
25698 };
25699
25700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
25701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25703 {
25704 PyThreadState* __tstate = wxPyBeginAllowThreads();
25705 result = (bool)(arg1)->Validate();
25706
25707 wxPyEndAllowThreads(__tstate);
25708 if (PyErr_Occurred()) SWIG_fail;
25709 }
25710 {
25711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25712 }
25713 return resultobj;
25714 fail:
25715 return NULL;
25716}
25717
25718
c32bde28 25719static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25720 PyObject *resultobj;
25721 wxWindow *arg1 = (wxWindow *) 0 ;
25722 bool result;
25723 PyObject * obj0 = 0 ;
25724 char *kwnames[] = {
25725 (char *) "self", NULL
25726 };
25727
25728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",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 = (bool)(arg1)->TransferDataToWindow();
25734
25735 wxPyEndAllowThreads(__tstate);
25736 if (PyErr_Occurred()) SWIG_fail;
25737 }
25738 {
25739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25740 }
25741 return resultobj;
25742 fail:
25743 return NULL;
25744}
25745
25746
c32bde28 25747static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25748 PyObject *resultobj;
25749 wxWindow *arg1 = (wxWindow *) 0 ;
25750 bool result;
25751 PyObject * obj0 = 0 ;
25752 char *kwnames[] = {
25753 (char *) "self", NULL
25754 };
25755
25756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (bool)(arg1)->TransferDataFromWindow();
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 {
25767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25768 }
25769 return resultobj;
25770 fail:
25771 return NULL;
25772}
25773
25774
c32bde28 25775static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25776 PyObject *resultobj;
25777 wxWindow *arg1 = (wxWindow *) 0 ;
25778 PyObject * obj0 = 0 ;
25779 char *kwnames[] = {
25780 (char *) "self", NULL
25781 };
25782
25783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 (arg1)->InitDialog();
25789
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
25793 Py_INCREF(Py_None); resultobj = Py_None;
25794 return resultobj;
25795 fail:
25796 return NULL;
25797}
25798
25799
c32bde28 25800static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25801 PyObject *resultobj;
25802 wxWindow *arg1 = (wxWindow *) 0 ;
25803 wxAcceleratorTable *arg2 = 0 ;
25804 PyObject * obj0 = 0 ;
25805 PyObject * obj1 = 0 ;
25806 char *kwnames[] = {
25807 (char *) "self",(char *) "accel", NULL
25808 };
25809
25810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25814 SWIG_POINTER_EXCEPTION | 0)) == -1)
25815 SWIG_fail;
d14a1e28 25816 if (arg2 == NULL) {
15afbcd0
RD
25817 PyErr_SetString(PyExc_TypeError,"null reference");
25818 SWIG_fail;
d14a1e28
RD
25819 }
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25823
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 Py_INCREF(Py_None); resultobj = Py_None;
25828 return resultobj;
25829 fail:
25830 return NULL;
25831}
25832
25833
c32bde28 25834static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25835 PyObject *resultobj;
25836 wxWindow *arg1 = (wxWindow *) 0 ;
25837 wxAcceleratorTable *result;
25838 PyObject * obj0 = 0 ;
25839 char *kwnames[] = {
25840 (char *) "self", NULL
25841 };
25842
25843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
25844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25846 {
25847 PyThreadState* __tstate = wxPyBeginAllowThreads();
25848 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25849
25850 wxPyEndAllowThreads(__tstate);
25851 if (PyErr_Occurred()) SWIG_fail;
25852 }
15afbcd0 25853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
25854 return resultobj;
25855 fail:
25856 return NULL;
25857}
25858
25859
c32bde28 25860static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25861 PyObject *resultobj;
25862 wxWindow *arg1 = (wxWindow *) 0 ;
25863 int arg2 ;
25864 int arg3 ;
25865 int arg4 ;
25866 bool result;
25867 PyObject * obj0 = 0 ;
994141e6
RD
25868 PyObject * obj1 = 0 ;
25869 PyObject * obj2 = 0 ;
25870 PyObject * obj3 = 0 ;
d14a1e28
RD
25871 char *kwnames[] = {
25872 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25873 };
25874
994141e6 25875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25878 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25879 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25880 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 25881 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25882 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 25883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25884 {
25885 PyThreadState* __tstate = wxPyBeginAllowThreads();
25886 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25887
25888 wxPyEndAllowThreads(__tstate);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
4f89f6a3
RD
25891 {
25892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25893 }
d14a1e28
RD
25894 return resultobj;
25895 fail:
25896 return NULL;
25897}
25898
25899
c32bde28 25900static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25901 PyObject *resultobj;
25902 wxWindow *arg1 = (wxWindow *) 0 ;
25903 int arg2 ;
25904 bool result;
25905 PyObject * obj0 = 0 ;
994141e6 25906 PyObject * obj1 = 0 ;
d14a1e28
RD
25907 char *kwnames[] = {
25908 (char *) "self",(char *) "hotkeyId", NULL
25909 };
25910
994141e6 25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25914 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25916 {
25917 PyThreadState* __tstate = wxPyBeginAllowThreads();
25918 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25919
25920 wxPyEndAllowThreads(__tstate);
25921 if (PyErr_Occurred()) SWIG_fail;
25922 }
4f89f6a3
RD
25923 {
25924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25925 }
d14a1e28
RD
25926 return resultobj;
25927 fail:
25928 return NULL;
25929}
25930
25931
c32bde28 25932static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25933 PyObject *resultobj;
25934 wxWindow *arg1 = (wxWindow *) 0 ;
25935 wxPoint *arg2 = 0 ;
25936 wxPoint result;
25937 wxPoint temp2 ;
25938 PyObject * obj0 = 0 ;
25939 PyObject * obj1 = 0 ;
25940 char *kwnames[] = {
25941 (char *) "self",(char *) "pt", NULL
25942 };
25943
25944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25947 {
25948 arg2 = &temp2;
25949 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25950 }
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25954
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 {
25959 wxPoint * resultptr;
25960 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25962 }
25963 return resultobj;
25964 fail:
25965 return NULL;
25966}
25967
25968
c32bde28 25969static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25970 PyObject *resultobj;
25971 wxWindow *arg1 = (wxWindow *) 0 ;
25972 wxSize *arg2 = 0 ;
25973 wxSize result;
25974 wxSize temp2 ;
25975 PyObject * obj0 = 0 ;
25976 PyObject * obj1 = 0 ;
25977 char *kwnames[] = {
25978 (char *) "self",(char *) "sz", NULL
25979 };
25980
25981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25984 {
25985 arg2 = &temp2;
25986 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25987 }
25988 {
25989 PyThreadState* __tstate = wxPyBeginAllowThreads();
25990 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25991
25992 wxPyEndAllowThreads(__tstate);
25993 if (PyErr_Occurred()) SWIG_fail;
25994 }
25995 {
25996 wxSize * resultptr;
25997 resultptr = new wxSize((wxSize &) result);
15afbcd0 25998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25999 }
26000 return resultobj;
26001 fail:
26002 return NULL;
26003}
26004
26005
c32bde28 26006static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26007 PyObject *resultobj;
26008 wxWindow *arg1 = (wxWindow *) 0 ;
26009 wxPoint *arg2 = 0 ;
26010 wxPoint result;
26011 wxPoint temp2 ;
26012 PyObject * obj0 = 0 ;
26013 PyObject * obj1 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "self",(char *) "pt", NULL
26016 };
26017
26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26021 {
26022 arg2 = &temp2;
26023 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26024 }
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
26028
26029 wxPyEndAllowThreads(__tstate);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 {
26033 wxPoint * resultptr;
26034 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26036 }
26037 return resultobj;
26038 fail:
26039 return NULL;
26040}
26041
26042
c32bde28 26043static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26044 PyObject *resultobj;
26045 wxWindow *arg1 = (wxWindow *) 0 ;
26046 wxSize *arg2 = 0 ;
26047 wxSize result;
26048 wxSize temp2 ;
26049 PyObject * obj0 = 0 ;
26050 PyObject * obj1 = 0 ;
26051 char *kwnames[] = {
26052 (char *) "self",(char *) "sz", NULL
26053 };
26054
26055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26058 {
26059 arg2 = &temp2;
26060 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26061 }
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
26065
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 {
26070 wxSize * resultptr;
26071 resultptr = new wxSize((wxSize &) result);
15afbcd0 26072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
26073 }
26074 return resultobj;
26075 fail:
26076 return NULL;
26077}
26078
26079
c32bde28 26080static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26081 PyObject *resultobj;
26082 wxWindow *arg1 = (wxWindow *) 0 ;
26083 wxPoint *arg2 = 0 ;
26084 wxPoint result;
26085 wxPoint temp2 ;
26086 PyObject * obj0 = 0 ;
26087 PyObject * obj1 = 0 ;
26088 char *kwnames[] = {
26089 (char *) "self",(char *) "pt", NULL
26090 };
26091
26092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26095 {
26096 arg2 = &temp2;
26097 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26098 }
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
26102
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
26106 {
26107 wxPoint * resultptr;
26108 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26110 }
26111 return resultobj;
26112 fail:
26113 return NULL;
26114}
26115
26116
c32bde28 26117static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26118 PyObject *resultobj;
26119 wxWindow *arg1 = (wxWindow *) 0 ;
26120 wxSize *arg2 = 0 ;
26121 wxSize result;
26122 wxSize temp2 ;
26123 PyObject * obj0 = 0 ;
26124 PyObject * obj1 = 0 ;
26125 char *kwnames[] = {
26126 (char *) "self",(char *) "sz", NULL
26127 };
26128
26129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26132 {
26133 arg2 = &temp2;
26134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26135 }
26136 {
26137 PyThreadState* __tstate = wxPyBeginAllowThreads();
26138 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
26139
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 {
26144 wxSize * resultptr;
26145 resultptr = new wxSize((wxSize &) result);
15afbcd0 26146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
26147 }
26148 return resultobj;
26149 fail:
26150 return NULL;
26151}
26152
26153
c32bde28 26154static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26155 PyObject *resultobj;
26156 wxWindow *arg1 = (wxWindow *) 0 ;
26157 int arg2 ;
26158 int arg3 ;
26159 PyObject * obj0 = 0 ;
994141e6
RD
26160 PyObject * obj1 = 0 ;
26161 PyObject * obj2 = 0 ;
d14a1e28
RD
26162 char *kwnames[] = {
26163 (char *) "self",(char *) "x",(char *) "y", NULL
26164 };
26165
994141e6 26166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26169 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26170 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26171 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26172 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26173 {
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 (arg1)->WarpPointer(arg2,arg3);
26176
26177 wxPyEndAllowThreads(__tstate);
26178 if (PyErr_Occurred()) SWIG_fail;
26179 }
26180 Py_INCREF(Py_None); resultobj = Py_None;
26181 return resultobj;
26182 fail:
26183 return NULL;
26184}
26185
26186
c32bde28 26187static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26188 PyObject *resultobj;
26189 wxWindow *arg1 = (wxWindow *) 0 ;
26190 PyObject * obj0 = 0 ;
26191 char *kwnames[] = {
26192 (char *) "self", NULL
26193 };
26194
26195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
26196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 (arg1)->CaptureMouse();
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_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26213 PyObject *resultobj;
26214 wxWindow *arg1 = (wxWindow *) 0 ;
26215 PyObject * obj0 = 0 ;
26216 char *kwnames[] = {
26217 (char *) "self", NULL
26218 };
26219
26220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
26221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26223 {
26224 PyThreadState* __tstate = wxPyBeginAllowThreads();
26225 (arg1)->ReleaseMouse();
26226
26227 wxPyEndAllowThreads(__tstate);
26228 if (PyErr_Occurred()) SWIG_fail;
26229 }
26230 Py_INCREF(Py_None); resultobj = Py_None;
26231 return resultobj;
26232 fail:
26233 return NULL;
26234}
26235
26236
c32bde28 26237static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26238 PyObject *resultobj;
26239 wxWindow *result;
26240 char *kwnames[] = {
26241 NULL
26242 };
26243
26244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
26245 {
e3b71cb8 26246 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 result = (wxWindow *)wxWindow::GetCapture();
26249
26250 wxPyEndAllowThreads(__tstate);
110da5b0 26251 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26252 }
26253 {
412d302d 26254 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26255 }
26256 return resultobj;
26257 fail:
26258 return NULL;
26259}
26260
26261
c32bde28 26262static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26263 PyObject *resultobj;
26264 wxWindow *arg1 = (wxWindow *) 0 ;
26265 bool result;
26266 PyObject * obj0 = 0 ;
26267 char *kwnames[] = {
26268 (char *) "self", NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
26272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26274 {
26275 PyThreadState* __tstate = wxPyBeginAllowThreads();
26276 result = (bool)((wxWindow const *)arg1)->HasCapture();
26277
26278 wxPyEndAllowThreads(__tstate);
26279 if (PyErr_Occurred()) SWIG_fail;
26280 }
4f89f6a3
RD
26281 {
26282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26283 }
d14a1e28
RD
26284 return resultobj;
26285 fail:
26286 return NULL;
26287}
26288
26289
c32bde28 26290static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26291 PyObject *resultobj;
26292 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 26293 bool arg2 = (bool) true ;
d14a1e28
RD
26294 wxRect *arg3 = (wxRect *) NULL ;
26295 PyObject * obj0 = 0 ;
26296 PyObject * obj1 = 0 ;
26297 PyObject * obj2 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26300 };
26301
26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26305 if (obj1) {
c32bde28 26306 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 26307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26308 }
26309 if (obj2) {
15afbcd0
RD
26310 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26312 }
26313 {
26314 PyThreadState* __tstate = wxPyBeginAllowThreads();
26315 (arg1)->Refresh(arg2,(wxRect const *)arg3);
26316
26317 wxPyEndAllowThreads(__tstate);
26318 if (PyErr_Occurred()) SWIG_fail;
26319 }
26320 Py_INCREF(Py_None); resultobj = Py_None;
26321 return resultobj;
26322 fail:
26323 return NULL;
26324}
26325
26326
c32bde28 26327static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26328 PyObject *resultobj;
26329 wxWindow *arg1 = (wxWindow *) 0 ;
26330 wxRect *arg2 = 0 ;
26331 wxRect temp2 ;
26332 PyObject * obj0 = 0 ;
26333 PyObject * obj1 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "rect", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26341 {
26342 arg2 = &temp2;
26343 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26344 }
26345 {
26346 PyThreadState* __tstate = wxPyBeginAllowThreads();
26347 (arg1)->RefreshRect((wxRect const &)*arg2);
26348
26349 wxPyEndAllowThreads(__tstate);
26350 if (PyErr_Occurred()) SWIG_fail;
26351 }
26352 Py_INCREF(Py_None); resultobj = Py_None;
26353 return resultobj;
26354 fail:
26355 return NULL;
26356}
26357
26358
c32bde28 26359static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26360 PyObject *resultobj;
26361 wxWindow *arg1 = (wxWindow *) 0 ;
26362 PyObject * obj0 = 0 ;
26363 char *kwnames[] = {
26364 (char *) "self", NULL
26365 };
26366
26367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
26368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26370 {
26371 PyThreadState* __tstate = wxPyBeginAllowThreads();
26372 (arg1)->Update();
26373
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 Py_INCREF(Py_None); resultobj = Py_None;
26378 return resultobj;
26379 fail:
26380 return NULL;
26381}
26382
26383
c32bde28 26384static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26385 PyObject *resultobj;
26386 wxWindow *arg1 = (wxWindow *) 0 ;
26387 PyObject * obj0 = 0 ;
26388 char *kwnames[] = {
26389 (char *) "self", NULL
26390 };
26391
26392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
26393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 (arg1)->ClearBackground();
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 Py_INCREF(Py_None); resultobj = Py_None;
26403 return resultobj;
26404 fail:
26405 return NULL;
26406}
26407
26408
c32bde28 26409static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26410 PyObject *resultobj;
26411 wxWindow *arg1 = (wxWindow *) 0 ;
26412 PyObject * obj0 = 0 ;
26413 char *kwnames[] = {
26414 (char *) "self", NULL
26415 };
26416
26417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
26418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 (arg1)->Freeze();
26423
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 Py_INCREF(Py_None); resultobj = Py_None;
26428 return resultobj;
26429 fail:
26430 return NULL;
26431}
26432
26433
c32bde28 26434static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26435 PyObject *resultobj;
26436 wxWindow *arg1 = (wxWindow *) 0 ;
26437 PyObject * obj0 = 0 ;
26438 char *kwnames[] = {
26439 (char *) "self", NULL
26440 };
26441
26442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
26443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26445 {
26446 PyThreadState* __tstate = wxPyBeginAllowThreads();
26447 (arg1)->Thaw();
26448
26449 wxPyEndAllowThreads(__tstate);
26450 if (PyErr_Occurred()) SWIG_fail;
26451 }
26452 Py_INCREF(Py_None); resultobj = Py_None;
26453 return resultobj;
26454 fail:
26455 return NULL;
26456}
26457
26458
c32bde28 26459static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26460 PyObject *resultobj;
26461 wxWindow *arg1 = (wxWindow *) 0 ;
26462 wxDC *arg2 = 0 ;
26463 PyObject * obj0 = 0 ;
26464 PyObject * obj1 = 0 ;
26465 char *kwnames[] = {
26466 (char *) "self",(char *) "dc", NULL
26467 };
26468
26469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26473 SWIG_POINTER_EXCEPTION | 0)) == -1)
26474 SWIG_fail;
d14a1e28 26475 if (arg2 == NULL) {
15afbcd0
RD
26476 PyErr_SetString(PyExc_TypeError,"null reference");
26477 SWIG_fail;
d14a1e28
RD
26478 }
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 (arg1)->PrepareDC(*arg2);
26482
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
26486 Py_INCREF(Py_None); resultobj = Py_None;
26487 return resultobj;
26488 fail:
26489 return NULL;
26490}
26491
26492
c32bde28 26493static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26494 PyObject *resultobj;
26495 wxWindow *arg1 = (wxWindow *) 0 ;
26496 wxRegion *result;
26497 PyObject * obj0 = 0 ;
26498 char *kwnames[] = {
26499 (char *) "self", NULL
26500 };
26501
26502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
26503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 {
26508 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
26509 result = (wxRegion *) &_result_ref;
26510 }
26511
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
15afbcd0 26515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
26516 return resultobj;
26517 fail:
26518 return NULL;
26519}
26520
26521
c32bde28 26522static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26523 PyObject *resultobj;
26524 wxWindow *arg1 = (wxWindow *) 0 ;
26525 wxRect result;
26526 PyObject * obj0 = 0 ;
26527 char *kwnames[] = {
26528 (char *) "self", NULL
26529 };
26530
26531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
26532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
26537
26538 wxPyEndAllowThreads(__tstate);
26539 if (PyErr_Occurred()) SWIG_fail;
26540 }
26541 {
26542 wxRect * resultptr;
26543 resultptr = new wxRect((wxRect &) result);
15afbcd0 26544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
26545 }
26546 return resultobj;
26547 fail:
26548 return NULL;
26549}
26550
26551
c32bde28 26552static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26553 PyObject *resultobj;
26554 wxWindow *arg1 = (wxWindow *) 0 ;
26555 int arg2 ;
26556 int arg3 ;
26557 int arg4 = (int) 1 ;
26558 int arg5 = (int) 1 ;
26559 bool result;
26560 PyObject * obj0 = 0 ;
994141e6
RD
26561 PyObject * obj1 = 0 ;
26562 PyObject * obj2 = 0 ;
26563 PyObject * obj3 = 0 ;
26564 PyObject * obj4 = 0 ;
d14a1e28
RD
26565 char *kwnames[] = {
26566 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26567 };
26568
994141e6 26569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
26570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26572 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26573 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26574 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26575 if (PyErr_Occurred()) SWIG_fail;
994141e6 26576 if (obj3) {
c32bde28 26577 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 26578 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26579 }
26580 if (obj4) {
c32bde28 26581 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 26582 if (PyErr_Occurred()) SWIG_fail;
994141e6 26583 }
d14a1e28
RD
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
26587
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
4f89f6a3
RD
26591 {
26592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26593 }
d14a1e28
RD
26594 return resultobj;
26595 fail:
26596 return NULL;
26597}
26598
26599
c32bde28 26600static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26601 PyObject *resultobj;
26602 wxWindow *arg1 = (wxWindow *) 0 ;
26603 wxPoint *arg2 = 0 ;
26604 bool result;
26605 wxPoint temp2 ;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char *kwnames[] = {
26609 (char *) "self",(char *) "pt", NULL
26610 };
26611
26612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26615 {
26616 arg2 = &temp2;
26617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26618 }
26619 {
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
26622
26623 wxPyEndAllowThreads(__tstate);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 }
4f89f6a3
RD
26626 {
26627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26628 }
d14a1e28
RD
26629 return resultobj;
26630 fail:
26631 return NULL;
26632}
26633
26634
c32bde28 26635static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26636 PyObject *resultobj;
26637 wxWindow *arg1 = (wxWindow *) 0 ;
26638 wxRect *arg2 = 0 ;
26639 bool result;
26640 wxRect temp2 ;
26641 PyObject * obj0 = 0 ;
26642 PyObject * obj1 = 0 ;
26643 char *kwnames[] = {
26644 (char *) "self",(char *) "rect", NULL
26645 };
26646
4276dc52 26647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26650 {
26651 arg2 = &temp2;
26652 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26653 }
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
26657
26658 wxPyEndAllowThreads(__tstate);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 }
4f89f6a3
RD
26661 {
26662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26663 }
d14a1e28
RD
26664 return resultobj;
26665 fail:
26666 return NULL;
26667}
26668
26669
c32bde28 26670static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
26671 PyObject *resultobj;
26672 wxWindow *arg1 = (wxWindow *) 0 ;
26673 wxVisualAttributes result;
26674 PyObject * obj0 = 0 ;
26675 char *kwnames[] = {
26676 (char *) "self", NULL
26677 };
26678
26679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
26680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26682 {
26683 PyThreadState* __tstate = wxPyBeginAllowThreads();
26684 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
26685
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 {
26690 wxVisualAttributes * resultptr;
26691 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26693 }
26694 return resultobj;
26695 fail:
26696 return NULL;
26697}
26698
26699
c32bde28 26700static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
26701 PyObject *resultobj;
26702 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26703 wxVisualAttributes result;
26704 PyObject * obj0 = 0 ;
26705 char *kwnames[] = {
26706 (char *) "variant", NULL
26707 };
26708
26709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26710 if (obj0) {
c32bde28 26711 arg1 = (int)SWIG_As_int(obj0);
74a57fcd
RD
26712 if (PyErr_Occurred()) SWIG_fail;
26713 }
26714 {
e3b71cb8 26715 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26716 PyThreadState* __tstate = wxPyBeginAllowThreads();
26717 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
26718
26719 wxPyEndAllowThreads(__tstate);
110da5b0 26720 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26721 }
26722 {
26723 wxVisualAttributes * resultptr;
26724 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26726 }
26727 return resultobj;
26728 fail:
26729 return NULL;
26730}
26731
26732
c32bde28 26733static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26734 PyObject *resultobj;
26735 wxWindow *arg1 = (wxWindow *) 0 ;
26736 wxColour *arg2 = 0 ;
26737 bool result;
26738 wxColour temp2 ;
26739 PyObject * obj0 = 0 ;
26740 PyObject * obj1 = 0 ;
26741 char *kwnames[] = {
26742 (char *) "self",(char *) "colour", NULL
26743 };
26744
26745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26748 {
26749 arg2 = &temp2;
26750 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26751 }
26752 {
26753 PyThreadState* __tstate = wxPyBeginAllowThreads();
26754 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
26755
26756 wxPyEndAllowThreads(__tstate);
26757 if (PyErr_Occurred()) SWIG_fail;
26758 }
4f89f6a3
RD
26759 {
26760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26761 }
d14a1e28
RD
26762 return resultobj;
26763 fail:
26764 return NULL;
26765}
26766
26767
c32bde28 26768static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26769 PyObject *resultobj;
26770 wxWindow *arg1 = (wxWindow *) 0 ;
26771 wxColour *arg2 = 0 ;
26772 wxColour temp2 ;
26773 PyObject * obj0 = 0 ;
26774 PyObject * obj1 = 0 ;
26775 char *kwnames[] = {
26776 (char *) "self",(char *) "colour", NULL
26777 };
26778
412d302d 26779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26782 {
26783 arg2 = &temp2;
26784 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26785 }
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 26788 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
b2df227b
RD
26789
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 Py_INCREF(Py_None); resultobj = Py_None;
26794 return resultobj;
26795 fail:
26796 return NULL;
26797}
26798
26799
c32bde28 26800static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26801 PyObject *resultobj;
26802 wxWindow *arg1 = (wxWindow *) 0 ;
26803 wxColour *arg2 = 0 ;
26804 bool result;
26805 wxColour temp2 ;
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self",(char *) "colour", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26815 {
26816 arg2 = &temp2;
26817 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26818 }
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26822
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
4f89f6a3
RD
26826 {
26827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26828 }
d14a1e28
RD
26829 return resultobj;
26830 fail:
26831 return NULL;
26832}
26833
26834
c32bde28 26835static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26836 PyObject *resultobj;
26837 wxWindow *arg1 = (wxWindow *) 0 ;
26838 wxColour *arg2 = 0 ;
26839 wxColour temp2 ;
26840 PyObject * obj0 = 0 ;
26841 PyObject * obj1 = 0 ;
26842 char *kwnames[] = {
26843 (char *) "self",(char *) "colour", NULL
26844 };
26845
fa47d7a7 26846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26849 {
26850 arg2 = &temp2;
26851 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26852 }
26853 {
26854 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26855 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
b2df227b
RD
26856
26857 wxPyEndAllowThreads(__tstate);
26858 if (PyErr_Occurred()) SWIG_fail;
26859 }
26860 Py_INCREF(Py_None); resultobj = Py_None;
26861 return resultobj;
26862 fail:
26863 return NULL;
26864}
26865
26866
c32bde28 26867static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26868 PyObject *resultobj;
26869 wxWindow *arg1 = (wxWindow *) 0 ;
26870 wxColour result;
26871 PyObject * obj0 = 0 ;
26872 char *kwnames[] = {
26873 (char *) "self", NULL
26874 };
26875
26876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26879 {
26880 PyThreadState* __tstate = wxPyBeginAllowThreads();
26881 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26882
26883 wxPyEndAllowThreads(__tstate);
26884 if (PyErr_Occurred()) SWIG_fail;
26885 }
26886 {
26887 wxColour * resultptr;
26888 resultptr = new wxColour((wxColour &) result);
15afbcd0 26889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26890 }
26891 return resultobj;
26892 fail:
26893 return NULL;
26894}
26895
26896
c32bde28 26897static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26898 PyObject *resultobj;
26899 wxWindow *arg1 = (wxWindow *) 0 ;
26900 wxColour result;
26901 PyObject * obj0 = 0 ;
26902 char *kwnames[] = {
26903 (char *) "self", NULL
26904 };
26905
26906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
26911 result = ((wxWindow const *)arg1)->GetForegroundColour();
26912
26913 wxPyEndAllowThreads(__tstate);
26914 if (PyErr_Occurred()) SWIG_fail;
26915 }
26916 {
26917 wxColour * resultptr;
26918 resultptr = new wxColour((wxColour &) result);
15afbcd0 26919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26920 }
26921 return resultobj;
26922 fail:
26923 return NULL;
26924}
26925
26926
c32bde28 26927static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7bc1e663
RD
26928 PyObject *resultobj;
26929 wxWindow *arg1 = (wxWindow *) 0 ;
26930 int arg2 ;
26931 bool result;
26932 PyObject * obj0 = 0 ;
26933 PyObject * obj1 = 0 ;
26934 char *kwnames[] = {
26935 (char *) "self",(char *) "style", NULL
26936 };
26937
26938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail;
26939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26941 arg2 = (int)SWIG_As_int(obj1);
7bc1e663
RD
26942 if (PyErr_Occurred()) SWIG_fail;
26943 {
26944 PyThreadState* __tstate = wxPyBeginAllowThreads();
26945 result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2);
26946
26947 wxPyEndAllowThreads(__tstate);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 {
26951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26952 }
26953 return resultobj;
26954 fail:
26955 return NULL;
26956}
26957
26958
c32bde28 26959static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7bc1e663
RD
26960 PyObject *resultobj;
26961 wxWindow *arg1 = (wxWindow *) 0 ;
26962 int result;
26963 PyObject * obj0 = 0 ;
26964 char *kwnames[] = {
26965 (char *) "self", NULL
26966 };
26967
26968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundStyle",kwnames,&obj0)) goto fail;
26969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26971 {
26972 PyThreadState* __tstate = wxPyBeginAllowThreads();
26973 result = (int)((wxWindow const *)arg1)->GetBackgroundStyle();
26974
26975 wxPyEndAllowThreads(__tstate);
26976 if (PyErr_Occurred()) SWIG_fail;
26977 }
c32bde28 26978 resultobj = SWIG_From_int((int)result);
7bc1e663
RD
26979 return resultobj;
26980 fail:
26981 return NULL;
26982}
26983
26984
c32bde28 26985static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26986 PyObject *resultobj;
26987 wxWindow *arg1 = (wxWindow *) 0 ;
26988 wxCursor *arg2 = 0 ;
26989 bool result;
26990 PyObject * obj0 = 0 ;
26991 PyObject * obj1 = 0 ;
26992 char *kwnames[] = {
26993 (char *) "self",(char *) "cursor", NULL
26994 };
26995
26996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
27000 SWIG_POINTER_EXCEPTION | 0)) == -1)
27001 SWIG_fail;
d14a1e28 27002 if (arg2 == NULL) {
15afbcd0
RD
27003 PyErr_SetString(PyExc_TypeError,"null reference");
27004 SWIG_fail;
d14a1e28
RD
27005 }
27006 {
27007 PyThreadState* __tstate = wxPyBeginAllowThreads();
27008 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
27009
27010 wxPyEndAllowThreads(__tstate);
27011 if (PyErr_Occurred()) SWIG_fail;
27012 }
4f89f6a3
RD
27013 {
27014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27015 }
d14a1e28
RD
27016 return resultobj;
27017 fail:
27018 return NULL;
27019}
27020
27021
c32bde28 27022static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27023 PyObject *resultobj;
27024 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 27025 wxCursor result;
d14a1e28
RD
27026 PyObject * obj0 = 0 ;
27027 char *kwnames[] = {
27028 (char *) "self", NULL
27029 };
27030
27031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
27032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 27036 result = (arg1)->GetCursor();
d14a1e28
RD
27037
27038 wxPyEndAllowThreads(__tstate);
27039 if (PyErr_Occurred()) SWIG_fail;
27040 }
4276dc52 27041 {
dfbb5885
RD
27042 wxCursor * resultptr;
27043 resultptr = new wxCursor((wxCursor &) result);
27044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4276dc52 27045 }
d14a1e28
RD
27046 return resultobj;
27047 fail:
27048 return NULL;
27049}
27050
27051
c32bde28 27052static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27053 PyObject *resultobj;
27054 wxWindow *arg1 = (wxWindow *) 0 ;
27055 wxFont *arg2 = 0 ;
27056 bool result;
27057 PyObject * obj0 = 0 ;
27058 PyObject * obj1 = 0 ;
27059 char *kwnames[] = {
27060 (char *) "self",(char *) "font", NULL
27061 };
27062
27063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
27067 SWIG_POINTER_EXCEPTION | 0)) == -1)
27068 SWIG_fail;
d14a1e28 27069 if (arg2 == NULL) {
15afbcd0
RD
27070 PyErr_SetString(PyExc_TypeError,"null reference");
27071 SWIG_fail;
d14a1e28
RD
27072 }
27073 {
27074 PyThreadState* __tstate = wxPyBeginAllowThreads();
27075 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
27076
27077 wxPyEndAllowThreads(__tstate);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 }
4f89f6a3
RD
27080 {
27081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27082 }
d14a1e28
RD
27083 return resultobj;
27084 fail:
27085 return NULL;
27086}
27087
27088
c32bde28 27089static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
27090 PyObject *resultobj;
27091 wxWindow *arg1 = (wxWindow *) 0 ;
27092 wxFont *arg2 = 0 ;
27093 PyObject * obj0 = 0 ;
27094 PyObject * obj1 = 0 ;
27095 char *kwnames[] = {
27096 (char *) "self",(char *) "font", NULL
27097 };
27098
fa47d7a7 27099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
27100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
27103 SWIG_POINTER_EXCEPTION | 0)) == -1)
27104 SWIG_fail;
27105 if (arg2 == NULL) {
27106 PyErr_SetString(PyExc_TypeError,"null reference");
27107 SWIG_fail;
27108 }
27109 {
27110 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 27111 (arg1)->SetOwnFont((wxFont const &)*arg2);
b2df227b
RD
27112
27113 wxPyEndAllowThreads(__tstate);
27114 if (PyErr_Occurred()) SWIG_fail;
27115 }
27116 Py_INCREF(Py_None); resultobj = Py_None;
27117 return resultobj;
27118 fail:
27119 return NULL;
27120}
27121
27122
c32bde28 27123static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27124 PyObject *resultobj;
27125 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 27126 wxFont result;
d14a1e28
RD
27127 PyObject * obj0 = 0 ;
27128 char *kwnames[] = {
27129 (char *) "self", NULL
27130 };
27131
27132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
27133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27135 {
27136 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 27137 result = (arg1)->GetFont();
d14a1e28
RD
27138
27139 wxPyEndAllowThreads(__tstate);
27140 if (PyErr_Occurred()) SWIG_fail;
27141 }
4276dc52 27142 {
dfbb5885
RD
27143 wxFont * resultptr;
27144 resultptr = new wxFont((wxFont &) result);
27145 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4276dc52 27146 }
d14a1e28
RD
27147 return resultobj;
27148 fail:
27149 return NULL;
27150}
27151
27152
c32bde28 27153static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27154 PyObject *resultobj;
27155 wxWindow *arg1 = (wxWindow *) 0 ;
27156 wxCaret *arg2 = (wxCaret *) 0 ;
27157 PyObject * obj0 = 0 ;
27158 PyObject * obj1 = 0 ;
27159 char *kwnames[] = {
27160 (char *) "self",(char *) "caret", NULL
27161 };
27162
27163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
27167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27168 {
27169 PyThreadState* __tstate = wxPyBeginAllowThreads();
27170 (arg1)->SetCaret(arg2);
27171
27172 wxPyEndAllowThreads(__tstate);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 }
27175 Py_INCREF(Py_None); resultobj = Py_None;
27176 return resultobj;
27177 fail:
27178 return NULL;
27179}
27180
27181
c32bde28 27182static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27183 PyObject *resultobj;
27184 wxWindow *arg1 = (wxWindow *) 0 ;
27185 wxCaret *result;
27186 PyObject * obj0 = 0 ;
27187 char *kwnames[] = {
27188 (char *) "self", NULL
27189 };
27190
27191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
27192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27194 {
27195 PyThreadState* __tstate = wxPyBeginAllowThreads();
27196 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
27197
27198 wxPyEndAllowThreads(__tstate);
27199 if (PyErr_Occurred()) SWIG_fail;
27200 }
15afbcd0 27201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
27202 return resultobj;
27203 fail:
27204 return NULL;
27205}
27206
27207
c32bde28 27208static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27209 PyObject *resultobj;
27210 wxWindow *arg1 = (wxWindow *) 0 ;
27211 int result;
27212 PyObject * obj0 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "self", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
27218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 result = (int)((wxWindow const *)arg1)->GetCharHeight();
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
c32bde28 27227 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27228 return resultobj;
27229 fail:
27230 return NULL;
27231}
27232
27233
c32bde28 27234static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27235 PyObject *resultobj;
27236 wxWindow *arg1 = (wxWindow *) 0 ;
27237 int result;
27238 PyObject * obj0 = 0 ;
27239 char *kwnames[] = {
27240 (char *) "self", NULL
27241 };
27242
27243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
27244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 result = (int)((wxWindow const *)arg1)->GetCharWidth();
27249
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
c32bde28 27253 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27254 return resultobj;
27255 fail:
27256 return NULL;
27257}
27258
27259
c32bde28 27260static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27261 PyObject *resultobj;
27262 wxWindow *arg1 = (wxWindow *) 0 ;
27263 wxString *arg2 = 0 ;
27264 int *arg3 = (int *) 0 ;
27265 int *arg4 = (int *) 0 ;
ae8162c8 27266 bool temp2 = false ;
d14a1e28 27267 int temp3 ;
c32bde28 27268 int res3 = 0 ;
d14a1e28 27269 int temp4 ;
c32bde28 27270 int res4 = 0 ;
d14a1e28
RD
27271 PyObject * obj0 = 0 ;
27272 PyObject * obj1 = 0 ;
27273 char *kwnames[] = {
27274 (char *) "self",(char *) "string", NULL
27275 };
27276
c32bde28
RD
27277 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27278 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 27279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27282 {
27283 arg2 = wxString_in_helper(obj1);
27284 if (arg2 == NULL) SWIG_fail;
ae8162c8 27285 temp2 = true;
d14a1e28
RD
27286 }
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27295 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27296 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27297 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
27298 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27299 {
27300 if (temp2)
27301 delete arg2;
27302 }
27303 return resultobj;
27304 fail:
27305 {
27306 if (temp2)
27307 delete arg2;
27308 }
27309 return NULL;
27310}
27311
27312
c32bde28 27313static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27314 PyObject *resultobj;
27315 wxWindow *arg1 = (wxWindow *) 0 ;
27316 wxString *arg2 = 0 ;
27317 int *arg3 = (int *) 0 ;
27318 int *arg4 = (int *) 0 ;
27319 int *arg5 = (int *) 0 ;
27320 int *arg6 = (int *) 0 ;
27321 wxFont *arg7 = (wxFont *) NULL ;
ae8162c8 27322 bool temp2 = false ;
d14a1e28 27323 int temp3 ;
c32bde28 27324 int res3 = 0 ;
d14a1e28 27325 int temp4 ;
c32bde28 27326 int res4 = 0 ;
d14a1e28 27327 int temp5 ;
c32bde28 27328 int res5 = 0 ;
d14a1e28 27329 int temp6 ;
c32bde28 27330 int res6 = 0 ;
d14a1e28
RD
27331 PyObject * obj0 = 0 ;
27332 PyObject * obj1 = 0 ;
27333 PyObject * obj2 = 0 ;
27334 char *kwnames[] = {
27335 (char *) "self",(char *) "string",(char *) "font", NULL
27336 };
27337
c32bde28
RD
27338 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27339 arg4 = &temp4; res4 = SWIG_NEWOBJ;
27340 arg5 = &temp5; res5 = SWIG_NEWOBJ;
27341 arg6 = &temp6; res6 = SWIG_NEWOBJ;
d14a1e28 27342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27345 {
27346 arg2 = wxString_in_helper(obj1);
27347 if (arg2 == NULL) SWIG_fail;
ae8162c8 27348 temp2 = true;
d14a1e28
RD
27349 }
27350 if (obj2) {
15afbcd0
RD
27351 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
27352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27353 }
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27362 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27363 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27364 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
27365 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
27366 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
27367 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
27368 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
27369 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27370 {
27371 if (temp2)
27372 delete arg2;
27373 }
27374 return resultobj;
27375 fail:
27376 {
27377 if (temp2)
27378 delete arg2;
27379 }
27380 return NULL;
27381}
27382
27383
c32bde28 27384static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27385 PyObject *resultobj;
27386 wxWindow *arg1 = (wxWindow *) 0 ;
27387 int *arg2 = (int *) 0 ;
27388 int *arg3 = (int *) 0 ;
27389 int temp2 ;
c32bde28 27390 int res2 = 0 ;
d14a1e28 27391 int temp3 ;
c32bde28 27392 int res3 = 0 ;
d14a1e28
RD
27393 PyObject * obj0 = 0 ;
27394 PyObject * obj1 = 0 ;
27395 PyObject * obj2 = 0 ;
27396 char *kwnames[] = {
27397 (char *) "self",(char *) "x",(char *) "y", NULL
27398 };
27399
27400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27403 {
c32bde28
RD
27404 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
27405 temp2 = SWIG_As_int(obj1);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 arg2 = &temp2;
27408 res2 = SWIG_NEWOBJ;
27409 }
d14a1e28
RD
27410 }
27411 {
c32bde28
RD
27412 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
27413 temp3 = SWIG_As_int(obj2);
27414 if (PyErr_Occurred()) SWIG_fail;
27415 arg3 = &temp3;
27416 res3 = SWIG_NEWOBJ;
27417 }
d14a1e28
RD
27418 }
27419 {
27420 PyThreadState* __tstate = wxPyBeginAllowThreads();
27421 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
27422
27423 wxPyEndAllowThreads(__tstate);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27427 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27428 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27429 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27430 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27431 return resultobj;
27432 fail:
27433 return NULL;
27434}
27435
27436
c32bde28 27437static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27438 PyObject *resultobj;
27439 wxWindow *arg1 = (wxWindow *) 0 ;
27440 int *arg2 = (int *) 0 ;
27441 int *arg3 = (int *) 0 ;
27442 int temp2 ;
c32bde28 27443 int res2 = 0 ;
d14a1e28 27444 int temp3 ;
c32bde28 27445 int res3 = 0 ;
d14a1e28
RD
27446 PyObject * obj0 = 0 ;
27447 PyObject * obj1 = 0 ;
27448 PyObject * obj2 = 0 ;
27449 char *kwnames[] = {
27450 (char *) "self",(char *) "x",(char *) "y", NULL
27451 };
27452
27453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27456 {
c32bde28
RD
27457 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
27458 temp2 = SWIG_As_int(obj1);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 arg2 = &temp2;
27461 res2 = SWIG_NEWOBJ;
27462 }
d14a1e28
RD
27463 }
27464 {
c32bde28
RD
27465 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
27466 temp3 = SWIG_As_int(obj2);
27467 if (PyErr_Occurred()) SWIG_fail;
27468 arg3 = &temp3;
27469 res3 = SWIG_NEWOBJ;
27470 }
d14a1e28
RD
27471 }
27472 {
27473 PyThreadState* __tstate = wxPyBeginAllowThreads();
27474 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
27475
27476 wxPyEndAllowThreads(__tstate);
27477 if (PyErr_Occurred()) SWIG_fail;
27478 }
27479 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27480 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27481 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27482 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27483 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27484 return resultobj;
27485 fail:
27486 return NULL;
27487}
27488
27489
c32bde28 27490static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27491 PyObject *resultobj;
27492 wxWindow *arg1 = (wxWindow *) 0 ;
27493 wxPoint *arg2 = 0 ;
27494 wxPoint result;
27495 wxPoint temp2 ;
27496 PyObject * obj0 = 0 ;
27497 PyObject * obj1 = 0 ;
27498 char *kwnames[] = {
27499 (char *) "self",(char *) "pt", NULL
27500 };
27501
27502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27505 {
27506 arg2 = &temp2;
27507 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27508 }
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
27512
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 {
27517 wxPoint * resultptr;
27518 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 27519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27520 }
27521 return resultobj;
27522 fail:
27523 return NULL;
27524}
27525
27526
c32bde28 27527static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27528 PyObject *resultobj;
27529 wxWindow *arg1 = (wxWindow *) 0 ;
27530 wxPoint *arg2 = 0 ;
27531 wxPoint result;
27532 wxPoint temp2 ;
27533 PyObject * obj0 = 0 ;
27534 PyObject * obj1 = 0 ;
27535 char *kwnames[] = {
27536 (char *) "self",(char *) "pt", NULL
27537 };
27538
27539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27542 {
27543 arg2 = &temp2;
27544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27545 }
27546 {
27547 PyThreadState* __tstate = wxPyBeginAllowThreads();
27548 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
27549
27550 wxPyEndAllowThreads(__tstate);
27551 if (PyErr_Occurred()) SWIG_fail;
27552 }
27553 {
27554 wxPoint * resultptr;
27555 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 27556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27557 }
27558 return resultobj;
27559 fail:
27560 return NULL;
27561}
27562
27563
c32bde28 27564static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27565 PyObject *resultobj;
27566 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
27567 int arg2 ;
27568 int arg3 ;
d14a1e28
RD
27569 int result;
27570 PyObject * obj0 = 0 ;
994141e6
RD
27571 PyObject * obj1 = 0 ;
27572 PyObject * obj2 = 0 ;
d14a1e28
RD
27573 char *kwnames[] = {
27574 (char *) "self",(char *) "x",(char *) "y", NULL
27575 };
27576
994141e6 27577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27580 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27581 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27582 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
27587
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
c32bde28 27591 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27592 return resultobj;
27593 fail:
27594 return NULL;
27595}
27596
27597
c32bde28 27598static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27599 PyObject *resultobj;
27600 wxWindow *arg1 = (wxWindow *) 0 ;
27601 wxPoint *arg2 = 0 ;
27602 int result;
27603 wxPoint temp2 ;
27604 PyObject * obj0 = 0 ;
27605 PyObject * obj1 = 0 ;
27606 char *kwnames[] = {
27607 (char *) "self",(char *) "pt", NULL
27608 };
27609
27610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27613 {
27614 arg2 = &temp2;
27615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27616 }
27617 {
27618 PyThreadState* __tstate = wxPyBeginAllowThreads();
27619 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
27620
27621 wxPyEndAllowThreads(__tstate);
27622 if (PyErr_Occurred()) SWIG_fail;
27623 }
c32bde28 27624 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27625 return resultobj;
27626 fail:
27627 return NULL;
27628}
27629
27630
c32bde28 27631static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
27632 PyObject *resultobj;
27633 wxWindow *arg1 = (wxWindow *) 0 ;
27634 long arg2 ;
27635 int result;
27636 PyObject * obj0 = 0 ;
994141e6 27637 PyObject * obj1 = 0 ;
d14a1e28 27638
15afbcd0
RD
27639 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
27640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27642 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 27643 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27644 {
27645 PyThreadState* __tstate = wxPyBeginAllowThreads();
27646 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
27647
27648 wxPyEndAllowThreads(__tstate);
27649 if (PyErr_Occurred()) SWIG_fail;
27650 }
c32bde28 27651 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27652 return resultobj;
27653 fail:
27654 return NULL;
27655}
27656
27657
c32bde28 27658static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
27659 PyObject *resultobj;
27660 wxWindow *arg1 = (wxWindow *) 0 ;
27661 int result;
27662 PyObject * obj0 = 0 ;
d14a1e28 27663
15afbcd0
RD
27664 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
27665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27667 {
27668 PyThreadState* __tstate = wxPyBeginAllowThreads();
27669 result = (int)((wxWindow const *)arg1)->GetBorder();
27670
27671 wxPyEndAllowThreads(__tstate);
27672 if (PyErr_Occurred()) SWIG_fail;
27673 }
c32bde28 27674 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27675 return resultobj;
27676 fail:
27677 return NULL;
27678}
27679
27680
15afbcd0
RD
27681static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
27682 int argc;
27683 PyObject *argv[3];
27684 int ii;
27685
27686 argc = PyObject_Length(args);
27687 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27688 argv[ii] = PyTuple_GetItem(args,ii);
27689 }
27690 if (argc == 1) {
27691 int _v;
27692 {
27693 void *ptr;
27694 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27695 _v = 0;
27696 PyErr_Clear();
27697 } else {
27698 _v = 1;
27699 }
27700 }
27701 if (_v) {
27702 return _wrap_Window_GetBorder__SWIG_1(self,args);
27703 }
27704 }
27705 if (argc == 2) {
27706 int _v;
27707 {
27708 void *ptr;
27709 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27710 _v = 0;
27711 PyErr_Clear();
27712 } else {
27713 _v = 1;
27714 }
27715 }
27716 if (_v) {
c32bde28 27717 _v = SWIG_Check_long(argv[1]);
15afbcd0
RD
27718 if (_v) {
27719 return _wrap_Window_GetBorder__SWIG_0(self,args);
27720 }
27721 }
27722 }
27723
27724 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
27725 return NULL;
27726}
27727
27728
c32bde28 27729static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27730 PyObject *resultobj;
27731 wxWindow *arg1 = (wxWindow *) 0 ;
27732 long arg2 = (long) wxUPDATE_UI_NONE ;
27733 PyObject * obj0 = 0 ;
994141e6 27734 PyObject * obj1 = 0 ;
d14a1e28
RD
27735 char *kwnames[] = {
27736 (char *) "self",(char *) "flags", NULL
27737 };
27738
994141e6 27739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27742 if (obj1) {
c32bde28 27743 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 27744 if (PyErr_Occurred()) SWIG_fail;
994141e6 27745 }
d14a1e28
RD
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 (arg1)->UpdateWindowUI(arg2);
27749
27750 wxPyEndAllowThreads(__tstate);
27751 if (PyErr_Occurred()) SWIG_fail;
27752 }
27753 Py_INCREF(Py_None); resultobj = Py_None;
27754 return resultobj;
27755 fail:
27756 return NULL;
27757}
27758
27759
c32bde28 27760static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27761 PyObject *resultobj;
27762 wxWindow *arg1 = (wxWindow *) 0 ;
27763 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27764 int arg3 = (int) -1 ;
27765 int arg4 = (int) -1 ;
d14a1e28
RD
27766 bool result;
27767 PyObject * obj0 = 0 ;
27768 PyObject * obj1 = 0 ;
994141e6
RD
27769 PyObject * obj2 = 0 ;
27770 PyObject * obj3 = 0 ;
d14a1e28
RD
27771 char *kwnames[] = {
27772 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27773 };
27774
b0503257 27775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257 27780 if (obj2) {
c32bde28 27781 arg3 = (int)SWIG_As_int(obj2);
b0503257
RD
27782 if (PyErr_Occurred()) SWIG_fail;
27783 }
27784 if (obj3) {
c32bde28 27785 arg4 = (int)SWIG_As_int(obj3);
b0503257
RD
27786 if (PyErr_Occurred()) SWIG_fail;
27787 }
d14a1e28
RD
27788 {
27789 PyThreadState* __tstate = wxPyBeginAllowThreads();
27790 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
27791
27792 wxPyEndAllowThreads(__tstate);
27793 if (PyErr_Occurred()) SWIG_fail;
27794 }
4f89f6a3
RD
27795 {
27796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27797 }
d14a1e28
RD
27798 return resultobj;
27799 fail:
27800 return NULL;
27801}
27802
27803
c32bde28 27804static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27805 PyObject *resultobj;
27806 wxWindow *arg1 = (wxWindow *) 0 ;
27807 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27808 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27809 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d14a1e28
RD
27810 bool result;
27811 wxPoint temp3 ;
27812 PyObject * obj0 = 0 ;
27813 PyObject * obj1 = 0 ;
27814 PyObject * obj2 = 0 ;
27815 char *kwnames[] = {
27816 (char *) "self",(char *) "menu",(char *) "pos", NULL
27817 };
27818
b0503257 27819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27824 if (obj2) {
27825 {
27826 arg3 = &temp3;
27827 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27828 }
d14a1e28
RD
27829 }
27830 {
27831 PyThreadState* __tstate = wxPyBeginAllowThreads();
27832 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
27833
27834 wxPyEndAllowThreads(__tstate);
27835 if (PyErr_Occurred()) SWIG_fail;
27836 }
4f89f6a3
RD
27837 {
27838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27839 }
d14a1e28
RD
27840 return resultobj;
27841 fail:
27842 return NULL;
27843}
27844
27845
c32bde28 27846static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27847 PyObject *resultobj;
27848 wxWindow *arg1 = (wxWindow *) 0 ;
27849 long result;
27850 PyObject * obj0 = 0 ;
27851 char *kwnames[] = {
27852 (char *) "self", NULL
27853 };
27854
27855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
27856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 result = (long)wxWindow_GetHandle(arg1);
27861
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
c32bde28 27865 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
27866 return resultobj;
27867 fail:
27868 return NULL;
27869}
27870
27871
7e63a440
RD
27872static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
27873 PyObject *resultobj;
27874 wxWindow *arg1 = (wxWindow *) 0 ;
27875 long arg2 ;
27876 PyObject * obj0 = 0 ;
27877 PyObject * obj1 = 0 ;
27878 char *kwnames[] = {
27879 (char *) "self",(char *) "handle", NULL
27880 };
27881
27882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AssociateHandle",kwnames,&obj0,&obj1)) goto fail;
27883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27885 arg2 = (long)SWIG_As_long(obj1);
27886 if (PyErr_Occurred()) SWIG_fail;
27887 {
27888 PyThreadState* __tstate = wxPyBeginAllowThreads();
27889 wxWindow_AssociateHandle(arg1,arg2);
27890
27891 wxPyEndAllowThreads(__tstate);
27892 if (PyErr_Occurred()) SWIG_fail;
27893 }
27894 Py_INCREF(Py_None); resultobj = Py_None;
27895 return resultobj;
27896 fail:
27897 return NULL;
27898}
27899
27900
27901static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
27902 PyObject *resultobj;
27903 wxWindow *arg1 = (wxWindow *) 0 ;
27904 PyObject * obj0 = 0 ;
27905 char *kwnames[] = {
27906 (char *) "self", NULL
27907 };
27908
27909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DissociateHandle",kwnames,&obj0)) goto fail;
27910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27912 {
27913 PyThreadState* __tstate = wxPyBeginAllowThreads();
27914 (arg1)->DissociateHandle();
27915
27916 wxPyEndAllowThreads(__tstate);
27917 if (PyErr_Occurred()) SWIG_fail;
27918 }
27919 Py_INCREF(Py_None); resultobj = Py_None;
27920 return resultobj;
27921 fail:
27922 return NULL;
27923}
27924
27925
c32bde28 27926static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27927 PyObject *resultobj;
27928 wxWindow *arg1 = (wxWindow *) 0 ;
27929 int arg2 ;
27930 bool result;
27931 PyObject * obj0 = 0 ;
994141e6 27932 PyObject * obj1 = 0 ;
d14a1e28
RD
27933 char *kwnames[] = {
27934 (char *) "self",(char *) "orient", NULL
27935 };
27936
994141e6 27937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27940 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27942 {
27943 PyThreadState* __tstate = wxPyBeginAllowThreads();
27944 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27945
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
4f89f6a3
RD
27949 {
27950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27951 }
d14a1e28
RD
27952 return resultobj;
27953 fail:
27954 return NULL;
27955}
27956
27957
c32bde28 27958static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27959 PyObject *resultobj;
27960 wxWindow *arg1 = (wxWindow *) 0 ;
27961 int arg2 ;
27962 int arg3 ;
27963 int arg4 ;
27964 int arg5 ;
ae8162c8 27965 bool arg6 = (bool) true ;
d14a1e28 27966 PyObject * obj0 = 0 ;
994141e6
RD
27967 PyObject * obj1 = 0 ;
27968 PyObject * obj2 = 0 ;
27969 PyObject * obj3 = 0 ;
27970 PyObject * obj4 = 0 ;
d14a1e28
RD
27971 PyObject * obj5 = 0 ;
27972 char *kwnames[] = {
41e2b43e 27973 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
27974 };
27975
994141e6 27976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27979 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27980 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27981 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27982 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27983 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27984 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27985 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 27986 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27987 if (obj5) {
c32bde28 27988 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 27989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27990 }
27991 {
27992 PyThreadState* __tstate = wxPyBeginAllowThreads();
27993 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27994
27995 wxPyEndAllowThreads(__tstate);
27996 if (PyErr_Occurred()) SWIG_fail;
27997 }
27998 Py_INCREF(Py_None); resultobj = Py_None;
27999 return resultobj;
28000 fail:
28001 return NULL;
28002}
28003
28004
c32bde28 28005static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28006 PyObject *resultobj;
28007 wxWindow *arg1 = (wxWindow *) 0 ;
28008 int arg2 ;
28009 int arg3 ;
ae8162c8 28010 bool arg4 = (bool) true ;
d14a1e28 28011 PyObject * obj0 = 0 ;
994141e6
RD
28012 PyObject * obj1 = 0 ;
28013 PyObject * obj2 = 0 ;
d14a1e28
RD
28014 PyObject * obj3 = 0 ;
28015 char *kwnames[] = {
15afbcd0 28016 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
28017 };
28018
994141e6 28019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28022 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28023 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28024 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 28025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28026 if (obj3) {
c32bde28 28027 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 28028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28029 }
28030 {
28031 PyThreadState* __tstate = wxPyBeginAllowThreads();
28032 (arg1)->SetScrollPos(arg2,arg3,arg4);
28033
28034 wxPyEndAllowThreads(__tstate);
28035 if (PyErr_Occurred()) SWIG_fail;
28036 }
28037 Py_INCREF(Py_None); resultobj = Py_None;
28038 return resultobj;
28039 fail:
28040 return NULL;
28041}
28042
28043
c32bde28 28044static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28045 PyObject *resultobj;
28046 wxWindow *arg1 = (wxWindow *) 0 ;
28047 int arg2 ;
28048 int result;
28049 PyObject * obj0 = 0 ;
994141e6 28050 PyObject * obj1 = 0 ;
d14a1e28 28051 char *kwnames[] = {
15afbcd0 28052 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
28053 };
28054
994141e6 28055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28058 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28060 {
28061 PyThreadState* __tstate = wxPyBeginAllowThreads();
28062 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
28063
28064 wxPyEndAllowThreads(__tstate);
28065 if (PyErr_Occurred()) SWIG_fail;
28066 }
c32bde28 28067 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
28068 return resultobj;
28069 fail:
28070 return NULL;
28071}
28072
28073
c32bde28 28074static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28075 PyObject *resultobj;
28076 wxWindow *arg1 = (wxWindow *) 0 ;
28077 int arg2 ;
28078 int result;
28079 PyObject * obj0 = 0 ;
994141e6 28080 PyObject * obj1 = 0 ;
d14a1e28 28081 char *kwnames[] = {
15afbcd0 28082 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
28083 };
28084
994141e6 28085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28088 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
28093
28094 wxPyEndAllowThreads(__tstate);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
c32bde28 28097 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
28098 return resultobj;
28099 fail:
28100 return NULL;
28101}
28102
28103
c32bde28 28104static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28105 PyObject *resultobj;
28106 wxWindow *arg1 = (wxWindow *) 0 ;
28107 int arg2 ;
28108 int result;
28109 PyObject * obj0 = 0 ;
994141e6 28110 PyObject * obj1 = 0 ;
d14a1e28 28111 char *kwnames[] = {
15afbcd0 28112 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
28113 };
28114
994141e6 28115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28118 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28119 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28120 {
28121 PyThreadState* __tstate = wxPyBeginAllowThreads();
28122 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
28123
28124 wxPyEndAllowThreads(__tstate);
28125 if (PyErr_Occurred()) SWIG_fail;
28126 }
c32bde28 28127 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
28128 return resultobj;
28129 fail:
28130 return NULL;
28131}
28132
28133
c32bde28 28134static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28135 PyObject *resultobj;
28136 wxWindow *arg1 = (wxWindow *) 0 ;
28137 int arg2 ;
28138 int arg3 ;
28139 wxRect *arg4 = (wxRect *) NULL ;
28140 PyObject * obj0 = 0 ;
994141e6
RD
28141 PyObject * obj1 = 0 ;
28142 PyObject * obj2 = 0 ;
d14a1e28
RD
28143 PyObject * obj3 = 0 ;
28144 char *kwnames[] = {
28145 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28146 };
28147
994141e6 28148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28151 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28152 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28153 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 28154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28155 if (obj3) {
15afbcd0
RD
28156 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
28157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28158 }
28159 {
28160 PyThreadState* __tstate = wxPyBeginAllowThreads();
28161 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
28162
28163 wxPyEndAllowThreads(__tstate);
28164 if (PyErr_Occurred()) SWIG_fail;
28165 }
28166 Py_INCREF(Py_None); resultobj = Py_None;
28167 return resultobj;
28168 fail:
28169 return NULL;
28170}
28171
28172
c32bde28 28173static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28174 PyObject *resultobj;
28175 wxWindow *arg1 = (wxWindow *) 0 ;
28176 int arg2 ;
28177 bool result;
28178 PyObject * obj0 = 0 ;
994141e6 28179 PyObject * obj1 = 0 ;
d14a1e28
RD
28180 char *kwnames[] = {
28181 (char *) "self",(char *) "lines", NULL
28182 };
28183
994141e6 28184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28187 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28188 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28189 {
28190 PyThreadState* __tstate = wxPyBeginAllowThreads();
28191 result = (bool)(arg1)->ScrollLines(arg2);
28192
28193 wxPyEndAllowThreads(__tstate);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
4f89f6a3
RD
28196 {
28197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28198 }
d14a1e28
RD
28199 return resultobj;
28200 fail:
28201 return NULL;
28202}
28203
28204
c32bde28 28205static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28206 PyObject *resultobj;
28207 wxWindow *arg1 = (wxWindow *) 0 ;
28208 int arg2 ;
28209 bool result;
28210 PyObject * obj0 = 0 ;
994141e6 28211 PyObject * obj1 = 0 ;
d14a1e28
RD
28212 char *kwnames[] = {
28213 (char *) "self",(char *) "pages", NULL
28214 };
28215
994141e6 28216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28219 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28221 {
28222 PyThreadState* __tstate = wxPyBeginAllowThreads();
28223 result = (bool)(arg1)->ScrollPages(arg2);
28224
28225 wxPyEndAllowThreads(__tstate);
28226 if (PyErr_Occurred()) SWIG_fail;
28227 }
4f89f6a3
RD
28228 {
28229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28230 }
d14a1e28
RD
28231 return resultobj;
28232 fail:
28233 return NULL;
28234}
28235
28236
c32bde28 28237static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28238 PyObject *resultobj;
28239 wxWindow *arg1 = (wxWindow *) 0 ;
28240 bool result;
28241 PyObject * obj0 = 0 ;
28242 char *kwnames[] = {
28243 (char *) "self", NULL
28244 };
28245
28246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
28247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28249 {
28250 PyThreadState* __tstate = wxPyBeginAllowThreads();
28251 result = (bool)(arg1)->LineUp();
28252
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
4f89f6a3
RD
28256 {
28257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28258 }
d14a1e28
RD
28259 return resultobj;
28260 fail:
28261 return NULL;
28262}
28263
28264
c32bde28 28265static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28266 PyObject *resultobj;
28267 wxWindow *arg1 = (wxWindow *) 0 ;
28268 bool result;
28269 PyObject * obj0 = 0 ;
28270 char *kwnames[] = {
28271 (char *) "self", NULL
28272 };
28273
28274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
28275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28277 {
28278 PyThreadState* __tstate = wxPyBeginAllowThreads();
28279 result = (bool)(arg1)->LineDown();
28280
28281 wxPyEndAllowThreads(__tstate);
28282 if (PyErr_Occurred()) SWIG_fail;
28283 }
4f89f6a3
RD
28284 {
28285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28286 }
d14a1e28
RD
28287 return resultobj;
28288 fail:
28289 return NULL;
28290}
28291
28292
c32bde28 28293static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28294 PyObject *resultobj;
28295 wxWindow *arg1 = (wxWindow *) 0 ;
28296 bool result;
28297 PyObject * obj0 = 0 ;
28298 char *kwnames[] = {
28299 (char *) "self", NULL
28300 };
28301
28302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
28303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28305 {
28306 PyThreadState* __tstate = wxPyBeginAllowThreads();
28307 result = (bool)(arg1)->PageUp();
28308
28309 wxPyEndAllowThreads(__tstate);
28310 if (PyErr_Occurred()) SWIG_fail;
28311 }
4f89f6a3
RD
28312 {
28313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28314 }
d14a1e28
RD
28315 return resultobj;
28316 fail:
28317 return NULL;
28318}
28319
28320
c32bde28 28321static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28322 PyObject *resultobj;
28323 wxWindow *arg1 = (wxWindow *) 0 ;
28324 bool result;
28325 PyObject * obj0 = 0 ;
28326 char *kwnames[] = {
28327 (char *) "self", NULL
28328 };
28329
28330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
28331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28333 {
28334 PyThreadState* __tstate = wxPyBeginAllowThreads();
28335 result = (bool)(arg1)->PageDown();
28336
28337 wxPyEndAllowThreads(__tstate);
28338 if (PyErr_Occurred()) SWIG_fail;
28339 }
4f89f6a3
RD
28340 {
28341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28342 }
d14a1e28
RD
28343 return resultobj;
28344 fail:
28345 return NULL;
28346}
28347
28348
c32bde28 28349static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28350 PyObject *resultobj;
28351 wxWindow *arg1 = (wxWindow *) 0 ;
28352 wxString *arg2 = 0 ;
ae8162c8 28353 bool temp2 = false ;
d14a1e28
RD
28354 PyObject * obj0 = 0 ;
28355 PyObject * obj1 = 0 ;
28356 char *kwnames[] = {
28357 (char *) "self",(char *) "text", NULL
28358 };
28359
28360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28363 {
28364 arg2 = wxString_in_helper(obj1);
28365 if (arg2 == NULL) SWIG_fail;
ae8162c8 28366 temp2 = true;
d14a1e28
RD
28367 }
28368 {
28369 PyThreadState* __tstate = wxPyBeginAllowThreads();
28370 (arg1)->SetHelpText((wxString const &)*arg2);
28371
28372 wxPyEndAllowThreads(__tstate);
28373 if (PyErr_Occurred()) SWIG_fail;
28374 }
28375 Py_INCREF(Py_None); resultobj = Py_None;
28376 {
28377 if (temp2)
28378 delete arg2;
28379 }
28380 return resultobj;
28381 fail:
28382 {
28383 if (temp2)
28384 delete arg2;
28385 }
28386 return NULL;
28387}
28388
28389
c32bde28 28390static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28391 PyObject *resultobj;
28392 wxWindow *arg1 = (wxWindow *) 0 ;
28393 wxString *arg2 = 0 ;
ae8162c8 28394 bool temp2 = false ;
d14a1e28
RD
28395 PyObject * obj0 = 0 ;
28396 PyObject * obj1 = 0 ;
28397 char *kwnames[] = {
28398 (char *) "self",(char *) "text", NULL
28399 };
28400
28401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28404 {
28405 arg2 = wxString_in_helper(obj1);
28406 if (arg2 == NULL) SWIG_fail;
ae8162c8 28407 temp2 = true;
d14a1e28
RD
28408 }
28409 {
28410 PyThreadState* __tstate = wxPyBeginAllowThreads();
28411 (arg1)->SetHelpTextForId((wxString const &)*arg2);
28412
28413 wxPyEndAllowThreads(__tstate);
28414 if (PyErr_Occurred()) SWIG_fail;
28415 }
28416 Py_INCREF(Py_None); resultobj = Py_None;
28417 {
28418 if (temp2)
28419 delete arg2;
28420 }
28421 return resultobj;
28422 fail:
28423 {
28424 if (temp2)
28425 delete arg2;
28426 }
28427 return NULL;
28428}
28429
28430
c32bde28 28431static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28432 PyObject *resultobj;
28433 wxWindow *arg1 = (wxWindow *) 0 ;
28434 wxString result;
28435 PyObject * obj0 = 0 ;
28436 char *kwnames[] = {
28437 (char *) "self", NULL
28438 };
28439
28440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
28441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
28445 result = ((wxWindow const *)arg1)->GetHelpText();
28446
28447 wxPyEndAllowThreads(__tstate);
28448 if (PyErr_Occurred()) SWIG_fail;
28449 }
28450 {
28451#if wxUSE_UNICODE
28452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28453#else
28454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28455#endif
28456 }
28457 return resultobj;
28458 fail:
28459 return NULL;
28460}
28461
28462
c32bde28 28463static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28464 PyObject *resultobj;
28465 wxWindow *arg1 = (wxWindow *) 0 ;
28466 wxString *arg2 = 0 ;
ae8162c8 28467 bool temp2 = false ;
d14a1e28
RD
28468 PyObject * obj0 = 0 ;
28469 PyObject * obj1 = 0 ;
28470 char *kwnames[] = {
28471 (char *) "self",(char *) "tip", NULL
28472 };
28473
28474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28477 {
28478 arg2 = wxString_in_helper(obj1);
28479 if (arg2 == NULL) SWIG_fail;
ae8162c8 28480 temp2 = true;
d14a1e28
RD
28481 }
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 (arg1)->SetToolTip((wxString const &)*arg2);
28485
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 Py_INCREF(Py_None); resultobj = Py_None;
28490 {
28491 if (temp2)
28492 delete arg2;
28493 }
28494 return resultobj;
28495 fail:
28496 {
28497 if (temp2)
28498 delete arg2;
28499 }
28500 return NULL;
28501}
28502
28503
c32bde28 28504static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28505 PyObject *resultobj;
28506 wxWindow *arg1 = (wxWindow *) 0 ;
28507 wxToolTip *arg2 = (wxToolTip *) 0 ;
28508 PyObject * obj0 = 0 ;
28509 PyObject * obj1 = 0 ;
28510 char *kwnames[] = {
28511 (char *) "self",(char *) "tip", NULL
28512 };
28513
28514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
28518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28519 {
28520 PyThreadState* __tstate = wxPyBeginAllowThreads();
28521 (arg1)->SetToolTip(arg2);
28522
28523 wxPyEndAllowThreads(__tstate);
28524 if (PyErr_Occurred()) SWIG_fail;
28525 }
28526 Py_INCREF(Py_None); resultobj = Py_None;
28527 return resultobj;
28528 fail:
28529 return NULL;
28530}
28531
28532
c32bde28 28533static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28534 PyObject *resultobj;
28535 wxWindow *arg1 = (wxWindow *) 0 ;
28536 wxToolTip *result;
28537 PyObject * obj0 = 0 ;
28538 char *kwnames[] = {
28539 (char *) "self", NULL
28540 };
28541
28542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
28543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28545 {
28546 PyThreadState* __tstate = wxPyBeginAllowThreads();
28547 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
28548
28549 wxPyEndAllowThreads(__tstate);
28550 if (PyErr_Occurred()) SWIG_fail;
28551 }
28552 {
412d302d 28553 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28554 }
28555 return resultobj;
28556 fail:
28557 return NULL;
28558}
28559
28560
c32bde28 28561static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28562 PyObject *resultobj;
28563 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 28564 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
28565 PyObject * obj0 = 0 ;
28566 PyObject * obj1 = 0 ;
28567 char *kwnames[] = {
28568 (char *) "self",(char *) "dropTarget", NULL
28569 };
28570
28571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
28575 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
28576 {
28577 PyThreadState* __tstate = wxPyBeginAllowThreads();
28578 (arg1)->SetDropTarget(arg2);
28579
28580 wxPyEndAllowThreads(__tstate);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 Py_INCREF(Py_None); resultobj = Py_None;
28584 return resultobj;
28585 fail:
28586 return NULL;
28587}
28588
28589
c32bde28 28590static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28591 PyObject *resultobj;
28592 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 28593 wxPyDropTarget *result;
d14a1e28
RD
28594 PyObject * obj0 = 0 ;
28595 char *kwnames[] = {
28596 (char *) "self", NULL
28597 };
28598
28599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
28600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28602 {
28603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 28604 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
28605
28606 wxPyEndAllowThreads(__tstate);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
15afbcd0 28609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
28610 return resultobj;
28611 fail:
28612 return NULL;
28613}
28614
28615
c32bde28 28616static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28617 PyObject *resultobj;
28618 wxWindow *arg1 = (wxWindow *) 0 ;
28619 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
28620 PyObject * obj0 = 0 ;
28621 PyObject * obj1 = 0 ;
28622 char *kwnames[] = {
28623 (char *) "self",(char *) "constraints", NULL
28624 };
28625
28626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
28630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28631 {
28632 PyThreadState* __tstate = wxPyBeginAllowThreads();
28633 (arg1)->SetConstraints(arg2);
28634
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 Py_INCREF(Py_None); resultobj = Py_None;
28639 return resultobj;
28640 fail:
28641 return NULL;
28642}
28643
28644
c32bde28 28645static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28646 PyObject *resultobj;
28647 wxWindow *arg1 = (wxWindow *) 0 ;
28648 wxLayoutConstraints *result;
28649 PyObject * obj0 = 0 ;
28650 char *kwnames[] = {
28651 (char *) "self", NULL
28652 };
28653
28654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
28655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
28660
28661 wxPyEndAllowThreads(__tstate);
28662 if (PyErr_Occurred()) SWIG_fail;
28663 }
15afbcd0 28664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
28665 return resultobj;
28666 fail:
28667 return NULL;
28668}
28669
28670
c32bde28 28671static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28672 PyObject *resultobj;
28673 wxWindow *arg1 = (wxWindow *) 0 ;
28674 bool arg2 ;
28675 PyObject * obj0 = 0 ;
28676 PyObject * obj1 = 0 ;
28677 char *kwnames[] = {
28678 (char *) "self",(char *) "autoLayout", NULL
28679 };
28680
28681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28684 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 28685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28686 {
28687 PyThreadState* __tstate = wxPyBeginAllowThreads();
28688 (arg1)->SetAutoLayout(arg2);
28689
28690 wxPyEndAllowThreads(__tstate);
28691 if (PyErr_Occurred()) SWIG_fail;
28692 }
28693 Py_INCREF(Py_None); resultobj = Py_None;
28694 return resultobj;
28695 fail:
28696 return NULL;
28697}
28698
28699
c32bde28 28700static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28701 PyObject *resultobj;
28702 wxWindow *arg1 = (wxWindow *) 0 ;
28703 bool result;
28704 PyObject * obj0 = 0 ;
28705 char *kwnames[] = {
28706 (char *) "self", NULL
28707 };
28708
28709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
28710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28712 {
28713 PyThreadState* __tstate = wxPyBeginAllowThreads();
28714 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
28715
28716 wxPyEndAllowThreads(__tstate);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 }
4f89f6a3
RD
28719 {
28720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28721 }
d14a1e28
RD
28722 return resultobj;
28723 fail:
28724 return NULL;
28725}
28726
28727
c32bde28 28728static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28729 PyObject *resultobj;
28730 wxWindow *arg1 = (wxWindow *) 0 ;
28731 bool result;
28732 PyObject * obj0 = 0 ;
28733 char *kwnames[] = {
28734 (char *) "self", NULL
28735 };
28736
28737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
28738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28740 {
28741 PyThreadState* __tstate = wxPyBeginAllowThreads();
28742 result = (bool)(arg1)->Layout();
28743
28744 wxPyEndAllowThreads(__tstate);
28745 if (PyErr_Occurred()) SWIG_fail;
28746 }
4f89f6a3
RD
28747 {
28748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28749 }
d14a1e28
RD
28750 return resultobj;
28751 fail:
28752 return NULL;
28753}
28754
28755
c32bde28 28756static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28757 PyObject *resultobj;
28758 wxWindow *arg1 = (wxWindow *) 0 ;
28759 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 28760 bool arg3 = (bool) true ;
d14a1e28
RD
28761 PyObject * obj0 = 0 ;
28762 PyObject * obj1 = 0 ;
28763 PyObject * obj2 = 0 ;
28764 char *kwnames[] = {
28765 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28766 };
28767
28768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28773 if (obj2) {
c32bde28 28774 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 28775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28776 }
28777 {
28778 PyThreadState* __tstate = wxPyBeginAllowThreads();
28779 (arg1)->SetSizer(arg2,arg3);
28780
28781 wxPyEndAllowThreads(__tstate);
28782 if (PyErr_Occurred()) SWIG_fail;
28783 }
28784 Py_INCREF(Py_None); resultobj = Py_None;
28785 return resultobj;
28786 fail:
28787 return NULL;
28788}
28789
28790
c32bde28 28791static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28792 PyObject *resultobj;
28793 wxWindow *arg1 = (wxWindow *) 0 ;
28794 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 28795 bool arg3 = (bool) true ;
d14a1e28
RD
28796 PyObject * obj0 = 0 ;
28797 PyObject * obj1 = 0 ;
28798 PyObject * obj2 = 0 ;
28799 char *kwnames[] = {
28800 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28801 };
28802
28803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28808 if (obj2) {
c32bde28 28809 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 28810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28811 }
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 (arg1)->SetSizerAndFit(arg2,arg3);
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 Py_INCREF(Py_None); resultobj = Py_None;
28820 return resultobj;
28821 fail:
28822 return NULL;
28823}
28824
28825
c32bde28 28826static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28827 PyObject *resultobj;
28828 wxWindow *arg1 = (wxWindow *) 0 ;
28829 wxSizer *result;
28830 PyObject * obj0 = 0 ;
28831 char *kwnames[] = {
28832 (char *) "self", NULL
28833 };
28834
28835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28838 {
28839 PyThreadState* __tstate = wxPyBeginAllowThreads();
28840 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28841
28842 wxPyEndAllowThreads(__tstate);
28843 if (PyErr_Occurred()) SWIG_fail;
28844 }
28845 {
412d302d 28846 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28847 }
28848 return resultobj;
28849 fail:
28850 return NULL;
28851}
28852
28853
c32bde28 28854static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28855 PyObject *resultobj;
28856 wxWindow *arg1 = (wxWindow *) 0 ;
28857 wxSizer *arg2 = (wxSizer *) 0 ;
28858 PyObject * obj0 = 0 ;
28859 PyObject * obj1 = 0 ;
28860 char *kwnames[] = {
28861 (char *) "self",(char *) "sizer", NULL
28862 };
28863
28864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28869 {
28870 PyThreadState* __tstate = wxPyBeginAllowThreads();
28871 (arg1)->SetContainingSizer(arg2);
28872
28873 wxPyEndAllowThreads(__tstate);
28874 if (PyErr_Occurred()) SWIG_fail;
28875 }
28876 Py_INCREF(Py_None); resultobj = Py_None;
28877 return resultobj;
28878 fail:
28879 return NULL;
28880}
28881
28882
c32bde28 28883static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28884 PyObject *resultobj;
28885 wxWindow *arg1 = (wxWindow *) 0 ;
28886 wxSizer *result;
28887 PyObject * obj0 = 0 ;
28888 char *kwnames[] = {
28889 (char *) "self", NULL
28890 };
28891
28892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28895 {
28896 PyThreadState* __tstate = wxPyBeginAllowThreads();
28897 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28898
28899 wxPyEndAllowThreads(__tstate);
28900 if (PyErr_Occurred()) SWIG_fail;
28901 }
28902 {
412d302d 28903 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28904 }
28905 return resultobj;
28906 fail:
28907 return NULL;
28908}
28909
28910
c32bde28 28911static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a95a7133
RD
28912 PyObject *resultobj;
28913 wxWindow *arg1 = (wxWindow *) 0 ;
28914 PyObject * obj0 = 0 ;
28915 char *kwnames[] = {
28916 (char *) "self", NULL
28917 };
28918
28919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28922 {
28923 PyThreadState* __tstate = wxPyBeginAllowThreads();
28924 (arg1)->InheritAttributes();
28925
28926 wxPyEndAllowThreads(__tstate);
28927 if (PyErr_Occurred()) SWIG_fail;
28928 }
28929 Py_INCREF(Py_None); resultobj = Py_None;
28930 return resultobj;
28931 fail:
28932 return NULL;
28933}
28934
28935
c32bde28 28936static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
a95a7133
RD
28937 PyObject *resultobj;
28938 wxWindow *arg1 = (wxWindow *) 0 ;
28939 bool result;
28940 PyObject * obj0 = 0 ;
28941 char *kwnames[] = {
28942 (char *) "self", NULL
28943 };
28944
28945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28948 {
28949 PyThreadState* __tstate = wxPyBeginAllowThreads();
28950 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28951
28952 wxPyEndAllowThreads(__tstate);
28953 if (PyErr_Occurred()) SWIG_fail;
28954 }
28955 {
28956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28957 }
28958 return resultobj;
28959 fail:
28960 return NULL;
28961}
28962
28963
c32bde28 28964static PyObject * Window_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28965 PyObject *obj;
28966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28967 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28968 Py_INCREF(obj);
28969 return Py_BuildValue((char *)"");
28970}
c32bde28 28971static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28972 PyObject *resultobj;
28973 long arg1 ;
28974 wxWindow *arg2 = (wxWindow *) NULL ;
28975 wxWindow *result;
994141e6 28976 PyObject * obj0 = 0 ;
d14a1e28
RD
28977 PyObject * obj1 = 0 ;
28978 char *kwnames[] = {
28979 (char *) "id",(char *) "parent", NULL
28980 };
28981
994141e6 28982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
c32bde28 28983 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 28984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28985 if (obj1) {
15afbcd0
RD
28986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28988 }
28989 {
e3b71cb8 28990 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28991 PyThreadState* __tstate = wxPyBeginAllowThreads();
28992 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28993
28994 wxPyEndAllowThreads(__tstate);
110da5b0 28995 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28996 }
28997 {
412d302d 28998 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28999 }
29000 return resultobj;
29001 fail:
29002 return NULL;
29003}
29004
29005
c32bde28 29006static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29007 PyObject *resultobj;
29008 wxString *arg1 = 0 ;
29009 wxWindow *arg2 = (wxWindow *) NULL ;
29010 wxWindow *result;
ae8162c8 29011 bool temp1 = false ;
d14a1e28
RD
29012 PyObject * obj0 = 0 ;
29013 PyObject * obj1 = 0 ;
29014 char *kwnames[] = {
29015 (char *) "name",(char *) "parent", NULL
29016 };
29017
29018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
29019 {
29020 arg1 = wxString_in_helper(obj0);
29021 if (arg1 == NULL) SWIG_fail;
ae8162c8 29022 temp1 = true;
d14a1e28
RD
29023 }
29024 if (obj1) {
15afbcd0
RD
29025 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29027 }
29028 {
e3b71cb8 29029 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
29032
29033 wxPyEndAllowThreads(__tstate);
110da5b0 29034 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29035 }
29036 {
412d302d 29037 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29038 }
29039 {
29040 if (temp1)
29041 delete arg1;
29042 }
29043 return resultobj;
29044 fail:
29045 {
29046 if (temp1)
29047 delete arg1;
29048 }
29049 return NULL;
29050}
29051
29052
c32bde28 29053static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29054 PyObject *resultobj;
29055 wxString *arg1 = 0 ;
29056 wxWindow *arg2 = (wxWindow *) NULL ;
29057 wxWindow *result;
ae8162c8 29058 bool temp1 = false ;
d14a1e28
RD
29059 PyObject * obj0 = 0 ;
29060 PyObject * obj1 = 0 ;
29061 char *kwnames[] = {
29062 (char *) "label",(char *) "parent", NULL
29063 };
29064
29065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
29066 {
29067 arg1 = wxString_in_helper(obj0);
29068 if (arg1 == NULL) SWIG_fail;
ae8162c8 29069 temp1 = true;
d14a1e28
RD
29070 }
29071 if (obj1) {
15afbcd0
RD
29072 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29074 }
29075 {
e3b71cb8 29076 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
29079
29080 wxPyEndAllowThreads(__tstate);
110da5b0 29081 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29082 }
29083 {
412d302d 29084 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29085 }
29086 {
29087 if (temp1)
29088 delete arg1;
29089 }
29090 return resultobj;
29091 fail:
29092 {
29093 if (temp1)
29094 delete arg1;
29095 }
29096 return NULL;
29097}
29098
29099
c32bde28 29100static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 29101 PyObject *resultobj;
4276dc52
RD
29102 wxWindow *arg1 = (wxWindow *) 0 ;
29103 unsigned long arg2 ;
d14a1e28
RD
29104 wxWindow *result;
29105 PyObject * obj0 = 0 ;
4276dc52 29106 PyObject * obj1 = 0 ;
d14a1e28 29107 char *kwnames[] = {
4276dc52 29108 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
29109 };
29110
4276dc52
RD
29111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
29112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29114 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 29115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 29118 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
29119
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 {
412d302d 29124 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29125 }
29126 return resultobj;
29127 fail:
29128 return NULL;
29129}
29130
29131
c32bde28 29132static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29133 PyObject *resultobj;
29134 wxValidator *result;
29135 char *kwnames[] = {
29136 NULL
29137 };
29138
29139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 result = (wxValidator *)new wxValidator();
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
b0f7404b 29147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
d14a1e28
RD
29148 return resultobj;
29149 fail:
29150 return NULL;
29151}
29152
29153
c32bde28 29154static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29155 PyObject *resultobj;
29156 wxValidator *arg1 = (wxValidator *) 0 ;
29157 wxValidator *result;
29158 PyObject * obj0 = 0 ;
29159 char *kwnames[] = {
29160 (char *) "self", NULL
29161 };
29162
29163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
29164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 result = (wxValidator *)(arg1)->Clone();
29169
29170 wxPyEndAllowThreads(__tstate);
29171 if (PyErr_Occurred()) SWIG_fail;
29172 }
29173 {
412d302d 29174 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29175 }
29176 return resultobj;
29177 fail:
29178 return NULL;
29179}
29180
29181
c32bde28 29182static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29183 PyObject *resultobj;
29184 wxValidator *arg1 = (wxValidator *) 0 ;
29185 wxWindow *arg2 = (wxWindow *) 0 ;
29186 bool result;
29187 PyObject * obj0 = 0 ;
29188 PyObject * obj1 = 0 ;
29189 char *kwnames[] = {
29190 (char *) "self",(char *) "parent", NULL
29191 };
29192
29193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29198 {
29199 PyThreadState* __tstate = wxPyBeginAllowThreads();
29200 result = (bool)(arg1)->Validate(arg2);
29201
29202 wxPyEndAllowThreads(__tstate);
29203 if (PyErr_Occurred()) SWIG_fail;
29204 }
4f89f6a3
RD
29205 {
29206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29207 }
d14a1e28
RD
29208 return resultobj;
29209 fail:
29210 return NULL;
29211}
29212
29213
c32bde28 29214static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29215 PyObject *resultobj;
29216 wxValidator *arg1 = (wxValidator *) 0 ;
29217 bool result;
29218 PyObject * obj0 = 0 ;
29219 char *kwnames[] = {
29220 (char *) "self", NULL
29221 };
29222
29223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29226 {
29227 PyThreadState* __tstate = wxPyBeginAllowThreads();
29228 result = (bool)(arg1)->TransferToWindow();
29229
29230 wxPyEndAllowThreads(__tstate);
29231 if (PyErr_Occurred()) SWIG_fail;
29232 }
4f89f6a3
RD
29233 {
29234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29235 }
d14a1e28
RD
29236 return resultobj;
29237 fail:
29238 return NULL;
29239}
29240
29241
c32bde28 29242static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29243 PyObject *resultobj;
29244 wxValidator *arg1 = (wxValidator *) 0 ;
29245 bool result;
29246 PyObject * obj0 = 0 ;
29247 char *kwnames[] = {
29248 (char *) "self", NULL
29249 };
29250
29251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 result = (bool)(arg1)->TransferFromWindow();
29257
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
4f89f6a3
RD
29261 {
29262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29263 }
d14a1e28
RD
29264 return resultobj;
29265 fail:
29266 return NULL;
29267}
29268
29269
c32bde28 29270static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29271 PyObject *resultobj;
29272 wxValidator *arg1 = (wxValidator *) 0 ;
29273 wxWindow *result;
29274 PyObject * obj0 = 0 ;
29275 char *kwnames[] = {
29276 (char *) "self", NULL
29277 };
29278
29279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29282 {
29283 PyThreadState* __tstate = wxPyBeginAllowThreads();
29284 result = (wxWindow *)(arg1)->GetWindow();
29285
29286 wxPyEndAllowThreads(__tstate);
29287 if (PyErr_Occurred()) SWIG_fail;
29288 }
29289 {
412d302d 29290 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29291 }
29292 return resultobj;
29293 fail:
29294 return NULL;
29295}
29296
29297
c32bde28 29298static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29299 PyObject *resultobj;
29300 wxValidator *arg1 = (wxValidator *) 0 ;
29301 wxWindow *arg2 = (wxWindow *) 0 ;
29302 PyObject * obj0 = 0 ;
29303 PyObject * obj1 = 0 ;
29304 char *kwnames[] = {
29305 (char *) "self",(char *) "window", NULL
29306 };
29307
29308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29313 {
29314 PyThreadState* __tstate = wxPyBeginAllowThreads();
29315 (arg1)->SetWindow(arg2);
29316
29317 wxPyEndAllowThreads(__tstate);
29318 if (PyErr_Occurred()) SWIG_fail;
29319 }
29320 Py_INCREF(Py_None); resultobj = Py_None;
29321 return resultobj;
29322 fail:
29323 return NULL;
29324}
29325
29326
c32bde28 29327static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29328 PyObject *resultobj;
29329 bool result;
29330 char *kwnames[] = {
29331 NULL
29332 };
29333
29334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
29335 {
29336 PyThreadState* __tstate = wxPyBeginAllowThreads();
29337 result = (bool)wxValidator::IsSilent();
29338
29339 wxPyEndAllowThreads(__tstate);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 }
4f89f6a3
RD
29342 {
29343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29344 }
d14a1e28
RD
29345 return resultobj;
29346 fail:
29347 return NULL;
29348}
29349
29350
c32bde28 29351static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 29352 PyObject *resultobj;
ae8162c8 29353 int arg1 = (int) true ;
994141e6 29354 PyObject * obj0 = 0 ;
d14a1e28
RD
29355 char *kwnames[] = {
29356 (char *) "doIt", NULL
29357 };
29358
994141e6
RD
29359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
29360 if (obj0) {
c32bde28 29361 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 29362 if (PyErr_Occurred()) SWIG_fail;
994141e6 29363 }
d14a1e28
RD
29364 {
29365 PyThreadState* __tstate = wxPyBeginAllowThreads();
29366 wxValidator::SetBellOnError(arg1);
29367
29368 wxPyEndAllowThreads(__tstate);
29369 if (PyErr_Occurred()) SWIG_fail;
29370 }
29371 Py_INCREF(Py_None); resultobj = Py_None;
29372 return resultobj;
29373 fail:
29374 return NULL;
29375}
29376
29377
c32bde28 29378static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29379 PyObject *obj;
29380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29381 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
29382 Py_INCREF(obj);
29383 return Py_BuildValue((char *)"");
29384}
c32bde28 29385static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29386 PyObject *resultobj;
29387 wxPyValidator *result;
29388 char *kwnames[] = {
29389 NULL
29390 };
29391
29392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
29393 {
29394 PyThreadState* __tstate = wxPyBeginAllowThreads();
29395 result = (wxPyValidator *)new wxPyValidator();
29396
29397 wxPyEndAllowThreads(__tstate);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
15afbcd0 29400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
29401 return resultobj;
29402 fail:
29403 return NULL;
29404}
29405
29406
c32bde28 29407static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29408 PyObject *resultobj;
29409 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
29410 PyObject *arg2 = (PyObject *) 0 ;
29411 PyObject *arg3 = (PyObject *) 0 ;
ae8162c8 29412 int arg4 = (int) true ;
d14a1e28
RD
29413 PyObject * obj0 = 0 ;
29414 PyObject * obj1 = 0 ;
29415 PyObject * obj2 = 0 ;
994141e6 29416 PyObject * obj3 = 0 ;
d14a1e28
RD
29417 char *kwnames[] = {
29418 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29419 };
29420
994141e6 29421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
29423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29424 arg2 = obj1;
29425 arg3 = obj2;
994141e6 29426 if (obj3) {
c32bde28 29427 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 29428 if (PyErr_Occurred()) SWIG_fail;
994141e6 29429 }
d14a1e28
RD
29430 {
29431 PyThreadState* __tstate = wxPyBeginAllowThreads();
29432 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
29433
29434 wxPyEndAllowThreads(__tstate);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 }
29437 Py_INCREF(Py_None); resultobj = Py_None;
29438 return resultobj;
29439 fail:
29440 return NULL;
29441}
29442
29443
c32bde28 29444static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29445 PyObject *obj;
29446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29447 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
29448 Py_INCREF(obj);
29449 return Py_BuildValue((char *)"");
29450}
c32bde28 29451static int _wrap_DefaultValidator_set(PyObject *) {
d14a1e28
RD
29452 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
29453 return 1;
29454}
29455
29456
29457static PyObject *_wrap_DefaultValidator_get() {
29458 PyObject *pyobj;
29459
15afbcd0 29460 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
29461 return pyobj;
29462}
29463
29464
c32bde28 29465static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29466 PyObject *resultobj;
29467 wxString const &arg1_defvalue = wxPyEmptyString ;
29468 wxString *arg1 = (wxString *) &arg1_defvalue ;
29469 long arg2 = (long) 0 ;
29470 wxMenu *result;
ae8162c8 29471 bool temp1 = false ;
d14a1e28 29472 PyObject * obj0 = 0 ;
994141e6 29473 PyObject * obj1 = 0 ;
d14a1e28
RD
29474 char *kwnames[] = {
29475 (char *) "title",(char *) "style", NULL
29476 };
29477
994141e6 29478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
29479 if (obj0) {
29480 {
29481 arg1 = wxString_in_helper(obj0);
29482 if (arg1 == NULL) SWIG_fail;
ae8162c8 29483 temp1 = true;
d14a1e28
RD
29484 }
29485 }
994141e6 29486 if (obj1) {
c32bde28 29487 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 29488 if (PyErr_Occurred()) SWIG_fail;
994141e6 29489 }
d14a1e28 29490 {
e3b71cb8 29491 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
29494
29495 wxPyEndAllowThreads(__tstate);
110da5b0 29496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29497 }
b0f7404b 29498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
d14a1e28
RD
29499 {
29500 if (temp1)
29501 delete arg1;
29502 }
29503 return resultobj;
29504 fail:
29505 {
29506 if (temp1)
29507 delete arg1;
29508 }
29509 return NULL;
29510}
29511
29512
c32bde28 29513static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29514 PyObject *resultobj;
29515 wxMenu *arg1 = (wxMenu *) 0 ;
29516 int arg2 ;
29517 wxString *arg3 = 0 ;
29518 wxString const &arg4_defvalue = wxPyEmptyString ;
29519 wxString *arg4 = (wxString *) &arg4_defvalue ;
29520 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 29521 wxMenuItem *result;
ae8162c8
RD
29522 bool temp3 = false ;
29523 bool temp4 = false ;
d14a1e28 29524 PyObject * obj0 = 0 ;
994141e6 29525 PyObject * obj1 = 0 ;
d14a1e28
RD
29526 PyObject * obj2 = 0 ;
29527 PyObject * obj3 = 0 ;
994141e6 29528 PyObject * obj4 = 0 ;
d14a1e28 29529 char *kwnames[] = {
242b7b46 29530 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29531 };
29532
994141e6 29533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29536 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29538 {
29539 arg3 = wxString_in_helper(obj2);
29540 if (arg3 == NULL) SWIG_fail;
ae8162c8 29541 temp3 = true;
d14a1e28
RD
29542 }
29543 if (obj3) {
29544 {
29545 arg4 = wxString_in_helper(obj3);
29546 if (arg4 == NULL) SWIG_fail;
ae8162c8 29547 temp4 = true;
d14a1e28
RD
29548 }
29549 }
994141e6 29550 if (obj4) {
c32bde28 29551 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 29552 if (PyErr_Occurred()) SWIG_fail;
994141e6 29553 }
d14a1e28
RD
29554 {
29555 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29556 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29557
29558 wxPyEndAllowThreads(__tstate);
29559 if (PyErr_Occurred()) SWIG_fail;
29560 }
a41e16b6 29561 {
412d302d 29562 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29563 }
d14a1e28
RD
29564 {
29565 if (temp3)
29566 delete arg3;
29567 }
29568 {
29569 if (temp4)
29570 delete arg4;
29571 }
29572 return resultobj;
29573 fail:
29574 {
29575 if (temp3)
29576 delete arg3;
29577 }
29578 {
29579 if (temp4)
29580 delete arg4;
29581 }
29582 return NULL;
29583}
29584
29585
c32bde28 29586static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29587 PyObject *resultobj;
29588 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 29589 wxMenuItem *result;
d14a1e28
RD
29590 PyObject * obj0 = 0 ;
29591 char *kwnames[] = {
29592 (char *) "self", NULL
29593 };
29594
29595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
29596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29600 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
29601
29602 wxPyEndAllowThreads(__tstate);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
a41e16b6 29605 {
412d302d 29606 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29607 }
d14a1e28
RD
29608 return resultobj;
29609 fail:
29610 return NULL;
29611}
29612
29613
c32bde28 29614static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29615 PyObject *resultobj;
29616 wxMenu *arg1 = (wxMenu *) 0 ;
29617 int arg2 ;
29618 wxString *arg3 = 0 ;
29619 wxString const &arg4_defvalue = wxPyEmptyString ;
29620 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29621 wxMenuItem *result;
ae8162c8
RD
29622 bool temp3 = false ;
29623 bool temp4 = false ;
d14a1e28 29624 PyObject * obj0 = 0 ;
994141e6 29625 PyObject * obj1 = 0 ;
d14a1e28
RD
29626 PyObject * obj2 = 0 ;
29627 PyObject * obj3 = 0 ;
29628 char *kwnames[] = {
242b7b46 29629 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29630 };
29631
994141e6 29632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29635 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29637 {
29638 arg3 = wxString_in_helper(obj2);
29639 if (arg3 == NULL) SWIG_fail;
ae8162c8 29640 temp3 = true;
d14a1e28
RD
29641 }
29642 if (obj3) {
29643 {
29644 arg4 = wxString_in_helper(obj3);
29645 if (arg4 == NULL) SWIG_fail;
ae8162c8 29646 temp4 = true;
d14a1e28
RD
29647 }
29648 }
29649 {
29650 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29651 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29652
29653 wxPyEndAllowThreads(__tstate);
29654 if (PyErr_Occurred()) SWIG_fail;
29655 }
a41e16b6 29656 {
412d302d 29657 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29658 }
d14a1e28
RD
29659 {
29660 if (temp3)
29661 delete arg3;
29662 }
29663 {
29664 if (temp4)
29665 delete arg4;
29666 }
29667 return resultobj;
29668 fail:
29669 {
29670 if (temp3)
29671 delete arg3;
29672 }
29673 {
29674 if (temp4)
29675 delete arg4;
29676 }
29677 return NULL;
29678}
29679
29680
c32bde28 29681static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29682 PyObject *resultobj;
29683 wxMenu *arg1 = (wxMenu *) 0 ;
29684 int arg2 ;
29685 wxString *arg3 = 0 ;
29686 wxString const &arg4_defvalue = wxPyEmptyString ;
29687 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29688 wxMenuItem *result;
ae8162c8
RD
29689 bool temp3 = false ;
29690 bool temp4 = false ;
d14a1e28 29691 PyObject * obj0 = 0 ;
994141e6 29692 PyObject * obj1 = 0 ;
d14a1e28
RD
29693 PyObject * obj2 = 0 ;
29694 PyObject * obj3 = 0 ;
29695 char *kwnames[] = {
242b7b46 29696 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29697 };
29698
994141e6 29699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29702 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29703 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29704 {
29705 arg3 = wxString_in_helper(obj2);
29706 if (arg3 == NULL) SWIG_fail;
ae8162c8 29707 temp3 = true;
d14a1e28
RD
29708 }
29709 if (obj3) {
29710 {
29711 arg4 = wxString_in_helper(obj3);
29712 if (arg4 == NULL) SWIG_fail;
ae8162c8 29713 temp4 = true;
d14a1e28
RD
29714 }
29715 }
29716 {
29717 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29718 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29719
29720 wxPyEndAllowThreads(__tstate);
29721 if (PyErr_Occurred()) SWIG_fail;
29722 }
a41e16b6 29723 {
412d302d 29724 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29725 }
d14a1e28
RD
29726 {
29727 if (temp3)
29728 delete arg3;
29729 }
29730 {
29731 if (temp4)
29732 delete arg4;
29733 }
29734 return resultobj;
29735 fail:
29736 {
29737 if (temp3)
29738 delete arg3;
29739 }
29740 {
29741 if (temp4)
29742 delete arg4;
29743 }
29744 return NULL;
29745}
29746
29747
c32bde28 29748static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29749 PyObject *resultobj;
29750 wxMenu *arg1 = (wxMenu *) 0 ;
29751 int arg2 ;
29752 wxString *arg3 = 0 ;
29753 wxMenu *arg4 = (wxMenu *) 0 ;
29754 wxString const &arg5_defvalue = wxPyEmptyString ;
29755 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29756 wxMenuItem *result;
ae8162c8
RD
29757 bool temp3 = false ;
29758 bool temp5 = false ;
d14a1e28 29759 PyObject * obj0 = 0 ;
994141e6 29760 PyObject * obj1 = 0 ;
d14a1e28
RD
29761 PyObject * obj2 = 0 ;
29762 PyObject * obj3 = 0 ;
29763 PyObject * obj4 = 0 ;
29764 char *kwnames[] = {
242b7b46 29765 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29766 };
29767
994141e6 29768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29771 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29772 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29773 {
29774 arg3 = wxString_in_helper(obj2);
29775 if (arg3 == NULL) SWIG_fail;
ae8162c8 29776 temp3 = true;
d14a1e28 29777 }
15afbcd0
RD
29778 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29780 if (obj4) {
29781 {
29782 arg5 = wxString_in_helper(obj4);
29783 if (arg5 == NULL) SWIG_fail;
ae8162c8 29784 temp5 = true;
d14a1e28
RD
29785 }
29786 }
29787 {
29788 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29789 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29790
29791 wxPyEndAllowThreads(__tstate);
29792 if (PyErr_Occurred()) SWIG_fail;
29793 }
a41e16b6 29794 {
412d302d 29795 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29796 }
d14a1e28
RD
29797 {
29798 if (temp3)
29799 delete arg3;
29800 }
29801 {
29802 if (temp5)
29803 delete arg5;
29804 }
29805 return resultobj;
29806 fail:
29807 {
29808 if (temp3)
29809 delete arg3;
29810 }
29811 {
29812 if (temp5)
29813 delete arg5;
29814 }
29815 return NULL;
29816}
29817
29818
c32bde28 29819static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29820 PyObject *resultobj;
29821 wxMenu *arg1 = (wxMenu *) 0 ;
29822 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29823 wxMenuItem *result;
d14a1e28
RD
29824 PyObject * obj0 = 0 ;
29825 PyObject * obj1 = 0 ;
29826 char *kwnames[] = {
29827 (char *) "self",(char *) "item", NULL
29828 };
29829
29830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29835 {
29836 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29837 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
29838
29839 wxPyEndAllowThreads(__tstate);
29840 if (PyErr_Occurred()) SWIG_fail;
29841 }
a41e16b6 29842 {
412d302d 29843 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29844 }
d14a1e28
RD
29845 return resultobj;
29846 fail:
29847 return NULL;
29848}
29849
29850
c32bde28 29851static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29852 PyObject *resultobj;
29853 wxMenu *arg1 = (wxMenu *) 0 ;
29854 PyObject * obj0 = 0 ;
29855 char *kwnames[] = {
29856 (char *) "self", NULL
29857 };
29858
29859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
29860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29862 {
29863 PyThreadState* __tstate = wxPyBeginAllowThreads();
29864 (arg1)->Break();
29865
29866 wxPyEndAllowThreads(__tstate);
29867 if (PyErr_Occurred()) SWIG_fail;
29868 }
29869 Py_INCREF(Py_None); resultobj = Py_None;
29870 return resultobj;
29871 fail:
29872 return NULL;
29873}
29874
29875
c32bde28 29876static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29877 PyObject *resultobj;
29878 wxMenu *arg1 = (wxMenu *) 0 ;
29879 size_t arg2 ;
29880 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 29881 wxMenuItem *result;
d14a1e28
RD
29882 PyObject * obj0 = 0 ;
29883 PyObject * obj1 = 0 ;
29884 PyObject * obj2 = 0 ;
29885 char *kwnames[] = {
29886 (char *) "self",(char *) "pos",(char *) "item", NULL
29887 };
29888
29889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29892 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
29893 if (PyErr_Occurred()) SWIG_fail;
29894 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29896 {
29897 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29898 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
29899
29900 wxPyEndAllowThreads(__tstate);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 }
a41e16b6 29903 {
412d302d 29904 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29905 }
d14a1e28
RD
29906 return resultobj;
29907 fail:
29908 return NULL;
29909}
29910
29911
c32bde28 29912static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29913 PyObject *resultobj;
29914 wxMenu *arg1 = (wxMenu *) 0 ;
29915 size_t arg2 ;
29916 int arg3 ;
29917 wxString *arg4 = 0 ;
29918 wxString const &arg5_defvalue = wxPyEmptyString ;
29919 wxString *arg5 = (wxString *) &arg5_defvalue ;
29920 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 29921 wxMenuItem *result;
ae8162c8
RD
29922 bool temp4 = false ;
29923 bool temp5 = false ;
d14a1e28
RD
29924 PyObject * obj0 = 0 ;
29925 PyObject * obj1 = 0 ;
994141e6 29926 PyObject * obj2 = 0 ;
d14a1e28
RD
29927 PyObject * obj3 = 0 ;
29928 PyObject * obj4 = 0 ;
994141e6 29929 PyObject * obj5 = 0 ;
d14a1e28 29930 char *kwnames[] = {
242b7b46 29931 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29932 };
29933
994141e6 29934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29937 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 29938 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29939 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29941 {
29942 arg4 = wxString_in_helper(obj3);
29943 if (arg4 == NULL) SWIG_fail;
ae8162c8 29944 temp4 = true;
d14a1e28
RD
29945 }
29946 if (obj4) {
29947 {
29948 arg5 = wxString_in_helper(obj4);
29949 if (arg5 == NULL) SWIG_fail;
ae8162c8 29950 temp5 = true;
d14a1e28
RD
29951 }
29952 }
994141e6 29953 if (obj5) {
c32bde28 29954 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 29955 if (PyErr_Occurred()) SWIG_fail;
994141e6 29956 }
d14a1e28
RD
29957 {
29958 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29959 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
29960
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
a41e16b6 29964 {
412d302d 29965 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29966 }
d14a1e28
RD
29967 {
29968 if (temp4)
29969 delete arg4;
29970 }
29971 {
29972 if (temp5)
29973 delete arg5;
29974 }
29975 return resultobj;
29976 fail:
29977 {
29978 if (temp4)
29979 delete arg4;
29980 }
29981 {
29982 if (temp5)
29983 delete arg5;
29984 }
29985 return NULL;
29986}
29987
29988
c32bde28 29989static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29990 PyObject *resultobj;
29991 wxMenu *arg1 = (wxMenu *) 0 ;
29992 size_t arg2 ;
a41e16b6 29993 wxMenuItem *result;
d14a1e28
RD
29994 PyObject * obj0 = 0 ;
29995 PyObject * obj1 = 0 ;
29996 char *kwnames[] = {
29997 (char *) "self",(char *) "pos", NULL
29998 };
29999
30000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30003 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30005 {
30006 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30007 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
30008
30009 wxPyEndAllowThreads(__tstate);
30010 if (PyErr_Occurred()) SWIG_fail;
30011 }
a41e16b6 30012 {
412d302d 30013 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30014 }
d14a1e28
RD
30015 return resultobj;
30016 fail:
30017 return NULL;
30018}
30019
30020
c32bde28 30021static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30022 PyObject *resultobj;
30023 wxMenu *arg1 = (wxMenu *) 0 ;
30024 size_t arg2 ;
30025 int arg3 ;
30026 wxString *arg4 = 0 ;
30027 wxString const &arg5_defvalue = wxPyEmptyString ;
30028 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 30029 wxMenuItem *result;
ae8162c8
RD
30030 bool temp4 = false ;
30031 bool temp5 = false ;
d14a1e28
RD
30032 PyObject * obj0 = 0 ;
30033 PyObject * obj1 = 0 ;
994141e6 30034 PyObject * obj2 = 0 ;
d14a1e28
RD
30035 PyObject * obj3 = 0 ;
30036 PyObject * obj4 = 0 ;
30037 char *kwnames[] = {
242b7b46 30038 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
30039 };
30040
994141e6 30041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30044 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30045 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30046 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 30047 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30048 {
30049 arg4 = wxString_in_helper(obj3);
30050 if (arg4 == NULL) SWIG_fail;
ae8162c8 30051 temp4 = true;
d14a1e28
RD
30052 }
30053 if (obj4) {
30054 {
30055 arg5 = wxString_in_helper(obj4);
30056 if (arg5 == NULL) SWIG_fail;
ae8162c8 30057 temp5 = true;
d14a1e28
RD
30058 }
30059 }
30060 {
30061 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30062 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
30063
30064 wxPyEndAllowThreads(__tstate);
30065 if (PyErr_Occurred()) SWIG_fail;
30066 }
a41e16b6 30067 {
412d302d 30068 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30069 }
d14a1e28
RD
30070 {
30071 if (temp4)
30072 delete arg4;
30073 }
30074 {
30075 if (temp5)
30076 delete arg5;
30077 }
30078 return resultobj;
30079 fail:
30080 {
30081 if (temp4)
30082 delete arg4;
30083 }
30084 {
30085 if (temp5)
30086 delete arg5;
30087 }
30088 return NULL;
30089}
30090
30091
c32bde28 30092static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30093 PyObject *resultobj;
30094 wxMenu *arg1 = (wxMenu *) 0 ;
30095 size_t arg2 ;
30096 int arg3 ;
30097 wxString *arg4 = 0 ;
30098 wxString const &arg5_defvalue = wxPyEmptyString ;
30099 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 30100 wxMenuItem *result;
ae8162c8
RD
30101 bool temp4 = false ;
30102 bool temp5 = false ;
d14a1e28
RD
30103 PyObject * obj0 = 0 ;
30104 PyObject * obj1 = 0 ;
994141e6 30105 PyObject * obj2 = 0 ;
d14a1e28
RD
30106 PyObject * obj3 = 0 ;
30107 PyObject * obj4 = 0 ;
30108 char *kwnames[] = {
242b7b46 30109 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
30110 };
30111
994141e6 30112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30115 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30116 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30117 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 30118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30119 {
30120 arg4 = wxString_in_helper(obj3);
30121 if (arg4 == NULL) SWIG_fail;
ae8162c8 30122 temp4 = true;
d14a1e28
RD
30123 }
30124 if (obj4) {
30125 {
30126 arg5 = wxString_in_helper(obj4);
30127 if (arg5 == NULL) SWIG_fail;
ae8162c8 30128 temp5 = true;
d14a1e28
RD
30129 }
30130 }
30131 {
30132 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30133 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
30134
30135 wxPyEndAllowThreads(__tstate);
30136 if (PyErr_Occurred()) SWIG_fail;
30137 }
a41e16b6 30138 {
412d302d 30139 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30140 }
d14a1e28
RD
30141 {
30142 if (temp4)
30143 delete arg4;
30144 }
30145 {
30146 if (temp5)
30147 delete arg5;
30148 }
30149 return resultobj;
30150 fail:
30151 {
30152 if (temp4)
30153 delete arg4;
30154 }
30155 {
30156 if (temp5)
30157 delete arg5;
30158 }
30159 return NULL;
30160}
30161
30162
c32bde28 30163static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30164 PyObject *resultobj;
30165 wxMenu *arg1 = (wxMenu *) 0 ;
30166 size_t arg2 ;
30167 int arg3 ;
30168 wxString *arg4 = 0 ;
30169 wxMenu *arg5 = (wxMenu *) 0 ;
30170 wxString const &arg6_defvalue = wxPyEmptyString ;
30171 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 30172 wxMenuItem *result;
ae8162c8
RD
30173 bool temp4 = false ;
30174 bool temp6 = false ;
d14a1e28
RD
30175 PyObject * obj0 = 0 ;
30176 PyObject * obj1 = 0 ;
994141e6 30177 PyObject * obj2 = 0 ;
d14a1e28
RD
30178 PyObject * obj3 = 0 ;
30179 PyObject * obj4 = 0 ;
30180 PyObject * obj5 = 0 ;
30181 char *kwnames[] = {
242b7b46 30182 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
30183 };
30184
994141e6 30185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
30186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30188 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30189 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30190 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 30191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30192 {
30193 arg4 = wxString_in_helper(obj3);
30194 if (arg4 == NULL) SWIG_fail;
ae8162c8 30195 temp4 = true;
d14a1e28 30196 }
15afbcd0
RD
30197 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
30198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30199 if (obj5) {
30200 {
30201 arg6 = wxString_in_helper(obj5);
30202 if (arg6 == NULL) SWIG_fail;
ae8162c8 30203 temp6 = true;
d14a1e28
RD
30204 }
30205 }
30206 {
30207 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30208 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
30209
30210 wxPyEndAllowThreads(__tstate);
30211 if (PyErr_Occurred()) SWIG_fail;
30212 }
a41e16b6 30213 {
412d302d 30214 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30215 }
d14a1e28
RD
30216 {
30217 if (temp4)
30218 delete arg4;
30219 }
30220 {
30221 if (temp6)
30222 delete arg6;
30223 }
30224 return resultobj;
30225 fail:
30226 {
30227 if (temp4)
30228 delete arg4;
30229 }
30230 {
30231 if (temp6)
30232 delete arg6;
30233 }
30234 return NULL;
30235}
30236
30237
c32bde28 30238static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30239 PyObject *resultobj;
30240 wxMenu *arg1 = (wxMenu *) 0 ;
30241 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 30242 wxMenuItem *result;
d14a1e28
RD
30243 PyObject * obj0 = 0 ;
30244 PyObject * obj1 = 0 ;
30245 char *kwnames[] = {
30246 (char *) "self",(char *) "item", NULL
30247 };
30248
30249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30252 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30254 {
30255 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30256 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
30257
30258 wxPyEndAllowThreads(__tstate);
30259 if (PyErr_Occurred()) SWIG_fail;
30260 }
a41e16b6 30261 {
412d302d 30262 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30263 }
d14a1e28
RD
30264 return resultobj;
30265 fail:
30266 return NULL;
30267}
30268
30269
c32bde28 30270static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30271 PyObject *resultobj;
30272 wxMenu *arg1 = (wxMenu *) 0 ;
30273 int arg2 ;
30274 wxString *arg3 = 0 ;
30275 wxString const &arg4_defvalue = wxPyEmptyString ;
30276 wxString *arg4 = (wxString *) &arg4_defvalue ;
30277 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 30278 wxMenuItem *result;
ae8162c8
RD
30279 bool temp3 = false ;
30280 bool temp4 = false ;
d14a1e28 30281 PyObject * obj0 = 0 ;
994141e6 30282 PyObject * obj1 = 0 ;
d14a1e28
RD
30283 PyObject * obj2 = 0 ;
30284 PyObject * obj3 = 0 ;
994141e6 30285 PyObject * obj4 = 0 ;
d14a1e28 30286 char *kwnames[] = {
242b7b46 30287 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
30288 };
30289
994141e6 30290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30293 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30295 {
30296 arg3 = wxString_in_helper(obj2);
30297 if (arg3 == NULL) SWIG_fail;
ae8162c8 30298 temp3 = true;
d14a1e28
RD
30299 }
30300 if (obj3) {
30301 {
30302 arg4 = wxString_in_helper(obj3);
30303 if (arg4 == NULL) SWIG_fail;
ae8162c8 30304 temp4 = true;
d14a1e28
RD
30305 }
30306 }
994141e6 30307 if (obj4) {
c32bde28 30308 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 30309 if (PyErr_Occurred()) SWIG_fail;
994141e6 30310 }
d14a1e28
RD
30311 {
30312 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30313 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
30314
30315 wxPyEndAllowThreads(__tstate);
30316 if (PyErr_Occurred()) SWIG_fail;
30317 }
a41e16b6 30318 {
412d302d 30319 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30320 }
d14a1e28
RD
30321 {
30322 if (temp3)
30323 delete arg3;
30324 }
30325 {
30326 if (temp4)
30327 delete arg4;
30328 }
30329 return resultobj;
30330 fail:
30331 {
30332 if (temp3)
30333 delete arg3;
30334 }
30335 {
30336 if (temp4)
30337 delete arg4;
30338 }
30339 return NULL;
30340}
30341
30342
c32bde28 30343static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30344 PyObject *resultobj;
30345 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 30346 wxMenuItem *result;
d14a1e28
RD
30347 PyObject * obj0 = 0 ;
30348 char *kwnames[] = {
30349 (char *) "self", NULL
30350 };
30351
30352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
30353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30355 {
30356 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30357 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
30358
30359 wxPyEndAllowThreads(__tstate);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 }
a41e16b6 30362 {
412d302d 30363 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30364 }
d14a1e28
RD
30365 return resultobj;
30366 fail:
30367 return NULL;
30368}
30369
30370
c32bde28 30371static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30372 PyObject *resultobj;
30373 wxMenu *arg1 = (wxMenu *) 0 ;
30374 int arg2 ;
30375 wxString *arg3 = 0 ;
30376 wxString const &arg4_defvalue = wxPyEmptyString ;
30377 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 30378 wxMenuItem *result;
ae8162c8
RD
30379 bool temp3 = false ;
30380 bool temp4 = false ;
d14a1e28 30381 PyObject * obj0 = 0 ;
994141e6 30382 PyObject * obj1 = 0 ;
d14a1e28
RD
30383 PyObject * obj2 = 0 ;
30384 PyObject * obj3 = 0 ;
30385 char *kwnames[] = {
242b7b46 30386 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
30387 };
30388
994141e6 30389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30392 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30394 {
30395 arg3 = wxString_in_helper(obj2);
30396 if (arg3 == NULL) SWIG_fail;
ae8162c8 30397 temp3 = true;
d14a1e28
RD
30398 }
30399 if (obj3) {
30400 {
30401 arg4 = wxString_in_helper(obj3);
30402 if (arg4 == NULL) SWIG_fail;
ae8162c8 30403 temp4 = true;
d14a1e28
RD
30404 }
30405 }
30406 {
30407 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30408 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
30409
30410 wxPyEndAllowThreads(__tstate);
30411 if (PyErr_Occurred()) SWIG_fail;
30412 }
a41e16b6 30413 {
412d302d 30414 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30415 }
d14a1e28
RD
30416 {
30417 if (temp3)
30418 delete arg3;
30419 }
30420 {
30421 if (temp4)
30422 delete arg4;
30423 }
30424 return resultobj;
30425 fail:
30426 {
30427 if (temp3)
30428 delete arg3;
30429 }
30430 {
30431 if (temp4)
30432 delete arg4;
30433 }
30434 return NULL;
30435}
30436
30437
c32bde28 30438static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30439 PyObject *resultobj;
30440 wxMenu *arg1 = (wxMenu *) 0 ;
30441 int arg2 ;
30442 wxString *arg3 = 0 ;
30443 wxString const &arg4_defvalue = wxPyEmptyString ;
30444 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 30445 wxMenuItem *result;
ae8162c8
RD
30446 bool temp3 = false ;
30447 bool temp4 = false ;
d14a1e28 30448 PyObject * obj0 = 0 ;
994141e6 30449 PyObject * obj1 = 0 ;
d14a1e28
RD
30450 PyObject * obj2 = 0 ;
30451 PyObject * obj3 = 0 ;
30452 char *kwnames[] = {
242b7b46 30453 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
30454 };
30455
994141e6 30456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30459 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30461 {
30462 arg3 = wxString_in_helper(obj2);
30463 if (arg3 == NULL) SWIG_fail;
ae8162c8 30464 temp3 = true;
d14a1e28
RD
30465 }
30466 if (obj3) {
30467 {
30468 arg4 = wxString_in_helper(obj3);
30469 if (arg4 == NULL) SWIG_fail;
ae8162c8 30470 temp4 = true;
d14a1e28
RD
30471 }
30472 }
30473 {
30474 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30475 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
30476
30477 wxPyEndAllowThreads(__tstate);
30478 if (PyErr_Occurred()) SWIG_fail;
30479 }
a41e16b6 30480 {
412d302d 30481 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30482 }
d14a1e28
RD
30483 {
30484 if (temp3)
30485 delete arg3;
30486 }
30487 {
30488 if (temp4)
30489 delete arg4;
30490 }
30491 return resultobj;
30492 fail:
30493 {
30494 if (temp3)
30495 delete arg3;
30496 }
30497 {
30498 if (temp4)
30499 delete arg4;
30500 }
30501 return NULL;
30502}
30503
30504
c32bde28 30505static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30506 PyObject *resultobj;
30507 wxMenu *arg1 = (wxMenu *) 0 ;
30508 int arg2 ;
30509 wxString *arg3 = 0 ;
30510 wxMenu *arg4 = (wxMenu *) 0 ;
30511 wxString const &arg5_defvalue = wxPyEmptyString ;
30512 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 30513 wxMenuItem *result;
ae8162c8
RD
30514 bool temp3 = false ;
30515 bool temp5 = false ;
d14a1e28 30516 PyObject * obj0 = 0 ;
994141e6 30517 PyObject * obj1 = 0 ;
d14a1e28
RD
30518 PyObject * obj2 = 0 ;
30519 PyObject * obj3 = 0 ;
30520 PyObject * obj4 = 0 ;
30521 char *kwnames[] = {
242b7b46 30522 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
30523 };
30524
994141e6 30525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30528 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30530 {
30531 arg3 = wxString_in_helper(obj2);
30532 if (arg3 == NULL) SWIG_fail;
ae8162c8 30533 temp3 = true;
d14a1e28 30534 }
15afbcd0
RD
30535 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
30536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30537 if (obj4) {
30538 {
30539 arg5 = wxString_in_helper(obj4);
30540 if (arg5 == NULL) SWIG_fail;
ae8162c8 30541 temp5 = true;
d14a1e28
RD
30542 }
30543 }
30544 {
30545 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30546 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
30547
30548 wxPyEndAllowThreads(__tstate);
30549 if (PyErr_Occurred()) SWIG_fail;
30550 }
a41e16b6 30551 {
412d302d 30552 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30553 }
d14a1e28
RD
30554 {
30555 if (temp3)
30556 delete arg3;
30557 }
30558 {
30559 if (temp5)
30560 delete arg5;
30561 }
30562 return resultobj;
30563 fail:
30564 {
30565 if (temp3)
30566 delete arg3;
30567 }
30568 {
30569 if (temp5)
30570 delete arg5;
30571 }
30572 return NULL;
30573}
30574
30575
c32bde28 30576static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30577 PyObject *resultobj;
30578 wxMenu *arg1 = (wxMenu *) 0 ;
30579 int arg2 ;
30580 wxMenuItem *result;
30581 PyObject * obj0 = 0 ;
994141e6 30582 PyObject * obj1 = 0 ;
d14a1e28 30583 char *kwnames[] = {
242b7b46 30584 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30585 };
30586
994141e6 30587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30590 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30592 {
30593 PyThreadState* __tstate = wxPyBeginAllowThreads();
30594 result = (wxMenuItem *)(arg1)->Remove(arg2);
30595
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
30599 {
412d302d 30600 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30601 }
30602 return resultobj;
30603 fail:
30604 return NULL;
30605}
30606
30607
c32bde28 30608static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30609 PyObject *resultobj;
30610 wxMenu *arg1 = (wxMenu *) 0 ;
30611 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30612 wxMenuItem *result;
30613 PyObject * obj0 = 0 ;
30614 PyObject * obj1 = 0 ;
30615 char *kwnames[] = {
30616 (char *) "self",(char *) "item", NULL
30617 };
30618
30619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30624 {
30625 PyThreadState* __tstate = wxPyBeginAllowThreads();
30626 result = (wxMenuItem *)(arg1)->Remove(arg2);
30627
30628 wxPyEndAllowThreads(__tstate);
30629 if (PyErr_Occurred()) SWIG_fail;
30630 }
30631 {
412d302d 30632 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30633 }
30634 return resultobj;
30635 fail:
30636 return NULL;
30637}
30638
30639
c32bde28 30640static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30641 PyObject *resultobj;
30642 wxMenu *arg1 = (wxMenu *) 0 ;
30643 int arg2 ;
30644 bool result;
30645 PyObject * obj0 = 0 ;
994141e6 30646 PyObject * obj1 = 0 ;
d14a1e28 30647 char *kwnames[] = {
242b7b46 30648 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30649 };
30650
994141e6 30651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30654 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30655 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30656 {
30657 PyThreadState* __tstate = wxPyBeginAllowThreads();
30658 result = (bool)(arg1)->Delete(arg2);
30659
30660 wxPyEndAllowThreads(__tstate);
30661 if (PyErr_Occurred()) SWIG_fail;
30662 }
4f89f6a3
RD
30663 {
30664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30665 }
d14a1e28
RD
30666 return resultobj;
30667 fail:
30668 return NULL;
30669}
30670
30671
c32bde28 30672static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30673 PyObject *resultobj;
30674 wxMenu *arg1 = (wxMenu *) 0 ;
30675 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30676 bool result;
30677 PyObject * obj0 = 0 ;
30678 PyObject * obj1 = 0 ;
30679 char *kwnames[] = {
30680 (char *) "self",(char *) "item", NULL
30681 };
30682
30683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30688 {
30689 PyThreadState* __tstate = wxPyBeginAllowThreads();
30690 result = (bool)(arg1)->Delete(arg2);
30691
30692 wxPyEndAllowThreads(__tstate);
30693 if (PyErr_Occurred()) SWIG_fail;
30694 }
4f89f6a3
RD
30695 {
30696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30697 }
d14a1e28
RD
30698 return resultobj;
30699 fail:
30700 return NULL;
30701}
30702
30703
c32bde28 30704static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30705 PyObject *resultobj;
30706 wxMenu *arg1 = (wxMenu *) 0 ;
30707 PyObject * obj0 = 0 ;
30708 char *kwnames[] = {
30709 (char *) "self", NULL
30710 };
30711
30712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
30713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30715 {
30716 PyThreadState* __tstate = wxPyBeginAllowThreads();
30717 wxMenu_Destroy(arg1);
30718
30719 wxPyEndAllowThreads(__tstate);
30720 if (PyErr_Occurred()) SWIG_fail;
30721 }
30722 Py_INCREF(Py_None); resultobj = Py_None;
30723 return resultobj;
30724 fail:
30725 return NULL;
30726}
30727
30728
c32bde28 30729static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30730 PyObject *resultobj;
30731 wxMenu *arg1 = (wxMenu *) 0 ;
30732 int arg2 ;
30733 bool result;
30734 PyObject * obj0 = 0 ;
994141e6 30735 PyObject * obj1 = 0 ;
d14a1e28 30736 char *kwnames[] = {
242b7b46 30737 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30738 };
30739
994141e6 30740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30743 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30745 {
30746 PyThreadState* __tstate = wxPyBeginAllowThreads();
30747 result = (bool)(arg1)->Destroy(arg2);
30748
30749 wxPyEndAllowThreads(__tstate);
30750 if (PyErr_Occurred()) SWIG_fail;
30751 }
4f89f6a3
RD
30752 {
30753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30754 }
d14a1e28
RD
30755 return resultobj;
30756 fail:
30757 return NULL;
30758}
30759
30760
c32bde28 30761static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30762 PyObject *resultobj;
30763 wxMenu *arg1 = (wxMenu *) 0 ;
30764 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30765 bool result;
30766 PyObject * obj0 = 0 ;
30767 PyObject * obj1 = 0 ;
30768 char *kwnames[] = {
30769 (char *) "self",(char *) "item", NULL
30770 };
30771
30772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30777 {
30778 PyThreadState* __tstate = wxPyBeginAllowThreads();
30779 result = (bool)(arg1)->Destroy(arg2);
30780
30781 wxPyEndAllowThreads(__tstate);
30782 if (PyErr_Occurred()) SWIG_fail;
30783 }
4f89f6a3
RD
30784 {
30785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30786 }
d14a1e28
RD
30787 return resultobj;
30788 fail:
30789 return NULL;
30790}
30791
30792
c32bde28 30793static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30794 PyObject *resultobj;
30795 wxMenu *arg1 = (wxMenu *) 0 ;
30796 size_t result;
30797 PyObject * obj0 = 0 ;
30798 char *kwnames[] = {
30799 (char *) "self", NULL
30800 };
30801
30802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
30803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30805 {
30806 PyThreadState* __tstate = wxPyBeginAllowThreads();
30807 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
30808
30809 wxPyEndAllowThreads(__tstate);
30810 if (PyErr_Occurred()) SWIG_fail;
30811 }
c32bde28 30812 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
30813 return resultobj;
30814 fail:
30815 return NULL;
30816}
30817
30818
c32bde28 30819static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30820 PyObject *resultobj;
30821 wxMenu *arg1 = (wxMenu *) 0 ;
30822 PyObject *result;
30823 PyObject * obj0 = 0 ;
30824 char *kwnames[] = {
30825 (char *) "self", NULL
30826 };
30827
30828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
30829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 resultobj = result;
30839 return resultobj;
30840 fail:
30841 return NULL;
30842}
30843
30844
c32bde28 30845static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30846 PyObject *resultobj;
30847 wxMenu *arg1 = (wxMenu *) 0 ;
30848 wxString *arg2 = 0 ;
30849 int result;
ae8162c8 30850 bool temp2 = false ;
d14a1e28
RD
30851 PyObject * obj0 = 0 ;
30852 PyObject * obj1 = 0 ;
30853 char *kwnames[] = {
30854 (char *) "self",(char *) "item", NULL
30855 };
30856
30857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30860 {
30861 arg2 = wxString_in_helper(obj1);
30862 if (arg2 == NULL) SWIG_fail;
ae8162c8 30863 temp2 = true;
d14a1e28
RD
30864 }
30865 {
30866 PyThreadState* __tstate = wxPyBeginAllowThreads();
30867 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30868
30869 wxPyEndAllowThreads(__tstate);
30870 if (PyErr_Occurred()) SWIG_fail;
30871 }
c32bde28 30872 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
30873 {
30874 if (temp2)
30875 delete arg2;
30876 }
30877 return resultobj;
30878 fail:
30879 {
30880 if (temp2)
30881 delete arg2;
30882 }
30883 return NULL;
30884}
30885
30886
c32bde28 30887static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30888 PyObject *resultobj;
30889 wxMenu *arg1 = (wxMenu *) 0 ;
30890 int arg2 ;
30891 wxMenuItem *result;
30892 PyObject * obj0 = 0 ;
994141e6 30893 PyObject * obj1 = 0 ;
d14a1e28 30894 char *kwnames[] = {
242b7b46 30895 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30896 };
30897
994141e6 30898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30901 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30903 {
30904 PyThreadState* __tstate = wxPyBeginAllowThreads();
30905 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30906
30907 wxPyEndAllowThreads(__tstate);
30908 if (PyErr_Occurred()) SWIG_fail;
30909 }
30910 {
412d302d 30911 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30912 }
30913 return resultobj;
30914 fail:
30915 return NULL;
30916}
30917
30918
c32bde28 30919static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30920 PyObject *resultobj;
30921 wxMenu *arg1 = (wxMenu *) 0 ;
30922 size_t arg2 ;
30923 wxMenuItem *result;
30924 PyObject * obj0 = 0 ;
30925 PyObject * obj1 = 0 ;
30926 char *kwnames[] = {
30927 (char *) "self",(char *) "position", NULL
30928 };
30929
30930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30933 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30935 {
30936 PyThreadState* __tstate = wxPyBeginAllowThreads();
30937 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30938
30939 wxPyEndAllowThreads(__tstate);
30940 if (PyErr_Occurred()) SWIG_fail;
30941 }
30942 {
412d302d 30943 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30944 }
30945 return resultobj;
30946 fail:
30947 return NULL;
30948}
30949
30950
c32bde28 30951static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30952 PyObject *resultobj;
30953 wxMenu *arg1 = (wxMenu *) 0 ;
30954 int arg2 ;
30955 bool arg3 ;
30956 PyObject * obj0 = 0 ;
994141e6 30957 PyObject * obj1 = 0 ;
d14a1e28
RD
30958 PyObject * obj2 = 0 ;
30959 char *kwnames[] = {
242b7b46 30960 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30961 };
30962
994141e6 30963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30966 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30967 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30968 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 30969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30970 {
30971 PyThreadState* __tstate = wxPyBeginAllowThreads();
30972 (arg1)->Enable(arg2,arg3);
30973
30974 wxPyEndAllowThreads(__tstate);
30975 if (PyErr_Occurred()) SWIG_fail;
30976 }
30977 Py_INCREF(Py_None); resultobj = Py_None;
30978 return resultobj;
30979 fail:
30980 return NULL;
30981}
30982
30983
c32bde28 30984static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30985 PyObject *resultobj;
30986 wxMenu *arg1 = (wxMenu *) 0 ;
30987 int arg2 ;
30988 bool result;
30989 PyObject * obj0 = 0 ;
994141e6 30990 PyObject * obj1 = 0 ;
d14a1e28 30991 char *kwnames[] = {
242b7b46 30992 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30993 };
30994
994141e6 30995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30998 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31000 {
31001 PyThreadState* __tstate = wxPyBeginAllowThreads();
31002 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
31003
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
4f89f6a3
RD
31007 {
31008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31009 }
d14a1e28
RD
31010 return resultobj;
31011 fail:
31012 return NULL;
31013}
31014
31015
c32bde28 31016static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31017 PyObject *resultobj;
31018 wxMenu *arg1 = (wxMenu *) 0 ;
31019 int arg2 ;
31020 bool arg3 ;
31021 PyObject * obj0 = 0 ;
994141e6 31022 PyObject * obj1 = 0 ;
d14a1e28
RD
31023 PyObject * obj2 = 0 ;
31024 char *kwnames[] = {
242b7b46 31025 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31026 };
31027
994141e6 31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31031 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31032 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31033 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 31034 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31035 {
31036 PyThreadState* __tstate = wxPyBeginAllowThreads();
31037 (arg1)->Check(arg2,arg3);
31038
31039 wxPyEndAllowThreads(__tstate);
31040 if (PyErr_Occurred()) SWIG_fail;
31041 }
31042 Py_INCREF(Py_None); resultobj = Py_None;
31043 return resultobj;
31044 fail:
31045 return NULL;
31046}
31047
31048
c32bde28 31049static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31050 PyObject *resultobj;
31051 wxMenu *arg1 = (wxMenu *) 0 ;
31052 int arg2 ;
31053 bool result;
31054 PyObject * obj0 = 0 ;
994141e6 31055 PyObject * obj1 = 0 ;
d14a1e28 31056 char *kwnames[] = {
242b7b46 31057 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31058 };
31059
994141e6 31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31063 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
31067 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
31068
31069 wxPyEndAllowThreads(__tstate);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
4f89f6a3
RD
31072 {
31073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31074 }
d14a1e28
RD
31075 return resultobj;
31076 fail:
31077 return NULL;
31078}
31079
31080
c32bde28 31081static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31082 PyObject *resultobj;
31083 wxMenu *arg1 = (wxMenu *) 0 ;
31084 int arg2 ;
31085 wxString *arg3 = 0 ;
ae8162c8 31086 bool temp3 = false ;
d14a1e28 31087 PyObject * obj0 = 0 ;
994141e6 31088 PyObject * obj1 = 0 ;
d14a1e28
RD
31089 PyObject * obj2 = 0 ;
31090 char *kwnames[] = {
242b7b46 31091 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31092 };
31093
994141e6 31094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31097 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31099 {
31100 arg3 = wxString_in_helper(obj2);
31101 if (arg3 == NULL) SWIG_fail;
ae8162c8 31102 temp3 = true;
d14a1e28
RD
31103 }
31104 {
31105 PyThreadState* __tstate = wxPyBeginAllowThreads();
31106 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31107
31108 wxPyEndAllowThreads(__tstate);
31109 if (PyErr_Occurred()) SWIG_fail;
31110 }
31111 Py_INCREF(Py_None); resultobj = Py_None;
31112 {
31113 if (temp3)
31114 delete arg3;
31115 }
31116 return resultobj;
31117 fail:
31118 {
31119 if (temp3)
31120 delete arg3;
31121 }
31122 return NULL;
31123}
31124
31125
c32bde28 31126static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31127 PyObject *resultobj;
31128 wxMenu *arg1 = (wxMenu *) 0 ;
31129 int arg2 ;
31130 wxString result;
31131 PyObject * obj0 = 0 ;
994141e6 31132 PyObject * obj1 = 0 ;
d14a1e28 31133 char *kwnames[] = {
242b7b46 31134 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31135 };
31136
994141e6 31137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31140 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31141 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31142 {
31143 PyThreadState* __tstate = wxPyBeginAllowThreads();
31144 result = ((wxMenu const *)arg1)->GetLabel(arg2);
31145
31146 wxPyEndAllowThreads(__tstate);
31147 if (PyErr_Occurred()) SWIG_fail;
31148 }
31149 {
31150#if wxUSE_UNICODE
31151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31152#else
31153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31154#endif
31155 }
31156 return resultobj;
31157 fail:
31158 return NULL;
31159}
31160
31161
c32bde28 31162static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31163 PyObject *resultobj;
31164 wxMenu *arg1 = (wxMenu *) 0 ;
31165 int arg2 ;
31166 wxString *arg3 = 0 ;
ae8162c8 31167 bool temp3 = false ;
d14a1e28 31168 PyObject * obj0 = 0 ;
994141e6 31169 PyObject * obj1 = 0 ;
d14a1e28
RD
31170 PyObject * obj2 = 0 ;
31171 char *kwnames[] = {
242b7b46 31172 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31173 };
31174
994141e6 31175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31178 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31180 {
31181 arg3 = wxString_in_helper(obj2);
31182 if (arg3 == NULL) SWIG_fail;
ae8162c8 31183 temp3 = true;
d14a1e28
RD
31184 }
31185 {
31186 PyThreadState* __tstate = wxPyBeginAllowThreads();
31187 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31188
31189 wxPyEndAllowThreads(__tstate);
31190 if (PyErr_Occurred()) SWIG_fail;
31191 }
31192 Py_INCREF(Py_None); resultobj = Py_None;
31193 {
31194 if (temp3)
31195 delete arg3;
31196 }
31197 return resultobj;
31198 fail:
31199 {
31200 if (temp3)
31201 delete arg3;
31202 }
31203 return NULL;
31204}
31205
31206
c32bde28 31207static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31208 PyObject *resultobj;
31209 wxMenu *arg1 = (wxMenu *) 0 ;
31210 int arg2 ;
31211 wxString result;
31212 PyObject * obj0 = 0 ;
994141e6 31213 PyObject * obj1 = 0 ;
d14a1e28 31214 char *kwnames[] = {
242b7b46 31215 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31216 };
31217
994141e6 31218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31221 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31223 {
31224 PyThreadState* __tstate = wxPyBeginAllowThreads();
31225 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
31226
31227 wxPyEndAllowThreads(__tstate);
31228 if (PyErr_Occurred()) SWIG_fail;
31229 }
31230 {
31231#if wxUSE_UNICODE
31232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31233#else
31234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31235#endif
31236 }
31237 return resultobj;
31238 fail:
31239 return NULL;
31240}
31241
31242
c32bde28 31243static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31244 PyObject *resultobj;
31245 wxMenu *arg1 = (wxMenu *) 0 ;
31246 wxString *arg2 = 0 ;
ae8162c8 31247 bool temp2 = false ;
d14a1e28
RD
31248 PyObject * obj0 = 0 ;
31249 PyObject * obj1 = 0 ;
31250 char *kwnames[] = {
31251 (char *) "self",(char *) "title", NULL
31252 };
31253
31254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31257 {
31258 arg2 = wxString_in_helper(obj1);
31259 if (arg2 == NULL) SWIG_fail;
ae8162c8 31260 temp2 = true;
d14a1e28
RD
31261 }
31262 {
31263 PyThreadState* __tstate = wxPyBeginAllowThreads();
31264 (arg1)->SetTitle((wxString const &)*arg2);
31265
31266 wxPyEndAllowThreads(__tstate);
31267 if (PyErr_Occurred()) SWIG_fail;
31268 }
31269 Py_INCREF(Py_None); resultobj = Py_None;
31270 {
31271 if (temp2)
31272 delete arg2;
31273 }
31274 return resultobj;
31275 fail:
31276 {
31277 if (temp2)
31278 delete arg2;
31279 }
31280 return NULL;
31281}
31282
31283
c32bde28 31284static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31285 PyObject *resultobj;
31286 wxMenu *arg1 = (wxMenu *) 0 ;
31287 wxString result;
31288 PyObject * obj0 = 0 ;
31289 char *kwnames[] = {
31290 (char *) "self", NULL
31291 };
31292
31293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
31294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 result = ((wxMenu const *)arg1)->GetTitle();
31299
31300 wxPyEndAllowThreads(__tstate);
31301 if (PyErr_Occurred()) SWIG_fail;
31302 }
31303 {
31304#if wxUSE_UNICODE
31305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31306#else
31307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31308#endif
31309 }
31310 return resultobj;
31311 fail:
31312 return NULL;
31313}
31314
31315
c32bde28 31316static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31317 PyObject *resultobj;
31318 wxMenu *arg1 = (wxMenu *) 0 ;
31319 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
31320 PyObject * obj0 = 0 ;
31321 PyObject * obj1 = 0 ;
31322 char *kwnames[] = {
31323 (char *) "self",(char *) "handler", NULL
31324 };
31325
31326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
31330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31331 {
31332 PyThreadState* __tstate = wxPyBeginAllowThreads();
31333 (arg1)->SetEventHandler(arg2);
31334
31335 wxPyEndAllowThreads(__tstate);
31336 if (PyErr_Occurred()) SWIG_fail;
31337 }
31338 Py_INCREF(Py_None); resultobj = Py_None;
31339 return resultobj;
31340 fail:
31341 return NULL;
31342}
31343
31344
c32bde28 31345static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31346 PyObject *resultobj;
31347 wxMenu *arg1 = (wxMenu *) 0 ;
31348 wxEvtHandler *result;
31349 PyObject * obj0 = 0 ;
31350 char *kwnames[] = {
31351 (char *) "self", NULL
31352 };
31353
31354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
31355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
31360
31361 wxPyEndAllowThreads(__tstate);
31362 if (PyErr_Occurred()) SWIG_fail;
31363 }
31364 {
412d302d 31365 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31366 }
31367 return resultobj;
31368 fail:
31369 return NULL;
31370}
31371
31372
c32bde28 31373static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31374 PyObject *resultobj;
31375 wxMenu *arg1 = (wxMenu *) 0 ;
31376 wxWindow *arg2 = (wxWindow *) 0 ;
31377 PyObject * obj0 = 0 ;
31378 PyObject * obj1 = 0 ;
31379 char *kwnames[] = {
31380 (char *) "self",(char *) "win", NULL
31381 };
31382
31383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31386 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31388 {
31389 PyThreadState* __tstate = wxPyBeginAllowThreads();
31390 (arg1)->SetInvokingWindow(arg2);
31391
31392 wxPyEndAllowThreads(__tstate);
31393 if (PyErr_Occurred()) SWIG_fail;
31394 }
31395 Py_INCREF(Py_None); resultobj = Py_None;
31396 return resultobj;
31397 fail:
31398 return NULL;
31399}
31400
31401
c32bde28 31402static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31403 PyObject *resultobj;
31404 wxMenu *arg1 = (wxMenu *) 0 ;
31405 wxWindow *result;
31406 PyObject * obj0 = 0 ;
31407 char *kwnames[] = {
31408 (char *) "self", NULL
31409 };
31410
31411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
31412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31414 {
31415 PyThreadState* __tstate = wxPyBeginAllowThreads();
31416 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
31417
31418 wxPyEndAllowThreads(__tstate);
31419 if (PyErr_Occurred()) SWIG_fail;
31420 }
31421 {
412d302d 31422 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31423 }
31424 return resultobj;
31425 fail:
31426 return NULL;
31427}
31428
31429
c32bde28 31430static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31431 PyObject *resultobj;
31432 wxMenu *arg1 = (wxMenu *) 0 ;
31433 long result;
31434 PyObject * obj0 = 0 ;
31435 char *kwnames[] = {
31436 (char *) "self", NULL
31437 };
31438
31439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
31440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31442 {
31443 PyThreadState* __tstate = wxPyBeginAllowThreads();
31444 result = (long)((wxMenu const *)arg1)->GetStyle();
31445
31446 wxPyEndAllowThreads(__tstate);
31447 if (PyErr_Occurred()) SWIG_fail;
31448 }
c32bde28 31449 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
31450 return resultobj;
31451 fail:
31452 return NULL;
31453}
31454
31455
c32bde28 31456static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31457 PyObject *resultobj;
31458 wxMenu *arg1 = (wxMenu *) 0 ;
31459 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
31460 PyObject * obj0 = 0 ;
31461 PyObject * obj1 = 0 ;
31462 char *kwnames[] = {
31463 (char *) "self",(char *) "source", NULL
31464 };
31465
31466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31469 if (obj1) {
15afbcd0
RD
31470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
31471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31472 }
31473 {
31474 PyThreadState* __tstate = wxPyBeginAllowThreads();
31475 (arg1)->UpdateUI(arg2);
31476
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 Py_INCREF(Py_None); resultobj = Py_None;
31481 return resultobj;
31482 fail:
31483 return NULL;
31484}
31485
31486
c32bde28 31487static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31488 PyObject *resultobj;
31489 wxMenu *arg1 = (wxMenu *) 0 ;
31490 wxMenuBar *result;
31491 PyObject * obj0 = 0 ;
31492 char *kwnames[] = {
31493 (char *) "self", NULL
31494 };
31495
31496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
31497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31499 {
31500 PyThreadState* __tstate = wxPyBeginAllowThreads();
31501 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
31502
31503 wxPyEndAllowThreads(__tstate);
31504 if (PyErr_Occurred()) SWIG_fail;
31505 }
31506 {
412d302d 31507 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31508 }
31509 return resultobj;
31510 fail:
31511 return NULL;
31512}
31513
31514
c32bde28 31515static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31516 PyObject *resultobj;
31517 wxMenu *arg1 = (wxMenu *) 0 ;
31518 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
31519 PyObject * obj0 = 0 ;
31520 PyObject * obj1 = 0 ;
31521 char *kwnames[] = {
31522 (char *) "self",(char *) "menubar", NULL
31523 };
31524
31525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
31529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31530 {
31531 PyThreadState* __tstate = wxPyBeginAllowThreads();
31532 (arg1)->Attach(arg2);
31533
31534 wxPyEndAllowThreads(__tstate);
31535 if (PyErr_Occurred()) SWIG_fail;
31536 }
31537 Py_INCREF(Py_None); resultobj = Py_None;
31538 return resultobj;
31539 fail:
31540 return NULL;
31541}
31542
31543
c32bde28 31544static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31545 PyObject *resultobj;
31546 wxMenu *arg1 = (wxMenu *) 0 ;
31547 PyObject * obj0 = 0 ;
31548 char *kwnames[] = {
31549 (char *) "self", NULL
31550 };
31551
31552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
31553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31555 {
31556 PyThreadState* __tstate = wxPyBeginAllowThreads();
31557 (arg1)->Detach();
31558
31559 wxPyEndAllowThreads(__tstate);
31560 if (PyErr_Occurred()) SWIG_fail;
31561 }
31562 Py_INCREF(Py_None); resultobj = Py_None;
31563 return resultobj;
31564 fail:
31565 return NULL;
31566}
31567
31568
c32bde28 31569static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31570 PyObject *resultobj;
31571 wxMenu *arg1 = (wxMenu *) 0 ;
31572 bool result;
31573 PyObject * obj0 = 0 ;
31574 char *kwnames[] = {
31575 (char *) "self", NULL
31576 };
31577
31578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
31579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31581 {
31582 PyThreadState* __tstate = wxPyBeginAllowThreads();
31583 result = (bool)((wxMenu const *)arg1)->IsAttached();
31584
31585 wxPyEndAllowThreads(__tstate);
31586 if (PyErr_Occurred()) SWIG_fail;
31587 }
4f89f6a3
RD
31588 {
31589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31590 }
d14a1e28
RD
31591 return resultobj;
31592 fail:
31593 return NULL;
31594}
31595
31596
c32bde28 31597static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31598 PyObject *resultobj;
31599 wxMenu *arg1 = (wxMenu *) 0 ;
31600 wxMenu *arg2 = (wxMenu *) 0 ;
31601 PyObject * obj0 = 0 ;
31602 PyObject * obj1 = 0 ;
31603 char *kwnames[] = {
31604 (char *) "self",(char *) "parent", NULL
31605 };
31606
31607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31612 {
31613 PyThreadState* __tstate = wxPyBeginAllowThreads();
31614 (arg1)->SetParent(arg2);
31615
31616 wxPyEndAllowThreads(__tstate);
31617 if (PyErr_Occurred()) SWIG_fail;
31618 }
31619 Py_INCREF(Py_None); resultobj = Py_None;
31620 return resultobj;
31621 fail:
31622 return NULL;
31623}
31624
31625
c32bde28 31626static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31627 PyObject *resultobj;
31628 wxMenu *arg1 = (wxMenu *) 0 ;
31629 wxMenu *result;
31630 PyObject * obj0 = 0 ;
31631 char *kwnames[] = {
31632 (char *) "self", NULL
31633 };
31634
31635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
31636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31638 {
31639 PyThreadState* __tstate = wxPyBeginAllowThreads();
31640 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
31641
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 {
412d302d 31646 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31647 }
31648 return resultobj;
31649 fail:
31650 return NULL;
31651}
31652
31653
c32bde28 31654static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31655 PyObject *obj;
31656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31657 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
31658 Py_INCREF(obj);
31659 return Py_BuildValue((char *)"");
31660}
c32bde28 31661static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31662 PyObject *resultobj;
31663 long arg1 = (long) 0 ;
31664 wxMenuBar *result;
994141e6 31665 PyObject * obj0 = 0 ;
d14a1e28
RD
31666 char *kwnames[] = {
31667 (char *) "style", NULL
31668 };
31669
994141e6
RD
31670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
31671 if (obj0) {
c32bde28 31672 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 31673 if (PyErr_Occurred()) SWIG_fail;
994141e6 31674 }
d14a1e28 31675 {
e3b71cb8 31676 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31677 PyThreadState* __tstate = wxPyBeginAllowThreads();
31678 result = (wxMenuBar *)new wxMenuBar(arg1);
31679
31680 wxPyEndAllowThreads(__tstate);
110da5b0 31681 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31682 }
b0f7404b 31683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
d14a1e28
RD
31684 return resultobj;
31685 fail:
31686 return NULL;
31687}
31688
31689
c32bde28 31690static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31691 PyObject *resultobj;
31692 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31693 wxMenu *arg2 = (wxMenu *) 0 ;
31694 wxString *arg3 = 0 ;
31695 bool result;
ae8162c8 31696 bool temp3 = false ;
d14a1e28
RD
31697 PyObject * obj0 = 0 ;
31698 PyObject * obj1 = 0 ;
31699 PyObject * obj2 = 0 ;
31700 char *kwnames[] = {
31701 (char *) "self",(char *) "menu",(char *) "title", NULL
31702 };
31703
31704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31709 {
31710 arg3 = wxString_in_helper(obj2);
31711 if (arg3 == NULL) SWIG_fail;
ae8162c8 31712 temp3 = true;
d14a1e28
RD
31713 }
31714 {
31715 PyThreadState* __tstate = wxPyBeginAllowThreads();
31716 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
31717
31718 wxPyEndAllowThreads(__tstate);
31719 if (PyErr_Occurred()) SWIG_fail;
31720 }
4f89f6a3
RD
31721 {
31722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31723 }
d14a1e28
RD
31724 {
31725 if (temp3)
31726 delete arg3;
31727 }
31728 return resultobj;
31729 fail:
31730 {
31731 if (temp3)
31732 delete arg3;
31733 }
31734 return NULL;
31735}
31736
31737
c32bde28 31738static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31739 PyObject *resultobj;
31740 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31741 size_t arg2 ;
31742 wxMenu *arg3 = (wxMenu *) 0 ;
31743 wxString *arg4 = 0 ;
31744 bool result;
ae8162c8 31745 bool temp4 = false ;
d14a1e28
RD
31746 PyObject * obj0 = 0 ;
31747 PyObject * obj1 = 0 ;
31748 PyObject * obj2 = 0 ;
31749 PyObject * obj3 = 0 ;
31750 char *kwnames[] = {
31751 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31752 };
31753
31754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31757 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
31758 if (PyErr_Occurred()) SWIG_fail;
31759 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31761 {
31762 arg4 = wxString_in_helper(obj3);
31763 if (arg4 == NULL) SWIG_fail;
ae8162c8 31764 temp4 = true;
d14a1e28
RD
31765 }
31766 {
31767 PyThreadState* __tstate = wxPyBeginAllowThreads();
31768 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
31769
31770 wxPyEndAllowThreads(__tstate);
31771 if (PyErr_Occurred()) SWIG_fail;
31772 }
4f89f6a3
RD
31773 {
31774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31775 }
d14a1e28
RD
31776 {
31777 if (temp4)
31778 delete arg4;
31779 }
31780 return resultobj;
31781 fail:
31782 {
31783 if (temp4)
31784 delete arg4;
31785 }
31786 return NULL;
31787}
31788
31789
c32bde28 31790static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31791 PyObject *resultobj;
31792 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31793 size_t result;
31794 PyObject * obj0 = 0 ;
31795 char *kwnames[] = {
31796 (char *) "self", NULL
31797 };
31798
31799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
31800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31802 {
31803 PyThreadState* __tstate = wxPyBeginAllowThreads();
31804 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
31805
31806 wxPyEndAllowThreads(__tstate);
31807 if (PyErr_Occurred()) SWIG_fail;
31808 }
c32bde28 31809 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
31810 return resultobj;
31811 fail:
31812 return NULL;
31813}
31814
31815
c32bde28 31816static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31817 PyObject *resultobj;
31818 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31819 size_t arg2 ;
31820 wxMenu *result;
31821 PyObject * obj0 = 0 ;
31822 PyObject * obj1 = 0 ;
31823 char *kwnames[] = {
31824 (char *) "self",(char *) "pos", NULL
31825 };
31826
31827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31830 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31832 {
31833 PyThreadState* __tstate = wxPyBeginAllowThreads();
31834 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31835
31836 wxPyEndAllowThreads(__tstate);
31837 if (PyErr_Occurred()) SWIG_fail;
31838 }
31839 {
412d302d 31840 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31841 }
31842 return resultobj;
31843 fail:
31844 return NULL;
31845}
31846
31847
c32bde28 31848static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31849 PyObject *resultobj;
31850 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31851 size_t arg2 ;
31852 wxMenu *arg3 = (wxMenu *) 0 ;
31853 wxString *arg4 = 0 ;
31854 wxMenu *result;
ae8162c8 31855 bool temp4 = false ;
d14a1e28
RD
31856 PyObject * obj0 = 0 ;
31857 PyObject * obj1 = 0 ;
31858 PyObject * obj2 = 0 ;
31859 PyObject * obj3 = 0 ;
31860 char *kwnames[] = {
31861 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31862 };
31863
31864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31867 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
31868 if (PyErr_Occurred()) SWIG_fail;
31869 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31871 {
31872 arg4 = wxString_in_helper(obj3);
31873 if (arg4 == NULL) SWIG_fail;
ae8162c8 31874 temp4 = true;
d14a1e28
RD
31875 }
31876 {
31877 PyThreadState* __tstate = wxPyBeginAllowThreads();
31878 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31879
31880 wxPyEndAllowThreads(__tstate);
31881 if (PyErr_Occurred()) SWIG_fail;
31882 }
31883 {
412d302d 31884 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31885 }
31886 {
31887 if (temp4)
31888 delete arg4;
31889 }
31890 return resultobj;
31891 fail:
31892 {
31893 if (temp4)
31894 delete arg4;
31895 }
31896 return NULL;
31897}
31898
31899
c32bde28 31900static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31901 PyObject *resultobj;
31902 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31903 size_t arg2 ;
31904 wxMenu *result;
31905 PyObject * obj0 = 0 ;
31906 PyObject * obj1 = 0 ;
31907 char *kwnames[] = {
31908 (char *) "self",(char *) "pos", NULL
31909 };
31910
31911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31914 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31916 {
31917 PyThreadState* __tstate = wxPyBeginAllowThreads();
31918 result = (wxMenu *)(arg1)->Remove(arg2);
31919
31920 wxPyEndAllowThreads(__tstate);
31921 if (PyErr_Occurred()) SWIG_fail;
31922 }
31923 {
412d302d 31924 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31925 }
31926 return resultobj;
31927 fail:
31928 return NULL;
31929}
31930
31931
c32bde28 31932static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31933 PyObject *resultobj;
31934 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31935 size_t arg2 ;
31936 bool arg3 ;
31937 PyObject * obj0 = 0 ;
31938 PyObject * obj1 = 0 ;
31939 PyObject * obj2 = 0 ;
31940 char *kwnames[] = {
31941 (char *) "self",(char *) "pos",(char *) "enable", NULL
31942 };
31943
31944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31947 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31948 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31949 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 31950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31951 {
31952 PyThreadState* __tstate = wxPyBeginAllowThreads();
31953 (arg1)->EnableTop(arg2,arg3);
31954
31955 wxPyEndAllowThreads(__tstate);
31956 if (PyErr_Occurred()) SWIG_fail;
31957 }
31958 Py_INCREF(Py_None); resultobj = Py_None;
31959 return resultobj;
31960 fail:
31961 return NULL;
31962}
31963
31964
c32bde28 31965static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31966 PyObject *resultobj;
31967 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31968 size_t arg2 ;
31969 bool result;
31970 PyObject * obj0 = 0 ;
31971 PyObject * obj1 = 0 ;
31972 char *kwnames[] = {
31973 (char *) "self",(char *) "pos", NULL
31974 };
31975
31976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31979 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31981 {
31982 PyThreadState* __tstate = wxPyBeginAllowThreads();
31983 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31984
31985 wxPyEndAllowThreads(__tstate);
31986 if (PyErr_Occurred()) SWIG_fail;
31987 }
4f89f6a3
RD
31988 {
31989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31990 }
d14a1e28
RD
31991 return resultobj;
31992 fail:
31993 return NULL;
31994}
31995
31996
c32bde28 31997static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31998 PyObject *resultobj;
31999 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32000 size_t arg2 ;
32001 wxString *arg3 = 0 ;
ae8162c8 32002 bool temp3 = false ;
d14a1e28
RD
32003 PyObject * obj0 = 0 ;
32004 PyObject * obj1 = 0 ;
32005 PyObject * obj2 = 0 ;
32006 char *kwnames[] = {
32007 (char *) "self",(char *) "pos",(char *) "label", NULL
32008 };
32009
32010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32013 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 32014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32015 {
32016 arg3 = wxString_in_helper(obj2);
32017 if (arg3 == NULL) SWIG_fail;
ae8162c8 32018 temp3 = true;
d14a1e28
RD
32019 }
32020 {
32021 PyThreadState* __tstate = wxPyBeginAllowThreads();
32022 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
32023
32024 wxPyEndAllowThreads(__tstate);
32025 if (PyErr_Occurred()) SWIG_fail;
32026 }
32027 Py_INCREF(Py_None); resultobj = Py_None;
32028 {
32029 if (temp3)
32030 delete arg3;
32031 }
32032 return resultobj;
32033 fail:
32034 {
32035 if (temp3)
32036 delete arg3;
32037 }
32038 return NULL;
32039}
32040
32041
c32bde28 32042static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32043 PyObject *resultobj;
32044 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32045 size_t arg2 ;
32046 wxString result;
32047 PyObject * obj0 = 0 ;
32048 PyObject * obj1 = 0 ;
32049 char *kwnames[] = {
32050 (char *) "self",(char *) "pos", NULL
32051 };
32052
32053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32056 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 32057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32058 {
32059 PyThreadState* __tstate = wxPyBeginAllowThreads();
32060 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
32061
32062 wxPyEndAllowThreads(__tstate);
32063 if (PyErr_Occurred()) SWIG_fail;
32064 }
32065 {
32066#if wxUSE_UNICODE
32067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32068#else
32069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32070#endif
32071 }
32072 return resultobj;
32073 fail:
32074 return NULL;
32075}
32076
32077
c32bde28 32078static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32079 PyObject *resultobj;
32080 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32081 wxString *arg2 = 0 ;
32082 wxString *arg3 = 0 ;
32083 int result;
ae8162c8
RD
32084 bool temp2 = false ;
32085 bool temp3 = false ;
d14a1e28
RD
32086 PyObject * obj0 = 0 ;
32087 PyObject * obj1 = 0 ;
32088 PyObject * obj2 = 0 ;
32089 char *kwnames[] = {
32090 (char *) "self",(char *) "menu",(char *) "item", NULL
32091 };
32092
32093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32096 {
32097 arg2 = wxString_in_helper(obj1);
32098 if (arg2 == NULL) SWIG_fail;
ae8162c8 32099 temp2 = true;
d14a1e28
RD
32100 }
32101 {
32102 arg3 = wxString_in_helper(obj2);
32103 if (arg3 == NULL) SWIG_fail;
ae8162c8 32104 temp3 = true;
d14a1e28
RD
32105 }
32106 {
32107 PyThreadState* __tstate = wxPyBeginAllowThreads();
32108 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
32109
32110 wxPyEndAllowThreads(__tstate);
32111 if (PyErr_Occurred()) SWIG_fail;
32112 }
c32bde28 32113 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
32114 {
32115 if (temp2)
32116 delete arg2;
32117 }
32118 {
32119 if (temp3)
32120 delete arg3;
32121 }
32122 return resultobj;
32123 fail:
32124 {
32125 if (temp2)
32126 delete arg2;
32127 }
32128 {
32129 if (temp3)
32130 delete arg3;
32131 }
32132 return NULL;
32133}
32134
32135
c32bde28 32136static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32137 PyObject *resultobj;
32138 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32139 int arg2 ;
32140 wxMenuItem *result;
32141 PyObject * obj0 = 0 ;
994141e6 32142 PyObject * obj1 = 0 ;
d14a1e28 32143 char *kwnames[] = {
242b7b46 32144 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32145 };
32146
994141e6 32147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32150 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32152 {
32153 PyThreadState* __tstate = wxPyBeginAllowThreads();
32154 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
32155
32156 wxPyEndAllowThreads(__tstate);
32157 if (PyErr_Occurred()) SWIG_fail;
32158 }
32159 {
412d302d 32160 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32161 }
32162 return resultobj;
32163 fail:
32164 return NULL;
32165}
32166
32167
c32bde28 32168static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32169 PyObject *resultobj;
32170 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32171 wxString *arg2 = 0 ;
32172 int result;
ae8162c8 32173 bool temp2 = false ;
d14a1e28
RD
32174 PyObject * obj0 = 0 ;
32175 PyObject * obj1 = 0 ;
32176 char *kwnames[] = {
32177 (char *) "self",(char *) "title", NULL
32178 };
32179
32180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32183 {
32184 arg2 = wxString_in_helper(obj1);
32185 if (arg2 == NULL) SWIG_fail;
ae8162c8 32186 temp2 = true;
d14a1e28
RD
32187 }
32188 {
32189 PyThreadState* __tstate = wxPyBeginAllowThreads();
32190 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
32191
32192 wxPyEndAllowThreads(__tstate);
32193 if (PyErr_Occurred()) SWIG_fail;
32194 }
c32bde28 32195 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
32196 {
32197 if (temp2)
32198 delete arg2;
32199 }
32200 return resultobj;
32201 fail:
32202 {
32203 if (temp2)
32204 delete arg2;
32205 }
32206 return NULL;
32207}
32208
32209
c32bde28 32210static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32211 PyObject *resultobj;
32212 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32213 int arg2 ;
32214 bool arg3 ;
32215 PyObject * obj0 = 0 ;
994141e6 32216 PyObject * obj1 = 0 ;
d14a1e28
RD
32217 PyObject * obj2 = 0 ;
32218 char *kwnames[] = {
242b7b46 32219 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
32220 };
32221
994141e6 32222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32225 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32226 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32227 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 32228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32229 {
32230 PyThreadState* __tstate = wxPyBeginAllowThreads();
32231 (arg1)->Enable(arg2,arg3);
32232
32233 wxPyEndAllowThreads(__tstate);
32234 if (PyErr_Occurred()) SWIG_fail;
32235 }
32236 Py_INCREF(Py_None); resultobj = Py_None;
32237 return resultobj;
32238 fail:
32239 return NULL;
32240}
32241
32242
c32bde28 32243static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32244 PyObject *resultobj;
32245 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32246 int arg2 ;
32247 bool arg3 ;
32248 PyObject * obj0 = 0 ;
994141e6 32249 PyObject * obj1 = 0 ;
d14a1e28
RD
32250 PyObject * obj2 = 0 ;
32251 char *kwnames[] = {
242b7b46 32252 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
32253 };
32254
994141e6 32255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32258 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32259 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32260 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 32261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32262 {
32263 PyThreadState* __tstate = wxPyBeginAllowThreads();
32264 (arg1)->Check(arg2,arg3);
32265
32266 wxPyEndAllowThreads(__tstate);
32267 if (PyErr_Occurred()) SWIG_fail;
32268 }
32269 Py_INCREF(Py_None); resultobj = Py_None;
32270 return resultobj;
32271 fail:
32272 return NULL;
32273}
32274
32275
c32bde28 32276static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32277 PyObject *resultobj;
32278 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32279 int arg2 ;
32280 bool result;
32281 PyObject * obj0 = 0 ;
994141e6 32282 PyObject * obj1 = 0 ;
d14a1e28 32283 char *kwnames[] = {
242b7b46 32284 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32285 };
32286
994141e6 32287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32290 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32291 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32292 {
32293 PyThreadState* __tstate = wxPyBeginAllowThreads();
32294 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
32295
32296 wxPyEndAllowThreads(__tstate);
32297 if (PyErr_Occurred()) SWIG_fail;
32298 }
4f89f6a3
RD
32299 {
32300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32301 }
d14a1e28
RD
32302 return resultobj;
32303 fail:
32304 return NULL;
32305}
32306
32307
c32bde28 32308static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32309 PyObject *resultobj;
32310 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32311 int arg2 ;
32312 bool result;
32313 PyObject * obj0 = 0 ;
994141e6 32314 PyObject * obj1 = 0 ;
d14a1e28 32315 char *kwnames[] = {
242b7b46 32316 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32317 };
32318
994141e6 32319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32322 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32324 {
32325 PyThreadState* __tstate = wxPyBeginAllowThreads();
32326 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
32327
32328 wxPyEndAllowThreads(__tstate);
32329 if (PyErr_Occurred()) SWIG_fail;
32330 }
4f89f6a3
RD
32331 {
32332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32333 }
d14a1e28
RD
32334 return resultobj;
32335 fail:
32336 return NULL;
32337}
32338
32339
c32bde28 32340static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32341 PyObject *resultobj;
32342 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32343 int arg2 ;
32344 wxString *arg3 = 0 ;
ae8162c8 32345 bool temp3 = false ;
d14a1e28 32346 PyObject * obj0 = 0 ;
994141e6 32347 PyObject * obj1 = 0 ;
d14a1e28
RD
32348 PyObject * obj2 = 0 ;
32349 char *kwnames[] = {
242b7b46 32350 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
32351 };
32352
994141e6 32353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32356 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32357 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32358 {
32359 arg3 = wxString_in_helper(obj2);
32360 if (arg3 == NULL) SWIG_fail;
ae8162c8 32361 temp3 = true;
d14a1e28
RD
32362 }
32363 {
32364 PyThreadState* __tstate = wxPyBeginAllowThreads();
32365 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
32366
32367 wxPyEndAllowThreads(__tstate);
32368 if (PyErr_Occurred()) SWIG_fail;
32369 }
32370 Py_INCREF(Py_None); resultobj = Py_None;
32371 {
32372 if (temp3)
32373 delete arg3;
32374 }
32375 return resultobj;
32376 fail:
32377 {
32378 if (temp3)
32379 delete arg3;
32380 }
32381 return NULL;
32382}
32383
32384
c32bde28 32385static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32386 PyObject *resultobj;
32387 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32388 int arg2 ;
32389 wxString result;
32390 PyObject * obj0 = 0 ;
994141e6 32391 PyObject * obj1 = 0 ;
d14a1e28 32392 char *kwnames[] = {
242b7b46 32393 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32394 };
32395
994141e6 32396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32399 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32401 {
32402 PyThreadState* __tstate = wxPyBeginAllowThreads();
32403 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
32404
32405 wxPyEndAllowThreads(__tstate);
32406 if (PyErr_Occurred()) SWIG_fail;
32407 }
32408 {
32409#if wxUSE_UNICODE
32410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32411#else
32412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32413#endif
32414 }
32415 return resultobj;
32416 fail:
32417 return NULL;
32418}
32419
32420
c32bde28 32421static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32422 PyObject *resultobj;
32423 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32424 int arg2 ;
32425 wxString *arg3 = 0 ;
ae8162c8 32426 bool temp3 = false ;
d14a1e28 32427 PyObject * obj0 = 0 ;
994141e6 32428 PyObject * obj1 = 0 ;
d14a1e28
RD
32429 PyObject * obj2 = 0 ;
32430 char *kwnames[] = {
242b7b46 32431 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
32432 };
32433
994141e6 32434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32437 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32438 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32439 {
32440 arg3 = wxString_in_helper(obj2);
32441 if (arg3 == NULL) SWIG_fail;
ae8162c8 32442 temp3 = true;
d14a1e28
RD
32443 }
32444 {
32445 PyThreadState* __tstate = wxPyBeginAllowThreads();
32446 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
32447
32448 wxPyEndAllowThreads(__tstate);
32449 if (PyErr_Occurred()) SWIG_fail;
32450 }
32451 Py_INCREF(Py_None); resultobj = Py_None;
32452 {
32453 if (temp3)
32454 delete arg3;
32455 }
32456 return resultobj;
32457 fail:
32458 {
32459 if (temp3)
32460 delete arg3;
32461 }
32462 return NULL;
32463}
32464
32465
c32bde28 32466static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32467 PyObject *resultobj;
32468 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32469 int arg2 ;
32470 wxString result;
32471 PyObject * obj0 = 0 ;
994141e6 32472 PyObject * obj1 = 0 ;
d14a1e28 32473 char *kwnames[] = {
242b7b46 32474 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32475 };
32476
994141e6 32477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32480 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32481 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32482 {
32483 PyThreadState* __tstate = wxPyBeginAllowThreads();
32484 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
32485
32486 wxPyEndAllowThreads(__tstate);
32487 if (PyErr_Occurred()) SWIG_fail;
32488 }
32489 {
32490#if wxUSE_UNICODE
32491 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32492#else
32493 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32494#endif
32495 }
32496 return resultobj;
32497 fail:
32498 return NULL;
32499}
32500
32501
c32bde28 32502static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32503 PyObject *resultobj;
32504 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32505 wxFrame *result;
32506 PyObject * obj0 = 0 ;
32507 char *kwnames[] = {
32508 (char *) "self", NULL
32509 };
32510
32511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
32512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32514 {
32515 PyThreadState* __tstate = wxPyBeginAllowThreads();
32516 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
32517
32518 wxPyEndAllowThreads(__tstate);
32519 if (PyErr_Occurred()) SWIG_fail;
32520 }
32521 {
412d302d 32522 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32523 }
32524 return resultobj;
32525 fail:
32526 return NULL;
32527}
32528
32529
c32bde28 32530static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32531 PyObject *resultobj;
32532 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32533 bool result;
32534 PyObject * obj0 = 0 ;
32535 char *kwnames[] = {
32536 (char *) "self", NULL
32537 };
32538
32539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
32540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32542 {
32543 PyThreadState* __tstate = wxPyBeginAllowThreads();
32544 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
32545
32546 wxPyEndAllowThreads(__tstate);
32547 if (PyErr_Occurred()) SWIG_fail;
32548 }
4f89f6a3
RD
32549 {
32550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32551 }
d14a1e28
RD
32552 return resultobj;
32553 fail:
32554 return NULL;
32555}
32556
32557
c32bde28 32558static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32559 PyObject *resultobj;
32560 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32561 wxFrame *arg2 = (wxFrame *) 0 ;
32562 PyObject * obj0 = 0 ;
32563 PyObject * obj1 = 0 ;
32564 char *kwnames[] = {
32565 (char *) "self",(char *) "frame", NULL
32566 };
32567
32568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
32572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32573 {
32574 PyThreadState* __tstate = wxPyBeginAllowThreads();
32575 (arg1)->Attach(arg2);
32576
32577 wxPyEndAllowThreads(__tstate);
32578 if (PyErr_Occurred()) SWIG_fail;
32579 }
32580 Py_INCREF(Py_None); resultobj = Py_None;
32581 return resultobj;
32582 fail:
32583 return NULL;
32584}
32585
32586
c32bde28 32587static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32588 PyObject *resultobj;
32589 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32590 PyObject * obj0 = 0 ;
32591 char *kwnames[] = {
32592 (char *) "self", NULL
32593 };
32594
32595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
32596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32598 {
32599 PyThreadState* __tstate = wxPyBeginAllowThreads();
32600 (arg1)->Detach();
32601
32602 wxPyEndAllowThreads(__tstate);
32603 if (PyErr_Occurred()) SWIG_fail;
32604 }
32605 Py_INCREF(Py_None); resultobj = Py_None;
32606 return resultobj;
32607 fail:
32608 return NULL;
32609}
32610
32611
c32bde28 32612static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32613 PyObject *obj;
32614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32615 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
32616 Py_INCREF(obj);
32617 return Py_BuildValue((char *)"");
32618}
c32bde28 32619static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32620 PyObject *resultobj;
32621 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 32622 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
32623 wxString const &arg3_defvalue = wxPyEmptyString ;
32624 wxString *arg3 = (wxString *) &arg3_defvalue ;
32625 wxString const &arg4_defvalue = wxPyEmptyString ;
32626 wxString *arg4 = (wxString *) &arg4_defvalue ;
32627 int arg5 = (int) wxITEM_NORMAL ;
32628 wxMenu *arg6 = (wxMenu *) NULL ;
32629 wxMenuItem *result;
ae8162c8
RD
32630 bool temp3 = false ;
32631 bool temp4 = false ;
d14a1e28 32632 PyObject * obj0 = 0 ;
994141e6 32633 PyObject * obj1 = 0 ;
d14a1e28
RD
32634 PyObject * obj2 = 0 ;
32635 PyObject * obj3 = 0 ;
994141e6 32636 PyObject * obj4 = 0 ;
d14a1e28
RD
32637 PyObject * obj5 = 0 ;
32638 char *kwnames[] = {
32639 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32640 };
32641
994141e6 32642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 32643 if (obj0) {
15afbcd0
RD
32644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
32645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32646 }
994141e6 32647 if (obj1) {
c32bde28 32648 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32649 if (PyErr_Occurred()) SWIG_fail;
994141e6 32650 }
d14a1e28
RD
32651 if (obj2) {
32652 {
32653 arg3 = wxString_in_helper(obj2);
32654 if (arg3 == NULL) SWIG_fail;
ae8162c8 32655 temp3 = true;
d14a1e28
RD
32656 }
32657 }
32658 if (obj3) {
32659 {
32660 arg4 = wxString_in_helper(obj3);
32661 if (arg4 == NULL) SWIG_fail;
ae8162c8 32662 temp4 = true;
d14a1e28
RD
32663 }
32664 }
994141e6 32665 if (obj4) {
c32bde28 32666 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 32667 if (PyErr_Occurred()) SWIG_fail;
994141e6 32668 }
d14a1e28 32669 if (obj5) {
15afbcd0
RD
32670 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
32671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32672 }
32673 {
32674 PyThreadState* __tstate = wxPyBeginAllowThreads();
32675 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
32676
32677 wxPyEndAllowThreads(__tstate);
32678 if (PyErr_Occurred()) SWIG_fail;
32679 }
32680 {
412d302d 32681 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
32682 }
32683 {
32684 if (temp3)
32685 delete arg3;
32686 }
32687 {
32688 if (temp4)
32689 delete arg4;
32690 }
32691 return resultobj;
32692 fail:
32693 {
32694 if (temp3)
32695 delete arg3;
32696 }
32697 {
32698 if (temp4)
32699 delete arg4;
32700 }
32701 return NULL;
32702}
32703
32704
c32bde28 32705static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32706 PyObject *resultobj;
32707 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32708 wxMenu *result;
32709 PyObject * obj0 = 0 ;
32710 char *kwnames[] = {
32711 (char *) "self", NULL
32712 };
32713
32714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32717 {
32718 PyThreadState* __tstate = wxPyBeginAllowThreads();
32719 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
32720
32721 wxPyEndAllowThreads(__tstate);
32722 if (PyErr_Occurred()) SWIG_fail;
32723 }
32724 {
412d302d 32725 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32726 }
32727 return resultobj;
32728 fail:
32729 return NULL;
32730}
32731
32732
c32bde28 32733static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32734 PyObject *resultobj;
32735 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32736 wxMenu *arg2 = (wxMenu *) 0 ;
32737 PyObject * obj0 = 0 ;
32738 PyObject * obj1 = 0 ;
32739 char *kwnames[] = {
32740 (char *) "self",(char *) "menu", NULL
32741 };
32742
32743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32748 {
32749 PyThreadState* __tstate = wxPyBeginAllowThreads();
32750 (arg1)->SetMenu(arg2);
32751
32752 wxPyEndAllowThreads(__tstate);
32753 if (PyErr_Occurred()) SWIG_fail;
32754 }
32755 Py_INCREF(Py_None); resultobj = Py_None;
32756 return resultobj;
32757 fail:
32758 return NULL;
32759}
32760
32761
c32bde28 32762static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32763 PyObject *resultobj;
32764 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32765 int arg2 ;
32766 PyObject * obj0 = 0 ;
994141e6 32767 PyObject * obj1 = 0 ;
d14a1e28 32768 char *kwnames[] = {
242b7b46 32769 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32770 };
32771
994141e6 32772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32775 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32777 {
32778 PyThreadState* __tstate = wxPyBeginAllowThreads();
32779 (arg1)->SetId(arg2);
32780
32781 wxPyEndAllowThreads(__tstate);
32782 if (PyErr_Occurred()) SWIG_fail;
32783 }
32784 Py_INCREF(Py_None); resultobj = Py_None;
32785 return resultobj;
32786 fail:
32787 return NULL;
32788}
32789
32790
c32bde28 32791static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32792 PyObject *resultobj;
32793 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32794 int result;
32795 PyObject * obj0 = 0 ;
32796 char *kwnames[] = {
32797 (char *) "self", NULL
32798 };
32799
32800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
32801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32803 {
32804 PyThreadState* __tstate = wxPyBeginAllowThreads();
32805 result = (int)((wxMenuItem const *)arg1)->GetId();
32806
32807 wxPyEndAllowThreads(__tstate);
32808 if (PyErr_Occurred()) SWIG_fail;
32809 }
c32bde28 32810 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
32811 return resultobj;
32812 fail:
32813 return NULL;
32814}
32815
32816
c32bde28 32817static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32818 PyObject *resultobj;
32819 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32820 bool result;
32821 PyObject * obj0 = 0 ;
32822 char *kwnames[] = {
32823 (char *) "self", NULL
32824 };
32825
32826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
32827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32829 {
32830 PyThreadState* __tstate = wxPyBeginAllowThreads();
32831 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32832
32833 wxPyEndAllowThreads(__tstate);
32834 if (PyErr_Occurred()) SWIG_fail;
32835 }
4f89f6a3
RD
32836 {
32837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32838 }
d14a1e28
RD
32839 return resultobj;
32840 fail:
32841 return NULL;
32842}
32843
32844
c32bde28 32845static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32846 PyObject *resultobj;
32847 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32848 wxString *arg2 = 0 ;
ae8162c8 32849 bool temp2 = false ;
d14a1e28
RD
32850 PyObject * obj0 = 0 ;
32851 PyObject * obj1 = 0 ;
32852 char *kwnames[] = {
32853 (char *) "self",(char *) "str", NULL
32854 };
32855
32856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32859 {
32860 arg2 = wxString_in_helper(obj1);
32861 if (arg2 == NULL) SWIG_fail;
ae8162c8 32862 temp2 = true;
d14a1e28
RD
32863 }
32864 {
32865 PyThreadState* __tstate = wxPyBeginAllowThreads();
32866 (arg1)->SetText((wxString const &)*arg2);
32867
32868 wxPyEndAllowThreads(__tstate);
32869 if (PyErr_Occurred()) SWIG_fail;
32870 }
32871 Py_INCREF(Py_None); resultobj = Py_None;
32872 {
32873 if (temp2)
32874 delete arg2;
32875 }
32876 return resultobj;
32877 fail:
32878 {
32879 if (temp2)
32880 delete arg2;
32881 }
32882 return NULL;
32883}
32884
32885
c32bde28 32886static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32887 PyObject *resultobj;
32888 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32889 wxString result;
32890 PyObject * obj0 = 0 ;
32891 char *kwnames[] = {
32892 (char *) "self", NULL
32893 };
32894
32895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32898 {
32899 PyThreadState* __tstate = wxPyBeginAllowThreads();
32900 result = ((wxMenuItem const *)arg1)->GetLabel();
32901
32902 wxPyEndAllowThreads(__tstate);
32903 if (PyErr_Occurred()) SWIG_fail;
32904 }
32905 {
32906#if wxUSE_UNICODE
32907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32908#else
32909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32910#endif
32911 }
32912 return resultobj;
32913 fail:
32914 return NULL;
32915}
32916
32917
c32bde28 32918static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32919 PyObject *resultobj;
32920 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32921 wxString *result;
32922 PyObject * obj0 = 0 ;
32923 char *kwnames[] = {
32924 (char *) "self", NULL
32925 };
32926
32927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
32928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32930 {
32931 PyThreadState* __tstate = wxPyBeginAllowThreads();
32932 {
32933 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32934 result = (wxString *) &_result_ref;
32935 }
32936
32937 wxPyEndAllowThreads(__tstate);
32938 if (PyErr_Occurred()) SWIG_fail;
32939 }
cc6dd355
RD
32940 {
32941#if wxUSE_UNICODE
32942 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32943#else
32944 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32945#endif
32946 }
d14a1e28
RD
32947 return resultobj;
32948 fail:
32949 return NULL;
32950}
32951
32952
c32bde28 32953static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32954 PyObject *resultobj;
32955 wxString *arg1 = 0 ;
32956 wxString result;
ae8162c8 32957 bool temp1 = false ;
d14a1e28
RD
32958 PyObject * obj0 = 0 ;
32959 char *kwnames[] = {
32960 (char *) "text", NULL
32961 };
32962
32963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32964 {
32965 arg1 = wxString_in_helper(obj0);
32966 if (arg1 == NULL) SWIG_fail;
ae8162c8 32967 temp1 = true;
d14a1e28
RD
32968 }
32969 {
32970 PyThreadState* __tstate = wxPyBeginAllowThreads();
32971 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32972
32973 wxPyEndAllowThreads(__tstate);
32974 if (PyErr_Occurred()) SWIG_fail;
32975 }
32976 {
32977#if wxUSE_UNICODE
32978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32979#else
32980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32981#endif
32982 }
32983 {
32984 if (temp1)
32985 delete arg1;
32986 }
32987 return resultobj;
32988 fail:
32989 {
32990 if (temp1)
32991 delete arg1;
32992 }
32993 return NULL;
32994}
32995
32996
c32bde28 32997static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32998 PyObject *resultobj;
32999 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33000 int result;
33001 PyObject * obj0 = 0 ;
33002 char *kwnames[] = {
33003 (char *) "self", NULL
33004 };
33005
33006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
33007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33009 {
33010 PyThreadState* __tstate = wxPyBeginAllowThreads();
33011 result = (int)((wxMenuItem const *)arg1)->GetKind();
33012
33013 wxPyEndAllowThreads(__tstate);
33014 if (PyErr_Occurred()) SWIG_fail;
33015 }
c32bde28 33016 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
33017 return resultobj;
33018 fail:
33019 return NULL;
33020}
33021
33022
c32bde28 33023static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
a95a7133
RD
33024 PyObject *resultobj;
33025 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33026 int arg2 ;
33027 PyObject * obj0 = 0 ;
33028 PyObject * obj1 = 0 ;
33029 char *kwnames[] = {
33030 (char *) "self",(char *) "kind", NULL
33031 };
33032
33033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
33034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 33036 arg2 = (int)SWIG_As_int(obj1);
a95a7133
RD
33037 if (PyErr_Occurred()) SWIG_fail;
33038 {
33039 PyThreadState* __tstate = wxPyBeginAllowThreads();
33040 (arg1)->SetKind((wxItemKind )arg2);
33041
33042 wxPyEndAllowThreads(__tstate);
33043 if (PyErr_Occurred()) SWIG_fail;
33044 }
33045 Py_INCREF(Py_None); resultobj = Py_None;
33046 return resultobj;
33047 fail:
33048 return NULL;
33049}
33050
33051
c32bde28 33052static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33053 PyObject *resultobj;
33054 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33055 bool arg2 ;
33056 PyObject * obj0 = 0 ;
33057 PyObject * obj1 = 0 ;
33058 char *kwnames[] = {
33059 (char *) "self",(char *) "checkable", NULL
33060 };
33061
33062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 33065 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 33066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33067 {
33068 PyThreadState* __tstate = wxPyBeginAllowThreads();
33069 (arg1)->SetCheckable(arg2);
33070
33071 wxPyEndAllowThreads(__tstate);
33072 if (PyErr_Occurred()) SWIG_fail;
33073 }
33074 Py_INCREF(Py_None); resultobj = Py_None;
33075 return resultobj;
33076 fail:
33077 return NULL;
33078}
33079
33080
c32bde28 33081static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33082 PyObject *resultobj;
33083 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33084 bool result;
33085 PyObject * obj0 = 0 ;
33086 char *kwnames[] = {
33087 (char *) "self", NULL
33088 };
33089
33090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
33091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33093 {
33094 PyThreadState* __tstate = wxPyBeginAllowThreads();
33095 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
33096
33097 wxPyEndAllowThreads(__tstate);
33098 if (PyErr_Occurred()) SWIG_fail;
33099 }
4f89f6a3
RD
33100 {
33101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33102 }
d14a1e28
RD
33103 return resultobj;
33104 fail:
33105 return NULL;
33106}
33107
33108
c32bde28 33109static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33110 PyObject *resultobj;
33111 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33112 bool result;
33113 PyObject * obj0 = 0 ;
33114 char *kwnames[] = {
33115 (char *) "self", NULL
33116 };
33117
33118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
33119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33121 {
33122 PyThreadState* __tstate = wxPyBeginAllowThreads();
33123 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
33124
33125 wxPyEndAllowThreads(__tstate);
33126 if (PyErr_Occurred()) SWIG_fail;
33127 }
4f89f6a3
RD
33128 {
33129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33130 }
d14a1e28
RD
33131 return resultobj;
33132 fail:
33133 return NULL;
33134}
33135
33136
c32bde28 33137static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33138 PyObject *resultobj;
33139 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33140 wxMenu *arg2 = (wxMenu *) 0 ;
33141 PyObject * obj0 = 0 ;
33142 PyObject * obj1 = 0 ;
33143 char *kwnames[] = {
33144 (char *) "self",(char *) "menu", NULL
33145 };
33146
33147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
33151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33152 {
33153 PyThreadState* __tstate = wxPyBeginAllowThreads();
33154 (arg1)->SetSubMenu(arg2);
33155
33156 wxPyEndAllowThreads(__tstate);
33157 if (PyErr_Occurred()) SWIG_fail;
33158 }
33159 Py_INCREF(Py_None); resultobj = Py_None;
33160 return resultobj;
33161 fail:
33162 return NULL;
33163}
33164
33165
c32bde28 33166static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33167 PyObject *resultobj;
33168 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33169 wxMenu *result;
33170 PyObject * obj0 = 0 ;
33171 char *kwnames[] = {
33172 (char *) "self", NULL
33173 };
33174
33175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
33176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33178 {
33179 PyThreadState* __tstate = wxPyBeginAllowThreads();
33180 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
33181
33182 wxPyEndAllowThreads(__tstate);
33183 if (PyErr_Occurred()) SWIG_fail;
33184 }
33185 {
412d302d 33186 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33187 }
33188 return resultobj;
33189 fail:
33190 return NULL;
33191}
33192
33193
c32bde28 33194static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33195 PyObject *resultobj;
33196 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 33197 bool arg2 = (bool) true ;
d14a1e28
RD
33198 PyObject * obj0 = 0 ;
33199 PyObject * obj1 = 0 ;
33200 char *kwnames[] = {
33201 (char *) "self",(char *) "enable", NULL
33202 };
33203
33204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33207 if (obj1) {
c32bde28 33208 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 33209 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33210 }
33211 {
33212 PyThreadState* __tstate = wxPyBeginAllowThreads();
33213 (arg1)->Enable(arg2);
33214
33215 wxPyEndAllowThreads(__tstate);
33216 if (PyErr_Occurred()) SWIG_fail;
33217 }
33218 Py_INCREF(Py_None); resultobj = Py_None;
33219 return resultobj;
33220 fail:
33221 return NULL;
33222}
33223
33224
c32bde28 33225static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33226 PyObject *resultobj;
33227 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33228 bool result;
33229 PyObject * obj0 = 0 ;
33230 char *kwnames[] = {
33231 (char *) "self", NULL
33232 };
33233
33234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
33235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33237 {
33238 PyThreadState* __tstate = wxPyBeginAllowThreads();
33239 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
33240
33241 wxPyEndAllowThreads(__tstate);
33242 if (PyErr_Occurred()) SWIG_fail;
33243 }
4f89f6a3
RD
33244 {
33245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33246 }
d14a1e28
RD
33247 return resultobj;
33248 fail:
33249 return NULL;
33250}
33251
33252
c32bde28 33253static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33254 PyObject *resultobj;
33255 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 33256 bool arg2 = (bool) true ;
d14a1e28
RD
33257 PyObject * obj0 = 0 ;
33258 PyObject * obj1 = 0 ;
33259 char *kwnames[] = {
33260 (char *) "self",(char *) "check", NULL
33261 };
33262
33263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33266 if (obj1) {
c32bde28 33267 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 33268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33269 }
33270 {
33271 PyThreadState* __tstate = wxPyBeginAllowThreads();
33272 (arg1)->Check(arg2);
33273
33274 wxPyEndAllowThreads(__tstate);
33275 if (PyErr_Occurred()) SWIG_fail;
33276 }
33277 Py_INCREF(Py_None); resultobj = Py_None;
33278 return resultobj;
33279 fail:
33280 return NULL;
33281}
33282
33283
c32bde28 33284static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33285 PyObject *resultobj;
33286 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33287 bool result;
33288 PyObject * obj0 = 0 ;
33289 char *kwnames[] = {
33290 (char *) "self", NULL
33291 };
33292
33293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
33294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33296 {
33297 PyThreadState* __tstate = wxPyBeginAllowThreads();
33298 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
33299
33300 wxPyEndAllowThreads(__tstate);
33301 if (PyErr_Occurred()) SWIG_fail;
33302 }
4f89f6a3
RD
33303 {
33304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33305 }
d14a1e28
RD
33306 return resultobj;
33307 fail:
33308 return NULL;
33309}
33310
33311
c32bde28 33312static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33313 PyObject *resultobj;
33314 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33315 PyObject * obj0 = 0 ;
33316 char *kwnames[] = {
33317 (char *) "self", NULL
33318 };
33319
33320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
33321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33323 {
33324 PyThreadState* __tstate = wxPyBeginAllowThreads();
33325 (arg1)->Toggle();
33326
33327 wxPyEndAllowThreads(__tstate);
33328 if (PyErr_Occurred()) SWIG_fail;
33329 }
33330 Py_INCREF(Py_None); resultobj = Py_None;
33331 return resultobj;
33332 fail:
33333 return NULL;
33334}
33335
33336
c32bde28 33337static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33338 PyObject *resultobj;
33339 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33340 wxString *arg2 = 0 ;
ae8162c8 33341 bool temp2 = false ;
d14a1e28
RD
33342 PyObject * obj0 = 0 ;
33343 PyObject * obj1 = 0 ;
33344 char *kwnames[] = {
33345 (char *) "self",(char *) "str", NULL
33346 };
33347
33348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33351 {
33352 arg2 = wxString_in_helper(obj1);
33353 if (arg2 == NULL) SWIG_fail;
ae8162c8 33354 temp2 = true;
d14a1e28
RD
33355 }
33356 {
33357 PyThreadState* __tstate = wxPyBeginAllowThreads();
33358 (arg1)->SetHelp((wxString const &)*arg2);
33359
33360 wxPyEndAllowThreads(__tstate);
33361 if (PyErr_Occurred()) SWIG_fail;
33362 }
33363 Py_INCREF(Py_None); resultobj = Py_None;
33364 {
33365 if (temp2)
33366 delete arg2;
33367 }
33368 return resultobj;
33369 fail:
33370 {
33371 if (temp2)
33372 delete arg2;
33373 }
33374 return NULL;
33375}
33376
33377
c32bde28 33378static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33379 PyObject *resultobj;
33380 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33381 wxString *result;
33382 PyObject * obj0 = 0 ;
33383 char *kwnames[] = {
33384 (char *) "self", NULL
33385 };
33386
33387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
33388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33390 {
33391 PyThreadState* __tstate = wxPyBeginAllowThreads();
33392 {
33393 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
33394 result = (wxString *) &_result_ref;
33395 }
33396
33397 wxPyEndAllowThreads(__tstate);
33398 if (PyErr_Occurred()) SWIG_fail;
33399 }
cc6dd355
RD
33400 {
33401#if wxUSE_UNICODE
33402 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33403#else
33404 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33405#endif
33406 }
d14a1e28
RD
33407 return resultobj;
33408 fail:
33409 return NULL;
33410}
33411
33412
c32bde28 33413static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33414 PyObject *resultobj;
33415 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33416 wxAcceleratorEntry *result;
33417 PyObject * obj0 = 0 ;
33418 char *kwnames[] = {
33419 (char *) "self", NULL
33420 };
33421
33422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
33423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33425 {
33426 PyThreadState* __tstate = wxPyBeginAllowThreads();
33427 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
33428
33429 wxPyEndAllowThreads(__tstate);
33430 if (PyErr_Occurred()) SWIG_fail;
33431 }
15afbcd0 33432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
33433 return resultobj;
33434 fail:
33435 return NULL;
33436}
33437
33438
c32bde28 33439static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33440 PyObject *resultobj;
33441 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33442 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
33443 PyObject * obj0 = 0 ;
33444 PyObject * obj1 = 0 ;
33445 char *kwnames[] = {
33446 (char *) "self",(char *) "accel", NULL
33447 };
33448
33449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
33453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33454 {
33455 PyThreadState* __tstate = wxPyBeginAllowThreads();
33456 (arg1)->SetAccel(arg2);
33457
33458 wxPyEndAllowThreads(__tstate);
33459 if (PyErr_Occurred()) SWIG_fail;
33460 }
33461 Py_INCREF(Py_None); resultobj = Py_None;
33462 return resultobj;
33463 fail:
33464 return NULL;
33465}
33466
33467
c32bde28 33468static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33469 PyObject *resultobj;
33470 int result;
33471 char *kwnames[] = {
33472 NULL
33473 };
33474
33475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
33476 {
33477 PyThreadState* __tstate = wxPyBeginAllowThreads();
33478 result = (int)MenuItem_GetDefaultMarginWidth();
33479
33480 wxPyEndAllowThreads(__tstate);
33481 if (PyErr_Occurred()) SWIG_fail;
33482 }
c32bde28 33483 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
33484 return resultobj;
33485 fail:
33486 return NULL;
33487}
33488
33489
c32bde28 33490static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33491 PyObject *resultobj;
33492 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33493 wxBitmap *arg2 = 0 ;
33494 PyObject * obj0 = 0 ;
33495 PyObject * obj1 = 0 ;
33496 char *kwnames[] = {
33497 (char *) "self",(char *) "bitmap", NULL
33498 };
33499
33500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
33504 SWIG_POINTER_EXCEPTION | 0)) == -1)
33505 SWIG_fail;
d14a1e28 33506 if (arg2 == NULL) {
15afbcd0
RD
33507 PyErr_SetString(PyExc_TypeError,"null reference");
33508 SWIG_fail;
d14a1e28
RD
33509 }
33510 {
33511 PyThreadState* __tstate = wxPyBeginAllowThreads();
33512 (arg1)->SetBitmap((wxBitmap const &)*arg2);
33513
33514 wxPyEndAllowThreads(__tstate);
33515 if (PyErr_Occurred()) SWIG_fail;
33516 }
33517 Py_INCREF(Py_None); resultobj = Py_None;
33518 return resultobj;
33519 fail:
33520 return NULL;
33521}
33522
33523
c32bde28 33524static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33525 PyObject *resultobj;
33526 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33527 wxBitmap *result;
33528 PyObject * obj0 = 0 ;
33529 char *kwnames[] = {
33530 (char *) "self", NULL
33531 };
33532
33533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
33534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33536 {
33537 PyThreadState* __tstate = wxPyBeginAllowThreads();
33538 {
33539 wxBitmap const &_result_ref = (arg1)->GetBitmap();
33540 result = (wxBitmap *) &_result_ref;
33541 }
33542
33543 wxPyEndAllowThreads(__tstate);
33544 if (PyErr_Occurred()) SWIG_fail;
33545 }
4276dc52
RD
33546 {
33547 wxBitmap* resultptr = new wxBitmap(*result);
33548 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
33549 }
d14a1e28
RD
33550 return resultobj;
33551 fail:
33552 return NULL;
33553}
33554
33555
c32bde28 33556static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33557 PyObject *obj;
33558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33559 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
33560 Py_INCREF(obj);
33561 return Py_BuildValue((char *)"");
33562}
c32bde28 33563static int _wrap_ControlNameStr_set(PyObject *) {
b2dc1044
RD
33564 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
33565 return 1;
33566}
33567
33568
33569static PyObject *_wrap_ControlNameStr_get() {
33570 PyObject *pyobj;
33571
33572 {
33573#if wxUSE_UNICODE
33574 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33575#else
33576 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33577#endif
33578 }
33579 return pyobj;
33580}
33581
33582
c32bde28 33583static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33584 PyObject *resultobj;
33585 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 33586 int arg2 = (int) -1 ;
d14a1e28
RD
33587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33589 wxSize const &arg4_defvalue = wxDefaultSize ;
33590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33591 long arg5 = (long) 0 ;
33592 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33593 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33594 wxString const &arg7_defvalue = wxPyControlNameStr ;
33595 wxString *arg7 = (wxString *) &arg7_defvalue ;
33596 wxControl *result;
33597 wxPoint temp3 ;
33598 wxSize temp4 ;
ae8162c8 33599 bool temp7 = false ;
d14a1e28 33600 PyObject * obj0 = 0 ;
994141e6 33601 PyObject * obj1 = 0 ;
d14a1e28
RD
33602 PyObject * obj2 = 0 ;
33603 PyObject * obj3 = 0 ;
994141e6 33604 PyObject * obj4 = 0 ;
d14a1e28
RD
33605 PyObject * obj5 = 0 ;
33606 PyObject * obj6 = 0 ;
33607 char *kwnames[] = {
33608 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33609 };
33610
248ed943 33611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
33612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 33614 if (obj1) {
c32bde28 33615 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
33616 if (PyErr_Occurred()) SWIG_fail;
33617 }
d14a1e28
RD
33618 if (obj2) {
33619 {
33620 arg3 = &temp3;
33621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33622 }
33623 }
33624 if (obj3) {
33625 {
33626 arg4 = &temp4;
33627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33628 }
33629 }
994141e6 33630 if (obj4) {
c32bde28 33631 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 33632 if (PyErr_Occurred()) SWIG_fail;
994141e6 33633 }
d14a1e28 33634 if (obj5) {
15afbcd0
RD
33635 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
33636 SWIG_POINTER_EXCEPTION | 0)) == -1)
33637 SWIG_fail;
d14a1e28 33638 if (arg6 == NULL) {
15afbcd0
RD
33639 PyErr_SetString(PyExc_TypeError,"null reference");
33640 SWIG_fail;
d14a1e28
RD
33641 }
33642 }
33643 if (obj6) {
33644 {
33645 arg7 = wxString_in_helper(obj6);
33646 if (arg7 == NULL) SWIG_fail;
ae8162c8 33647 temp7 = true;
d14a1e28
RD
33648 }
33649 }
33650 {
e3b71cb8 33651 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33652 PyThreadState* __tstate = wxPyBeginAllowThreads();
33653 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33654
33655 wxPyEndAllowThreads(__tstate);
110da5b0 33656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33657 }
b0f7404b 33658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
33659 {
33660 if (temp7)
33661 delete arg7;
33662 }
33663 return resultobj;
33664 fail:
33665 {
33666 if (temp7)
33667 delete arg7;
33668 }
33669 return NULL;
33670}
33671
33672
c32bde28 33673static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33674 PyObject *resultobj;
33675 wxControl *result;
33676 char *kwnames[] = {
33677 NULL
33678 };
33679
33680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
33681 {
e3b71cb8 33682 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33683 PyThreadState* __tstate = wxPyBeginAllowThreads();
33684 result = (wxControl *)new wxControl();
33685
33686 wxPyEndAllowThreads(__tstate);
110da5b0 33687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33688 }
b0f7404b 33689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
33690 return resultobj;
33691 fail:
33692 return NULL;
33693}
33694
33695
c32bde28 33696static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33697 PyObject *resultobj;
33698 wxControl *arg1 = (wxControl *) 0 ;
33699 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 33700 int arg3 = (int) -1 ;
d14a1e28
RD
33701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33703 wxSize const &arg5_defvalue = wxDefaultSize ;
33704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33705 long arg6 = (long) 0 ;
33706 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33707 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33708 wxString const &arg8_defvalue = wxPyControlNameStr ;
33709 wxString *arg8 = (wxString *) &arg8_defvalue ;
33710 bool result;
33711 wxPoint temp4 ;
33712 wxSize temp5 ;
ae8162c8 33713 bool temp8 = false ;
d14a1e28
RD
33714 PyObject * obj0 = 0 ;
33715 PyObject * obj1 = 0 ;
994141e6 33716 PyObject * obj2 = 0 ;
d14a1e28
RD
33717 PyObject * obj3 = 0 ;
33718 PyObject * obj4 = 0 ;
994141e6 33719 PyObject * obj5 = 0 ;
d14a1e28
RD
33720 PyObject * obj6 = 0 ;
33721 PyObject * obj7 = 0 ;
33722 char *kwnames[] = {
33723 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33724 };
33725
248ed943 33726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
33727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 33731 if (obj2) {
c32bde28 33732 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
33733 if (PyErr_Occurred()) SWIG_fail;
33734 }
d14a1e28
RD
33735 if (obj3) {
33736 {
33737 arg4 = &temp4;
33738 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33739 }
33740 }
33741 if (obj4) {
33742 {
33743 arg5 = &temp5;
33744 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33745 }
33746 }
994141e6 33747 if (obj5) {
c32bde28 33748 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 33749 if (PyErr_Occurred()) SWIG_fail;
994141e6 33750 }
d14a1e28 33751 if (obj6) {
15afbcd0
RD
33752 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
33753 SWIG_POINTER_EXCEPTION | 0)) == -1)
33754 SWIG_fail;
d14a1e28 33755 if (arg7 == NULL) {
15afbcd0
RD
33756 PyErr_SetString(PyExc_TypeError,"null reference");
33757 SWIG_fail;
d14a1e28
RD
33758 }
33759 }
33760 if (obj7) {
33761 {
33762 arg8 = wxString_in_helper(obj7);
33763 if (arg8 == NULL) SWIG_fail;
ae8162c8 33764 temp8 = true;
d14a1e28
RD
33765 }
33766 }
33767 {
33768 PyThreadState* __tstate = wxPyBeginAllowThreads();
33769 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33770
33771 wxPyEndAllowThreads(__tstate);
33772 if (PyErr_Occurred()) SWIG_fail;
33773 }
4f89f6a3
RD
33774 {
33775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33776 }
d14a1e28
RD
33777 {
33778 if (temp8)
33779 delete arg8;
33780 }
33781 return resultobj;
33782 fail:
33783 {
33784 if (temp8)
33785 delete arg8;
33786 }
33787 return NULL;
33788}
33789
33790
c32bde28 33791static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33792 PyObject *resultobj;
33793 wxControl *arg1 = (wxControl *) 0 ;
33794 wxCommandEvent *arg2 = 0 ;
33795 PyObject * obj0 = 0 ;
33796 PyObject * obj1 = 0 ;
33797 char *kwnames[] = {
33798 (char *) "self",(char *) "event", NULL
33799 };
33800
33801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
33805 SWIG_POINTER_EXCEPTION | 0)) == -1)
33806 SWIG_fail;
d14a1e28 33807 if (arg2 == NULL) {
15afbcd0
RD
33808 PyErr_SetString(PyExc_TypeError,"null reference");
33809 SWIG_fail;
d14a1e28
RD
33810 }
33811 {
33812 PyThreadState* __tstate = wxPyBeginAllowThreads();
33813 (arg1)->Command(*arg2);
33814
33815 wxPyEndAllowThreads(__tstate);
33816 if (PyErr_Occurred()) SWIG_fail;
33817 }
33818 Py_INCREF(Py_None); resultobj = Py_None;
33819 return resultobj;
33820 fail:
33821 return NULL;
33822}
33823
33824
c32bde28 33825static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33826 PyObject *resultobj;
33827 wxControl *arg1 = (wxControl *) 0 ;
33828 wxString result;
33829 PyObject * obj0 = 0 ;
33830 char *kwnames[] = {
33831 (char *) "self", NULL
33832 };
33833
33834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
33835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33837 {
33838 PyThreadState* __tstate = wxPyBeginAllowThreads();
33839 result = (arg1)->GetLabel();
33840
33841 wxPyEndAllowThreads(__tstate);
33842 if (PyErr_Occurred()) SWIG_fail;
33843 }
33844 {
33845#if wxUSE_UNICODE
33846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33847#else
33848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33849#endif
33850 }
33851 return resultobj;
33852 fail:
33853 return NULL;
33854}
33855
33856
c32bde28 33857static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33858 PyObject *resultobj;
33859 wxControl *arg1 = (wxControl *) 0 ;
33860 wxString *arg2 = 0 ;
ae8162c8 33861 bool temp2 = false ;
d14a1e28
RD
33862 PyObject * obj0 = 0 ;
33863 PyObject * obj1 = 0 ;
33864 char *kwnames[] = {
33865 (char *) "self",(char *) "label", NULL
33866 };
33867
33868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33871 {
33872 arg2 = wxString_in_helper(obj1);
33873 if (arg2 == NULL) SWIG_fail;
ae8162c8 33874 temp2 = true;
d14a1e28
RD
33875 }
33876 {
33877 PyThreadState* __tstate = wxPyBeginAllowThreads();
33878 (arg1)->SetLabel((wxString const &)*arg2);
33879
33880 wxPyEndAllowThreads(__tstate);
33881 if (PyErr_Occurred()) SWIG_fail;
33882 }
33883 Py_INCREF(Py_None); resultobj = Py_None;
33884 {
33885 if (temp2)
33886 delete arg2;
33887 }
33888 return resultobj;
33889 fail:
33890 {
33891 if (temp2)
33892 delete arg2;
33893 }
33894 return NULL;
33895}
33896
33897
c32bde28 33898static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
33899 PyObject *resultobj;
33900 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33901 wxVisualAttributes result;
33902 PyObject * obj0 = 0 ;
33903 char *kwnames[] = {
33904 (char *) "variant", NULL
33905 };
33906
33907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33908 if (obj0) {
c32bde28 33909 arg1 = (int)SWIG_As_int(obj0);
74a57fcd
RD
33910 if (PyErr_Occurred()) SWIG_fail;
33911 }
33912 {
110da5b0 33913 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
33914 PyThreadState* __tstate = wxPyBeginAllowThreads();
33915 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33916
33917 wxPyEndAllowThreads(__tstate);
dfbb5885 33918 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
33919 }
33920 {
33921 wxVisualAttributes * resultptr;
33922 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33924 }
33925 return resultobj;
33926 fail:
33927 return NULL;
33928}
33929
33930
c32bde28 33931static PyObject * Control_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33932 PyObject *obj;
33933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33934 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33935 Py_INCREF(obj);
33936 return Py_BuildValue((char *)"");
33937}
c32bde28 33938static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33939 PyObject *resultobj;
33940 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33941 wxString *arg2 = 0 ;
33942 PyObject *arg3 = (PyObject *) NULL ;
33943 int result;
ae8162c8 33944 bool temp2 = false ;
d14a1e28
RD
33945 PyObject * obj0 = 0 ;
33946 PyObject * obj1 = 0 ;
33947 PyObject * obj2 = 0 ;
33948 char *kwnames[] = {
33949 (char *) "self",(char *) "item",(char *) "clientData", NULL
33950 };
33951
33952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33955 {
33956 arg2 = wxString_in_helper(obj1);
33957 if (arg2 == NULL) SWIG_fail;
ae8162c8 33958 temp2 = true;
d14a1e28
RD
33959 }
33960 if (obj2) {
33961 arg3 = obj2;
33962 }
33963 {
33964 PyThreadState* __tstate = wxPyBeginAllowThreads();
33965 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33966
33967 wxPyEndAllowThreads(__tstate);
33968 if (PyErr_Occurred()) SWIG_fail;
33969 }
c32bde28 33970 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
33971 {
33972 if (temp2)
33973 delete arg2;
33974 }
33975 return resultobj;
33976 fail:
33977 {
33978 if (temp2)
33979 delete arg2;
33980 }
33981 return NULL;
33982}
33983
33984
c32bde28 33985static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33986 PyObject *resultobj;
33987 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33988 wxArrayString *arg2 = 0 ;
ae8162c8 33989 bool temp2 = false ;
d14a1e28
RD
33990 PyObject * obj0 = 0 ;
33991 PyObject * obj1 = 0 ;
33992 char *kwnames[] = {
33993 (char *) "self",(char *) "strings", NULL
33994 };
33995
33996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33999 {
34000 if (! PySequence_Check(obj1)) {
34001 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
34002 SWIG_fail;
34003 }
34004 arg2 = new wxArrayString;
ae8162c8 34005 temp2 = true;
d14a1e28
RD
34006 int i, len=PySequence_Length(obj1);
34007 for (i=0; i<len; i++) {
34008 PyObject* item = PySequence_GetItem(obj1, i);
34009#if wxUSE_UNICODE
34010 PyObject* str = PyObject_Unicode(item);
34011#else
34012 PyObject* str = PyObject_Str(item);
34013#endif
74a57fcd 34014 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34015 arg2->Add(Py2wxString(str));
34016 Py_DECREF(item);
34017 Py_DECREF(str);
34018 }
34019 }
34020 {
34021 PyThreadState* __tstate = wxPyBeginAllowThreads();
34022 (arg1)->Append((wxArrayString const &)*arg2);
34023
34024 wxPyEndAllowThreads(__tstate);
34025 if (PyErr_Occurred()) SWIG_fail;
34026 }
34027 Py_INCREF(Py_None); resultobj = Py_None;
34028 {
3adfb63b 34029 if (temp2) delete arg2;
d14a1e28
RD
34030 }
34031 return resultobj;
34032 fail:
34033 {
3adfb63b 34034 if (temp2) delete arg2;
d14a1e28
RD
34035 }
34036 return NULL;
34037}
34038
34039
c32bde28 34040static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34041 PyObject *resultobj;
34042 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34043 wxString *arg2 = 0 ;
34044 int arg3 ;
34045 PyObject *arg4 = (PyObject *) NULL ;
34046 int result;
ae8162c8 34047 bool temp2 = false ;
d14a1e28
RD
34048 PyObject * obj0 = 0 ;
34049 PyObject * obj1 = 0 ;
994141e6 34050 PyObject * obj2 = 0 ;
d14a1e28
RD
34051 PyObject * obj3 = 0 ;
34052 char *kwnames[] = {
34053 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
34054 };
34055
994141e6 34056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
34057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34059 {
34060 arg2 = wxString_in_helper(obj1);
34061 if (arg2 == NULL) SWIG_fail;
ae8162c8 34062 temp2 = true;
d14a1e28 34063 }
c32bde28 34064 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34066 if (obj3) {
34067 arg4 = obj3;
34068 }
34069 {
34070 PyThreadState* __tstate = wxPyBeginAllowThreads();
34071 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
34072
34073 wxPyEndAllowThreads(__tstate);
34074 if (PyErr_Occurred()) SWIG_fail;
34075 }
c32bde28 34076 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34077 {
34078 if (temp2)
34079 delete arg2;
34080 }
34081 return resultobj;
34082 fail:
34083 {
34084 if (temp2)
34085 delete arg2;
34086 }
34087 return NULL;
34088}
34089
34090
c32bde28 34091static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34092 PyObject *resultobj;
34093 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34094 PyObject * obj0 = 0 ;
34095 char *kwnames[] = {
34096 (char *) "self", NULL
34097 };
34098
34099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
34100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34102 {
34103 PyThreadState* __tstate = wxPyBeginAllowThreads();
34104 (arg1)->Clear();
34105
34106 wxPyEndAllowThreads(__tstate);
34107 if (PyErr_Occurred()) SWIG_fail;
34108 }
34109 Py_INCREF(Py_None); resultobj = Py_None;
34110 return resultobj;
34111 fail:
34112 return NULL;
34113}
34114
34115
c32bde28 34116static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34117 PyObject *resultobj;
34118 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34119 int arg2 ;
34120 PyObject * obj0 = 0 ;
994141e6 34121 PyObject * obj1 = 0 ;
d14a1e28
RD
34122 char *kwnames[] = {
34123 (char *) "self",(char *) "n", NULL
34124 };
34125
994141e6 34126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34129 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34131 {
34132 PyThreadState* __tstate = wxPyBeginAllowThreads();
34133 (arg1)->Delete(arg2);
34134
34135 wxPyEndAllowThreads(__tstate);
34136 if (PyErr_Occurred()) SWIG_fail;
34137 }
34138 Py_INCREF(Py_None); resultobj = Py_None;
34139 return resultobj;
34140 fail:
34141 return NULL;
34142}
34143
34144
c32bde28 34145static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34146 PyObject *resultobj;
34147 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34148 int result;
34149 PyObject * obj0 = 0 ;
34150 char *kwnames[] = {
34151 (char *) "self", NULL
34152 };
34153
34154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
34155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34157 {
34158 PyThreadState* __tstate = wxPyBeginAllowThreads();
34159 result = (int)((wxItemContainer const *)arg1)->GetCount();
34160
34161 wxPyEndAllowThreads(__tstate);
34162 if (PyErr_Occurred()) SWIG_fail;
34163 }
c32bde28 34164 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34165 return resultobj;
34166 fail:
34167 return NULL;
34168}
34169
34170
c32bde28 34171static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34172 PyObject *resultobj;
34173 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34174 bool result;
34175 PyObject * obj0 = 0 ;
34176 char *kwnames[] = {
34177 (char *) "self", NULL
34178 };
34179
34180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
34181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34183 {
34184 PyThreadState* __tstate = wxPyBeginAllowThreads();
34185 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
34186
34187 wxPyEndAllowThreads(__tstate);
34188 if (PyErr_Occurred()) SWIG_fail;
34189 }
4f89f6a3
RD
34190 {
34191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34192 }
d14a1e28
RD
34193 return resultobj;
34194 fail:
34195 return NULL;
34196}
34197
34198
c32bde28 34199static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34200 PyObject *resultobj;
34201 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34202 int arg2 ;
34203 wxString result;
34204 PyObject * obj0 = 0 ;
994141e6 34205 PyObject * obj1 = 0 ;
d14a1e28
RD
34206 char *kwnames[] = {
34207 (char *) "self",(char *) "n", NULL
34208 };
34209
994141e6 34210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34213 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34215 {
34216 PyThreadState* __tstate = wxPyBeginAllowThreads();
34217 result = ((wxItemContainer const *)arg1)->GetString(arg2);
34218
34219 wxPyEndAllowThreads(__tstate);
34220 if (PyErr_Occurred()) SWIG_fail;
34221 }
34222 {
34223#if wxUSE_UNICODE
34224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34225#else
34226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34227#endif
34228 }
34229 return resultobj;
34230 fail:
34231 return NULL;
34232}
34233
34234
c32bde28 34235static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34236 PyObject *resultobj;
34237 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34238 wxArrayString result;
34239 PyObject * obj0 = 0 ;
34240 char *kwnames[] = {
34241 (char *) "self", NULL
34242 };
34243
34244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
34245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34247 {
34248 PyThreadState* __tstate = wxPyBeginAllowThreads();
34249 result = ((wxItemContainer const *)arg1)->GetStrings();
34250
34251 wxPyEndAllowThreads(__tstate);
34252 if (PyErr_Occurred()) SWIG_fail;
34253 }
34254 {
34255 resultobj = wxArrayString2PyList_helper(result);
34256 }
34257 return resultobj;
34258 fail:
34259 return NULL;
34260}
34261
34262
c32bde28 34263static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34264 PyObject *resultobj;
34265 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34266 int arg2 ;
34267 wxString *arg3 = 0 ;
ae8162c8 34268 bool temp3 = false ;
d14a1e28 34269 PyObject * obj0 = 0 ;
994141e6 34270 PyObject * obj1 = 0 ;
d14a1e28
RD
34271 PyObject * obj2 = 0 ;
34272 char *kwnames[] = {
34273 (char *) "self",(char *) "n",(char *) "s", NULL
34274 };
34275
994141e6 34276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34279 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34281 {
34282 arg3 = wxString_in_helper(obj2);
34283 if (arg3 == NULL) SWIG_fail;
ae8162c8 34284 temp3 = true;
d14a1e28
RD
34285 }
34286 {
34287 PyThreadState* __tstate = wxPyBeginAllowThreads();
34288 (arg1)->SetString(arg2,(wxString const &)*arg3);
34289
34290 wxPyEndAllowThreads(__tstate);
34291 if (PyErr_Occurred()) SWIG_fail;
34292 }
34293 Py_INCREF(Py_None); resultobj = Py_None;
34294 {
34295 if (temp3)
34296 delete arg3;
34297 }
34298 return resultobj;
34299 fail:
34300 {
34301 if (temp3)
34302 delete arg3;
34303 }
34304 return NULL;
34305}
34306
34307
c32bde28 34308static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34309 PyObject *resultobj;
34310 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34311 wxString *arg2 = 0 ;
34312 int result;
ae8162c8 34313 bool temp2 = false ;
d14a1e28
RD
34314 PyObject * obj0 = 0 ;
34315 PyObject * obj1 = 0 ;
34316 char *kwnames[] = {
34317 (char *) "self",(char *) "s", NULL
34318 };
34319
34320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34323 {
34324 arg2 = wxString_in_helper(obj1);
34325 if (arg2 == NULL) SWIG_fail;
ae8162c8 34326 temp2 = true;
d14a1e28
RD
34327 }
34328 {
34329 PyThreadState* __tstate = wxPyBeginAllowThreads();
34330 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
34331
34332 wxPyEndAllowThreads(__tstate);
34333 if (PyErr_Occurred()) SWIG_fail;
34334 }
c32bde28 34335 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34336 {
34337 if (temp2)
34338 delete arg2;
34339 }
34340 return resultobj;
34341 fail:
34342 {
34343 if (temp2)
34344 delete arg2;
34345 }
34346 return NULL;
34347}
34348
34349
c32bde28 34350static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34351 PyObject *resultobj;
34352 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34353 int arg2 ;
34354 PyObject * obj0 = 0 ;
994141e6 34355 PyObject * obj1 = 0 ;
d14a1e28
RD
34356 char *kwnames[] = {
34357 (char *) "self",(char *) "n", NULL
34358 };
34359
994141e6 34360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34363 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34365 {
34366 PyThreadState* __tstate = wxPyBeginAllowThreads();
34367 (arg1)->Select(arg2);
34368
34369 wxPyEndAllowThreads(__tstate);
34370 if (PyErr_Occurred()) SWIG_fail;
34371 }
34372 Py_INCREF(Py_None); resultobj = Py_None;
34373 return resultobj;
34374 fail:
34375 return NULL;
34376}
34377
34378
c32bde28 34379static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34380 PyObject *resultobj;
34381 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34382 int result;
34383 PyObject * obj0 = 0 ;
34384 char *kwnames[] = {
34385 (char *) "self", NULL
34386 };
34387
34388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
34389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34391 {
34392 PyThreadState* __tstate = wxPyBeginAllowThreads();
34393 result = (int)((wxItemContainer const *)arg1)->GetSelection();
34394
34395 wxPyEndAllowThreads(__tstate);
34396 if (PyErr_Occurred()) SWIG_fail;
34397 }
c32bde28 34398 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34399 return resultobj;
34400 fail:
34401 return NULL;
34402}
34403
34404
c32bde28 34405static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34406 PyObject *resultobj;
34407 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34408 wxString result;
34409 PyObject * obj0 = 0 ;
34410 char *kwnames[] = {
34411 (char *) "self", NULL
34412 };
34413
34414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
34415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34417 {
34418 PyThreadState* __tstate = wxPyBeginAllowThreads();
34419 result = ((wxItemContainer const *)arg1)->GetStringSelection();
34420
34421 wxPyEndAllowThreads(__tstate);
34422 if (PyErr_Occurred()) SWIG_fail;
34423 }
34424 {
34425#if wxUSE_UNICODE
34426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34427#else
34428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34429#endif
34430 }
34431 return resultobj;
34432 fail:
34433 return NULL;
34434}
34435
34436
c32bde28 34437static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34438 PyObject *resultobj;
34439 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34440 int arg2 ;
34441 PyObject *result;
34442 PyObject * obj0 = 0 ;
994141e6 34443 PyObject * obj1 = 0 ;
d14a1e28
RD
34444 char *kwnames[] = {
34445 (char *) "self",(char *) "n", NULL
34446 };
34447
994141e6 34448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34451 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34453 {
34454 PyThreadState* __tstate = wxPyBeginAllowThreads();
34455 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
34456
34457 wxPyEndAllowThreads(__tstate);
34458 if (PyErr_Occurred()) SWIG_fail;
34459 }
34460 resultobj = result;
34461 return resultobj;
34462 fail:
34463 return NULL;
34464}
34465
34466
c32bde28 34467static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34468 PyObject *resultobj;
34469 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34470 int arg2 ;
34471 PyObject *arg3 = (PyObject *) 0 ;
34472 PyObject * obj0 = 0 ;
994141e6 34473 PyObject * obj1 = 0 ;
d14a1e28
RD
34474 PyObject * obj2 = 0 ;
34475 char *kwnames[] = {
34476 (char *) "self",(char *) "n",(char *) "clientData", NULL
34477 };
34478
994141e6 34479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34482 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34483 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34484 arg3 = obj2;
34485 {
34486 PyThreadState* __tstate = wxPyBeginAllowThreads();
34487 wxItemContainer_SetClientData(arg1,arg2,arg3);
34488
34489 wxPyEndAllowThreads(__tstate);
34490 if (PyErr_Occurred()) SWIG_fail;
34491 }
34492 Py_INCREF(Py_None); resultobj = Py_None;
34493 return resultobj;
34494 fail:
34495 return NULL;
34496}
34497
34498
c32bde28 34499static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34500 PyObject *obj;
34501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34502 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
34503 Py_INCREF(obj);
34504 return Py_BuildValue((char *)"");
34505}
c32bde28 34506static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34507 PyObject *obj;
34508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34509 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
34510 Py_INCREF(obj);
34511 return Py_BuildValue((char *)"");
34512}
c32bde28 34513static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34514 PyObject *resultobj;
34515 wxSizerItem *result;
34516 char *kwnames[] = {
34517 NULL
34518 };
34519
34520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
34521 {
34522 PyThreadState* __tstate = wxPyBeginAllowThreads();
34523 result = (wxSizerItem *)new wxSizerItem();
34524
34525 wxPyEndAllowThreads(__tstate);
34526 if (PyErr_Occurred()) SWIG_fail;
34527 }
15afbcd0 34528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34529 return resultobj;
34530 fail:
34531 return NULL;
34532}
34533
34534
c32bde28 34535static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 34536 PyObject *resultobj;
248ed943 34537 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
34538 int arg2 ;
34539 int arg3 ;
34540 int arg4 ;
248ed943 34541 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28 34542 wxSizerItem *result;
994141e6
RD
34543 PyObject * obj0 = 0 ;
34544 PyObject * obj1 = 0 ;
34545 PyObject * obj2 = 0 ;
34546 PyObject * obj3 = 0 ;
34547 PyObject * obj4 = 0 ;
d14a1e28 34548 char *kwnames[] = {
248ed943 34549 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
34550 };
34551
248ed943
RD
34552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
34554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34555 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34556 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34557 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34558 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34559 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 34560 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
34561 if (obj4) {
34562 arg5 = obj4;
34563 }
d14a1e28
RD
34564 {
34565 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 34566 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
34567
34568 wxPyEndAllowThreads(__tstate);
34569 if (PyErr_Occurred()) SWIG_fail;
34570 }
15afbcd0 34571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34572 return resultobj;
34573 fail:
34574 return NULL;
34575}
34576
34577
c32bde28 34578static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 34579 PyObject *resultobj;
248ed943 34580 int arg1 ;
d14a1e28
RD
34581 int arg2 ;
34582 int arg3 ;
34583 int arg4 ;
248ed943
RD
34584 int arg5 ;
34585 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
34586 wxSizerItem *result;
34587 PyObject * obj0 = 0 ;
994141e6
RD
34588 PyObject * obj1 = 0 ;
34589 PyObject * obj2 = 0 ;
34590 PyObject * obj3 = 0 ;
d14a1e28 34591 PyObject * obj4 = 0 ;
248ed943 34592 PyObject * obj5 = 0 ;
d14a1e28 34593 char *kwnames[] = {
248ed943 34594 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
34595 };
34596
248ed943 34597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
c32bde28 34598 arg1 = (int)SWIG_As_int(obj0);
248ed943 34599 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34600 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34601 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34602 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34603 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34604 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 34605 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34606 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
34607 if (PyErr_Occurred()) SWIG_fail;
34608 if (obj5) {
34609 arg6 = obj5;
34610 }
d14a1e28
RD
34611 {
34612 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 34613 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
34614
34615 wxPyEndAllowThreads(__tstate);
34616 if (PyErr_Occurred()) SWIG_fail;
34617 }
15afbcd0 34618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34619 return resultobj;
34620 fail:
34621 return NULL;
34622}
34623
34624
c32bde28 34625static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34626 PyObject *resultobj;
34627 wxSizer *arg1 = (wxSizer *) 0 ;
34628 int arg2 ;
34629 int arg3 ;
34630 int arg4 ;
248ed943 34631 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28
RD
34632 wxSizerItem *result;
34633 PyObject * obj0 = 0 ;
994141e6
RD
34634 PyObject * obj1 = 0 ;
34635 PyObject * obj2 = 0 ;
34636 PyObject * obj3 = 0 ;
d14a1e28
RD
34637 PyObject * obj4 = 0 ;
34638 char *kwnames[] = {
34639 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34640 };
34641
248ed943 34642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
34643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34645 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34646 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34647 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34648 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34649 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 34650 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
34651 if (obj4) {
34652 arg5 = obj4;
34653 }
d14a1e28
RD
34654 {
34655 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 34656 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
34657
34658 wxPyEndAllowThreads(__tstate);
34659 if (PyErr_Occurred()) SWIG_fail;
34660 }
15afbcd0 34661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34662 return resultobj;
34663 fail:
34664 return NULL;
34665}
34666
34667
c32bde28 34668static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34669 PyObject *resultobj;
34670 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34671 PyObject * obj0 = 0 ;
34672 char *kwnames[] = {
34673 (char *) "self", NULL
34674 };
34675
34676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
34677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34679 {
34680 PyThreadState* __tstate = wxPyBeginAllowThreads();
34681 (arg1)->DeleteWindows();
34682
34683 wxPyEndAllowThreads(__tstate);
34684 if (PyErr_Occurred()) SWIG_fail;
34685 }
34686 Py_INCREF(Py_None); resultobj = Py_None;
34687 return resultobj;
34688 fail:
34689 return NULL;
34690}
34691
34692
c32bde28 34693static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34694 PyObject *resultobj;
34695 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34696 PyObject * obj0 = 0 ;
34697 char *kwnames[] = {
34698 (char *) "self", NULL
34699 };
34700
34701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34704 {
34705 PyThreadState* __tstate = wxPyBeginAllowThreads();
34706 (arg1)->DetachSizer();
34707
34708 wxPyEndAllowThreads(__tstate);
34709 if (PyErr_Occurred()) SWIG_fail;
34710 }
34711 Py_INCREF(Py_None); resultobj = Py_None;
34712 return resultobj;
34713 fail:
34714 return NULL;
34715}
34716
34717
c32bde28 34718static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34719 PyObject *resultobj;
34720 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34721 wxSize result;
34722 PyObject * obj0 = 0 ;
34723 char *kwnames[] = {
34724 (char *) "self", NULL
34725 };
34726
34727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34730 {
34731 PyThreadState* __tstate = wxPyBeginAllowThreads();
34732 result = (arg1)->GetSize();
34733
34734 wxPyEndAllowThreads(__tstate);
34735 if (PyErr_Occurred()) SWIG_fail;
34736 }
34737 {
34738 wxSize * resultptr;
34739 resultptr = new wxSize((wxSize &) result);
15afbcd0 34740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34741 }
34742 return resultobj;
34743 fail:
34744 return NULL;
34745}
34746
34747
c32bde28 34748static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34749 PyObject *resultobj;
34750 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34751 wxSize result;
34752 PyObject * obj0 = 0 ;
34753 char *kwnames[] = {
34754 (char *) "self", NULL
34755 };
34756
34757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34760 {
34761 PyThreadState* __tstate = wxPyBeginAllowThreads();
34762 result = (arg1)->CalcMin();
34763
34764 wxPyEndAllowThreads(__tstate);
34765 if (PyErr_Occurred()) SWIG_fail;
34766 }
34767 {
34768 wxSize * resultptr;
34769 resultptr = new wxSize((wxSize &) result);
15afbcd0 34770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34771 }
34772 return resultobj;
34773 fail:
34774 return NULL;
34775}
34776
34777
c32bde28 34778static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34779 PyObject *resultobj;
34780 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34781 wxPoint arg2 ;
34782 wxSize arg3 ;
34783 wxPoint *argp2 ;
34784 wxSize *argp3 ;
34785 PyObject * obj0 = 0 ;
34786 PyObject * obj1 = 0 ;
34787 PyObject * obj2 = 0 ;
34788 char *kwnames[] = {
34789 (char *) "self",(char *) "pos",(char *) "size", NULL
34790 };
34791
34792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34795 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
34796 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34797 arg2 = *argp2;
34798 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
34799 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34800 arg3 = *argp3;
d14a1e28
RD
34801 {
34802 PyThreadState* __tstate = wxPyBeginAllowThreads();
34803 (arg1)->SetDimension(arg2,arg3);
34804
34805 wxPyEndAllowThreads(__tstate);
34806 if (PyErr_Occurred()) SWIG_fail;
34807 }
34808 Py_INCREF(Py_None); resultobj = Py_None;
34809 return resultobj;
34810 fail:
34811 return NULL;
34812}
34813
34814
c32bde28 34815static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34816 PyObject *resultobj;
34817 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34818 wxSize result;
34819 PyObject * obj0 = 0 ;
34820 char *kwnames[] = {
34821 (char *) "self", NULL
34822 };
34823
34824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34827 {
34828 PyThreadState* __tstate = wxPyBeginAllowThreads();
34829 result = (arg1)->GetMinSize();
34830
34831 wxPyEndAllowThreads(__tstate);
34832 if (PyErr_Occurred()) SWIG_fail;
34833 }
34834 {
34835 wxSize * resultptr;
34836 resultptr = new wxSize((wxSize &) result);
15afbcd0 34837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34838 }
34839 return resultobj;
34840 fail:
34841 return NULL;
34842}
34843
34844
c32bde28 34845static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
34846 PyObject *resultobj;
34847 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34848 wxSize result;
34849 PyObject * obj0 = 0 ;
34850 char *kwnames[] = {
34851 (char *) "self", NULL
34852 };
34853
34854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
34855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34857 {
34858 PyThreadState* __tstate = wxPyBeginAllowThreads();
34859 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
34860
34861 wxPyEndAllowThreads(__tstate);
34862 if (PyErr_Occurred()) SWIG_fail;
34863 }
34864 {
34865 wxSize * resultptr;
34866 resultptr = new wxSize((wxSize &) result);
34867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34868 }
34869 return resultobj;
34870 fail:
34871 return NULL;
34872}
34873
34874
c32bde28 34875static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34876 PyObject *resultobj;
34877 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34878 int arg2 ;
34879 int arg3 ;
34880 PyObject * obj0 = 0 ;
994141e6
RD
34881 PyObject * obj1 = 0 ;
34882 PyObject * obj2 = 0 ;
d14a1e28
RD
34883 char *kwnames[] = {
34884 (char *) "self",(char *) "x",(char *) "y", NULL
34885 };
34886
994141e6 34887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34890 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34891 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34892 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34894 {
34895 PyThreadState* __tstate = wxPyBeginAllowThreads();
34896 (arg1)->SetInitSize(arg2,arg3);
34897
34898 wxPyEndAllowThreads(__tstate);
34899 if (PyErr_Occurred()) SWIG_fail;
34900 }
34901 Py_INCREF(Py_None); resultobj = Py_None;
34902 return resultobj;
34903 fail:
34904 return NULL;
34905}
34906
34907
c32bde28 34908static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34909 PyObject *resultobj;
34910 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34911 int arg2 ;
34912 int arg3 ;
34913 PyObject * obj0 = 0 ;
994141e6
RD
34914 PyObject * obj1 = 0 ;
34915 PyObject * obj2 = 0 ;
d14a1e28
RD
34916 char *kwnames[] = {
34917 (char *) "self",(char *) "width",(char *) "height", NULL
34918 };
34919
994141e6 34920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34923 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34924 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34925 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34927 {
34928 PyThreadState* __tstate = wxPyBeginAllowThreads();
34929 (arg1)->SetRatio(arg2,arg3);
34930
34931 wxPyEndAllowThreads(__tstate);
34932 if (PyErr_Occurred()) SWIG_fail;
34933 }
34934 Py_INCREF(Py_None); resultobj = Py_None;
34935 return resultobj;
34936 fail:
34937 return NULL;
34938}
34939
34940
c32bde28 34941static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34942 PyObject *resultobj;
34943 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34944 wxSize arg2 ;
34945 wxSize *argp2 ;
34946 PyObject * obj0 = 0 ;
34947 PyObject * obj1 = 0 ;
34948 char *kwnames[] = {
34949 (char *) "self",(char *) "size", NULL
34950 };
34951
34952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34955 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34956 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34957 arg2 = *argp2;
d14a1e28
RD
34958 {
34959 PyThreadState* __tstate = wxPyBeginAllowThreads();
34960 (arg1)->SetRatio(arg2);
34961
34962 wxPyEndAllowThreads(__tstate);
34963 if (PyErr_Occurred()) SWIG_fail;
34964 }
34965 Py_INCREF(Py_None); resultobj = Py_None;
34966 return resultobj;
34967 fail:
34968 return NULL;
34969}
34970
34971
c32bde28 34972static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34973 PyObject *resultobj;
34974 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34975 float arg2 ;
34976 PyObject * obj0 = 0 ;
994141e6 34977 PyObject * obj1 = 0 ;
d14a1e28
RD
34978 char *kwnames[] = {
34979 (char *) "self",(char *) "ratio", NULL
34980 };
34981
994141e6 34982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34985 arg2 = (float)SWIG_As_float(obj1);
15afbcd0 34986 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34987 {
34988 PyThreadState* __tstate = wxPyBeginAllowThreads();
34989 (arg1)->SetRatio(arg2);
34990
34991 wxPyEndAllowThreads(__tstate);
34992 if (PyErr_Occurred()) SWIG_fail;
34993 }
34994 Py_INCREF(Py_None); resultobj = Py_None;
34995 return resultobj;
34996 fail:
34997 return NULL;
34998}
34999
35000
c32bde28 35001static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35002 PyObject *resultobj;
35003 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35004 float result;
35005 PyObject * obj0 = 0 ;
35006 char *kwnames[] = {
35007 (char *) "self", NULL
35008 };
35009
35010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
35011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35013 {
35014 PyThreadState* __tstate = wxPyBeginAllowThreads();
35015 result = (float)(arg1)->GetRatio();
35016
35017 wxPyEndAllowThreads(__tstate);
35018 if (PyErr_Occurred()) SWIG_fail;
35019 }
c32bde28 35020 resultobj = SWIG_From_float((float)result);
d14a1e28
RD
35021 return resultobj;
35022 fail:
35023 return NULL;
35024}
35025
35026
d3b6e4ff
RD
35027static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
35028 PyObject *resultobj;
35029 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35030 wxRect result;
35031 PyObject * obj0 = 0 ;
35032 char *kwnames[] = {
35033 (char *) "self", NULL
35034 };
35035
35036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRect",kwnames,&obj0)) goto fail;
35037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35039 {
35040 PyThreadState* __tstate = wxPyBeginAllowThreads();
35041 result = (arg1)->GetRect();
35042
35043 wxPyEndAllowThreads(__tstate);
35044 if (PyErr_Occurred()) SWIG_fail;
35045 }
35046 {
35047 wxRect * resultptr;
35048 resultptr = new wxRect((wxRect &) result);
35049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
35050 }
35051 return resultobj;
35052 fail:
35053 return NULL;
35054}
35055
35056
c32bde28 35057static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35058 PyObject *resultobj;
35059 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35060 bool result;
35061 PyObject * obj0 = 0 ;
35062 char *kwnames[] = {
35063 (char *) "self", NULL
35064 };
35065
35066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
35067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35069 {
35070 PyThreadState* __tstate = wxPyBeginAllowThreads();
35071 result = (bool)(arg1)->IsWindow();
35072
35073 wxPyEndAllowThreads(__tstate);
35074 if (PyErr_Occurred()) SWIG_fail;
35075 }
4f89f6a3
RD
35076 {
35077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35078 }
d14a1e28
RD
35079 return resultobj;
35080 fail:
35081 return NULL;
35082}
35083
35084
c32bde28 35085static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35086 PyObject *resultobj;
35087 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35088 bool result;
35089 PyObject * obj0 = 0 ;
35090 char *kwnames[] = {
35091 (char *) "self", NULL
35092 };
35093
35094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35097 {
35098 PyThreadState* __tstate = wxPyBeginAllowThreads();
35099 result = (bool)(arg1)->IsSizer();
35100
35101 wxPyEndAllowThreads(__tstate);
35102 if (PyErr_Occurred()) SWIG_fail;
35103 }
4f89f6a3
RD
35104 {
35105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35106 }
d14a1e28
RD
35107 return resultobj;
35108 fail:
35109 return NULL;
35110}
35111
35112
c32bde28 35113static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35114 PyObject *resultobj;
35115 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35116 bool result;
35117 PyObject * obj0 = 0 ;
35118 char *kwnames[] = {
35119 (char *) "self", NULL
35120 };
35121
35122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35125 {
35126 PyThreadState* __tstate = wxPyBeginAllowThreads();
35127 result = (bool)(arg1)->IsSpacer();
35128
35129 wxPyEndAllowThreads(__tstate);
35130 if (PyErr_Occurred()) SWIG_fail;
35131 }
4f89f6a3
RD
35132 {
35133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35134 }
d14a1e28
RD
35135 return resultobj;
35136 fail:
35137 return NULL;
35138}
35139
35140
c32bde28 35141static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35142 PyObject *resultobj;
35143 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35144 int arg2 ;
35145 PyObject * obj0 = 0 ;
994141e6 35146 PyObject * obj1 = 0 ;
d14a1e28
RD
35147 char *kwnames[] = {
35148 (char *) "self",(char *) "proportion", NULL
35149 };
35150
994141e6 35151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35154 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35156 {
35157 PyThreadState* __tstate = wxPyBeginAllowThreads();
35158 (arg1)->SetProportion(arg2);
35159
35160 wxPyEndAllowThreads(__tstate);
35161 if (PyErr_Occurred()) SWIG_fail;
35162 }
35163 Py_INCREF(Py_None); resultobj = Py_None;
35164 return resultobj;
35165 fail:
35166 return NULL;
35167}
35168
35169
c32bde28 35170static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35171 PyObject *resultobj;
35172 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35173 int result;
35174 PyObject * obj0 = 0 ;
35175 char *kwnames[] = {
35176 (char *) "self", NULL
35177 };
35178
35179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
35180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35182 {
35183 PyThreadState* __tstate = wxPyBeginAllowThreads();
35184 result = (int)(arg1)->GetProportion();
35185
35186 wxPyEndAllowThreads(__tstate);
35187 if (PyErr_Occurred()) SWIG_fail;
35188 }
c32bde28 35189 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
35190 return resultobj;
35191 fail:
35192 return NULL;
35193}
35194
35195
c32bde28 35196static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35197 PyObject *resultobj;
35198 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35199 int arg2 ;
35200 PyObject * obj0 = 0 ;
994141e6 35201 PyObject * obj1 = 0 ;
d14a1e28
RD
35202 char *kwnames[] = {
35203 (char *) "self",(char *) "flag", NULL
35204 };
35205
994141e6 35206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35209 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35211 {
35212 PyThreadState* __tstate = wxPyBeginAllowThreads();
35213 (arg1)->SetFlag(arg2);
35214
35215 wxPyEndAllowThreads(__tstate);
35216 if (PyErr_Occurred()) SWIG_fail;
35217 }
35218 Py_INCREF(Py_None); resultobj = Py_None;
35219 return resultobj;
35220 fail:
35221 return NULL;
35222}
35223
35224
c32bde28 35225static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35226 PyObject *resultobj;
35227 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35228 int result;
35229 PyObject * obj0 = 0 ;
35230 char *kwnames[] = {
35231 (char *) "self", NULL
35232 };
35233
35234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
35235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35237 {
35238 PyThreadState* __tstate = wxPyBeginAllowThreads();
35239 result = (int)(arg1)->GetFlag();
35240
35241 wxPyEndAllowThreads(__tstate);
35242 if (PyErr_Occurred()) SWIG_fail;
35243 }
c32bde28 35244 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
35245 return resultobj;
35246 fail:
35247 return NULL;
35248}
35249
35250
c32bde28 35251static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35252 PyObject *resultobj;
35253 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35254 int arg2 ;
35255 PyObject * obj0 = 0 ;
994141e6 35256 PyObject * obj1 = 0 ;
d14a1e28
RD
35257 char *kwnames[] = {
35258 (char *) "self",(char *) "border", NULL
35259 };
35260
994141e6 35261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35264 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35265 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35266 {
35267 PyThreadState* __tstate = wxPyBeginAllowThreads();
35268 (arg1)->SetBorder(arg2);
35269
35270 wxPyEndAllowThreads(__tstate);
35271 if (PyErr_Occurred()) SWIG_fail;
35272 }
35273 Py_INCREF(Py_None); resultobj = Py_None;
35274 return resultobj;
35275 fail:
35276 return NULL;
35277}
35278
35279
c32bde28 35280static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35281 PyObject *resultobj;
35282 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35283 int result;
35284 PyObject * obj0 = 0 ;
35285 char *kwnames[] = {
35286 (char *) "self", NULL
35287 };
35288
35289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
35290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35292 {
35293 PyThreadState* __tstate = wxPyBeginAllowThreads();
35294 result = (int)(arg1)->GetBorder();
35295
35296 wxPyEndAllowThreads(__tstate);
35297 if (PyErr_Occurred()) SWIG_fail;
35298 }
c32bde28 35299 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
35300 return resultobj;
35301 fail:
35302 return NULL;
35303}
35304
35305
c32bde28 35306static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35307 PyObject *resultobj;
35308 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35309 wxWindow *result;
35310 PyObject * obj0 = 0 ;
35311 char *kwnames[] = {
35312 (char *) "self", NULL
35313 };
35314
35315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
35316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35318 {
35319 PyThreadState* __tstate = wxPyBeginAllowThreads();
35320 result = (wxWindow *)(arg1)->GetWindow();
35321
35322 wxPyEndAllowThreads(__tstate);
35323 if (PyErr_Occurred()) SWIG_fail;
35324 }
35325 {
412d302d 35326 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
35327 }
35328 return resultobj;
35329 fail:
35330 return NULL;
35331}
35332
35333
c32bde28 35334static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35335 PyObject *resultobj;
35336 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35337 wxWindow *arg2 = (wxWindow *) 0 ;
35338 PyObject * obj0 = 0 ;
35339 PyObject * obj1 = 0 ;
35340 char *kwnames[] = {
35341 (char *) "self",(char *) "window", NULL
35342 };
35343
35344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35349 {
35350 PyThreadState* __tstate = wxPyBeginAllowThreads();
35351 (arg1)->SetWindow(arg2);
35352
35353 wxPyEndAllowThreads(__tstate);
35354 if (PyErr_Occurred()) SWIG_fail;
35355 }
35356 Py_INCREF(Py_None); resultobj = Py_None;
35357 return resultobj;
35358 fail:
35359 return NULL;
35360}
35361
35362
c32bde28 35363static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35364 PyObject *resultobj;
35365 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35366 wxSizer *result;
35367 PyObject * obj0 = 0 ;
35368 char *kwnames[] = {
35369 (char *) "self", NULL
35370 };
35371
35372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35375 {
35376 PyThreadState* __tstate = wxPyBeginAllowThreads();
35377 result = (wxSizer *)(arg1)->GetSizer();
35378
35379 wxPyEndAllowThreads(__tstate);
35380 if (PyErr_Occurred()) SWIG_fail;
35381 }
35382 {
412d302d 35383 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
35384 }
35385 return resultobj;
35386 fail:
35387 return NULL;
35388}
35389
35390
c32bde28 35391static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35392 PyObject *resultobj;
35393 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35394 wxSizer *arg2 = (wxSizer *) 0 ;
35395 PyObject * obj0 = 0 ;
35396 PyObject * obj1 = 0 ;
35397 char *kwnames[] = {
35398 (char *) "self",(char *) "sizer", NULL
35399 };
35400
35401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
35405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35406 {
35407 PyThreadState* __tstate = wxPyBeginAllowThreads();
35408 (arg1)->SetSizer(arg2);
35409
35410 wxPyEndAllowThreads(__tstate);
35411 if (PyErr_Occurred()) SWIG_fail;
35412 }
35413 Py_INCREF(Py_None); resultobj = Py_None;
35414 return resultobj;
35415 fail:
35416 return NULL;
35417}
35418
35419
c32bde28 35420static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35421 PyObject *resultobj;
35422 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35423 wxSize *result;
35424 PyObject * obj0 = 0 ;
35425 char *kwnames[] = {
35426 (char *) "self", NULL
35427 };
35428
35429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35432 {
35433 PyThreadState* __tstate = wxPyBeginAllowThreads();
35434 {
35435 wxSize const &_result_ref = (arg1)->GetSpacer();
35436 result = (wxSize *) &_result_ref;
35437 }
35438
35439 wxPyEndAllowThreads(__tstate);
35440 if (PyErr_Occurred()) SWIG_fail;
35441 }
15afbcd0 35442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
35443 return resultobj;
35444 fail:
35445 return NULL;
35446}
35447
35448
c32bde28 35449static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35450 PyObject *resultobj;
35451 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35452 wxSize *arg2 = 0 ;
35453 wxSize temp2 ;
35454 PyObject * obj0 = 0 ;
35455 PyObject * obj1 = 0 ;
35456 char *kwnames[] = {
35457 (char *) "self",(char *) "size", NULL
35458 };
35459
35460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35463 {
35464 arg2 = &temp2;
35465 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35466 }
35467 {
35468 PyThreadState* __tstate = wxPyBeginAllowThreads();
35469 (arg1)->SetSpacer((wxSize const &)*arg2);
35470
35471 wxPyEndAllowThreads(__tstate);
35472 if (PyErr_Occurred()) SWIG_fail;
35473 }
35474 Py_INCREF(Py_None); resultobj = Py_None;
35475 return resultobj;
35476 fail:
35477 return NULL;
35478}
35479
35480
c32bde28 35481static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35482 PyObject *resultobj;
35483 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35484 bool arg2 ;
35485 PyObject * obj0 = 0 ;
35486 PyObject * obj1 = 0 ;
35487 char *kwnames[] = {
35488 (char *) "self",(char *) "show", NULL
35489 };
35490
35491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35494 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 35495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35496 {
35497 PyThreadState* __tstate = wxPyBeginAllowThreads();
35498 (arg1)->Show(arg2);
35499
35500 wxPyEndAllowThreads(__tstate);
35501 if (PyErr_Occurred()) SWIG_fail;
35502 }
35503 Py_INCREF(Py_None); resultobj = Py_None;
35504 return resultobj;
35505 fail:
35506 return NULL;
35507}
35508
35509
c32bde28 35510static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35511 PyObject *resultobj;
35512 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35513 bool result;
35514 PyObject * obj0 = 0 ;
35515 char *kwnames[] = {
35516 (char *) "self", NULL
35517 };
35518
35519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
35520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35522 {
35523 PyThreadState* __tstate = wxPyBeginAllowThreads();
35524 result = (bool)(arg1)->IsShown();
35525
35526 wxPyEndAllowThreads(__tstate);
35527 if (PyErr_Occurred()) SWIG_fail;
35528 }
4f89f6a3
RD
35529 {
35530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35531 }
d14a1e28
RD
35532 return resultobj;
35533 fail:
35534 return NULL;
35535}
35536
35537
c32bde28 35538static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35539 PyObject *resultobj;
35540 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35541 wxPoint result;
35542 PyObject * obj0 = 0 ;
35543 char *kwnames[] = {
35544 (char *) "self", NULL
35545 };
35546
35547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
35548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35550 {
35551 PyThreadState* __tstate = wxPyBeginAllowThreads();
35552 result = (arg1)->GetPosition();
35553
35554 wxPyEndAllowThreads(__tstate);
35555 if (PyErr_Occurred()) SWIG_fail;
35556 }
35557 {
35558 wxPoint * resultptr;
35559 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 35560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35561 }
35562 return resultobj;
35563 fail:
35564 return NULL;
35565}
35566
35567
c32bde28 35568static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35569 PyObject *resultobj;
35570 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35571 PyObject *result;
35572 PyObject * obj0 = 0 ;
35573 char *kwnames[] = {
35574 (char *) "self", NULL
35575 };
35576
35577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
35578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35580 {
35581 PyThreadState* __tstate = wxPyBeginAllowThreads();
35582 result = (PyObject *)wxSizerItem_GetUserData(arg1);
35583
35584 wxPyEndAllowThreads(__tstate);
35585 if (PyErr_Occurred()) SWIG_fail;
35586 }
35587 resultobj = result;
35588 return resultobj;
35589 fail:
35590 return NULL;
35591}
35592
35593
c32bde28 35594static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35595 PyObject *obj;
35596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35597 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
35598 Py_INCREF(obj);
35599 return Py_BuildValue((char *)"");
35600}
c32bde28 35601static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35602 PyObject *resultobj;
35603 wxSizer *arg1 = (wxSizer *) 0 ;
35604 PyObject *arg2 = (PyObject *) 0 ;
35605 PyObject * obj0 = 0 ;
35606 PyObject * obj1 = 0 ;
35607 char *kwnames[] = {
35608 (char *) "self",(char *) "_self", NULL
35609 };
35610
35611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35614 arg2 = obj1;
35615 {
35616 PyThreadState* __tstate = wxPyBeginAllowThreads();
35617 wxSizer__setOORInfo(arg1,arg2);
35618
35619 wxPyEndAllowThreads(__tstate);
35620 if (PyErr_Occurred()) SWIG_fail;
35621 }
35622 Py_INCREF(Py_None); resultobj = Py_None;
35623 return resultobj;
35624 fail:
35625 return NULL;
35626}
35627
35628
c32bde28 35629static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35630 PyObject *resultobj;
35631 wxSizer *arg1 = (wxSizer *) 0 ;
35632 PyObject *arg2 = (PyObject *) 0 ;
35633 int arg3 = (int) 0 ;
35634 int arg4 = (int) 0 ;
35635 int arg5 = (int) 0 ;
35636 PyObject *arg6 = (PyObject *) NULL ;
d3b6e4ff 35637 wxSizerItem *result;
d14a1e28
RD
35638 PyObject * obj0 = 0 ;
35639 PyObject * obj1 = 0 ;
994141e6
RD
35640 PyObject * obj2 = 0 ;
35641 PyObject * obj3 = 0 ;
35642 PyObject * obj4 = 0 ;
d14a1e28
RD
35643 PyObject * obj5 = 0 ;
35644 char *kwnames[] = {
35645 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35646 };
35647
994141e6 35648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
35649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35651 arg2 = obj1;
994141e6 35652 if (obj2) {
c32bde28 35653 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 35654 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35655 }
35656 if (obj3) {
c32bde28 35657 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 35658 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35659 }
35660 if (obj4) {
c32bde28 35661 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 35662 if (PyErr_Occurred()) SWIG_fail;
994141e6 35663 }
d14a1e28
RD
35664 if (obj5) {
35665 arg6 = obj5;
35666 }
35667 {
35668 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35669 result = (wxSizerItem *)wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
35670
35671 wxPyEndAllowThreads(__tstate);
35672 if (PyErr_Occurred()) SWIG_fail;
35673 }
d3b6e4ff 35674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35675 return resultobj;
35676 fail:
35677 return NULL;
35678}
35679
35680
c32bde28 35681static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35682 PyObject *resultobj;
35683 wxSizer *arg1 = (wxSizer *) 0 ;
35684 int arg2 ;
35685 PyObject *arg3 = (PyObject *) 0 ;
35686 int arg4 = (int) 0 ;
35687 int arg5 = (int) 0 ;
35688 int arg6 = (int) 0 ;
35689 PyObject *arg7 = (PyObject *) NULL ;
d3b6e4ff 35690 wxSizerItem *result;
d14a1e28 35691 PyObject * obj0 = 0 ;
994141e6 35692 PyObject * obj1 = 0 ;
d14a1e28 35693 PyObject * obj2 = 0 ;
994141e6
RD
35694 PyObject * obj3 = 0 ;
35695 PyObject * obj4 = 0 ;
35696 PyObject * obj5 = 0 ;
d14a1e28
RD
35697 PyObject * obj6 = 0 ;
35698 char *kwnames[] = {
35699 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35700 };
35701
994141e6 35702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
35703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35705 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35706 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 35707 arg3 = obj2;
994141e6 35708 if (obj3) {
c32bde28 35709 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 35710 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35711 }
35712 if (obj4) {
c32bde28 35713 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 35714 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35715 }
35716 if (obj5) {
c32bde28 35717 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 35718 if (PyErr_Occurred()) SWIG_fail;
994141e6 35719 }
d14a1e28
RD
35720 if (obj6) {
35721 arg7 = obj6;
35722 }
35723 {
35724 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35725 result = (wxSizerItem *)wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
d14a1e28
RD
35726
35727 wxPyEndAllowThreads(__tstate);
35728 if (PyErr_Occurred()) SWIG_fail;
35729 }
d3b6e4ff 35730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35731 return resultobj;
35732 fail:
35733 return NULL;
35734}
35735
35736
c32bde28 35737static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35738 PyObject *resultobj;
35739 wxSizer *arg1 = (wxSizer *) 0 ;
35740 PyObject *arg2 = (PyObject *) 0 ;
35741 int arg3 = (int) 0 ;
35742 int arg4 = (int) 0 ;
35743 int arg5 = (int) 0 ;
35744 PyObject *arg6 = (PyObject *) NULL ;
d3b6e4ff 35745 wxSizerItem *result;
d14a1e28
RD
35746 PyObject * obj0 = 0 ;
35747 PyObject * obj1 = 0 ;
994141e6
RD
35748 PyObject * obj2 = 0 ;
35749 PyObject * obj3 = 0 ;
35750 PyObject * obj4 = 0 ;
d14a1e28
RD
35751 PyObject * obj5 = 0 ;
35752 char *kwnames[] = {
35753 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35754 };
35755
994141e6 35756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
35757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35759 arg2 = obj1;
994141e6 35760 if (obj2) {
c32bde28 35761 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 35762 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35763 }
35764 if (obj3) {
c32bde28 35765 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 35766 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35767 }
35768 if (obj4) {
c32bde28 35769 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 35770 if (PyErr_Occurred()) SWIG_fail;
994141e6 35771 }
d14a1e28
RD
35772 if (obj5) {
35773 arg6 = obj5;
35774 }
35775 {
35776 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35777 result = (wxSizerItem *)wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
35778
35779 wxPyEndAllowThreads(__tstate);
35780 if (PyErr_Occurred()) SWIG_fail;
35781 }
d3b6e4ff 35782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35783 return resultobj;
35784 fail:
35785 return NULL;
35786}
35787
35788
c32bde28 35789static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35790 PyObject *resultobj;
35791 wxSizer *arg1 = (wxSizer *) 0 ;
35792 PyObject *arg2 = (PyObject *) 0 ;
35793 bool result;
35794 PyObject * obj0 = 0 ;
35795 PyObject * obj1 = 0 ;
35796 char *kwnames[] = {
35797 (char *) "self",(char *) "item", NULL
35798 };
35799
35800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35803 arg2 = obj1;
35804 {
35805 PyThreadState* __tstate = wxPyBeginAllowThreads();
35806 result = (bool)wxSizer_Remove(arg1,arg2);
35807
35808 wxPyEndAllowThreads(__tstate);
35809 if (PyErr_Occurred()) SWIG_fail;
35810 }
4f89f6a3
RD
35811 {
35812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35813 }
d14a1e28
RD
35814 return resultobj;
35815 fail:
35816 return NULL;
35817}
35818
35819
c32bde28 35820static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
1c0f361b
RD
35821 PyObject *resultobj;
35822 wxSizer *arg1 = (wxSizer *) 0 ;
35823 PyObject *arg2 = (PyObject *) 0 ;
35824 bool result;
35825 PyObject * obj0 = 0 ;
35826 PyObject * obj1 = 0 ;
35827 char *kwnames[] = {
35828 (char *) "self",(char *) "item", NULL
35829 };
35830
35831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
35832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35834 arg2 = obj1;
35835 {
35836 PyThreadState* __tstate = wxPyBeginAllowThreads();
35837 result = (bool)wxSizer_Detach(arg1,arg2);
35838
35839 wxPyEndAllowThreads(__tstate);
35840 if (PyErr_Occurred()) SWIG_fail;
35841 }
35842 {
35843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35844 }
35845 return resultobj;
35846 fail:
35847 return NULL;
35848}
35849
35850
d3b6e4ff
RD
35851static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
35852 PyObject *resultobj;
35853 wxSizer *arg1 = (wxSizer *) 0 ;
35854 PyObject *arg2 = (PyObject *) 0 ;
35855 wxSizerItem *result;
35856 PyObject * obj0 = 0 ;
35857 PyObject * obj1 = 0 ;
35858 char *kwnames[] = {
35859 (char *) "self",(char *) "item", NULL
35860 };
35861
35862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_GetItem",kwnames,&obj0,&obj1)) goto fail;
35863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35865 arg2 = obj1;
35866 {
35867 PyThreadState* __tstate = wxPyBeginAllowThreads();
35868 result = (wxSizerItem *)wxSizer_GetItem(arg1,arg2);
35869
35870 wxPyEndAllowThreads(__tstate);
35871 if (PyErr_Occurred()) SWIG_fail;
35872 }
35873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
35874 return resultobj;
35875 fail:
35876 return NULL;
35877}
35878
35879
c32bde28 35880static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35881 PyObject *resultobj;
35882 wxSizer *arg1 = (wxSizer *) 0 ;
35883 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
35884 wxSize *arg3 = 0 ;
35885 wxSize temp3 ;
d14a1e28
RD
35886 PyObject * obj0 = 0 ;
35887 PyObject * obj1 = 0 ;
35888 PyObject * obj2 = 0 ;
35889 char *kwnames[] = {
35890 (char *) "self",(char *) "item",(char *) "size", NULL
35891 };
35892
35893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35896 arg2 = obj1;
e811c8ce
RD
35897 {
35898 arg3 = &temp3;
35899 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35900 }
d14a1e28
RD
35901 {
35902 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35903 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
35904
35905 wxPyEndAllowThreads(__tstate);
35906 if (PyErr_Occurred()) SWIG_fail;
35907 }
35908 Py_INCREF(Py_None); resultobj = Py_None;
35909 return resultobj;
35910 fail:
35911 return NULL;
35912}
35913
35914
c32bde28 35915static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35916 PyObject *resultobj;
35917 wxSizer *arg1 = (wxSizer *) 0 ;
35918 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
d3b6e4ff 35919 wxSizerItem *result;
d14a1e28
RD
35920 PyObject * obj0 = 0 ;
35921 PyObject * obj1 = 0 ;
35922 char *kwnames[] = {
35923 (char *) "self",(char *) "item", NULL
35924 };
35925
35926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35931 {
35932 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35933 result = (wxSizerItem *)(arg1)->Add(arg2);
d14a1e28
RD
35934
35935 wxPyEndAllowThreads(__tstate);
35936 if (PyErr_Occurred()) SWIG_fail;
35937 }
d3b6e4ff 35938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35939 return resultobj;
35940 fail:
35941 return NULL;
35942}
35943
35944
c32bde28 35945static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35946 PyObject *resultobj;
35947 wxSizer *arg1 = (wxSizer *) 0 ;
35948 size_t arg2 ;
35949 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
d3b6e4ff 35950 wxSizerItem *result;
d14a1e28
RD
35951 PyObject * obj0 = 0 ;
35952 PyObject * obj1 = 0 ;
35953 PyObject * obj2 = 0 ;
35954 char *kwnames[] = {
35955 (char *) "self",(char *) "index",(char *) "item", NULL
35956 };
35957
35958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35961 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
35962 if (PyErr_Occurred()) SWIG_fail;
35963 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35965 {
35966 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35967 result = (wxSizerItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
35968
35969 wxPyEndAllowThreads(__tstate);
35970 if (PyErr_Occurred()) SWIG_fail;
35971 }
d3b6e4ff 35972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35973 return resultobj;
35974 fail:
35975 return NULL;
35976}
35977
35978
c32bde28 35979static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35980 PyObject *resultobj;
35981 wxSizer *arg1 = (wxSizer *) 0 ;
35982 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
d3b6e4ff 35983 wxSizerItem *result;
d14a1e28
RD
35984 PyObject * obj0 = 0 ;
35985 PyObject * obj1 = 0 ;
35986 char *kwnames[] = {
35987 (char *) "self",(char *) "item", NULL
35988 };
35989
35990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35993 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35995 {
35996 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35997 result = (wxSizerItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
35998
35999 wxPyEndAllowThreads(__tstate);
36000 if (PyErr_Occurred()) SWIG_fail;
36001 }
d3b6e4ff 36002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
36003 return resultobj;
36004 fail:
36005 return NULL;
36006}
36007
36008
c32bde28 36009static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36010 PyObject *resultobj;
36011 wxSizer *arg1 = (wxSizer *) 0 ;
36012 int arg2 ;
36013 int arg3 ;
36014 int arg4 ;
36015 int arg5 ;
36016 PyObject * obj0 = 0 ;
994141e6
RD
36017 PyObject * obj1 = 0 ;
36018 PyObject * obj2 = 0 ;
36019 PyObject * obj3 = 0 ;
36020 PyObject * obj4 = 0 ;
d14a1e28
RD
36021 char *kwnames[] = {
36022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36023 };
36024
994141e6 36025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
36026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36028 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36029 if (PyErr_Occurred()) SWIG_fail;
c32bde28 36030 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 36031 if (PyErr_Occurred()) SWIG_fail;
c32bde28 36032 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 36033 if (PyErr_Occurred()) SWIG_fail;
c32bde28 36034 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 36035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36036 {
36037 PyThreadState* __tstate = wxPyBeginAllowThreads();
36038 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
36039
36040 wxPyEndAllowThreads(__tstate);
36041 if (PyErr_Occurred()) SWIG_fail;
36042 }
36043 Py_INCREF(Py_None); resultobj = Py_None;
36044 return resultobj;
36045 fail:
36046 return NULL;
36047}
36048
36049
c32bde28 36050static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36051 PyObject *resultobj;
36052 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
36053 wxSize *arg2 = 0 ;
36054 wxSize temp2 ;
d14a1e28
RD
36055 PyObject * obj0 = 0 ;
36056 PyObject * obj1 = 0 ;
36057 char *kwnames[] = {
36058 (char *) "self",(char *) "size", NULL
36059 };
36060
36061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
36064 {
36065 arg2 = &temp2;
36066 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36067 }
d14a1e28
RD
36068 {
36069 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 36070 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
36071
36072 wxPyEndAllowThreads(__tstate);
36073 if (PyErr_Occurred()) SWIG_fail;
36074 }
36075 Py_INCREF(Py_None); resultobj = Py_None;
36076 return resultobj;
36077 fail:
36078 return NULL;
36079}
36080
36081
c32bde28 36082static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36083 PyObject *resultobj;
36084 wxSizer *arg1 = (wxSizer *) 0 ;
36085 wxSize result;
36086 PyObject * obj0 = 0 ;
36087 char *kwnames[] = {
36088 (char *) "self", NULL
36089 };
36090
36091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
36092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36094 {
36095 PyThreadState* __tstate = wxPyBeginAllowThreads();
36096 result = (arg1)->GetSize();
36097
36098 wxPyEndAllowThreads(__tstate);
36099 if (PyErr_Occurred()) SWIG_fail;
36100 }
36101 {
36102 wxSize * resultptr;
36103 resultptr = new wxSize((wxSize &) result);
15afbcd0 36104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36105 }
36106 return resultobj;
36107 fail:
36108 return NULL;
36109}
36110
36111
c32bde28 36112static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36113 PyObject *resultobj;
36114 wxSizer *arg1 = (wxSizer *) 0 ;
36115 wxPoint result;
36116 PyObject * obj0 = 0 ;
36117 char *kwnames[] = {
36118 (char *) "self", NULL
36119 };
36120
36121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
36122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36124 {
36125 PyThreadState* __tstate = wxPyBeginAllowThreads();
36126 result = (arg1)->GetPosition();
36127
36128 wxPyEndAllowThreads(__tstate);
36129 if (PyErr_Occurred()) SWIG_fail;
36130 }
36131 {
36132 wxPoint * resultptr;
36133 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 36134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
36135 }
36136 return resultobj;
36137 fail:
36138 return NULL;
36139}
36140
36141
c32bde28 36142static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36143 PyObject *resultobj;
36144 wxSizer *arg1 = (wxSizer *) 0 ;
36145 wxSize result;
36146 PyObject * obj0 = 0 ;
36147 char *kwnames[] = {
36148 (char *) "self", NULL
36149 };
36150
36151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
36152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36154 {
36155 PyThreadState* __tstate = wxPyBeginAllowThreads();
36156 result = (arg1)->GetMinSize();
36157
36158 wxPyEndAllowThreads(__tstate);
36159 if (PyErr_Occurred()) SWIG_fail;
36160 }
36161 {
36162 wxSize * resultptr;
36163 resultptr = new wxSize((wxSize &) result);
15afbcd0 36164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36165 }
36166 return resultobj;
36167 fail:
36168 return NULL;
36169}
36170
36171
c32bde28 36172static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36173 PyObject *resultobj;
36174 wxSizer *arg1 = (wxSizer *) 0 ;
36175 PyObject * obj0 = 0 ;
36176 char *kwnames[] = {
36177 (char *) "self", NULL
36178 };
36179
36180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
36181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36183 {
36184 PyThreadState* __tstate = wxPyBeginAllowThreads();
36185 (arg1)->RecalcSizes();
36186
36187 wxPyEndAllowThreads(__tstate);
36188 if (PyErr_Occurred()) SWIG_fail;
36189 }
36190 Py_INCREF(Py_None); resultobj = Py_None;
36191 return resultobj;
36192 fail:
36193 return NULL;
36194}
36195
36196
c32bde28 36197static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36198 PyObject *resultobj;
36199 wxSizer *arg1 = (wxSizer *) 0 ;
36200 wxSize result;
36201 PyObject * obj0 = 0 ;
36202 char *kwnames[] = {
36203 (char *) "self", NULL
36204 };
36205
36206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
36207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36209 {
36210 PyThreadState* __tstate = wxPyBeginAllowThreads();
36211 result = (arg1)->CalcMin();
36212
36213 wxPyEndAllowThreads(__tstate);
36214 if (PyErr_Occurred()) SWIG_fail;
36215 }
36216 {
36217 wxSize * resultptr;
36218 resultptr = new wxSize((wxSize &) result);
15afbcd0 36219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36220 }
36221 return resultobj;
36222 fail:
36223 return NULL;
36224}
36225
36226
c32bde28 36227static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36228 PyObject *resultobj;
36229 wxSizer *arg1 = (wxSizer *) 0 ;
36230 PyObject * obj0 = 0 ;
36231 char *kwnames[] = {
36232 (char *) "self", NULL
36233 };
36234
36235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
36236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36238 {
36239 PyThreadState* __tstate = wxPyBeginAllowThreads();
36240 (arg1)->Layout();
36241
36242 wxPyEndAllowThreads(__tstate);
36243 if (PyErr_Occurred()) SWIG_fail;
36244 }
36245 Py_INCREF(Py_None); resultobj = Py_None;
36246 return resultobj;
36247 fail:
36248 return NULL;
36249}
36250
36251
c32bde28 36252static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36253 PyObject *resultobj;
36254 wxSizer *arg1 = (wxSizer *) 0 ;
36255 wxWindow *arg2 = (wxWindow *) 0 ;
36256 wxSize result;
36257 PyObject * obj0 = 0 ;
36258 PyObject * obj1 = 0 ;
36259 char *kwnames[] = {
36260 (char *) "self",(char *) "window", NULL
36261 };
36262
36263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36268 {
36269 PyThreadState* __tstate = wxPyBeginAllowThreads();
36270 result = (arg1)->Fit(arg2);
36271
36272 wxPyEndAllowThreads(__tstate);
36273 if (PyErr_Occurred()) SWIG_fail;
36274 }
36275 {
36276 wxSize * resultptr;
36277 resultptr = new wxSize((wxSize &) result);
15afbcd0 36278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36279 }
36280 return resultobj;
36281 fail:
36282 return NULL;
36283}
36284
36285
c32bde28 36286static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36287 PyObject *resultobj;
36288 wxSizer *arg1 = (wxSizer *) 0 ;
36289 wxWindow *arg2 = (wxWindow *) 0 ;
36290 PyObject * obj0 = 0 ;
36291 PyObject * obj1 = 0 ;
36292 char *kwnames[] = {
36293 (char *) "self",(char *) "window", NULL
36294 };
36295
36296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36301 {
36302 PyThreadState* __tstate = wxPyBeginAllowThreads();
36303 (arg1)->FitInside(arg2);
36304
36305 wxPyEndAllowThreads(__tstate);
36306 if (PyErr_Occurred()) SWIG_fail;
36307 }
36308 Py_INCREF(Py_None); resultobj = Py_None;
36309 return resultobj;
36310 fail:
36311 return NULL;
36312}
36313
36314
c32bde28 36315static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36316 PyObject *resultobj;
36317 wxSizer *arg1 = (wxSizer *) 0 ;
36318 wxWindow *arg2 = (wxWindow *) 0 ;
36319 PyObject * obj0 = 0 ;
36320 PyObject * obj1 = 0 ;
36321 char *kwnames[] = {
36322 (char *) "self",(char *) "window", NULL
36323 };
36324
36325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36330 {
36331 PyThreadState* __tstate = wxPyBeginAllowThreads();
36332 (arg1)->SetSizeHints(arg2);
36333
36334 wxPyEndAllowThreads(__tstate);
36335 if (PyErr_Occurred()) SWIG_fail;
36336 }
36337 Py_INCREF(Py_None); resultobj = Py_None;
36338 return resultobj;
36339 fail:
36340 return NULL;
36341}
36342
36343
c32bde28 36344static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36345 PyObject *resultobj;
36346 wxSizer *arg1 = (wxSizer *) 0 ;
36347 wxWindow *arg2 = (wxWindow *) 0 ;
36348 PyObject * obj0 = 0 ;
36349 PyObject * obj1 = 0 ;
36350 char *kwnames[] = {
36351 (char *) "self",(char *) "window", NULL
36352 };
36353
36354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36359 {
36360 PyThreadState* __tstate = wxPyBeginAllowThreads();
36361 (arg1)->SetVirtualSizeHints(arg2);
36362
36363 wxPyEndAllowThreads(__tstate);
36364 if (PyErr_Occurred()) SWIG_fail;
36365 }
36366 Py_INCREF(Py_None); resultobj = Py_None;
36367 return resultobj;
36368 fail:
36369 return NULL;
36370}
36371
36372
c32bde28 36373static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36374 PyObject *resultobj;
36375 wxSizer *arg1 = (wxSizer *) 0 ;
ae8162c8 36376 bool arg2 = (bool) false ;
d14a1e28
RD
36377 PyObject * obj0 = 0 ;
36378 PyObject * obj1 = 0 ;
36379 char *kwnames[] = {
248ed943 36380 (char *) "self",(char *) "deleteWindows", NULL
d14a1e28
RD
36381 };
36382
36383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 36386 if (obj1) {
c32bde28 36387 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 36388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36389 }
36390 {
36391 PyThreadState* __tstate = wxPyBeginAllowThreads();
36392 (arg1)->Clear(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_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36405 PyObject *resultobj;
36406 wxSizer *arg1 = (wxSizer *) 0 ;
36407 PyObject * obj0 = 0 ;
36408 char *kwnames[] = {
36409 (char *) "self", NULL
36410 };
36411
36412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36415 {
36416 PyThreadState* __tstate = wxPyBeginAllowThreads();
36417 (arg1)->DeleteWindows();
36418
36419 wxPyEndAllowThreads(__tstate);
36420 if (PyErr_Occurred()) SWIG_fail;
36421 }
36422 Py_INCREF(Py_None); resultobj = Py_None;
36423 return resultobj;
36424 fail:
36425 return NULL;
36426}
36427
36428
c32bde28 36429static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36430 PyObject *resultobj;
36431 wxSizer *arg1 = (wxSizer *) 0 ;
36432 PyObject *result;
36433 PyObject * obj0 = 0 ;
36434 char *kwnames[] = {
36435 (char *) "self", NULL
36436 };
36437
36438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
36439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36441 {
36442 PyThreadState* __tstate = wxPyBeginAllowThreads();
36443 result = (PyObject *)wxSizer_GetChildren(arg1);
36444
36445 wxPyEndAllowThreads(__tstate);
36446 if (PyErr_Occurred()) SWIG_fail;
36447 }
36448 resultobj = result;
36449 return resultobj;
36450 fail:
36451 return NULL;
36452}
36453
36454
c32bde28 36455static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36456 PyObject *resultobj;
36457 wxSizer *arg1 = (wxSizer *) 0 ;
36458 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8
RD
36459 bool arg3 = (bool) true ;
36460 bool arg4 = (bool) false ;
7e63a440 36461 bool result;
d14a1e28
RD
36462 PyObject * obj0 = 0 ;
36463 PyObject * obj1 = 0 ;
36464 PyObject * obj2 = 0 ;
7e63a440 36465 PyObject * obj3 = 0 ;
d14a1e28 36466 char *kwnames[] = {
7e63a440 36467 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
d14a1e28
RD
36468 };
36469
7e63a440 36470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Sizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
36471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36473 arg2 = obj1;
36474 if (obj2) {
c32bde28 36475 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 36476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 36477 }
7e63a440
RD
36478 if (obj3) {
36479 arg4 = (bool)SWIG_As_bool(obj3);
36480 if (PyErr_Occurred()) SWIG_fail;
36481 }
d14a1e28
RD
36482 {
36483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e63a440 36484 result = (bool)wxSizer_Show(arg1,arg2,arg3,arg4);
d14a1e28
RD
36485
36486 wxPyEndAllowThreads(__tstate);
36487 if (PyErr_Occurred()) SWIG_fail;
36488 }
7e63a440
RD
36489 {
36490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36491 }
d14a1e28
RD
36492 return resultobj;
36493 fail:
36494 return NULL;
36495}
36496
36497
c32bde28 36498static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36499 PyObject *resultobj;
36500 wxSizer *arg1 = (wxSizer *) 0 ;
36501 PyObject *arg2 = (PyObject *) 0 ;
36502 bool result;
36503 PyObject * obj0 = 0 ;
36504 PyObject * obj1 = 0 ;
36505 char *kwnames[] = {
36506 (char *) "self",(char *) "item", NULL
36507 };
36508
36509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36512 arg2 = obj1;
36513 {
36514 PyThreadState* __tstate = wxPyBeginAllowThreads();
36515 result = (bool)wxSizer_IsShown(arg1,arg2);
36516
36517 wxPyEndAllowThreads(__tstate);
36518 if (PyErr_Occurred()) SWIG_fail;
36519 }
4f89f6a3
RD
36520 {
36521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36522 }
d14a1e28
RD
36523 return resultobj;
36524 fail:
36525 return NULL;
36526}
36527
36528
c32bde28 36529static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36530 PyObject *resultobj;
36531 wxSizer *arg1 = (wxSizer *) 0 ;
36532 bool arg2 ;
36533 PyObject * obj0 = 0 ;
36534 PyObject * obj1 = 0 ;
36535 char *kwnames[] = {
36536 (char *) "self",(char *) "show", NULL
36537 };
36538
36539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36542 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 36543 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36544 {
36545 PyThreadState* __tstate = wxPyBeginAllowThreads();
36546 (arg1)->ShowItems(arg2);
36547
36548 wxPyEndAllowThreads(__tstate);
36549 if (PyErr_Occurred()) SWIG_fail;
36550 }
36551 Py_INCREF(Py_None); resultobj = Py_None;
36552 return resultobj;
36553 fail:
36554 return NULL;
36555}
36556
36557
c32bde28 36558static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36559 PyObject *obj;
36560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36561 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
36562 Py_INCREF(obj);
36563 return Py_BuildValue((char *)"");
36564}
c32bde28 36565static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36566 PyObject *resultobj;
36567 wxPySizer *result;
36568 char *kwnames[] = {
36569 NULL
36570 };
36571
36572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
36573 {
36574 PyThreadState* __tstate = wxPyBeginAllowThreads();
36575 result = (wxPySizer *)new wxPySizer();
36576
36577 wxPyEndAllowThreads(__tstate);
36578 if (PyErr_Occurred()) SWIG_fail;
36579 }
15afbcd0 36580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
36581 return resultobj;
36582 fail:
36583 return NULL;
36584}
36585
36586
c32bde28 36587static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36588 PyObject *resultobj;
36589 wxPySizer *arg1 = (wxPySizer *) 0 ;
36590 PyObject *arg2 = (PyObject *) 0 ;
36591 PyObject *arg3 = (PyObject *) 0 ;
36592 PyObject * obj0 = 0 ;
36593 PyObject * obj1 = 0 ;
36594 PyObject * obj2 = 0 ;
36595 char *kwnames[] = {
36596 (char *) "self",(char *) "self",(char *) "_class", NULL
36597 };
36598
36599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
36601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36602 arg2 = obj1;
36603 arg3 = obj2;
36604 {
36605 PyThreadState* __tstate = wxPyBeginAllowThreads();
36606 (arg1)->_setCallbackInfo(arg2,arg3);
36607
36608 wxPyEndAllowThreads(__tstate);
36609 if (PyErr_Occurred()) SWIG_fail;
36610 }
36611 Py_INCREF(Py_None); resultobj = Py_None;
36612 return resultobj;
36613 fail:
36614 return NULL;
36615}
36616
36617
c32bde28 36618static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36619 PyObject *obj;
36620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36621 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
36622 Py_INCREF(obj);
36623 return Py_BuildValue((char *)"");
36624}
c32bde28 36625static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36626 PyObject *resultobj;
36627 int arg1 = (int) wxHORIZONTAL ;
36628 wxBoxSizer *result;
994141e6 36629 PyObject * obj0 = 0 ;
d14a1e28
RD
36630 char *kwnames[] = {
36631 (char *) "orient", NULL
36632 };
36633
994141e6
RD
36634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
36635 if (obj0) {
c32bde28 36636 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 36637 if (PyErr_Occurred()) SWIG_fail;
994141e6 36638 }
d14a1e28
RD
36639 {
36640 PyThreadState* __tstate = wxPyBeginAllowThreads();
36641 result = (wxBoxSizer *)new wxBoxSizer(arg1);
36642
36643 wxPyEndAllowThreads(__tstate);
36644 if (PyErr_Occurred()) SWIG_fail;
36645 }
15afbcd0 36646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
36647 return resultobj;
36648 fail:
36649 return NULL;
36650}
36651
36652
c32bde28 36653static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36654 PyObject *resultobj;
36655 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36656 int result;
36657 PyObject * obj0 = 0 ;
36658 char *kwnames[] = {
36659 (char *) "self", NULL
36660 };
36661
36662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
36663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36665 {
36666 PyThreadState* __tstate = wxPyBeginAllowThreads();
36667 result = (int)(arg1)->GetOrientation();
36668
36669 wxPyEndAllowThreads(__tstate);
36670 if (PyErr_Occurred()) SWIG_fail;
36671 }
c32bde28 36672 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36673 return resultobj;
36674 fail:
36675 return NULL;
36676}
36677
36678
c32bde28 36679static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36680 PyObject *resultobj;
36681 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36682 int arg2 ;
36683 PyObject * obj0 = 0 ;
994141e6 36684 PyObject * obj1 = 0 ;
d14a1e28
RD
36685 char *kwnames[] = {
36686 (char *) "self",(char *) "orient", NULL
36687 };
36688
994141e6 36689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36692 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36694 {
36695 PyThreadState* __tstate = wxPyBeginAllowThreads();
36696 (arg1)->SetOrientation(arg2);
36697
36698 wxPyEndAllowThreads(__tstate);
36699 if (PyErr_Occurred()) SWIG_fail;
36700 }
36701 Py_INCREF(Py_None); resultobj = Py_None;
36702 return resultobj;
36703 fail:
36704 return NULL;
36705}
36706
36707
c32bde28 36708static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36709 PyObject *obj;
36710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36711 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
36712 Py_INCREF(obj);
36713 return Py_BuildValue((char *)"");
36714}
c32bde28 36715static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36716 PyObject *resultobj;
36717 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
36718 int arg2 = (int) wxHORIZONTAL ;
36719 wxStaticBoxSizer *result;
36720 PyObject * obj0 = 0 ;
994141e6 36721 PyObject * obj1 = 0 ;
d14a1e28
RD
36722 char *kwnames[] = {
36723 (char *) "box",(char *) "orient", NULL
36724 };
36725
994141e6 36726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
36728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36729 if (obj1) {
c32bde28 36730 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36731 if (PyErr_Occurred()) SWIG_fail;
994141e6 36732 }
d14a1e28
RD
36733 {
36734 PyThreadState* __tstate = wxPyBeginAllowThreads();
36735 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
36736
36737 wxPyEndAllowThreads(__tstate);
36738 if (PyErr_Occurred()) SWIG_fail;
36739 }
15afbcd0 36740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
36741 return resultobj;
36742 fail:
36743 return NULL;
36744}
36745
36746
c32bde28 36747static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36748 PyObject *resultobj;
36749 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36750 wxStaticBox *result;
36751 PyObject * obj0 = 0 ;
36752 char *kwnames[] = {
36753 (char *) "self", NULL
36754 };
36755
36756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
36757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36759 {
36760 PyThreadState* __tstate = wxPyBeginAllowThreads();
36761 result = (wxStaticBox *)(arg1)->GetStaticBox();
36762
36763 wxPyEndAllowThreads(__tstate);
36764 if (PyErr_Occurred()) SWIG_fail;
36765 }
36766 {
412d302d 36767 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
36768 }
36769 return resultobj;
36770 fail:
36771 return NULL;
36772}
36773
36774
c32bde28 36775static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36776 PyObject *obj;
36777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36778 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
36779 Py_INCREF(obj);
36780 return Py_BuildValue((char *)"");
36781}
c32bde28 36782static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36783 PyObject *resultobj;
36784 int arg1 = (int) 1 ;
36785 int arg2 = (int) 0 ;
36786 int arg3 = (int) 0 ;
36787 int arg4 = (int) 0 ;
36788 wxGridSizer *result;
994141e6
RD
36789 PyObject * obj0 = 0 ;
36790 PyObject * obj1 = 0 ;
36791 PyObject * obj2 = 0 ;
36792 PyObject * obj3 = 0 ;
d14a1e28
RD
36793 char *kwnames[] = {
36794 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36795 };
36796
994141e6
RD
36797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36798 if (obj0) {
c32bde28 36799 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 36800 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36801 }
36802 if (obj1) {
c32bde28 36803 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36804 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36805 }
36806 if (obj2) {
c32bde28 36807 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 36808 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36809 }
36810 if (obj3) {
c32bde28 36811 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 36812 if (PyErr_Occurred()) SWIG_fail;
994141e6 36813 }
d14a1e28
RD
36814 {
36815 PyThreadState* __tstate = wxPyBeginAllowThreads();
36816 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
36817
36818 wxPyEndAllowThreads(__tstate);
36819 if (PyErr_Occurred()) SWIG_fail;
36820 }
15afbcd0 36821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
36822 return resultobj;
36823 fail:
36824 return NULL;
36825}
36826
36827
c32bde28 36828static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36829 PyObject *resultobj;
36830 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36831 int arg2 ;
36832 PyObject * obj0 = 0 ;
994141e6 36833 PyObject * obj1 = 0 ;
d14a1e28
RD
36834 char *kwnames[] = {
36835 (char *) "self",(char *) "cols", NULL
36836 };
36837
994141e6 36838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36841 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36843 {
36844 PyThreadState* __tstate = wxPyBeginAllowThreads();
36845 (arg1)->SetCols(arg2);
36846
36847 wxPyEndAllowThreads(__tstate);
36848 if (PyErr_Occurred()) SWIG_fail;
36849 }
36850 Py_INCREF(Py_None); resultobj = Py_None;
36851 return resultobj;
36852 fail:
36853 return NULL;
36854}
36855
36856
c32bde28 36857static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36858 PyObject *resultobj;
36859 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36860 int arg2 ;
36861 PyObject * obj0 = 0 ;
994141e6 36862 PyObject * obj1 = 0 ;
d14a1e28
RD
36863 char *kwnames[] = {
36864 (char *) "self",(char *) "rows", NULL
36865 };
36866
994141e6 36867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36870 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36872 {
36873 PyThreadState* __tstate = wxPyBeginAllowThreads();
36874 (arg1)->SetRows(arg2);
36875
36876 wxPyEndAllowThreads(__tstate);
36877 if (PyErr_Occurred()) SWIG_fail;
36878 }
36879 Py_INCREF(Py_None); resultobj = Py_None;
36880 return resultobj;
36881 fail:
36882 return NULL;
36883}
36884
36885
c32bde28 36886static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36887 PyObject *resultobj;
36888 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36889 int arg2 ;
36890 PyObject * obj0 = 0 ;
994141e6 36891 PyObject * obj1 = 0 ;
d14a1e28
RD
36892 char *kwnames[] = {
36893 (char *) "self",(char *) "gap", NULL
36894 };
36895
994141e6 36896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36899 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36901 {
36902 PyThreadState* __tstate = wxPyBeginAllowThreads();
36903 (arg1)->SetVGap(arg2);
36904
36905 wxPyEndAllowThreads(__tstate);
36906 if (PyErr_Occurred()) SWIG_fail;
36907 }
36908 Py_INCREF(Py_None); resultobj = Py_None;
36909 return resultobj;
36910 fail:
36911 return NULL;
36912}
36913
36914
c32bde28 36915static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36916 PyObject *resultobj;
36917 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36918 int arg2 ;
36919 PyObject * obj0 = 0 ;
994141e6 36920 PyObject * obj1 = 0 ;
d14a1e28
RD
36921 char *kwnames[] = {
36922 (char *) "self",(char *) "gap", NULL
36923 };
36924
994141e6 36925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36928 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36930 {
36931 PyThreadState* __tstate = wxPyBeginAllowThreads();
36932 (arg1)->SetHGap(arg2);
36933
36934 wxPyEndAllowThreads(__tstate);
36935 if (PyErr_Occurred()) SWIG_fail;
36936 }
36937 Py_INCREF(Py_None); resultobj = Py_None;
36938 return resultobj;
36939 fail:
36940 return NULL;
36941}
36942
36943
c32bde28 36944static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36945 PyObject *resultobj;
36946 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36947 int result;
36948 PyObject * obj0 = 0 ;
36949 char *kwnames[] = {
36950 (char *) "self", NULL
36951 };
36952
36953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
36954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36956 {
36957 PyThreadState* __tstate = wxPyBeginAllowThreads();
36958 result = (int)(arg1)->GetCols();
36959
36960 wxPyEndAllowThreads(__tstate);
36961 if (PyErr_Occurred()) SWIG_fail;
36962 }
c32bde28 36963 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36964 return resultobj;
36965 fail:
36966 return NULL;
36967}
36968
36969
c32bde28 36970static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36971 PyObject *resultobj;
36972 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36973 int result;
36974 PyObject * obj0 = 0 ;
36975 char *kwnames[] = {
36976 (char *) "self", NULL
36977 };
36978
36979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36982 {
36983 PyThreadState* __tstate = wxPyBeginAllowThreads();
36984 result = (int)(arg1)->GetRows();
36985
36986 wxPyEndAllowThreads(__tstate);
36987 if (PyErr_Occurred()) SWIG_fail;
36988 }
c32bde28 36989 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36990 return resultobj;
36991 fail:
36992 return NULL;
36993}
36994
36995
c32bde28 36996static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36997 PyObject *resultobj;
36998 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36999 int result;
37000 PyObject * obj0 = 0 ;
37001 char *kwnames[] = {
37002 (char *) "self", NULL
37003 };
37004
37005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
37006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37008 {
37009 PyThreadState* __tstate = wxPyBeginAllowThreads();
37010 result = (int)(arg1)->GetVGap();
37011
37012 wxPyEndAllowThreads(__tstate);
37013 if (PyErr_Occurred()) SWIG_fail;
37014 }
c32bde28 37015 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37016 return resultobj;
37017 fail:
37018 return NULL;
37019}
37020
37021
c32bde28 37022static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37023 PyObject *resultobj;
37024 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
37025 int result;
37026 PyObject * obj0 = 0 ;
37027 char *kwnames[] = {
37028 (char *) "self", NULL
37029 };
37030
37031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
37032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
37033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37034 {
37035 PyThreadState* __tstate = wxPyBeginAllowThreads();
37036 result = (int)(arg1)->GetHGap();
37037
37038 wxPyEndAllowThreads(__tstate);
37039 if (PyErr_Occurred()) SWIG_fail;
37040 }
c32bde28 37041 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37042 return resultobj;
37043 fail:
37044 return NULL;
37045}
37046
37047
c32bde28 37048static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37049 PyObject *obj;
37050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37051 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
37052 Py_INCREF(obj);
37053 return Py_BuildValue((char *)"");
37054}
c32bde28 37055static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37056 PyObject *resultobj;
37057 int arg1 = (int) 1 ;
37058 int arg2 = (int) 0 ;
37059 int arg3 = (int) 0 ;
37060 int arg4 = (int) 0 ;
37061 wxFlexGridSizer *result;
994141e6
RD
37062 PyObject * obj0 = 0 ;
37063 PyObject * obj1 = 0 ;
37064 PyObject * obj2 = 0 ;
37065 PyObject * obj3 = 0 ;
d14a1e28
RD
37066 char *kwnames[] = {
37067 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37068 };
37069
994141e6
RD
37070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
37071 if (obj0) {
c32bde28 37072 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 37073 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37074 }
37075 if (obj1) {
c32bde28 37076 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37077 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37078 }
37079 if (obj2) {
c32bde28 37080 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37081 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37082 }
37083 if (obj3) {
c32bde28 37084 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 37085 if (PyErr_Occurred()) SWIG_fail;
994141e6 37086 }
d14a1e28
RD
37087 {
37088 PyThreadState* __tstate = wxPyBeginAllowThreads();
37089 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
37090
37091 wxPyEndAllowThreads(__tstate);
37092 if (PyErr_Occurred()) SWIG_fail;
37093 }
15afbcd0 37094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
37095 return resultobj;
37096 fail:
37097 return NULL;
37098}
37099
37100
c32bde28 37101static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37102 PyObject *resultobj;
37103 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37104 size_t arg2 ;
37105 int arg3 = (int) 0 ;
37106 PyObject * obj0 = 0 ;
37107 PyObject * obj1 = 0 ;
994141e6 37108 PyObject * obj2 = 0 ;
d14a1e28
RD
37109 char *kwnames[] = {
37110 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37111 };
37112
994141e6 37113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37116 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37117 if (PyErr_Occurred()) SWIG_fail;
994141e6 37118 if (obj2) {
c32bde28 37119 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37120 if (PyErr_Occurred()) SWIG_fail;
994141e6 37121 }
d14a1e28
RD
37122 {
37123 PyThreadState* __tstate = wxPyBeginAllowThreads();
37124 (arg1)->AddGrowableRow(arg2,arg3);
37125
37126 wxPyEndAllowThreads(__tstate);
37127 if (PyErr_Occurred()) SWIG_fail;
37128 }
37129 Py_INCREF(Py_None); resultobj = Py_None;
37130 return resultobj;
37131 fail:
37132 return NULL;
37133}
37134
37135
c32bde28 37136static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37137 PyObject *resultobj;
37138 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37139 size_t arg2 ;
37140 PyObject * obj0 = 0 ;
37141 PyObject * obj1 = 0 ;
37142 char *kwnames[] = {
37143 (char *) "self",(char *) "idx", NULL
37144 };
37145
37146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37149 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37150 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37151 {
37152 PyThreadState* __tstate = wxPyBeginAllowThreads();
37153 (arg1)->RemoveGrowableRow(arg2);
37154
37155 wxPyEndAllowThreads(__tstate);
37156 if (PyErr_Occurred()) SWIG_fail;
37157 }
37158 Py_INCREF(Py_None); resultobj = Py_None;
37159 return resultobj;
37160 fail:
37161 return NULL;
37162}
37163
37164
c32bde28 37165static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37166 PyObject *resultobj;
37167 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37168 size_t arg2 ;
37169 int arg3 = (int) 0 ;
37170 PyObject * obj0 = 0 ;
37171 PyObject * obj1 = 0 ;
994141e6 37172 PyObject * obj2 = 0 ;
d14a1e28
RD
37173 char *kwnames[] = {
37174 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37175 };
37176
994141e6 37177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37180 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37181 if (PyErr_Occurred()) SWIG_fail;
994141e6 37182 if (obj2) {
c32bde28 37183 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37184 if (PyErr_Occurred()) SWIG_fail;
994141e6 37185 }
d14a1e28
RD
37186 {
37187 PyThreadState* __tstate = wxPyBeginAllowThreads();
37188 (arg1)->AddGrowableCol(arg2,arg3);
37189
37190 wxPyEndAllowThreads(__tstate);
37191 if (PyErr_Occurred()) SWIG_fail;
37192 }
37193 Py_INCREF(Py_None); resultobj = Py_None;
37194 return resultobj;
37195 fail:
37196 return NULL;
37197}
37198
37199
c32bde28 37200static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37201 PyObject *resultobj;
37202 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37203 size_t arg2 ;
37204 PyObject * obj0 = 0 ;
37205 PyObject * obj1 = 0 ;
37206 char *kwnames[] = {
37207 (char *) "self",(char *) "idx", NULL
37208 };
37209
37210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37213 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37214 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37215 {
37216 PyThreadState* __tstate = wxPyBeginAllowThreads();
37217 (arg1)->RemoveGrowableCol(arg2);
37218
37219 wxPyEndAllowThreads(__tstate);
37220 if (PyErr_Occurred()) SWIG_fail;
37221 }
37222 Py_INCREF(Py_None); resultobj = Py_None;
37223 return resultobj;
37224 fail:
37225 return NULL;
37226}
37227
37228
c32bde28 37229static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37230 PyObject *resultobj;
37231 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37232 int arg2 ;
37233 PyObject * obj0 = 0 ;
994141e6 37234 PyObject * obj1 = 0 ;
d14a1e28
RD
37235 char *kwnames[] = {
37236 (char *) "self",(char *) "direction", NULL
37237 };
37238
994141e6 37239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37242 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37244 {
37245 PyThreadState* __tstate = wxPyBeginAllowThreads();
37246 (arg1)->SetFlexibleDirection(arg2);
37247
37248 wxPyEndAllowThreads(__tstate);
37249 if (PyErr_Occurred()) SWIG_fail;
37250 }
37251 Py_INCREF(Py_None); resultobj = Py_None;
37252 return resultobj;
37253 fail:
37254 return NULL;
37255}
37256
37257
c32bde28 37258static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37259 PyObject *resultobj;
37260 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37261 int result;
37262 PyObject * obj0 = 0 ;
37263 char *kwnames[] = {
37264 (char *) "self", NULL
37265 };
37266
37267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
37268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37270 {
37271 PyThreadState* __tstate = wxPyBeginAllowThreads();
37272 result = (int)(arg1)->GetFlexibleDirection();
37273
37274 wxPyEndAllowThreads(__tstate);
37275 if (PyErr_Occurred()) SWIG_fail;
37276 }
c32bde28 37277 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37278 return resultobj;
37279 fail:
37280 return NULL;
37281}
37282
37283
c32bde28 37284static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37285 PyObject *resultobj;
37286 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37287 int arg2 ;
37288 PyObject * obj0 = 0 ;
994141e6 37289 PyObject * obj1 = 0 ;
d14a1e28
RD
37290 char *kwnames[] = {
37291 (char *) "self",(char *) "mode", NULL
37292 };
37293
994141e6 37294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37297 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37298 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37299 {
37300 PyThreadState* __tstate = wxPyBeginAllowThreads();
37301 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
37302
37303 wxPyEndAllowThreads(__tstate);
37304 if (PyErr_Occurred()) SWIG_fail;
37305 }
37306 Py_INCREF(Py_None); resultobj = Py_None;
37307 return resultobj;
37308 fail:
37309 return NULL;
37310}
37311
37312
c32bde28 37313static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37314 PyObject *resultobj;
37315 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37316 int result;
37317 PyObject * obj0 = 0 ;
37318 char *kwnames[] = {
37319 (char *) "self", NULL
37320 };
37321
37322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
37323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37325 {
37326 PyThreadState* __tstate = wxPyBeginAllowThreads();
37327 result = (int)(arg1)->GetNonFlexibleGrowMode();
37328
37329 wxPyEndAllowThreads(__tstate);
37330 if (PyErr_Occurred()) SWIG_fail;
37331 }
c32bde28 37332 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37333 return resultobj;
37334 fail:
37335 return NULL;
37336}
37337
37338
c32bde28 37339static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37340 PyObject *resultobj;
37341 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37342 wxArrayInt *result;
37343 PyObject * obj0 = 0 ;
37344 char *kwnames[] = {
37345 (char *) "self", NULL
37346 };
37347
37348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
37349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
37351 {
37352 PyThreadState* __tstate = wxPyBeginAllowThreads();
37353 {
37354 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
37355 result = (wxArrayInt *) &_result_ref;
37356 }
37357
37358 wxPyEndAllowThreads(__tstate);
37359 if (PyErr_Occurred()) SWIG_fail;
37360 }
37361 {
37362 resultobj = PyList_New(0);
37363 size_t idx;
37364 for (idx = 0; idx < result->GetCount(); idx += 1) {
37365 PyObject* val = PyInt_FromLong( result->Item(idx) );
37366 PyList_Append(resultobj, val);
37367 Py_DECREF(val);
37368 }
37369 }
37370 return resultobj;
37371 fail:
37372 return NULL;
37373}
37374
37375
c32bde28 37376static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37377 PyObject *resultobj;
37378 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37379 wxArrayInt *result;
37380 PyObject * obj0 = 0 ;
37381 char *kwnames[] = {
37382 (char *) "self", NULL
37383 };
37384
37385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
37386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
37388 {
37389 PyThreadState* __tstate = wxPyBeginAllowThreads();
37390 {
37391 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
37392 result = (wxArrayInt *) &_result_ref;
37393 }
37394
37395 wxPyEndAllowThreads(__tstate);
37396 if (PyErr_Occurred()) SWIG_fail;
37397 }
37398 {
37399 resultobj = PyList_New(0);
37400 size_t idx;
37401 for (idx = 0; idx < result->GetCount(); idx += 1) {
37402 PyObject* val = PyInt_FromLong( result->Item(idx) );
37403 PyList_Append(resultobj, val);
37404 Py_DECREF(val);
37405 }
37406 }
37407 return resultobj;
37408 fail:
37409 return NULL;
37410}
37411
37412
c32bde28 37413static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37414 PyObject *obj;
37415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37416 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
37417 Py_INCREF(obj);
37418 return Py_BuildValue((char *)"");
37419}
c32bde28 37420static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37421 PyObject *resultobj;
37422 int arg1 = (int) 0 ;
37423 int arg2 = (int) 0 ;
37424 wxGBPosition *result;
994141e6
RD
37425 PyObject * obj0 = 0 ;
37426 PyObject * obj1 = 0 ;
d14a1e28
RD
37427 char *kwnames[] = {
37428 (char *) "row",(char *) "col", NULL
37429 };
37430
994141e6
RD
37431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
37432 if (obj0) {
c32bde28 37433 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 37434 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37435 }
37436 if (obj1) {
c32bde28 37437 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37438 if (PyErr_Occurred()) SWIG_fail;
994141e6 37439 }
d14a1e28
RD
37440 {
37441 PyThreadState* __tstate = wxPyBeginAllowThreads();
37442 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
37443
37444 wxPyEndAllowThreads(__tstate);
37445 if (PyErr_Occurred()) SWIG_fail;
37446 }
15afbcd0 37447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37448 return resultobj;
37449 fail:
37450 return NULL;
37451}
37452
37453
c32bde28 37454static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37455 PyObject *resultobj;
37456 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37457 int result;
37458 PyObject * obj0 = 0 ;
37459 char *kwnames[] = {
37460 (char *) "self", NULL
37461 };
37462
37463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
37464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37466 {
37467 PyThreadState* __tstate = wxPyBeginAllowThreads();
37468 result = (int)((wxGBPosition const *)arg1)->GetRow();
37469
37470 wxPyEndAllowThreads(__tstate);
37471 if (PyErr_Occurred()) SWIG_fail;
37472 }
c32bde28 37473 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37474 return resultobj;
37475 fail:
37476 return NULL;
37477}
37478
37479
c32bde28 37480static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37481 PyObject *resultobj;
37482 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37483 int result;
37484 PyObject * obj0 = 0 ;
37485 char *kwnames[] = {
37486 (char *) "self", NULL
37487 };
37488
37489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
37490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37492 {
37493 PyThreadState* __tstate = wxPyBeginAllowThreads();
37494 result = (int)((wxGBPosition const *)arg1)->GetCol();
37495
37496 wxPyEndAllowThreads(__tstate);
37497 if (PyErr_Occurred()) SWIG_fail;
37498 }
c32bde28 37499 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37500 return resultobj;
37501 fail:
37502 return NULL;
37503}
37504
37505
c32bde28 37506static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37507 PyObject *resultobj;
37508 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37509 int arg2 ;
37510 PyObject * obj0 = 0 ;
994141e6 37511 PyObject * obj1 = 0 ;
d14a1e28
RD
37512 char *kwnames[] = {
37513 (char *) "self",(char *) "row", NULL
37514 };
37515
994141e6 37516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37519 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37521 {
37522 PyThreadState* __tstate = wxPyBeginAllowThreads();
37523 (arg1)->SetRow(arg2);
37524
37525 wxPyEndAllowThreads(__tstate);
37526 if (PyErr_Occurred()) SWIG_fail;
37527 }
37528 Py_INCREF(Py_None); resultobj = Py_None;
37529 return resultobj;
37530 fail:
37531 return NULL;
37532}
37533
37534
c32bde28 37535static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37536 PyObject *resultobj;
37537 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37538 int arg2 ;
37539 PyObject * obj0 = 0 ;
994141e6 37540 PyObject * obj1 = 0 ;
d14a1e28
RD
37541 char *kwnames[] = {
37542 (char *) "self",(char *) "col", NULL
37543 };
37544
994141e6 37545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37548 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37550 {
37551 PyThreadState* __tstate = wxPyBeginAllowThreads();
37552 (arg1)->SetCol(arg2);
37553
37554 wxPyEndAllowThreads(__tstate);
37555 if (PyErr_Occurred()) SWIG_fail;
37556 }
37557 Py_INCREF(Py_None); resultobj = Py_None;
37558 return resultobj;
37559 fail:
37560 return NULL;
37561}
37562
37563
c32bde28 37564static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37565 PyObject *resultobj;
37566 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 37567 wxGBPosition *arg2 = 0 ;
d14a1e28 37568 bool result;
4f89f6a3 37569 wxGBPosition temp2 ;
d14a1e28
RD
37570 PyObject * obj0 = 0 ;
37571 PyObject * obj1 = 0 ;
37572 char *kwnames[] = {
22faec7d 37573 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37574 };
37575
37576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37579 {
37580 arg2 = &temp2;
37581 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37582 }
d14a1e28
RD
37583 {
37584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37585 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
37586
37587 wxPyEndAllowThreads(__tstate);
37588 if (PyErr_Occurred()) SWIG_fail;
37589 }
4f89f6a3
RD
37590 {
37591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37592 }
d14a1e28
RD
37593 return resultobj;
37594 fail:
37595 return NULL;
37596}
37597
37598
c32bde28 37599static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37600 PyObject *resultobj;
37601 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 37602 wxGBPosition *arg2 = 0 ;
d14a1e28 37603 bool result;
4f89f6a3 37604 wxGBPosition temp2 ;
d14a1e28
RD
37605 PyObject * obj0 = 0 ;
37606 PyObject * obj1 = 0 ;
37607 char *kwnames[] = {
22faec7d 37608 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37609 };
37610
37611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37614 {
37615 arg2 = &temp2;
37616 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37617 }
d14a1e28
RD
37618 {
37619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37620 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
37621
37622 wxPyEndAllowThreads(__tstate);
37623 if (PyErr_Occurred()) SWIG_fail;
37624 }
4f89f6a3
RD
37625 {
37626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37627 }
d14a1e28
RD
37628 return resultobj;
37629 fail:
37630 return NULL;
37631}
37632
37633
c32bde28 37634static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37635 PyObject *resultobj;
37636 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37637 int arg2 = (int) 0 ;
37638 int arg3 = (int) 0 ;
37639 PyObject * obj0 = 0 ;
994141e6
RD
37640 PyObject * obj1 = 0 ;
37641 PyObject * obj2 = 0 ;
e811c8ce
RD
37642 char *kwnames[] = {
37643 (char *) "self",(char *) "row",(char *) "col", NULL
37644 };
37645
994141e6 37646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37649 if (obj1) {
c32bde28 37650 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37651 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37652 }
37653 if (obj2) {
c32bde28 37654 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37655 if (PyErr_Occurred()) SWIG_fail;
994141e6 37656 }
e811c8ce
RD
37657 {
37658 PyThreadState* __tstate = wxPyBeginAllowThreads();
37659 wxGBPosition_Set(arg1,arg2,arg3);
37660
37661 wxPyEndAllowThreads(__tstate);
37662 if (PyErr_Occurred()) SWIG_fail;
37663 }
37664 Py_INCREF(Py_None); resultobj = Py_None;
37665 return resultobj;
37666 fail:
37667 return NULL;
37668}
37669
37670
c32bde28 37671static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37672 PyObject *resultobj;
37673 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37674 PyObject *result;
37675 PyObject * obj0 = 0 ;
37676 char *kwnames[] = {
37677 (char *) "self", NULL
37678 };
37679
e811c8ce 37680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37683 {
37684 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37685 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
37686
37687 wxPyEndAllowThreads(__tstate);
37688 if (PyErr_Occurred()) SWIG_fail;
37689 }
37690 resultobj = result;
37691 return resultobj;
37692 fail:
37693 return NULL;
37694}
37695
37696
c32bde28 37697static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37698 PyObject *obj;
37699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37700 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
37701 Py_INCREF(obj);
37702 return Py_BuildValue((char *)"");
37703}
c32bde28 37704static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37705 PyObject *resultobj;
37706 int arg1 = (int) 1 ;
37707 int arg2 = (int) 1 ;
37708 wxGBSpan *result;
994141e6
RD
37709 PyObject * obj0 = 0 ;
37710 PyObject * obj1 = 0 ;
d14a1e28
RD
37711 char *kwnames[] = {
37712 (char *) "rowspan",(char *) "colspan", NULL
37713 };
37714
994141e6
RD
37715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
37716 if (obj0) {
c32bde28 37717 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 37718 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37719 }
37720 if (obj1) {
c32bde28 37721 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37722 if (PyErr_Occurred()) SWIG_fail;
994141e6 37723 }
d14a1e28
RD
37724 {
37725 PyThreadState* __tstate = wxPyBeginAllowThreads();
37726 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
37727
37728 wxPyEndAllowThreads(__tstate);
37729 if (PyErr_Occurred()) SWIG_fail;
37730 }
15afbcd0 37731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37732 return resultobj;
37733 fail:
37734 return NULL;
37735}
37736
37737
c32bde28 37738static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37739 PyObject *resultobj;
37740 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37741 int result;
37742 PyObject * obj0 = 0 ;
37743 char *kwnames[] = {
37744 (char *) "self", NULL
37745 };
37746
37747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37750 {
37751 PyThreadState* __tstate = wxPyBeginAllowThreads();
37752 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
37753
37754 wxPyEndAllowThreads(__tstate);
37755 if (PyErr_Occurred()) SWIG_fail;
37756 }
c32bde28 37757 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37758 return resultobj;
37759 fail:
37760 return NULL;
37761}
37762
37763
c32bde28 37764static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37765 PyObject *resultobj;
37766 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37767 int result;
37768 PyObject * obj0 = 0 ;
37769 char *kwnames[] = {
37770 (char *) "self", NULL
37771 };
37772
37773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37776 {
37777 PyThreadState* __tstate = wxPyBeginAllowThreads();
37778 result = (int)((wxGBSpan const *)arg1)->GetColspan();
37779
37780 wxPyEndAllowThreads(__tstate);
37781 if (PyErr_Occurred()) SWIG_fail;
37782 }
c32bde28 37783 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37784 return resultobj;
37785 fail:
37786 return NULL;
37787}
37788
37789
c32bde28 37790static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37791 PyObject *resultobj;
37792 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37793 int arg2 ;
37794 PyObject * obj0 = 0 ;
994141e6 37795 PyObject * obj1 = 0 ;
d14a1e28
RD
37796 char *kwnames[] = {
37797 (char *) "self",(char *) "rowspan", NULL
37798 };
37799
994141e6 37800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37803 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37804 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37805 {
37806 PyThreadState* __tstate = wxPyBeginAllowThreads();
37807 (arg1)->SetRowspan(arg2);
37808
37809 wxPyEndAllowThreads(__tstate);
37810 if (PyErr_Occurred()) SWIG_fail;
37811 }
37812 Py_INCREF(Py_None); resultobj = Py_None;
37813 return resultobj;
37814 fail:
37815 return NULL;
37816}
37817
37818
c32bde28 37819static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37820 PyObject *resultobj;
37821 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37822 int arg2 ;
37823 PyObject * obj0 = 0 ;
994141e6 37824 PyObject * obj1 = 0 ;
d14a1e28
RD
37825 char *kwnames[] = {
37826 (char *) "self",(char *) "colspan", NULL
37827 };
37828
994141e6 37829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37832 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37833 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37834 {
37835 PyThreadState* __tstate = wxPyBeginAllowThreads();
37836 (arg1)->SetColspan(arg2);
37837
37838 wxPyEndAllowThreads(__tstate);
37839 if (PyErr_Occurred()) SWIG_fail;
37840 }
37841 Py_INCREF(Py_None); resultobj = Py_None;
37842 return resultobj;
37843 fail:
37844 return NULL;
37845}
37846
37847
c32bde28 37848static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37849 PyObject *resultobj;
37850 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37851 wxGBSpan *arg2 = 0 ;
d14a1e28 37852 bool result;
4f89f6a3 37853 wxGBSpan temp2 ;
d14a1e28
RD
37854 PyObject * obj0 = 0 ;
37855 PyObject * obj1 = 0 ;
37856 char *kwnames[] = {
22faec7d 37857 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37858 };
37859
37860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37863 {
37864 arg2 = &temp2;
37865 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37866 }
d14a1e28
RD
37867 {
37868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37869 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
37870
37871 wxPyEndAllowThreads(__tstate);
37872 if (PyErr_Occurred()) SWIG_fail;
37873 }
4f89f6a3
RD
37874 {
37875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37876 }
d14a1e28
RD
37877 return resultobj;
37878 fail:
37879 return NULL;
37880}
37881
37882
c32bde28 37883static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37884 PyObject *resultobj;
37885 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37886 wxGBSpan *arg2 = 0 ;
d14a1e28 37887 bool result;
4f89f6a3 37888 wxGBSpan temp2 ;
d14a1e28
RD
37889 PyObject * obj0 = 0 ;
37890 PyObject * obj1 = 0 ;
37891 char *kwnames[] = {
22faec7d 37892 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37893 };
37894
37895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37898 {
37899 arg2 = &temp2;
37900 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37901 }
d14a1e28
RD
37902 {
37903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37904 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37905
37906 wxPyEndAllowThreads(__tstate);
37907 if (PyErr_Occurred()) SWIG_fail;
37908 }
4f89f6a3
RD
37909 {
37910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37911 }
d14a1e28
RD
37912 return resultobj;
37913 fail:
37914 return NULL;
37915}
37916
37917
c32bde28 37918static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37919 PyObject *resultobj;
37920 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37921 int arg2 = (int) 1 ;
37922 int arg3 = (int) 1 ;
37923 PyObject * obj0 = 0 ;
994141e6
RD
37924 PyObject * obj1 = 0 ;
37925 PyObject * obj2 = 0 ;
e811c8ce
RD
37926 char *kwnames[] = {
37927 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37928 };
37929
994141e6 37930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37933 if (obj1) {
c32bde28 37934 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37935 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37936 }
37937 if (obj2) {
c32bde28 37938 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37939 if (PyErr_Occurred()) SWIG_fail;
994141e6 37940 }
e811c8ce
RD
37941 {
37942 PyThreadState* __tstate = wxPyBeginAllowThreads();
37943 wxGBSpan_Set(arg1,arg2,arg3);
37944
37945 wxPyEndAllowThreads(__tstate);
37946 if (PyErr_Occurred()) SWIG_fail;
37947 }
37948 Py_INCREF(Py_None); resultobj = Py_None;
37949 return resultobj;
37950 fail:
37951 return NULL;
37952}
37953
37954
c32bde28 37955static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37956 PyObject *resultobj;
37957 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37958 PyObject *result;
37959 PyObject * obj0 = 0 ;
37960 char *kwnames[] = {
37961 (char *) "self", NULL
37962 };
37963
e811c8ce 37964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37967 {
37968 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37969 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37970
37971 wxPyEndAllowThreads(__tstate);
37972 if (PyErr_Occurred()) SWIG_fail;
37973 }
37974 resultobj = result;
37975 return resultobj;
37976 fail:
37977 return NULL;
37978}
37979
37980
c32bde28 37981static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37982 PyObject *obj;
37983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37984 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37985 Py_INCREF(obj);
37986 return Py_BuildValue((char *)"");
37987}
c32bde28 37988static int _wrap_DefaultSpan_set(PyObject *) {
d14a1e28
RD
37989 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37990 return 1;
37991}
37992
37993
37994static PyObject *_wrap_DefaultSpan_get() {
37995 PyObject *pyobj;
37996
15afbcd0 37997 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37998 return pyobj;
37999}
38000
38001
c32bde28 38002static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38003 PyObject *resultobj;
38004 wxGBSizerItem *result;
38005 char *kwnames[] = {
38006 NULL
38007 };
38008
38009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
38010 {
38011 PyThreadState* __tstate = wxPyBeginAllowThreads();
38012 result = (wxGBSizerItem *)new wxGBSizerItem();
38013
38014 wxPyEndAllowThreads(__tstate);
38015 if (PyErr_Occurred()) SWIG_fail;
38016 }
15afbcd0 38017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
38018 return resultobj;
38019 fail:
38020 return NULL;
38021}
38022
38023
c32bde28 38024static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38025 PyObject *resultobj;
38026 wxWindow *arg1 = (wxWindow *) 0 ;
38027 wxGBPosition *arg2 = 0 ;
38028 wxGBSpan *arg3 = 0 ;
38029 int arg4 ;
38030 int arg5 ;
248ed943 38031 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
38032 wxGBSizerItem *result;
38033 wxGBPosition temp2 ;
38034 wxGBSpan temp3 ;
38035 PyObject * obj0 = 0 ;
38036 PyObject * obj1 = 0 ;
38037 PyObject * obj2 = 0 ;
994141e6
RD
38038 PyObject * obj3 = 0 ;
38039 PyObject * obj4 = 0 ;
d14a1e28
RD
38040 PyObject * obj5 = 0 ;
38041 char *kwnames[] = {
38042 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38043 };
38044
248ed943 38045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
38046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
38047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38048 {
38049 arg2 = &temp2;
38050 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38051 }
38052 {
38053 arg3 = &temp3;
38054 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38055 }
c32bde28 38056 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 38057 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38058 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 38059 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38060 if (obj5) {
38061 arg6 = obj5;
38062 }
d14a1e28
RD
38063 {
38064 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38065 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
38066
38067 wxPyEndAllowThreads(__tstate);
38068 if (PyErr_Occurred()) SWIG_fail;
38069 }
15afbcd0 38070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
38071 return resultobj;
38072 fail:
38073 return NULL;
38074}
38075
38076
c32bde28 38077static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38078 PyObject *resultobj;
38079 wxSizer *arg1 = (wxSizer *) 0 ;
38080 wxGBPosition *arg2 = 0 ;
38081 wxGBSpan *arg3 = 0 ;
38082 int arg4 ;
38083 int arg5 ;
248ed943 38084 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
38085 wxGBSizerItem *result;
38086 wxGBPosition temp2 ;
38087 wxGBSpan temp3 ;
38088 PyObject * obj0 = 0 ;
38089 PyObject * obj1 = 0 ;
38090 PyObject * obj2 = 0 ;
994141e6
RD
38091 PyObject * obj3 = 0 ;
38092 PyObject * obj4 = 0 ;
d14a1e28
RD
38093 PyObject * obj5 = 0 ;
38094 char *kwnames[] = {
38095 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38096 };
38097
248ed943 38098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
38099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
38100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38101 {
38102 arg2 = &temp2;
38103 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38104 }
38105 {
38106 arg3 = &temp3;
38107 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38108 }
c32bde28 38109 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 38110 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38111 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 38112 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38113 if (obj5) {
38114 arg6 = obj5;
38115 }
d14a1e28
RD
38116 {
38117 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38118 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
38119
38120 wxPyEndAllowThreads(__tstate);
38121 if (PyErr_Occurred()) SWIG_fail;
38122 }
15afbcd0 38123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
38124 return resultobj;
38125 fail:
38126 return NULL;
38127}
38128
38129
c32bde28 38130static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38131 PyObject *resultobj;
38132 int arg1 ;
38133 int arg2 ;
38134 wxGBPosition *arg3 = 0 ;
38135 wxGBSpan *arg4 = 0 ;
38136 int arg5 ;
38137 int arg6 ;
248ed943 38138 PyObject *arg7 = (PyObject *) NULL ;
d14a1e28
RD
38139 wxGBSizerItem *result;
38140 wxGBPosition temp3 ;
38141 wxGBSpan temp4 ;
994141e6
RD
38142 PyObject * obj0 = 0 ;
38143 PyObject * obj1 = 0 ;
d14a1e28
RD
38144 PyObject * obj2 = 0 ;
38145 PyObject * obj3 = 0 ;
994141e6
RD
38146 PyObject * obj4 = 0 ;
38147 PyObject * obj5 = 0 ;
d14a1e28
RD
38148 PyObject * obj6 = 0 ;
38149 char *kwnames[] = {
38150 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38151 };
38152
248ed943 38153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
c32bde28 38154 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 38155 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38156 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 38157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38158 {
38159 arg3 = &temp3;
38160 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38161 }
38162 {
38163 arg4 = &temp4;
38164 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38165 }
c32bde28 38166 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 38167 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38168 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 38169 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38170 if (obj6) {
38171 arg7 = obj6;
38172 }
d14a1e28
RD
38173 {
38174 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38175 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
38176
38177 wxPyEndAllowThreads(__tstate);
38178 if (PyErr_Occurred()) SWIG_fail;
38179 }
15afbcd0 38180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
38181 return resultobj;
38182 fail:
38183 return NULL;
38184}
38185
38186
c32bde28 38187static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38188 PyObject *resultobj;
38189 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38190 wxGBPosition result;
38191 PyObject * obj0 = 0 ;
38192 char *kwnames[] = {
38193 (char *) "self", NULL
38194 };
38195
38196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
38197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38199 {
38200 PyThreadState* __tstate = wxPyBeginAllowThreads();
38201 result = ((wxGBSizerItem const *)arg1)->GetPos();
38202
38203 wxPyEndAllowThreads(__tstate);
38204 if (PyErr_Occurred()) SWIG_fail;
38205 }
38206 {
38207 wxGBPosition * resultptr;
38208 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38210 }
38211 return resultobj;
38212 fail:
38213 return NULL;
38214}
38215
38216
c32bde28 38217static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38218 PyObject *resultobj;
38219 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38220 wxGBSpan result;
38221 PyObject * obj0 = 0 ;
38222 char *kwnames[] = {
38223 (char *) "self", NULL
38224 };
38225
38226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
38227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38229 {
38230 PyThreadState* __tstate = wxPyBeginAllowThreads();
38231 result = ((wxGBSizerItem const *)arg1)->GetSpan();
38232
38233 wxPyEndAllowThreads(__tstate);
38234 if (PyErr_Occurred()) SWIG_fail;
38235 }
38236 {
38237 wxGBSpan * resultptr;
38238 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38240 }
38241 return resultobj;
38242 fail:
38243 return NULL;
38244}
38245
38246
c32bde28 38247static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38248 PyObject *resultobj;
38249 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38250 wxGBPosition *arg2 = 0 ;
38251 bool result;
38252 wxGBPosition temp2 ;
38253 PyObject * obj0 = 0 ;
38254 PyObject * obj1 = 0 ;
38255 char *kwnames[] = {
38256 (char *) "self",(char *) "pos", NULL
38257 };
38258
38259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38262 {
38263 arg2 = &temp2;
38264 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38265 }
38266 {
38267 PyThreadState* __tstate = wxPyBeginAllowThreads();
38268 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
38269
38270 wxPyEndAllowThreads(__tstate);
38271 if (PyErr_Occurred()) SWIG_fail;
38272 }
4f89f6a3
RD
38273 {
38274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38275 }
d14a1e28
RD
38276 return resultobj;
38277 fail:
38278 return NULL;
38279}
38280
38281
c32bde28 38282static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38283 PyObject *resultobj;
38284 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38285 wxGBSpan *arg2 = 0 ;
38286 bool result;
38287 wxGBSpan temp2 ;
38288 PyObject * obj0 = 0 ;
38289 PyObject * obj1 = 0 ;
38290 char *kwnames[] = {
38291 (char *) "self",(char *) "span", NULL
38292 };
38293
38294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38297 {
38298 arg2 = &temp2;
38299 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
38300 }
38301 {
38302 PyThreadState* __tstate = wxPyBeginAllowThreads();
38303 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
38304
38305 wxPyEndAllowThreads(__tstate);
38306 if (PyErr_Occurred()) SWIG_fail;
38307 }
4f89f6a3
RD
38308 {
38309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38310 }
d14a1e28
RD
38311 return resultobj;
38312 fail:
38313 return NULL;
38314}
38315
38316
c32bde28 38317static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38318 PyObject *resultobj;
38319 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38320 wxGBSizerItem *arg2 = 0 ;
38321 bool result;
38322 PyObject * obj0 = 0 ;
38323 PyObject * obj1 = 0 ;
248ed943
RD
38324 char *kwnames[] = {
38325 (char *) "self",(char *) "other", NULL
38326 };
d14a1e28 38327
248ed943 38328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38332 SWIG_POINTER_EXCEPTION | 0)) == -1)
38333 SWIG_fail;
d14a1e28 38334 if (arg2 == NULL) {
15afbcd0
RD
38335 PyErr_SetString(PyExc_TypeError,"null reference");
38336 SWIG_fail;
d14a1e28
RD
38337 }
38338 {
38339 PyThreadState* __tstate = wxPyBeginAllowThreads();
38340 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
38341
38342 wxPyEndAllowThreads(__tstate);
38343 if (PyErr_Occurred()) SWIG_fail;
38344 }
4f89f6a3
RD
38345 {
38346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38347 }
d14a1e28
RD
38348 return resultobj;
38349 fail:
38350 return NULL;
38351}
38352
38353
c32bde28 38354static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38355 PyObject *resultobj;
38356 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38357 wxGBPosition *arg2 = 0 ;
38358 wxGBSpan *arg3 = 0 ;
38359 bool result;
38360 wxGBPosition temp2 ;
38361 wxGBSpan temp3 ;
38362 PyObject * obj0 = 0 ;
38363 PyObject * obj1 = 0 ;
38364 PyObject * obj2 = 0 ;
248ed943
RD
38365 char *kwnames[] = {
38366 (char *) "self",(char *) "pos",(char *) "span", NULL
38367 };
d14a1e28 38368
248ed943 38369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38372 {
38373 arg2 = &temp2;
38374 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38375 }
38376 {
38377 arg3 = &temp3;
38378 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38379 }
38380 {
38381 PyThreadState* __tstate = wxPyBeginAllowThreads();
38382 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
38383
38384 wxPyEndAllowThreads(__tstate);
38385 if (PyErr_Occurred()) SWIG_fail;
38386 }
4f89f6a3
RD
38387 {
38388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38389 }
d14a1e28
RD
38390 return resultobj;
38391 fail:
38392 return NULL;
38393}
38394
38395
c32bde28 38396static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38397 PyObject *resultobj;
38398 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 38399 wxGBPosition result;
d14a1e28 38400 PyObject * obj0 = 0 ;
d14a1e28 38401 char *kwnames[] = {
248ed943 38402 (char *) "self", NULL
d14a1e28
RD
38403 };
38404
248ed943 38405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
38406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38408 {
38409 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38410 result = wxGBSizerItem_GetEndPos(arg1);
d14a1e28
RD
38411
38412 wxPyEndAllowThreads(__tstate);
38413 if (PyErr_Occurred()) SWIG_fail;
38414 }
248ed943
RD
38415 {
38416 wxGBPosition * resultptr;
38417 resultptr = new wxGBPosition((wxGBPosition &) result);
38418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
38419 }
d14a1e28
RD
38420 return resultobj;
38421 fail:
38422 return NULL;
38423}
38424
38425
c32bde28 38426static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38427 PyObject *resultobj;
38428 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38429 wxGridBagSizer *result;
38430 PyObject * obj0 = 0 ;
38431 char *kwnames[] = {
38432 (char *) "self", NULL
38433 };
38434
38435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
38436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38438 {
38439 PyThreadState* __tstate = wxPyBeginAllowThreads();
38440 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
38441
38442 wxPyEndAllowThreads(__tstate);
38443 if (PyErr_Occurred()) SWIG_fail;
38444 }
15afbcd0 38445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
38446 return resultobj;
38447 fail:
38448 return NULL;
38449}
38450
38451
c32bde28 38452static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38453 PyObject *resultobj;
38454 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38455 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
38456 PyObject * obj0 = 0 ;
38457 PyObject * obj1 = 0 ;
38458 char *kwnames[] = {
38459 (char *) "self",(char *) "sizer", NULL
38460 };
38461
38462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38465 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
38466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38467 {
38468 PyThreadState* __tstate = wxPyBeginAllowThreads();
38469 (arg1)->SetGBSizer(arg2);
38470
38471 wxPyEndAllowThreads(__tstate);
38472 if (PyErr_Occurred()) SWIG_fail;
38473 }
38474 Py_INCREF(Py_None); resultobj = Py_None;
38475 return resultobj;
38476 fail:
38477 return NULL;
38478}
38479
38480
c32bde28 38481static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
38482 PyObject *obj;
38483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38484 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
38485 Py_INCREF(obj);
38486 return Py_BuildValue((char *)"");
38487}
c32bde28 38488static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38489 PyObject *resultobj;
38490 int arg1 = (int) 0 ;
38491 int arg2 = (int) 0 ;
38492 wxGridBagSizer *result;
994141e6
RD
38493 PyObject * obj0 = 0 ;
38494 PyObject * obj1 = 0 ;
d14a1e28
RD
38495 char *kwnames[] = {
38496 (char *) "vgap",(char *) "hgap", NULL
38497 };
38498
994141e6
RD
38499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
38500 if (obj0) {
c32bde28 38501 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 38502 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38503 }
38504 if (obj1) {
c32bde28 38505 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 38506 if (PyErr_Occurred()) SWIG_fail;
994141e6 38507 }
d14a1e28
RD
38508 {
38509 PyThreadState* __tstate = wxPyBeginAllowThreads();
38510 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
38511
38512 wxPyEndAllowThreads(__tstate);
38513 if (PyErr_Occurred()) SWIG_fail;
38514 }
15afbcd0 38515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
38516 return resultobj;
38517 fail:
38518 return NULL;
38519}
38520
38521
c32bde28 38522static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38523 PyObject *resultobj;
38524 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38525 PyObject *arg2 = (PyObject *) 0 ;
38526 wxGBPosition *arg3 = 0 ;
38527 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
38528 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
38529 int arg5 = (int) 0 ;
38530 int arg6 = (int) 0 ;
38531 PyObject *arg7 = (PyObject *) NULL ;
d3b6e4ff 38532 wxGBSizerItem *result;
d14a1e28
RD
38533 wxGBPosition temp3 ;
38534 wxGBSpan temp4 ;
38535 PyObject * obj0 = 0 ;
38536 PyObject * obj1 = 0 ;
38537 PyObject * obj2 = 0 ;
38538 PyObject * obj3 = 0 ;
994141e6
RD
38539 PyObject * obj4 = 0 ;
38540 PyObject * obj5 = 0 ;
d14a1e28
RD
38541 PyObject * obj6 = 0 ;
38542 char *kwnames[] = {
38543 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38544 };
38545
994141e6 38546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
38547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38549 arg2 = obj1;
38550 {
38551 arg3 = &temp3;
38552 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38553 }
38554 if (obj3) {
38555 {
38556 arg4 = &temp4;
38557 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38558 }
38559 }
994141e6 38560 if (obj4) {
c32bde28 38561 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 38562 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38563 }
38564 if (obj5) {
c32bde28 38565 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 38566 if (PyErr_Occurred()) SWIG_fail;
994141e6 38567 }
d14a1e28
RD
38568 if (obj6) {
38569 arg7 = obj6;
38570 }
38571 {
38572 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 38573 result = (wxGBSizerItem *)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
38574
38575 wxPyEndAllowThreads(__tstate);
38576 if (PyErr_Occurred()) SWIG_fail;
38577 }
d3b6e4ff 38578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38579 return resultobj;
38580 fail:
38581 return NULL;
38582}
38583
38584
c32bde28 38585static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38586 PyObject *resultobj;
38587 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38588 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
d3b6e4ff 38589 wxGBSizerItem *result;
d14a1e28
RD
38590 PyObject * obj0 = 0 ;
38591 PyObject * obj1 = 0 ;
38592 char *kwnames[] = {
38593 (char *) "self",(char *) "item", NULL
38594 };
38595
38596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38601 {
38602 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 38603 result = (wxGBSizerItem *)(arg1)->Add(arg2);
d14a1e28
RD
38604
38605 wxPyEndAllowThreads(__tstate);
38606 if (PyErr_Occurred()) SWIG_fail;
38607 }
d3b6e4ff 38608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38609 return resultobj;
38610 fail:
38611 return NULL;
38612}
38613
38614
84f85550
RD
38615static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
38616 PyObject *resultobj;
38617 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38618 int arg2 ;
38619 int arg3 ;
38620 wxSize result;
38621 PyObject * obj0 = 0 ;
38622 PyObject * obj1 = 0 ;
38623 PyObject * obj2 = 0 ;
38624 char *kwnames[] = {
38625 (char *) "self",(char *) "row",(char *) "col", NULL
38626 };
38627
38628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
38629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38631 arg2 = (int)SWIG_As_int(obj1);
38632 if (PyErr_Occurred()) SWIG_fail;
38633 arg3 = (int)SWIG_As_int(obj2);
38634 if (PyErr_Occurred()) SWIG_fail;
38635 {
38636 PyThreadState* __tstate = wxPyBeginAllowThreads();
38637 result = ((wxGridBagSizer const *)arg1)->GetCellSize(arg2,arg3);
38638
38639 wxPyEndAllowThreads(__tstate);
38640 if (PyErr_Occurred()) SWIG_fail;
38641 }
38642 {
38643 wxSize * resultptr;
38644 resultptr = new wxSize((wxSize &) result);
38645 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38646 }
38647 return resultobj;
38648 fail:
38649 return NULL;
38650}
38651
38652
c32bde28 38653static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38654 PyObject *resultobj;
38655 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38656 wxSize result;
38657 PyObject * obj0 = 0 ;
38658 char *kwnames[] = {
38659 (char *) "self", NULL
38660 };
38661
38662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
38663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38665 {
38666 PyThreadState* __tstate = wxPyBeginAllowThreads();
38667 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
38668
38669 wxPyEndAllowThreads(__tstate);
38670 if (PyErr_Occurred()) SWIG_fail;
38671 }
38672 {
38673 wxSize * resultptr;
38674 resultptr = new wxSize((wxSize &) result);
15afbcd0 38675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
38676 }
38677 return resultobj;
38678 fail:
38679 return NULL;
38680}
38681
38682
c32bde28 38683static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38684 PyObject *resultobj;
38685 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38686 wxSize *arg2 = 0 ;
38687 wxSize temp2 ;
38688 PyObject * obj0 = 0 ;
38689 PyObject * obj1 = 0 ;
38690 char *kwnames[] = {
38691 (char *) "self",(char *) "sz", NULL
38692 };
38693
38694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38697 {
38698 arg2 = &temp2;
38699 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38700 }
38701 {
38702 PyThreadState* __tstate = wxPyBeginAllowThreads();
38703 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
38704
38705 wxPyEndAllowThreads(__tstate);
38706 if (PyErr_Occurred()) SWIG_fail;
38707 }
38708 Py_INCREF(Py_None); resultobj = Py_None;
38709 return resultobj;
38710 fail:
38711 return NULL;
38712}
38713
38714
c32bde28 38715static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38716 PyObject *resultobj;
38717 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38718 wxWindow *arg2 = (wxWindow *) 0 ;
38719 wxGBPosition result;
38720 PyObject * obj0 = 0 ;
38721 PyObject * obj1 = 0 ;
38722
38723 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
38724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38728 {
38729 PyThreadState* __tstate = wxPyBeginAllowThreads();
38730 result = (arg1)->GetItemPosition(arg2);
38731
38732 wxPyEndAllowThreads(__tstate);
38733 if (PyErr_Occurred()) SWIG_fail;
38734 }
38735 {
38736 wxGBPosition * resultptr;
38737 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38739 }
38740 return resultobj;
38741 fail:
38742 return NULL;
38743}
38744
38745
c32bde28 38746static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38747 PyObject *resultobj;
38748 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38749 wxSizer *arg2 = (wxSizer *) 0 ;
38750 wxGBPosition result;
38751 PyObject * obj0 = 0 ;
38752 PyObject * obj1 = 0 ;
38753
38754 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
38755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38759 {
38760 PyThreadState* __tstate = wxPyBeginAllowThreads();
38761 result = (arg1)->GetItemPosition(arg2);
38762
38763 wxPyEndAllowThreads(__tstate);
38764 if (PyErr_Occurred()) SWIG_fail;
38765 }
38766 {
38767 wxGBPosition * resultptr;
38768 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38770 }
38771 return resultobj;
38772 fail:
38773 return NULL;
38774}
38775
38776
c32bde28 38777static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
38778 PyObject *resultobj;
38779 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38780 size_t arg2 ;
38781 wxGBPosition result;
38782 PyObject * obj0 = 0 ;
38783 PyObject * obj1 = 0 ;
38784
38785 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
38786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 38788 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 38789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38790 {
38791 PyThreadState* __tstate = wxPyBeginAllowThreads();
38792 result = (arg1)->GetItemPosition(arg2);
38793
38794 wxPyEndAllowThreads(__tstate);
38795 if (PyErr_Occurred()) SWIG_fail;
38796 }
38797 {
38798 wxGBPosition * resultptr;
38799 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38801 }
38802 return resultobj;
38803 fail:
38804 return NULL;
38805}
38806
38807
38808static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
38809 int argc;
38810 PyObject *argv[3];
38811 int ii;
38812
38813 argc = PyObject_Length(args);
38814 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38815 argv[ii] = PyTuple_GetItem(args,ii);
38816 }
38817 if (argc == 2) {
38818 int _v;
38819 {
38820 void *ptr;
15afbcd0 38821 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38822 _v = 0;
38823 PyErr_Clear();
38824 } else {
38825 _v = 1;
38826 }
38827 }
38828 if (_v) {
38829 {
38830 void *ptr;
15afbcd0 38831 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38832 _v = 0;
38833 PyErr_Clear();
38834 } else {
38835 _v = 1;
38836 }
38837 }
38838 if (_v) {
38839 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
38840 }
38841 }
38842 }
38843 if (argc == 2) {
38844 int _v;
38845 {
38846 void *ptr;
15afbcd0 38847 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38848 _v = 0;
38849 PyErr_Clear();
38850 } else {
38851 _v = 1;
38852 }
38853 }
38854 if (_v) {
38855 {
38856 void *ptr;
15afbcd0 38857 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38858 _v = 0;
38859 PyErr_Clear();
38860 } else {
38861 _v = 1;
38862 }
38863 }
38864 if (_v) {
38865 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38866 }
38867 }
38868 }
38869 if (argc == 2) {
38870 int _v;
38871 {
38872 void *ptr;
15afbcd0 38873 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38874 _v = 0;
38875 PyErr_Clear();
38876 } else {
38877 _v = 1;
38878 }
38879 }
38880 if (_v) {
c32bde28 38881 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
38882 if (_v) {
38883 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38884 }
38885 }
38886 }
38887
38888 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38889 return NULL;
38890}
38891
38892
c32bde28 38893static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38894 PyObject *resultobj;
38895 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38896 wxWindow *arg2 = (wxWindow *) 0 ;
38897 wxGBPosition *arg3 = 0 ;
38898 bool result;
38899 wxGBPosition temp3 ;
38900 PyObject * obj0 = 0 ;
38901 PyObject * obj1 = 0 ;
38902 PyObject * obj2 = 0 ;
38903
38904 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38909 {
38910 arg3 = &temp3;
38911 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38912 }
38913 {
38914 PyThreadState* __tstate = wxPyBeginAllowThreads();
38915 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38916
38917 wxPyEndAllowThreads(__tstate);
38918 if (PyErr_Occurred()) SWIG_fail;
38919 }
4f89f6a3
RD
38920 {
38921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38922 }
d14a1e28
RD
38923 return resultobj;
38924 fail:
38925 return NULL;
38926}
38927
38928
c32bde28 38929static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38930 PyObject *resultobj;
38931 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38932 wxSizer *arg2 = (wxSizer *) 0 ;
38933 wxGBPosition *arg3 = 0 ;
38934 bool result;
38935 wxGBPosition temp3 ;
38936 PyObject * obj0 = 0 ;
38937 PyObject * obj1 = 0 ;
38938 PyObject * obj2 = 0 ;
38939
38940 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38943 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38945 {
38946 arg3 = &temp3;
38947 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38948 }
38949 {
38950 PyThreadState* __tstate = wxPyBeginAllowThreads();
38951 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38952
38953 wxPyEndAllowThreads(__tstate);
38954 if (PyErr_Occurred()) SWIG_fail;
38955 }
4f89f6a3
RD
38956 {
38957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38958 }
d14a1e28
RD
38959 return resultobj;
38960 fail:
38961 return NULL;
38962}
38963
38964
c32bde28 38965static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
38966 PyObject *resultobj;
38967 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38968 size_t arg2 ;
38969 wxGBPosition *arg3 = 0 ;
38970 bool result;
38971 wxGBPosition temp3 ;
38972 PyObject * obj0 = 0 ;
38973 PyObject * obj1 = 0 ;
38974 PyObject * obj2 = 0 ;
38975
38976 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 38979 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 38980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38981 {
38982 arg3 = &temp3;
38983 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38984 }
38985 {
38986 PyThreadState* __tstate = wxPyBeginAllowThreads();
38987 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38988
38989 wxPyEndAllowThreads(__tstate);
38990 if (PyErr_Occurred()) SWIG_fail;
38991 }
4f89f6a3
RD
38992 {
38993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38994 }
d14a1e28
RD
38995 return resultobj;
38996 fail:
38997 return NULL;
38998}
38999
39000
39001static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
39002 int argc;
39003 PyObject *argv[4];
39004 int ii;
39005
39006 argc = PyObject_Length(args);
39007 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
39008 argv[ii] = PyTuple_GetItem(args,ii);
39009 }
39010 if (argc == 3) {
39011 int _v;
39012 {
39013 void *ptr;
15afbcd0 39014 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39015 _v = 0;
39016 PyErr_Clear();
39017 } else {
39018 _v = 1;
39019 }
39020 }
39021 if (_v) {
39022 {
39023 void *ptr;
15afbcd0 39024 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39025 _v = 0;
39026 PyErr_Clear();
39027 } else {
39028 _v = 1;
39029 }
39030 }
39031 if (_v) {
39032 {
39033 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39034 }
39035 if (_v) {
39036 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
39037 }
39038 }
39039 }
39040 }
39041 if (argc == 3) {
39042 int _v;
39043 {
39044 void *ptr;
15afbcd0 39045 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39046 _v = 0;
39047 PyErr_Clear();
39048 } else {
39049 _v = 1;
39050 }
39051 }
39052 if (_v) {
39053 {
39054 void *ptr;
15afbcd0 39055 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39056 _v = 0;
39057 PyErr_Clear();
39058 } else {
39059 _v = 1;
39060 }
39061 }
39062 if (_v) {
39063 {
39064 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39065 }
39066 if (_v) {
39067 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
39068 }
39069 }
39070 }
39071 }
39072 if (argc == 3) {
39073 int _v;
39074 {
39075 void *ptr;
15afbcd0 39076 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39077 _v = 0;
39078 PyErr_Clear();
39079 } else {
39080 _v = 1;
39081 }
39082 }
39083 if (_v) {
c32bde28 39084 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
39085 if (_v) {
39086 {
39087 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39088 }
39089 if (_v) {
39090 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
39091 }
39092 }
39093 }
39094 }
39095
39096 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39097 return NULL;
39098}
39099
39100
c32bde28 39101static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
39102 PyObject *resultobj;
39103 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39104 wxWindow *arg2 = (wxWindow *) 0 ;
39105 wxGBSpan result;
39106 PyObject * obj0 = 0 ;
39107 PyObject * obj1 = 0 ;
39108
39109 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
39110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39114 {
39115 PyThreadState* __tstate = wxPyBeginAllowThreads();
39116 result = (arg1)->GetItemSpan(arg2);
39117
39118 wxPyEndAllowThreads(__tstate);
39119 if (PyErr_Occurred()) SWIG_fail;
39120 }
39121 {
39122 wxGBSpan * resultptr;
39123 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 39124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
39125 }
39126 return resultobj;
39127 fail:
39128 return NULL;
39129}
39130
39131
c32bde28 39132static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
39133 PyObject *resultobj;
39134 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39135 wxSizer *arg2 = (wxSizer *) 0 ;
39136 wxGBSpan result;
39137 PyObject * obj0 = 0 ;
39138 PyObject * obj1 = 0 ;
39139
39140 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
39141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39145 {
39146 PyThreadState* __tstate = wxPyBeginAllowThreads();
39147 result = (arg1)->GetItemSpan(arg2);
39148
39149 wxPyEndAllowThreads(__tstate);
39150 if (PyErr_Occurred()) SWIG_fail;
39151 }
39152 {
39153 wxGBSpan * resultptr;
39154 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 39155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
39156 }
39157 return resultobj;
39158 fail:
39159 return NULL;
39160}
39161
39162
c32bde28 39163static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
39164 PyObject *resultobj;
39165 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39166 size_t arg2 ;
39167 wxGBSpan result;
39168 PyObject * obj0 = 0 ;
39169 PyObject * obj1 = 0 ;
39170
39171 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
39172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39174 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 39175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39176 {
39177 PyThreadState* __tstate = wxPyBeginAllowThreads();
39178 result = (arg1)->GetItemSpan(arg2);
39179
39180 wxPyEndAllowThreads(__tstate);
39181 if (PyErr_Occurred()) SWIG_fail;
39182 }
39183 {
39184 wxGBSpan * resultptr;
39185 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 39186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
39187 }
39188 return resultobj;
39189 fail:
39190 return NULL;
39191}
39192
39193
39194static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
39195 int argc;
39196 PyObject *argv[3];
39197 int ii;
39198
39199 argc = PyObject_Length(args);
39200 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39201 argv[ii] = PyTuple_GetItem(args,ii);
39202 }
39203 if (argc == 2) {
39204 int _v;
39205 {
39206 void *ptr;
15afbcd0 39207 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39208 _v = 0;
39209 PyErr_Clear();
39210 } else {
39211 _v = 1;
39212 }
39213 }
39214 if (_v) {
39215 {
39216 void *ptr;
15afbcd0 39217 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39218 _v = 0;
39219 PyErr_Clear();
39220 } else {
39221 _v = 1;
39222 }
39223 }
39224 if (_v) {
39225 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
39226 }
39227 }
39228 }
39229 if (argc == 2) {
39230 int _v;
39231 {
39232 void *ptr;
15afbcd0 39233 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39234 _v = 0;
39235 PyErr_Clear();
39236 } else {
39237 _v = 1;
39238 }
39239 }
39240 if (_v) {
39241 {
39242 void *ptr;
15afbcd0 39243 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39244 _v = 0;
39245 PyErr_Clear();
39246 } else {
39247 _v = 1;
39248 }
39249 }
39250 if (_v) {
39251 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
39252 }
39253 }
39254 }
39255 if (argc == 2) {
39256 int _v;
39257 {
39258 void *ptr;
15afbcd0 39259 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39260 _v = 0;
39261 PyErr_Clear();
39262 } else {
39263 _v = 1;
39264 }
39265 }
39266 if (_v) {
c32bde28 39267 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
39268 if (_v) {
39269 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
39270 }
39271 }
39272 }
39273
39274 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39275 return NULL;
39276}
39277
39278
c32bde28 39279static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
39280 PyObject *resultobj;
39281 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39282 wxWindow *arg2 = (wxWindow *) 0 ;
39283 wxGBSpan *arg3 = 0 ;
39284 bool result;
39285 wxGBSpan temp3 ;
39286 PyObject * obj0 = 0 ;
39287 PyObject * obj1 = 0 ;
39288 PyObject * obj2 = 0 ;
39289
39290 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39295 {
39296 arg3 = &temp3;
39297 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39298 }
39299 {
39300 PyThreadState* __tstate = wxPyBeginAllowThreads();
39301 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39302
39303 wxPyEndAllowThreads(__tstate);
39304 if (PyErr_Occurred()) SWIG_fail;
39305 }
4f89f6a3
RD
39306 {
39307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39308 }
d14a1e28
RD
39309 return resultobj;
39310 fail:
39311 return NULL;
39312}
39313
39314
c32bde28 39315static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
39316 PyObject *resultobj;
39317 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39318 wxSizer *arg2 = (wxSizer *) 0 ;
39319 wxGBSpan *arg3 = 0 ;
39320 bool result;
39321 wxGBSpan temp3 ;
39322 PyObject * obj0 = 0 ;
39323 PyObject * obj1 = 0 ;
39324 PyObject * obj2 = 0 ;
39325
39326 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39331 {
39332 arg3 = &temp3;
39333 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39334 }
39335 {
39336 PyThreadState* __tstate = wxPyBeginAllowThreads();
39337 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39338
39339 wxPyEndAllowThreads(__tstate);
39340 if (PyErr_Occurred()) SWIG_fail;
39341 }
4f89f6a3
RD
39342 {
39343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39344 }
d14a1e28
RD
39345 return resultobj;
39346 fail:
39347 return NULL;
39348}
39349
39350
c32bde28 39351static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
39352 PyObject *resultobj;
39353 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39354 size_t arg2 ;
39355 wxGBSpan *arg3 = 0 ;
39356 bool result;
39357 wxGBSpan temp3 ;
39358 PyObject * obj0 = 0 ;
39359 PyObject * obj1 = 0 ;
39360 PyObject * obj2 = 0 ;
39361
39362 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39365 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 39366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39367 {
39368 arg3 = &temp3;
39369 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39370 }
39371 {
39372 PyThreadState* __tstate = wxPyBeginAllowThreads();
39373 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39374
39375 wxPyEndAllowThreads(__tstate);
39376 if (PyErr_Occurred()) SWIG_fail;
39377 }
4f89f6a3
RD
39378 {
39379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39380 }
d14a1e28
RD
39381 return resultobj;
39382 fail:
39383 return NULL;
39384}
39385
39386
39387static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
39388 int argc;
39389 PyObject *argv[4];
39390 int ii;
39391
39392 argc = PyObject_Length(args);
39393 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
39394 argv[ii] = PyTuple_GetItem(args,ii);
39395 }
39396 if (argc == 3) {
39397 int _v;
39398 {
39399 void *ptr;
15afbcd0 39400 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39401 _v = 0;
39402 PyErr_Clear();
39403 } else {
39404 _v = 1;
39405 }
39406 }
39407 if (_v) {
39408 {
39409 void *ptr;
15afbcd0 39410 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39411 _v = 0;
39412 PyErr_Clear();
39413 } else {
39414 _v = 1;
39415 }
39416 }
39417 if (_v) {
39418 {
39419 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39420 }
39421 if (_v) {
39422 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
39423 }
39424 }
39425 }
39426 }
39427 if (argc == 3) {
39428 int _v;
39429 {
39430 void *ptr;
15afbcd0 39431 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39432 _v = 0;
39433 PyErr_Clear();
39434 } else {
39435 _v = 1;
39436 }
39437 }
39438 if (_v) {
39439 {
39440 void *ptr;
15afbcd0 39441 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39442 _v = 0;
39443 PyErr_Clear();
39444 } else {
39445 _v = 1;
39446 }
39447 }
39448 if (_v) {
39449 {
39450 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39451 }
39452 if (_v) {
39453 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
39454 }
39455 }
39456 }
39457 }
39458 if (argc == 3) {
39459 int _v;
39460 {
39461 void *ptr;
15afbcd0 39462 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39463 _v = 0;
39464 PyErr_Clear();
39465 } else {
39466 _v = 1;
39467 }
39468 }
39469 if (_v) {
c32bde28 39470 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
39471 if (_v) {
39472 {
39473 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39474 }
39475 if (_v) {
39476 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
39477 }
39478 }
39479 }
39480 }
39481
39482 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39483 return NULL;
39484}
39485
39486
c32bde28 39487static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
39488 PyObject *resultobj;
39489 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39490 wxWindow *arg2 = (wxWindow *) 0 ;
39491 wxGBSizerItem *result;
39492 PyObject * obj0 = 0 ;
39493 PyObject * obj1 = 0 ;
39494
39495 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
39496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39498 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39500 {
39501 PyThreadState* __tstate = wxPyBeginAllowThreads();
39502 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39503
39504 wxPyEndAllowThreads(__tstate);
39505 if (PyErr_Occurred()) SWIG_fail;
39506 }
15afbcd0 39507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39508 return resultobj;
39509 fail:
39510 return NULL;
39511}
39512
39513
c32bde28 39514static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
39515 PyObject *resultobj;
39516 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39517 wxSizer *arg2 = (wxSizer *) 0 ;
39518 wxGBSizerItem *result;
39519 PyObject * obj0 = 0 ;
39520 PyObject * obj1 = 0 ;
39521
39522 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
39523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39527 {
39528 PyThreadState* __tstate = wxPyBeginAllowThreads();
39529 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39530
39531 wxPyEndAllowThreads(__tstate);
39532 if (PyErr_Occurred()) SWIG_fail;
39533 }
15afbcd0 39534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39535 return resultobj;
39536 fail:
39537 return NULL;
39538}
39539
39540
39541static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
39542 int argc;
39543 PyObject *argv[3];
39544 int ii;
39545
39546 argc = PyObject_Length(args);
39547 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39548 argv[ii] = PyTuple_GetItem(args,ii);
39549 }
39550 if (argc == 2) {
39551 int _v;
39552 {
39553 void *ptr;
15afbcd0 39554 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39555 _v = 0;
39556 PyErr_Clear();
39557 } else {
39558 _v = 1;
39559 }
39560 }
39561 if (_v) {
39562 {
39563 void *ptr;
15afbcd0 39564 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39565 _v = 0;
39566 PyErr_Clear();
39567 } else {
39568 _v = 1;
39569 }
39570 }
39571 if (_v) {
39572 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
39573 }
39574 }
39575 }
39576 if (argc == 2) {
39577 int _v;
39578 {
39579 void *ptr;
15afbcd0 39580 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39581 _v = 0;
39582 PyErr_Clear();
39583 } else {
39584 _v = 1;
39585 }
39586 }
39587 if (_v) {
39588 {
39589 void *ptr;
15afbcd0 39590 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39591 _v = 0;
39592 PyErr_Clear();
39593 } else {
39594 _v = 1;
39595 }
39596 }
39597 if (_v) {
39598 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
39599 }
39600 }
39601 }
39602
39603 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
39604 return NULL;
39605}
39606
39607
c32bde28 39608static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39609 PyObject *resultobj;
39610 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39611 wxGBPosition *arg2 = 0 ;
39612 wxGBSizerItem *result;
39613 wxGBPosition temp2 ;
39614 PyObject * obj0 = 0 ;
39615 PyObject * obj1 = 0 ;
39616 char *kwnames[] = {
39617 (char *) "self",(char *) "pos", NULL
39618 };
39619
39620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39623 {
39624 arg2 = &temp2;
39625 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39626 }
39627 {
39628 PyThreadState* __tstate = wxPyBeginAllowThreads();
39629 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
39630
39631 wxPyEndAllowThreads(__tstate);
39632 if (PyErr_Occurred()) SWIG_fail;
39633 }
15afbcd0 39634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39635 return resultobj;
39636 fail:
39637 return NULL;
39638}
39639
39640
c32bde28 39641static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
39642 PyObject *resultobj;
39643 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39644 wxPoint *arg2 = 0 ;
39645 wxGBSizerItem *result;
39646 wxPoint temp2 ;
39647 PyObject * obj0 = 0 ;
39648 PyObject * obj1 = 0 ;
39649 char *kwnames[] = {
39650 (char *) "self",(char *) "pt", NULL
39651 };
39652
39653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
39656 {
39657 arg2 = &temp2;
39658 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39659 }
39660 {
39661 PyThreadState* __tstate = wxPyBeginAllowThreads();
39662 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
39663
39664 wxPyEndAllowThreads(__tstate);
39665 if (PyErr_Occurred()) SWIG_fail;
39666 }
15afbcd0 39667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
39668 return resultobj;
39669 fail:
39670 return NULL;
39671}
39672
39673
c32bde28 39674static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39675 PyObject *resultobj;
39676 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39677 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
39678 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
39679 bool result;
39680 PyObject * obj0 = 0 ;
39681 PyObject * obj1 = 0 ;
39682 PyObject * obj2 = 0 ;
248ed943
RD
39683 char *kwnames[] = {
39684 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39685 };
d14a1e28 39686
248ed943 39687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
39691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 39692 if (obj2) {
15afbcd0
RD
39693 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
39694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39695 }
39696 {
39697 PyThreadState* __tstate = wxPyBeginAllowThreads();
39698 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
39699
39700 wxPyEndAllowThreads(__tstate);
39701 if (PyErr_Occurred()) SWIG_fail;
39702 }
4f89f6a3
RD
39703 {
39704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39705 }
d14a1e28
RD
39706 return resultobj;
39707 fail:
39708 return NULL;
39709}
39710
39711
c32bde28 39712static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39713 PyObject *resultobj;
39714 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39715 wxGBPosition *arg2 = 0 ;
39716 wxGBSpan *arg3 = 0 ;
39717 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
39718 bool result;
39719 wxGBPosition temp2 ;
39720 wxGBSpan temp3 ;
39721 PyObject * obj0 = 0 ;
39722 PyObject * obj1 = 0 ;
39723 PyObject * obj2 = 0 ;
39724 PyObject * obj3 = 0 ;
248ed943
RD
39725 char *kwnames[] = {
39726 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39727 };
d14a1e28 39728
248ed943 39729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39732 {
39733 arg2 = &temp2;
39734 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39735 }
39736 {
39737 arg3 = &temp3;
39738 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39739 }
39740 if (obj3) {
15afbcd0
RD
39741 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
39742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39743 }
39744 {
39745 PyThreadState* __tstate = wxPyBeginAllowThreads();
39746 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
39747
39748 wxPyEndAllowThreads(__tstate);
39749 if (PyErr_Occurred()) SWIG_fail;
39750 }
4f89f6a3
RD
39751 {
39752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39753 }
d14a1e28
RD
39754 return resultobj;
39755 fail:
39756 return NULL;
39757}
39758
39759
c32bde28 39760static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
39761 PyObject *obj;
39762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39763 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39764 Py_INCREF(obj);
39765 return Py_BuildValue((char *)"");
39766}
c32bde28 39767static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39768 PyObject *resultobj;
39769 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39770 int arg2 ;
39771 wxWindow *arg3 = (wxWindow *) 0 ;
39772 int arg4 ;
39773 int arg5 = (int) 0 ;
39774 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39775 PyObject * obj0 = 0 ;
994141e6 39776 PyObject * obj1 = 0 ;
d14a1e28 39777 PyObject * obj2 = 0 ;
994141e6
RD
39778 PyObject * obj3 = 0 ;
39779 PyObject * obj4 = 0 ;
39780 PyObject * obj5 = 0 ;
d14a1e28
RD
39781 char *kwnames[] = {
39782 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39783 };
39784
994141e6 39785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
39786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39788 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
39789 if (PyErr_Occurred()) SWIG_fail;
39790 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39792 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 39793 if (PyErr_Occurred()) SWIG_fail;
994141e6 39794 if (obj4) {
c32bde28 39795 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 39796 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
39797 }
39798 if (obj5) {
c32bde28 39799 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 39800 if (PyErr_Occurred()) SWIG_fail;
994141e6 39801 }
d14a1e28
RD
39802 {
39803 PyThreadState* __tstate = wxPyBeginAllowThreads();
39804 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39805
39806 wxPyEndAllowThreads(__tstate);
39807 if (PyErr_Occurred()) SWIG_fail;
39808 }
39809 Py_INCREF(Py_None); resultobj = Py_None;
39810 return resultobj;
39811 fail:
39812 return NULL;
39813}
39814
39815
c32bde28 39816static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39817 PyObject *resultobj;
39818 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39819 wxWindow *arg2 = (wxWindow *) 0 ;
39820 int arg3 = (int) 0 ;
39821 PyObject * obj0 = 0 ;
39822 PyObject * obj1 = 0 ;
994141e6 39823 PyObject * obj2 = 0 ;
d14a1e28
RD
39824 char *kwnames[] = {
39825 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39826 };
39827
994141e6 39828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39833 if (obj2) {
c32bde28 39834 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39835 if (PyErr_Occurred()) SWIG_fail;
994141e6 39836 }
d14a1e28
RD
39837 {
39838 PyThreadState* __tstate = wxPyBeginAllowThreads();
39839 (arg1)->LeftOf(arg2,arg3);
39840
39841 wxPyEndAllowThreads(__tstate);
39842 if (PyErr_Occurred()) SWIG_fail;
39843 }
39844 Py_INCREF(Py_None); resultobj = Py_None;
39845 return resultobj;
39846 fail:
39847 return NULL;
39848}
39849
39850
c32bde28 39851static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39852 PyObject *resultobj;
39853 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39854 wxWindow *arg2 = (wxWindow *) 0 ;
39855 int arg3 = (int) 0 ;
39856 PyObject * obj0 = 0 ;
39857 PyObject * obj1 = 0 ;
994141e6 39858 PyObject * obj2 = 0 ;
d14a1e28
RD
39859 char *kwnames[] = {
39860 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39861 };
39862
994141e6 39863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39868 if (obj2) {
c32bde28 39869 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39870 if (PyErr_Occurred()) SWIG_fail;
994141e6 39871 }
d14a1e28
RD
39872 {
39873 PyThreadState* __tstate = wxPyBeginAllowThreads();
39874 (arg1)->RightOf(arg2,arg3);
39875
39876 wxPyEndAllowThreads(__tstate);
39877 if (PyErr_Occurred()) SWIG_fail;
39878 }
39879 Py_INCREF(Py_None); resultobj = Py_None;
39880 return resultobj;
39881 fail:
39882 return NULL;
39883}
39884
39885
c32bde28 39886static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39887 PyObject *resultobj;
39888 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39889 wxWindow *arg2 = (wxWindow *) 0 ;
39890 int arg3 = (int) 0 ;
39891 PyObject * obj0 = 0 ;
39892 PyObject * obj1 = 0 ;
994141e6 39893 PyObject * obj2 = 0 ;
d14a1e28
RD
39894 char *kwnames[] = {
39895 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39896 };
39897
994141e6 39898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39901 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39903 if (obj2) {
c32bde28 39904 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39905 if (PyErr_Occurred()) SWIG_fail;
994141e6 39906 }
d14a1e28
RD
39907 {
39908 PyThreadState* __tstate = wxPyBeginAllowThreads();
39909 (arg1)->Above(arg2,arg3);
39910
39911 wxPyEndAllowThreads(__tstate);
39912 if (PyErr_Occurred()) SWIG_fail;
39913 }
39914 Py_INCREF(Py_None); resultobj = Py_None;
39915 return resultobj;
39916 fail:
39917 return NULL;
39918}
39919
39920
c32bde28 39921static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39922 PyObject *resultobj;
39923 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39924 wxWindow *arg2 = (wxWindow *) 0 ;
39925 int arg3 = (int) 0 ;
39926 PyObject * obj0 = 0 ;
39927 PyObject * obj1 = 0 ;
994141e6 39928 PyObject * obj2 = 0 ;
d14a1e28
RD
39929 char *kwnames[] = {
39930 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39931 };
39932
994141e6 39933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39938 if (obj2) {
c32bde28 39939 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39940 if (PyErr_Occurred()) SWIG_fail;
994141e6 39941 }
d14a1e28
RD
39942 {
39943 PyThreadState* __tstate = wxPyBeginAllowThreads();
39944 (arg1)->Below(arg2,arg3);
39945
39946 wxPyEndAllowThreads(__tstate);
39947 if (PyErr_Occurred()) SWIG_fail;
39948 }
39949 Py_INCREF(Py_None); resultobj = Py_None;
39950 return resultobj;
39951 fail:
39952 return NULL;
39953}
39954
39955
c32bde28 39956static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39957 PyObject *resultobj;
39958 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39959 wxWindow *arg2 = (wxWindow *) 0 ;
39960 int arg3 ;
39961 int arg4 = (int) 0 ;
39962 PyObject * obj0 = 0 ;
39963 PyObject * obj1 = 0 ;
994141e6
RD
39964 PyObject * obj2 = 0 ;
39965 PyObject * obj3 = 0 ;
d14a1e28
RD
39966 char *kwnames[] = {
39967 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39968 };
39969
994141e6 39970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39975 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39976 if (PyErr_Occurred()) SWIG_fail;
994141e6 39977 if (obj3) {
c32bde28 39978 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 39979 if (PyErr_Occurred()) SWIG_fail;
994141e6 39980 }
d14a1e28
RD
39981 {
39982 PyThreadState* __tstate = wxPyBeginAllowThreads();
39983 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39984
39985 wxPyEndAllowThreads(__tstate);
39986 if (PyErr_Occurred()) SWIG_fail;
39987 }
39988 Py_INCREF(Py_None); resultobj = Py_None;
39989 return resultobj;
39990 fail:
39991 return NULL;
39992}
39993
39994
c32bde28 39995static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39996 PyObject *resultobj;
39997 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39998 wxWindow *arg2 = (wxWindow *) 0 ;
39999 int arg3 ;
40000 int arg4 ;
40001 PyObject * obj0 = 0 ;
40002 PyObject * obj1 = 0 ;
994141e6
RD
40003 PyObject * obj2 = 0 ;
40004 PyObject * obj3 = 0 ;
d14a1e28
RD
40005 char *kwnames[] = {
40006 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
40007 };
40008
994141e6 40009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
40010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40012 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40014 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 40015 if (PyErr_Occurred()) SWIG_fail;
c32bde28 40016 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 40017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40018 {
40019 PyThreadState* __tstate = wxPyBeginAllowThreads();
40020 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
40021
40022 wxPyEndAllowThreads(__tstate);
40023 if (PyErr_Occurred()) SWIG_fail;
40024 }
40025 Py_INCREF(Py_None); resultobj = Py_None;
40026 return resultobj;
40027 fail:
40028 return NULL;
40029}
40030
40031
c32bde28 40032static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40033 PyObject *resultobj;
40034 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40035 int arg2 ;
40036 PyObject * obj0 = 0 ;
994141e6 40037 PyObject * obj1 = 0 ;
d14a1e28
RD
40038 char *kwnames[] = {
40039 (char *) "self",(char *) "val", NULL
40040 };
40041
994141e6 40042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40045 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40047 {
40048 PyThreadState* __tstate = wxPyBeginAllowThreads();
40049 (arg1)->Absolute(arg2);
40050
40051 wxPyEndAllowThreads(__tstate);
40052 if (PyErr_Occurred()) SWIG_fail;
40053 }
40054 Py_INCREF(Py_None); resultobj = Py_None;
40055 return resultobj;
40056 fail:
40057 return NULL;
40058}
40059
40060
c32bde28 40061static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40062 PyObject *resultobj;
40063 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40064 PyObject * obj0 = 0 ;
40065 char *kwnames[] = {
40066 (char *) "self", NULL
40067 };
40068
40069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
40070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40072 {
40073 PyThreadState* __tstate = wxPyBeginAllowThreads();
40074 (arg1)->Unconstrained();
40075
40076 wxPyEndAllowThreads(__tstate);
40077 if (PyErr_Occurred()) SWIG_fail;
40078 }
40079 Py_INCREF(Py_None); resultobj = Py_None;
40080 return resultobj;
40081 fail:
40082 return NULL;
40083}
40084
40085
c32bde28 40086static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40087 PyObject *resultobj;
40088 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40089 PyObject * obj0 = 0 ;
40090 char *kwnames[] = {
40091 (char *) "self", NULL
40092 };
40093
40094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
40095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40097 {
40098 PyThreadState* __tstate = wxPyBeginAllowThreads();
40099 (arg1)->AsIs();
40100
40101 wxPyEndAllowThreads(__tstate);
40102 if (PyErr_Occurred()) SWIG_fail;
40103 }
40104 Py_INCREF(Py_None); resultobj = Py_None;
40105 return resultobj;
40106 fail:
40107 return NULL;
40108}
40109
40110
c32bde28 40111static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40112 PyObject *resultobj;
40113 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40114 wxWindow *result;
40115 PyObject * obj0 = 0 ;
40116 char *kwnames[] = {
40117 (char *) "self", NULL
40118 };
40119
40120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
40121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40123 {
40124 PyThreadState* __tstate = wxPyBeginAllowThreads();
40125 result = (wxWindow *)(arg1)->GetOtherWindow();
40126
40127 wxPyEndAllowThreads(__tstate);
40128 if (PyErr_Occurred()) SWIG_fail;
40129 }
40130 {
412d302d 40131 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
40132 }
40133 return resultobj;
40134 fail:
40135 return NULL;
40136}
40137
40138
c32bde28 40139static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40140 PyObject *resultobj;
40141 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40142 int result;
40143 PyObject * obj0 = 0 ;
40144 char *kwnames[] = {
40145 (char *) "self", NULL
40146 };
40147
40148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
40149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40151 {
40152 PyThreadState* __tstate = wxPyBeginAllowThreads();
40153 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
40154
40155 wxPyEndAllowThreads(__tstate);
40156 if (PyErr_Occurred()) SWIG_fail;
40157 }
c32bde28 40158 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40159 return resultobj;
40160 fail:
40161 return NULL;
40162}
40163
40164
c32bde28 40165static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40166 PyObject *resultobj;
40167 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40168 int arg2 ;
40169 PyObject * obj0 = 0 ;
994141e6 40170 PyObject * obj1 = 0 ;
d14a1e28
RD
40171 char *kwnames[] = {
40172 (char *) "self",(char *) "which", NULL
40173 };
40174
994141e6 40175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40178 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40180 {
40181 PyThreadState* __tstate = wxPyBeginAllowThreads();
40182 (arg1)->SetEdge((wxEdge )arg2);
40183
40184 wxPyEndAllowThreads(__tstate);
40185 if (PyErr_Occurred()) SWIG_fail;
40186 }
40187 Py_INCREF(Py_None); resultobj = Py_None;
40188 return resultobj;
40189 fail:
40190 return NULL;
40191}
40192
40193
c32bde28 40194static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40195 PyObject *resultobj;
40196 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40197 int arg2 ;
40198 PyObject * obj0 = 0 ;
994141e6 40199 PyObject * obj1 = 0 ;
d14a1e28
RD
40200 char *kwnames[] = {
40201 (char *) "self",(char *) "v", NULL
40202 };
40203
994141e6 40204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40207 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40209 {
40210 PyThreadState* __tstate = wxPyBeginAllowThreads();
40211 (arg1)->SetValue(arg2);
40212
40213 wxPyEndAllowThreads(__tstate);
40214 if (PyErr_Occurred()) SWIG_fail;
40215 }
40216 Py_INCREF(Py_None); resultobj = Py_None;
40217 return resultobj;
40218 fail:
40219 return NULL;
40220}
40221
40222
c32bde28 40223static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40224 PyObject *resultobj;
40225 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40226 int result;
40227 PyObject * obj0 = 0 ;
40228 char *kwnames[] = {
40229 (char *) "self", NULL
40230 };
40231
40232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
40233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40235 {
40236 PyThreadState* __tstate = wxPyBeginAllowThreads();
40237 result = (int)(arg1)->GetMargin();
40238
40239 wxPyEndAllowThreads(__tstate);
40240 if (PyErr_Occurred()) SWIG_fail;
40241 }
c32bde28 40242 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40243 return resultobj;
40244 fail:
40245 return NULL;
40246}
40247
40248
c32bde28 40249static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40250 PyObject *resultobj;
40251 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40252 int arg2 ;
40253 PyObject * obj0 = 0 ;
994141e6 40254 PyObject * obj1 = 0 ;
d14a1e28
RD
40255 char *kwnames[] = {
40256 (char *) "self",(char *) "m", NULL
40257 };
40258
994141e6 40259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40262 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40263 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40264 {
40265 PyThreadState* __tstate = wxPyBeginAllowThreads();
40266 (arg1)->SetMargin(arg2);
40267
40268 wxPyEndAllowThreads(__tstate);
40269 if (PyErr_Occurred()) SWIG_fail;
40270 }
40271 Py_INCREF(Py_None); resultobj = Py_None;
40272 return resultobj;
40273 fail:
40274 return NULL;
40275}
40276
40277
c32bde28 40278static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40279 PyObject *resultobj;
40280 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40281 int result;
40282 PyObject * obj0 = 0 ;
40283 char *kwnames[] = {
40284 (char *) "self", NULL
40285 };
40286
40287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
40288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40290 {
40291 PyThreadState* __tstate = wxPyBeginAllowThreads();
40292 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
40293
40294 wxPyEndAllowThreads(__tstate);
40295 if (PyErr_Occurred()) SWIG_fail;
40296 }
c32bde28 40297 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40298 return resultobj;
40299 fail:
40300 return NULL;
40301}
40302
40303
c32bde28 40304static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40305 PyObject *resultobj;
40306 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40307 int result;
40308 PyObject * obj0 = 0 ;
40309 char *kwnames[] = {
40310 (char *) "self", NULL
40311 };
40312
40313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
40314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40316 {
40317 PyThreadState* __tstate = wxPyBeginAllowThreads();
40318 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
40319
40320 wxPyEndAllowThreads(__tstate);
40321 if (PyErr_Occurred()) SWIG_fail;
40322 }
c32bde28 40323 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40324 return resultobj;
40325 fail:
40326 return NULL;
40327}
40328
40329
c32bde28 40330static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40331 PyObject *resultobj;
40332 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40333 int result;
40334 PyObject * obj0 = 0 ;
40335 char *kwnames[] = {
40336 (char *) "self", NULL
40337 };
40338
40339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
40340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40342 {
40343 PyThreadState* __tstate = wxPyBeginAllowThreads();
40344 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
40345
40346 wxPyEndAllowThreads(__tstate);
40347 if (PyErr_Occurred()) SWIG_fail;
40348 }
c32bde28 40349 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40350 return resultobj;
40351 fail:
40352 return NULL;
40353}
40354
40355
c32bde28 40356static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40357 PyObject *resultobj;
40358 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40359 bool result;
40360 PyObject * obj0 = 0 ;
40361 char *kwnames[] = {
40362 (char *) "self", NULL
40363 };
40364
40365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
40366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40368 {
40369 PyThreadState* __tstate = wxPyBeginAllowThreads();
40370 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
40371
40372 wxPyEndAllowThreads(__tstate);
40373 if (PyErr_Occurred()) SWIG_fail;
40374 }
4f89f6a3
RD
40375 {
40376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40377 }
d14a1e28
RD
40378 return resultobj;
40379 fail:
40380 return NULL;
40381}
40382
40383
c32bde28 40384static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40385 PyObject *resultobj;
40386 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40387 bool arg2 ;
40388 PyObject * obj0 = 0 ;
40389 PyObject * obj1 = 0 ;
40390 char *kwnames[] = {
40391 (char *) "self",(char *) "d", NULL
40392 };
40393
40394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40397 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 40398 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40399 {
40400 PyThreadState* __tstate = wxPyBeginAllowThreads();
40401 (arg1)->SetDone(arg2);
40402
40403 wxPyEndAllowThreads(__tstate);
40404 if (PyErr_Occurred()) SWIG_fail;
40405 }
40406 Py_INCREF(Py_None); resultobj = Py_None;
40407 return resultobj;
40408 fail:
40409 return NULL;
40410}
40411
40412
c32bde28 40413static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40414 PyObject *resultobj;
40415 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40416 int result;
40417 PyObject * obj0 = 0 ;
40418 char *kwnames[] = {
40419 (char *) "self", NULL
40420 };
40421
40422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
40423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40425 {
40426 PyThreadState* __tstate = wxPyBeginAllowThreads();
40427 result = (int)(arg1)->GetRelationship();
40428
40429 wxPyEndAllowThreads(__tstate);
40430 if (PyErr_Occurred()) SWIG_fail;
40431 }
c32bde28 40432 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40433 return resultobj;
40434 fail:
40435 return NULL;
40436}
40437
40438
c32bde28 40439static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40440 PyObject *resultobj;
40441 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40442 int arg2 ;
40443 PyObject * obj0 = 0 ;
994141e6 40444 PyObject * obj1 = 0 ;
d14a1e28
RD
40445 char *kwnames[] = {
40446 (char *) "self",(char *) "r", NULL
40447 };
40448
994141e6 40449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40452 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40453 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40454 {
40455 PyThreadState* __tstate = wxPyBeginAllowThreads();
40456 (arg1)->SetRelationship((wxRelationship )arg2);
40457
40458 wxPyEndAllowThreads(__tstate);
40459 if (PyErr_Occurred()) SWIG_fail;
40460 }
40461 Py_INCREF(Py_None); resultobj = Py_None;
40462 return resultobj;
40463 fail:
40464 return NULL;
40465}
40466
40467
c32bde28 40468static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40469 PyObject *resultobj;
40470 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40471 wxWindow *arg2 = (wxWindow *) 0 ;
40472 bool result;
40473 PyObject * obj0 = 0 ;
40474 PyObject * obj1 = 0 ;
40475 char *kwnames[] = {
40476 (char *) "self",(char *) "otherW", NULL
40477 };
40478
40479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40484 {
40485 PyThreadState* __tstate = wxPyBeginAllowThreads();
40486 result = (bool)(arg1)->ResetIfWin(arg2);
40487
40488 wxPyEndAllowThreads(__tstate);
40489 if (PyErr_Occurred()) SWIG_fail;
40490 }
4f89f6a3
RD
40491 {
40492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40493 }
d14a1e28
RD
40494 return resultobj;
40495 fail:
40496 return NULL;
40497}
40498
40499
c32bde28 40500static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40501 PyObject *resultobj;
40502 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40503 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
40504 wxWindow *arg3 = (wxWindow *) 0 ;
40505 bool result;
40506 PyObject * obj0 = 0 ;
40507 PyObject * obj1 = 0 ;
40508 PyObject * obj2 = 0 ;
40509 char *kwnames[] = {
40510 (char *) "self",(char *) "constraints",(char *) "win", NULL
40511 };
40512
40513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
40514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
40517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40518 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40520 {
40521 PyThreadState* __tstate = wxPyBeginAllowThreads();
40522 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
40523
40524 wxPyEndAllowThreads(__tstate);
40525 if (PyErr_Occurred()) SWIG_fail;
40526 }
4f89f6a3
RD
40527 {
40528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40529 }
d14a1e28
RD
40530 return resultobj;
40531 fail:
40532 return NULL;
40533}
40534
40535
c32bde28 40536static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40537 PyObject *resultobj;
40538 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40539 int arg2 ;
40540 wxWindow *arg3 = (wxWindow *) 0 ;
40541 wxWindow *arg4 = (wxWindow *) 0 ;
40542 int result;
40543 PyObject * obj0 = 0 ;
994141e6 40544 PyObject * obj1 = 0 ;
d14a1e28
RD
40545 PyObject * obj2 = 0 ;
40546 PyObject * obj3 = 0 ;
40547 char *kwnames[] = {
40548 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40549 };
40550
994141e6 40551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
40552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40554 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
40555 if (PyErr_Occurred()) SWIG_fail;
40556 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40558 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
40559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40560 {
40561 PyThreadState* __tstate = wxPyBeginAllowThreads();
40562 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
40563
40564 wxPyEndAllowThreads(__tstate);
40565 if (PyErr_Occurred()) SWIG_fail;
40566 }
c32bde28 40567 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40568 return resultobj;
40569 fail:
40570 return NULL;
40571}
40572
40573
c32bde28 40574static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
40575 PyObject *obj;
40576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40577 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
40578 Py_INCREF(obj);
40579 return Py_BuildValue((char *)"");
40580}
c32bde28 40581static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40582 PyObject *resultobj;
40583 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40584 wxIndividualLayoutConstraint *result;
40585 PyObject * obj0 = 0 ;
40586 char *kwnames[] = {
40587 (char *) "self", NULL
40588 };
40589
40590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40593 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
40594
15afbcd0 40595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40596 return resultobj;
40597 fail:
40598 return NULL;
40599}
40600
40601
c32bde28 40602static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40603 PyObject *resultobj;
40604 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40605 wxIndividualLayoutConstraint *result;
40606 PyObject * obj0 = 0 ;
40607 char *kwnames[] = {
40608 (char *) "self", NULL
40609 };
40610
40611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40614 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
40615
15afbcd0 40616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40617 return resultobj;
40618 fail:
40619 return NULL;
40620}
40621
40622
c32bde28 40623static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40624 PyObject *resultobj;
40625 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40626 wxIndividualLayoutConstraint *result;
40627 PyObject * obj0 = 0 ;
40628 char *kwnames[] = {
40629 (char *) "self", NULL
40630 };
40631
40632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40635 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
40636
15afbcd0 40637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40638 return resultobj;
40639 fail:
40640 return NULL;
40641}
40642
40643
c32bde28 40644static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40645 PyObject *resultobj;
40646 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40647 wxIndividualLayoutConstraint *result;
40648 PyObject * obj0 = 0 ;
40649 char *kwnames[] = {
40650 (char *) "self", NULL
40651 };
40652
40653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40656 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
40657
15afbcd0 40658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40659 return resultobj;
40660 fail:
40661 return NULL;
40662}
40663
40664
c32bde28 40665static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40666 PyObject *resultobj;
40667 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40668 wxIndividualLayoutConstraint *result;
40669 PyObject * obj0 = 0 ;
40670 char *kwnames[] = {
40671 (char *) "self", NULL
40672 };
40673
40674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40677 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
40678
15afbcd0 40679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40680 return resultobj;
40681 fail:
40682 return NULL;
40683}
40684
40685
c32bde28 40686static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40687 PyObject *resultobj;
40688 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40689 wxIndividualLayoutConstraint *result;
40690 PyObject * obj0 = 0 ;
40691 char *kwnames[] = {
40692 (char *) "self", NULL
40693 };
40694
40695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40698 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
40699
15afbcd0 40700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40701 return resultobj;
40702 fail:
40703 return NULL;
40704}
40705
40706
c32bde28 40707static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40708 PyObject *resultobj;
40709 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40710 wxIndividualLayoutConstraint *result;
40711 PyObject * obj0 = 0 ;
40712 char *kwnames[] = {
40713 (char *) "self", NULL
40714 };
40715
40716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40719 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
40720
15afbcd0 40721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40722 return resultobj;
40723 fail:
40724 return NULL;
40725}
40726
40727
c32bde28 40728static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40729 PyObject *resultobj;
40730 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40731 wxIndividualLayoutConstraint *result;
40732 PyObject * obj0 = 0 ;
40733 char *kwnames[] = {
40734 (char *) "self", NULL
40735 };
40736
40737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40740 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40741
15afbcd0 40742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40743 return resultobj;
40744 fail:
40745 return NULL;
40746}
40747
40748
c32bde28 40749static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40750 PyObject *resultobj;
40751 wxLayoutConstraints *result;
40752 char *kwnames[] = {
40753 NULL
40754 };
40755
40756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40757 {
40758 PyThreadState* __tstate = wxPyBeginAllowThreads();
40759 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40760
40761 wxPyEndAllowThreads(__tstate);
40762 if (PyErr_Occurred()) SWIG_fail;
40763 }
15afbcd0 40764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
40765 return resultobj;
40766 fail:
40767 return NULL;
40768}
40769
40770
c32bde28 40771static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40772 PyObject *resultobj;
40773 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40774 wxWindow *arg2 = (wxWindow *) 0 ;
40775 int *arg3 = (int *) 0 ;
40776 bool result;
40777 int temp3 ;
c32bde28 40778 int res3 = 0 ;
d14a1e28
RD
40779 PyObject * obj0 = 0 ;
40780 PyObject * obj1 = 0 ;
40781 char *kwnames[] = {
40782 (char *) "self",(char *) "win", NULL
40783 };
40784
c32bde28 40785 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 40786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40791 {
40792 PyThreadState* __tstate = wxPyBeginAllowThreads();
40793 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40794
40795 wxPyEndAllowThreads(__tstate);
40796 if (PyErr_Occurred()) SWIG_fail;
40797 }
4f89f6a3
RD
40798 {
40799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40800 }
c32bde28
RD
40801 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
40802 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
40803 return resultobj;
40804 fail:
40805 return NULL;
40806}
40807
40808
c32bde28 40809static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40810 PyObject *resultobj;
40811 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40812 bool result;
40813 PyObject * obj0 = 0 ;
40814 char *kwnames[] = {
40815 (char *) "self", NULL
40816 };
40817
40818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
40819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40821 {
40822 PyThreadState* __tstate = wxPyBeginAllowThreads();
40823 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40824
40825 wxPyEndAllowThreads(__tstate);
40826 if (PyErr_Occurred()) SWIG_fail;
40827 }
4f89f6a3
RD
40828 {
40829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40830 }
d14a1e28
RD
40831 return resultobj;
40832 fail:
40833 return NULL;
40834}
40835
40836
c32bde28 40837static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
40838 PyObject *obj;
40839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40840 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40841 Py_INCREF(obj);
40842 return Py_BuildValue((char *)"");
40843}
40844static PyMethodDef SwigMethods[] = {
c32bde28
RD
40845 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL },
40846 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL },
40847 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
40848 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
40849 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL },
40850 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
40851 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
40852 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
40853 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
40854 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL },
40855 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL },
40856 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40857 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40858 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40859 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40860 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL },
40861 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL },
40862 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40863 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40864 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40865 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40866 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40867 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL },
40868 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
40869 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40870 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL },
40871 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40872 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40873 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40874 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40875 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40876 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40877 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40878 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40879 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40880 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40881 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40882 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40883 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL },
40884 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40885 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40886 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40887 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40888 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL },
40889 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL },
40890 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40891 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40892 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40893 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40894 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40895 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
40896 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40897 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40898 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL },
40899 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
40900 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL },
40901 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL },
d3b6e4ff 40902 { (char *)"new_RectS", (PyCFunction) _wrap_new_RectS, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
40903 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
40904 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
40905 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
40906 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
40907 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
40908 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40909 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40910 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40911 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40912 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40913 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40914 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40915 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40916 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40917 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40918 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
40919 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
40920 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40921 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL },
40922 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
40923 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL },
40924 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40925 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL },
40926 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL },
40927 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
40928 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL },
40929 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL },
40930 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL },
40931 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
40932 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
40933 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40934 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40935 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40936 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40937 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL },
40938 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL },
40939 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
40940 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40941 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40942 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40943 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40944 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
40945 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
40946 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
40947 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
40948 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40949 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40950 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL },
40951 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
40952 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL },
40953 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL },
40954 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40955 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL },
40956 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL },
40957 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
40958 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
40959 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
40960 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
40961 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL },
40962 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL },
40963 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL },
40964 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL },
40965 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
40966 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40967 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
40968 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
40969 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL },
40970 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40971 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40972 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40973 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40974 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40975 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40976 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40977 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40978 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL },
40979 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL },
8fb0e70a 40980 { (char *)"delete_InputStream", (PyCFunction) _wrap_delete_InputStream, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
40981 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL },
40982 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL },
40983 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL },
40984 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL },
40985 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL },
40986 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL },
40987 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL },
40988 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL },
40989 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL },
40990 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL },
40991 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL },
40992 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
40993 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL },
40994 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL },
40995 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL },
40996 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL },
40997 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL },
40998 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL },
40999 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL },
41000 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
41001 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
41002 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL },
41003 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
41004 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL },
41005 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
41006 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL },
41007 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL },
41008 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL },
41009 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41010 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41011 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41012 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41013 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41014 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41015 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL },
41016 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL },
41017 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
41018 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL },
41019 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL },
41020 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL },
41021 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
41022 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
41023 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL },
41024 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
41025 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41026 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41027 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41028 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41029 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
41030 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28 41031 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL },
2ef75293 41032 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
c32bde28
RD
41033 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41034 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41035 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41036 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL },
41037 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41038 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41039 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41040 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41041 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41042 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL },
41043 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL },
41044 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41045 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL },
41046 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41047 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL },
41048 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
41049 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
41050 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
41051 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
41052 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL },
41053 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
41054 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
41055 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
41056 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
41057 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
41058 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
41059 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
41060 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
41061 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
41062 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL },
41063 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
41064 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL },
41065 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
41066 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL },
41067 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL },
41068 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL },
41069 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL },
41070 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
41071 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL },
41072 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL },
41073 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41074 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL },
41075 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41076 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41077 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
41078 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL },
41079 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL },
41080 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
41081 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL },
41082 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL },
41083 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL },
41084 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41085 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41086 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41087 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
41088 { (char *)"Image_ConvertAlphaToMask", (PyCFunction) _wrap_Image_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL },
8fb0e70a 41089 { (char *)"Image_ConvertColourToAlpha", (PyCFunction) _wrap_Image_ConvertColourToAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41090 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
41091 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
41092 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
41093 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
41094 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
41095 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
41096 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
41097 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL },
41098 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL },
41099 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL },
41100 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
41101 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41102 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41103 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41104 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL },
41105 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
41106 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
41107 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
41108 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
41109 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41110 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41111 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
41112 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
41113 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41114 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41115 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
41116 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL },
41117 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL },
41118 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL },
41119 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
41120 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL },
41121 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
41122 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL },
41123 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL },
41124 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
41125 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL },
41126 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
41127 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
41128 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
41129 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
41130 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
41131 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL },
41132 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
41133 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41134 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41135 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41136 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
41137 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41138 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41139 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL },
41140 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41141 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL },
41142 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41143 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL },
41144 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41145 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL },
41146 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41147 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL },
41148 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41149 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL },
41150 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41151 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL },
41152 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41153 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL },
41154 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41155 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL },
41156 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41157 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL },
41158 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41159 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL },
41160 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41161 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL },
41162 { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL },
41163 { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS, NULL },
41164 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41165 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41166 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41167 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41168 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41169 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41170 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41171 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41172 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41173 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41174 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL },
41175 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL },
41176 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41177 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL },
41178 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41179 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL },
41180 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41181 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41182 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
41183 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
41184 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
41185 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
41186 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41187 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41188 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41189 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL },
41190 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL },
41191 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL },
41192 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL },
41193 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL },
41194 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41195 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL },
41196 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
41197 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
41198 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL },
41199 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
41200 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
41201 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL },
41202 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41203 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41204 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
41205 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
41206 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41207 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41208 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
41209 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
41210 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL },
41211 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL },
41212 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41213 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL },
41214 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41215 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
41216 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL },
41217 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
41218 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL },
41219 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41220 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41221 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41222 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41223 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41224 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL },
41225 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41226 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41227 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41228 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41229 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41230 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL },
41231 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41232 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
41233 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
41234 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41235 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
41236 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL },
41237 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41238 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL },
41239 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
41240 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
41241 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
41242 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41243 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL },
41244 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41245 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL },
41246 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL },
41247 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL },
41248 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL },
41249 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL },
41250 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41251 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41252 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41253 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41254 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41255 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41256 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL },
41257 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL },
41258 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL },
41259 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL },
41260 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41261 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41262 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41263 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41264 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41265 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL },
41266 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL },
41267 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL },
41268 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL },
41269 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41270 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41271 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41272 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41273 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41274 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41275 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41276 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41277 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41278 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41279 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41280 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41281 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41282 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41283 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41284 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41285 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41286 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41287 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL },
41288 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL },
41289 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL },
41290 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL },
41291 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL },
41292 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL },
41293 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL },
41294 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41295 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41296 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41297 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41298 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41299 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41300 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL },
41301 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41302 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
41303 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
41304 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
41305 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41306 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL },
41307 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
41308 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41309 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL },
41310 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41311 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41312 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41313 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41314 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41315 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41316 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41317 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41318 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41319 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41320 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41321 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41322 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41323 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41324 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41325 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41326 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41327 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41328 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41329 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41330 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41331 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41332 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41333 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41334 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL },
41335 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL },
41336 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL },
41337 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41338 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41339 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41340 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41341 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41342 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL },
41343 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL },
41344 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
41345 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
41346 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL },
41347 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41348 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41349 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41350 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41351 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41352 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
41353 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
41354 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
41355 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
41356 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL },
41357 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41358 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL },
41359 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41360 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL },
41361 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41362 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
41363 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL },
41364 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41365 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41366 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41367 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL },
41368 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41369 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41370 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL },
41371 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41372 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41373 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL },
41374 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41375 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL },
41376 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41377 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL },
41378 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL },
41379 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41380 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL },
41381 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41382 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
41383 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
41384 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
41385 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41386 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41387 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41388 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL },
41389 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41390 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL },
41391 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL },
41392 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL },
41393 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41394 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL },
41395 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL },
41396 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41397 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL },
41398 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41399 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL },
41400 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL },
41401 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL },
41402 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41403 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41404 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41405 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
41406 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL },
41407 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41408 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41409 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41410 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41411 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
41412 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
41413 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
41414 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL },
41415 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL },
41416 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41417 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41418 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL },
41419 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41420 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL },
41421 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41422 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41423 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL },
41424 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41425 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL },
41426 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41427 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41428 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41429 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL },
41430 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41431 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
41432 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
41433 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL },
41434 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41435 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41436 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41437 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
41438 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
41439 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41440 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41441 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41442 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL },
41443 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41444 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41445 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL },
41446 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41447 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41448 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL },
41449 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41450 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41451 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41452 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL },
41453 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41454 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL },
41455 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL },
41456 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41457 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41458 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL },
41459 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL },
41460 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41461 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41462 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41463 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41464 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL },
41465 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41466 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41467 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41468 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41469 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL },
41470 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
41471 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
41472 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41473 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
41474 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
41475 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
41476 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
41477 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
41478 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
41479 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL },
41480 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41481 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
41482 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
1fc3b23a 41483 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction) _wrap_PyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41484 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41485 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41486 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41487 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
41488 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
41489 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL },
41490 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41491 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
41492 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41493 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41494 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
41495 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
41496 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
41497 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
41498 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
41499 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
41500 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
41501 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
41502 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
41503 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41504 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41505 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41506 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
41507 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
41508 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41509 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41510 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41511 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
41512 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL },
41513 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL },
41514 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL },
41515 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41516 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
41517 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL },
41518 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL },
41519 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
41520 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41521 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
41522 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL },
2ef75293
RD
41523 { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41524 { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41525 { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL },
41526 { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41527 { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
41528 { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
41529 { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
41530 { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41531 { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41532 { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL },
c32bde28
RD
41533 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
41534 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
41535 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41536 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41537 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41538 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
41539 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL },
41540 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41541 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41542 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
41543 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL },
41544 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL },
41545 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41546 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41547 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL },
41548 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL },
41549 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL },
41550 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL },
41551 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL },
41552 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL },
41553 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL },
41554 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL },
41555 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41556 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41557 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL },
41558 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41559 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41560 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL },
41561 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41562 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41563 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41564 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41565 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
41566 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
41567 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
41568 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
41569 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41570 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41571 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41572 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41573 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41574 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41575 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL },
41576 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41577 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41578 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL },
41579 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
41580 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL },
41581 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL },
41582 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL },
41583 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
41584 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41585 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41586 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41587 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41588 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41589 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41590 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41591 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
41592 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41593 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
41594 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41595 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41596 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41597 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41598 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL },
41599 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41600 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL },
41601 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL },
41602 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL },
41603 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
41604 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
41605 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41606 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL },
41607 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41608 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL },
41609 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
41610 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41611 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41612 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
41613 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41614 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41615 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41616 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41617 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41618 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41619 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41620 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41621 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41622 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41623 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
41624 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41625 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL },
41626 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41627 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41628 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41629 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41630 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41631 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL },
41632 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41633 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41634 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL },
41635 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41636 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41637 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41638 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL },
41639 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41640 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41641 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
41642 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41643 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41644 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41645 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL },
41646 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL },
41647 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL },
41648 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41649 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41650 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL },
41651 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL },
41652 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL },
41653 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
41654 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
41655 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
41656 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
41657 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41658 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41659 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41660 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41661 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41662 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41663 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41664 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
41665 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41666 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41667 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
41668 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41669 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41670 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
41671 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
41672 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
41673 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
41674 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL },
41675 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL },
41676 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
41677 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
41678 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL },
41679 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL },
41680 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL },
41681 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
41682 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL },
41683 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL },
41684 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL },
41685 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL },
41686 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL },
41687 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL },
41688 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL },
41689 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
41690 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL },
41691 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41692 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL },
41693 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL },
41694 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL },
41695 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41696 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41697 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41698 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41699 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41700 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41701 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41702 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41703 { (char *)"Window_SetBackgroundStyle", (PyCFunction) _wrap_Window_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41704 { (char *)"Window_GetBackgroundStyle", (PyCFunction) _wrap_Window_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41705 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41706 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41707 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
41708 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL },
41709 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
41710 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
41711 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
41712 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41713 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41714 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
41715 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
41716 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL },
41717 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL },
41718 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL },
41719 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL },
41720 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
41721 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
41722 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL },
41723 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL },
41724 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL },
41725 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41726 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL },
7e63a440
RD
41727 { (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL },
41728 { (char *)"Window_DissociateHandle", (PyCFunction) _wrap_Window_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41729 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
41730 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
41731 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
41732 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
41733 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL },
41734 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL },
41735 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41736 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
41737 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
41738 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL },
41739 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL },
41740 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL },
41741 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL },
41742 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
41743 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL },
41744 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
41745 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL },
41746 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
41747 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
41748 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
41749 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
41750 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41751 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41752 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
41753 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
41754 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
41755 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41756 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL },
41757 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41758 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41759 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41760 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41761 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
41762 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL },
41763 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
41764 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
41765 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41766 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL },
41767 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL },
41768 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41769 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
41770 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41771 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41772 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41773 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41774 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL },
41775 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL },
41776 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL },
41777 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41778 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41779 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL },
41780 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL },
41781 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41782 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41783 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41784 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41785 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41786 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
41787 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL },
41788 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
41789 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41790 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41791 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41792 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41793 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41794 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
41795 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
41796 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41797 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41798 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41799 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41800 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41801 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL },
41802 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
41803 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
41804 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41805 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL },
41806 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL },
41807 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
41808 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL },
41809 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
41810 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
41811 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41812 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41813 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41814 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41815 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41816 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41817 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41818 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41819 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41820 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41821 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41822 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41823 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41824 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41825 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41826 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41827 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL },
41828 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
41829 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
41830 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
41831 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
41832 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41833 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41834 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL },
41835 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
41836 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41837 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41838 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL },
41839 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41840 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
41841 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41842 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL },
41843 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL },
41844 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
41845 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
41846 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
41847 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
41848 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41849 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41850 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41851 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41852 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41853 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41854 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41855 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41856 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41857 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
41858 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
41859 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
41860 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
41861 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL },
41862 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
41863 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41864 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41865 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41866 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41867 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41868 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
41869 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41870 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
41871 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL },
41872 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
41873 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL },
41874 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
41875 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
41876 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41877 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41878 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41879 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41880 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41881 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41882 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41883 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
41884 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
41885 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
41886 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
41887 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
41888 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41889 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41890 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41891 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL },
41892 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL },
41893 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL },
41894 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41895 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL },
41896 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41897 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41898 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41899 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL },
41900 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41901 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL },
41902 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41903 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
41904 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
41905 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
41906 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
41907 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
41908 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL },
41909 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
41910 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
41911 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL },
41912 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41913 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41914 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
41915 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
41916 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL },
41917 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL },
41918 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
41919 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41920 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41921 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41922 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
41923 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41924 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41925 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41926 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
41927 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41928 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41929 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL },
41930 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL },
41931 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL },
41932 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
41933 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
d3b6e4ff 41934 { (char *)"SizerItem_GetRect", (PyCFunction) _wrap_SizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41935 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41936 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41937 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41938 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
41939 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
41940 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41941 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41942 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41943 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41944 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41945 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41946 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41947 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41948 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41949 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41950 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41951 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41952 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41953 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL },
41954 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL },
41955 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41956 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
41957 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41958 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
41959 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41960 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
d3b6e4ff 41961 { (char *)"Sizer_GetItem", (PyCFunction) _wrap_Sizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41962 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41963 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
41964 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
41965 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
41966 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
41967 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41968 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41969 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41970 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41971 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41972 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41973 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
41974 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
41975 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
41976 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41977 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41978 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
41979 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
41980 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41981 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41982 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41983 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL },
41984 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL },
41985 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL },
41986 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41987 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL },
41988 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41989 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41990 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41991 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL },
41992 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41993 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
41994 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL },
41995 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41996 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL },
41997 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
41998 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
41999 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
42000 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL },
42001 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL },
42002 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
42003 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
42004 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL },
42005 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42006 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
42007 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
42008 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
42009 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
42010 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
42011 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
42012 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
42013 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
42014 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL },
42015 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL },
42016 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL },
42017 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL },
42018 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
42019 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
42020 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
42021 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
42022 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
42023 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
42024 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL },
42025 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL },
42026 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL },
42027 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL },
42028 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
42029 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
42030 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
42031 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
42032 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
42033 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
42034 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL },
42035 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL },
42036 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL },
42037 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
42038 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42039 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42040 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
42041 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL },
42042 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
42043 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
42044 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
42045 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
42046 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL },
42047 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL },
42048 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42049 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42050 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL },
42051 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL },
42052 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
42053 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
84f85550 42054 { (char *)"GridBagSizer_GetCellSize", (PyCFunction) _wrap_GridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
42055 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
42056 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
42057 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL },
42058 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL },
42059 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL },
42060 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL },
42061 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL },
42062 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL },
42063 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
42064 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL },
42065 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL },
42066 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL },
42067 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
42068 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL },
42069 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL },
42070 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL },
42071 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL },
42072 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL },
42073 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL },
42074 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL },
42075 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL },
42076 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL },
42077 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42078 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42079 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42080 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
42081 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
42082 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
42083 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
42084 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL },
42085 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42086 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL },
42087 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL },
42088 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
42089 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
42090 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL },
42091 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
42092 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42093 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL },
42094 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL },
42095 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL },
42096 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL },
42097 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL },
42098 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
42099 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
42100 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL },
42101 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL },
42102 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42103 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42104 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL },
42105 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL },
42106 { NULL, NULL, 0, NULL }
d14a1e28
RD
42107};
42108
42109
42110/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42111
42112static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
42113 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
42114}
42115static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
42116 return (void *)((wxSizer *) ((wxBoxSizer *) x));
42117}
42118static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
42119 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
42120}
42121static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
42122 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42123}
42124static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
42125 return (void *)((wxSizer *) ((wxGridSizer *) x));
42126}
42127static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
42128 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
42129}
42130static void *_p_wxPySizerTo_p_wxSizer(void *x) {
42131 return (void *)((wxSizer *) ((wxPySizer *) x));
42132}
42133static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
42134 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
42135}
42136static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
42137 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
42138}
42139static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
42140 return (void *)((wxEvent *) ((wxMenuEvent *) x));
42141}
42142static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
42143 return (void *)((wxEvent *) ((wxCloseEvent *) x));
42144}
42145static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
42146 return (void *)((wxEvent *) ((wxMouseEvent *) x));
42147}
42148static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
42149 return (void *)((wxEvent *) ((wxEraseEvent *) x));
42150}
42151static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
42152 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
42153}
42154static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
42155 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
42156}
42157static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
42158 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
42159}
42160static void *_p_wxPyEventTo_p_wxEvent(void *x) {
42161 return (void *)((wxEvent *) ((wxPyEvent *) x));
42162}
42163static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
42164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
42165}
42166static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
42167 return (void *)((wxEvent *) ((wxIdleEvent *) x));
42168}
42169static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
42170 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
42171}
42172static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
42173 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
42174}
42175static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
42176 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
42177}
42178static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
42179 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
42180}
42181static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
42182 return (void *)((wxEvent *) ((wxActivateEvent *) x));
42183}
42184static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
42185 return (void *)((wxEvent *) ((wxSizeEvent *) x));
42186}
42187static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
42188 return (void *)((wxEvent *) ((wxMoveEvent *) x));
42189}
42190static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
42191 return (void *)((wxEvent *) ((wxPaintEvent *) x));
42192}
42193static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
42194 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
42195}
42196static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
42197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
42198}
42199static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
42200 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
42201}
42202static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
42203 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
42204}
42205static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
42206 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42207}
42208static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
42209 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
42210}
42211static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
42212 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
42213}
42214static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
42215 return (void *)((wxEvent *) ((wxFocusEvent *) x));
42216}
42217static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
42218 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
42219}
42220static void *_p_wxShowEventTo_p_wxEvent(void *x) {
42221 return (void *)((wxEvent *) ((wxShowEvent *) x));
42222}
42223static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
42224 return (void *)((wxEvent *) ((wxCommandEvent *) x));
42225}
42226static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
42227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
42228}
42229static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
42230 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42231}
42232static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
42233 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
42234}
42235static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
42236 return (void *)((wxEvent *) ((wxKeyEvent *) x));
42237}
42238static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
42239 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
42240}
42241static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
42242 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
42243}
42244static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
42245 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
42246}
42247static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
42248 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
42249}
42250static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
42251 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
42252}
42253static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
42254 return (void *)((wxControl *) ((wxControlWithItems *) x));
42255}
42256static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
42257 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
42258}
42259static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
42260 return (void *)((wxEvtHandler *) ((wxWindow *) x));
42261}
42262static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
42263 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42264}
42265static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
42266 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
42267}
42268static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
42269 return (void *)((wxEvtHandler *) ((wxValidator *) x));
42270}
42271static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
42272 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
42273}
42274static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
42275 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
42276}
42277static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
42278 return (void *)((wxEvtHandler *) ((wxMenu *) x));
42279}
42280static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
42281 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
42282}
42283static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
42284 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
42285}
42286static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
42287 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
42288}
42289static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
42290 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
42291}
42292static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
42293 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
42294}
42295static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
42296 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42297}
42298static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
42299 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
42300}
42301static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
42302 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
42303}
42304static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
42305 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42306}
42307static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
42308 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42309}
42310static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
42311 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
42312}
42313static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
42314 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
42315}
42316static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
42317 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
42318}
42319static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
42320 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
42321}
42322static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
42323 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
42324}
42325static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
42326 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
42327}
42328static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
42329 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
42330}
42331static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
42332 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
42333}
42334static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
42335 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
42336}
42337static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
42338 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
42339}
42340static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
42341 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
42342}
42343static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
42344 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
42345}
42346static void *_p_wxMenuEventTo_p_wxObject(void *x) {
42347 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
42348}
42349static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
42350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
42351}
42352static void *_p_wxEraseEventTo_p_wxObject(void *x) {
42353 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
42354}
42355static void *_p_wxMouseEventTo_p_wxObject(void *x) {
42356 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
42357}
42358static void *_p_wxCloseEventTo_p_wxObject(void *x) {
42359 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
42360}
42361static void *_p_wxValidatorTo_p_wxObject(void *x) {
42362 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
42363}
42364static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
42365 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
42366}
42367static void *_p_wxMenuBarTo_p_wxObject(void *x) {
42368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
42369}
42370static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
42371 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
42372}
42373static void *_p_wxSizerTo_p_wxObject(void *x) {
42374 return (void *)((wxObject *) ((wxSizer *) x));
42375}
42376static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
42377 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
42378}
42379static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
42380 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
42381}
42382static void *_p_wxMenuTo_p_wxObject(void *x) {
42383 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
42384}
42385static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
42386 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
42387}
42388static void *_p_wxImageTo_p_wxObject(void *x) {
42389 return (void *)((wxObject *) ((wxImage *) x));
42390}
42391static void *_p_wxScrollEventTo_p_wxObject(void *x) {
42392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
42393}
42394static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
42395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
42396}
42397static void *_p_wxPyEventTo_p_wxObject(void *x) {
42398 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
42399}
42400static void *_p_wxWindowTo_p_wxObject(void *x) {
42401 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
42402}
42403static void *_p_wxControlTo_p_wxObject(void *x) {
42404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
42405}
1e0c8722
RD
42406static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
42407 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
42408}
d14a1e28
RD
42409static void *_p_wxGridSizerTo_p_wxObject(void *x) {
42410 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
42411}
42412static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
42413 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
42414}
42415static void *_p_wxPyAppTo_p_wxObject(void *x) {
42416 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
42417}
42418static void *_p_wxEventTo_p_wxObject(void *x) {
42419 return (void *)((wxObject *) ((wxEvent *) x));
42420}
42421static void *_p_wxActivateEventTo_p_wxObject(void *x) {
42422 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
42423}
42424static void *_p_wxMoveEventTo_p_wxObject(void *x) {
42425 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
42426}
42427static void *_p_wxSizeEventTo_p_wxObject(void *x) {
42428 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
42429}
42430static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
42431 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
42432}
42433static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
42434 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
42435}
42436static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
42437 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
42438}
42439static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
42440 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
42441}
42442static void *_p_wxIdleEventTo_p_wxObject(void *x) {
42443 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
42444}
42445static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
42446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42447}
42448static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
42449 return (void *)((wxObject *) ((wxEvtHandler *) x));
42450}
42451static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
42452 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
42453}
42454static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
42455 return (void *)((wxObject *) ((wxImageHandler *) x));
42456}
42457static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
42458 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
42459}
42460static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
42461 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
42462}
42463static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
42464 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42465}
42466static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
42467 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42468}
42469static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
42470 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
42471}
42472static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
42473 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
42474}
42475static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
42476 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
42477}
42478static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
42479 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
42480}
42481static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
42482 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
42483}
42484static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
42485 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
42486}
42487static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
42488 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
42489}
42490static void *_p_wxPaintEventTo_p_wxObject(void *x) {
42491 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
42492}
42493static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
42494 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
42495}
42496static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
42497 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
42498}
42499static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
42500 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42501}
42502static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
42503 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
42504}
42505static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
42506 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
42507}
42508static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
42509 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
42510}
42511static void *_p_wxFileSystemTo_p_wxObject(void *x) {
42512 return (void *)((wxObject *) ((wxFileSystem *) x));
42513}
42514static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
42515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
42516}
42517static void *_p_wxFocusEventTo_p_wxObject(void *x) {
42518 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
42519}
42520static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
42521 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
42522}
42523static void *_p_wxSizerItemTo_p_wxObject(void *x) {
42524 return (void *)((wxObject *) ((wxSizerItem *) x));
42525}
42526static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
42527 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
42528}
42529static void *_p_wxShowEventTo_p_wxObject(void *x) {
42530 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
42531}
42532static void *_p_wxFSFileTo_p_wxObject(void *x) {
42533 return (void *)((wxObject *) ((wxFSFile *) x));
42534}
42535static void *_p_wxCommandEventTo_p_wxObject(void *x) {
42536 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
42537}
42538static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
42539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
42540}
42541static void *_p_wxKeyEventTo_p_wxObject(void *x) {
42542 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
42543}
42544static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
42545 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
42546}
42547static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
42548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42549}
42550static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
42551 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42552}
42553static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
42554 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
42555}
42556static void *_p_wxMenuItemTo_p_wxObject(void *x) {
42557 return (void *)((wxObject *) ((wxMenuItem *) x));
42558}
42559static void *_p_wxPySizerTo_p_wxObject(void *x) {
42560 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
42561}
42562static void *_p_wxControlTo_p_wxWindow(void *x) {
42563 return (void *)((wxWindow *) ((wxControl *) x));
42564}
42565static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
42566 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
42567}
42568static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
42569 return (void *)((wxWindow *) ((wxMenuBar *) x));
42570}
42571static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
42572 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
42573}
42574static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
42575 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
42576}
42577static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
42578 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
42579}
42580static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
42581 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
42582}
42583static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
42584 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42585}
42586static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
42587 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
42588}
42589static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
42590 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
42591}
42592static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
42593 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
42594}
42595static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
42596 return (void *)((wxValidator *) ((wxPyValidator *) x));
42597}
15afbcd0
RD
42598static 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}};
42599static 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}};
42600static 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}};
42601static 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}};
42602static 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}};
2ef75293 42603static 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}};
15afbcd0
RD
42604static 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}};
42605static 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}};
42606static 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}};
42607static 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}};
42608static 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}};
42609static 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}};
42610static 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}};
42611static 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}};
42612static 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}};
42613static 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}};
42614static 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}};
42615static 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}};
42616static 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}};
42617static 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}};
42618static 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}};
42619static 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}};
42620static 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}};
42621static 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}};
42622static 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}};
42623static 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}};
42624static 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}};
42625static 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}};
42626static 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}};
42627static 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}};
42628static 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}};
42629static 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}};
42630static 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}};
42631static 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}};
42632static 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}};
42633static 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}};
42634static 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}};
74a57fcd 42635static 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}};
15afbcd0
RD
42636static 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}};
42637static 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}};
42638static 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}};
42639static 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}};
42640static 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}};
42641static 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}};
42642static 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}};
15afbcd0
RD
42643static 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}};
42644static 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}};
42645static 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}};
42646static 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 42647static 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}};
15afbcd0
RD
42648static 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}};
42649static 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}};
42650static 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}};
42651static 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}};
42652static 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}};
42653static 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}};
42654static 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}};
42655static 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}};
42656static 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}};
42657static 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}};
42658static 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}};
42659static 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}};
42660static 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}};
42661static 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}};
42662static 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}};
42663static 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}};
42664static 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}};
42665static 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}};
42666static 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}};
42667static 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}};
42668static 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}};
42669static 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}};
42670static 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}};
42671static 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}};
42672static 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}};
42673static 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}};
42674static 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}};
42675static 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}};
42676static 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}};
42677static 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}};
42678static 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}};
42679static 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}};
42680static 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}};
42681static 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}};
42682static 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}};
42683static 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}};
42684static 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}};
42685static 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}};
42686static 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}};
42687static 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}};
42688static 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}};
42689static 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}};
42690static 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}};
42691static 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}};
42692static 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}};
42693static 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}};
42694static 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}};
42695static 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}};
42696static 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}};
42697static 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}};
42698static 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}};
42699static 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}};
42700static 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}};
42701static 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}};
42702static 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}};
42703static 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}};
42704static 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}};
42705static 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}};
42706static 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 42707static 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}};
15afbcd0
RD
42708static 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}};
42709static 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}};
42710static 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}};
42711static 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}};
42712static 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}};
42713static 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}};
42714static 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}};
d14a1e28
RD
42715
42716static swig_type_info *swig_types_initial[] = {
42717_swigt__p_wxLayoutConstraints,
42718_swigt__p_wxRealPoint,
42719_swigt__p_wxSizerItem,
42720_swigt__p_wxGBSizerItem,
42721_swigt__p_wxScrollEvent,
2ef75293 42722_swigt__p_wxEventLoop,
d14a1e28
RD
42723_swigt__p_wxIndividualLayoutConstraint,
42724_swigt__p_wxSizer,
42725_swigt__p_wxBoxSizer,
42726_swigt__p_wxStaticBoxSizer,
42727_swigt__p_wxGridBagSizer,
42728_swigt__p_wxAcceleratorEntry,
42729_swigt__p_wxUpdateUIEvent,
42730_swigt__p_wxMenu,
42731_swigt__p_wxEvent,
42732_swigt__p_wxGridSizer,
42733_swigt__p_wxFlexGridSizer,
42734_swigt__p_wxInitDialogEvent,
42735_swigt__p_wxItemContainer,
42736_swigt__p_wxNcPaintEvent,
42737_swigt__p_wxPaintEvent,
42738_swigt__p_wxSysColourChangedEvent,
42739_swigt__p_wxMouseCaptureChangedEvent,
42740_swigt__p_wxDisplayChangedEvent,
42741_swigt__p_wxPaletteChangedEvent,
42742_swigt__p_wxControl,
42743_swigt__p_wxFont,
42744_swigt__p_wxMenuBarBase,
42745_swigt__p_wxSetCursorEvent,
42746_swigt__p_wxFSFile,
42747_swigt__p_wxCaret,
42748_swigt__p_wxRegion,
42749_swigt__p_wxPoint2D,
42750_swigt__p_int,
42751_swigt__p_wxSize,
42752_swigt__p_wxDC,
42753_swigt__p_wxPySizer,
74a57fcd 42754_swigt__p_wxVisualAttributes,
d14a1e28
RD
42755_swigt__p_wxNotifyEvent,
42756_swigt__p_wxPyEvent,
42757_swigt__p_wxPropagationDisabler,
42758_swigt__p_wxAppTraits,
42759_swigt__p_wxArrayString,
42760_swigt__p_wxShowEvent,
42761_swigt__p_wxToolTip,
d14a1e28
RD
42762_swigt__p_wxIconizeEvent,
42763_swigt__p_wxActivateEvent,
42764_swigt__p_wxMoveEvent,
42765_swigt__p_wxSizeEvent,
c0de73ae 42766_swigt__p_wxMaximizeEvent,
d14a1e28
RD
42767_swigt__p_wxQueryNewPaletteEvent,
42768_swigt__p_wxWindowCreateEvent,
42769_swigt__p_wxIdleEvent,
42770_swigt__p_wxMenuItem,
42771_swigt__p_wxStaticBox,
42772_swigt__p_long,
42773_swigt__p_wxTIFFHandler,
42774_swigt__p_wxXPMHandler,
42775_swigt__p_wxPNMHandler,
42776_swigt__p_wxJPEGHandler,
42777_swigt__p_wxPCXHandler,
42778_swigt__p_wxGIFHandler,
42779_swigt__p_wxPNGHandler,
42780_swigt__p_wxANIHandler,
42781_swigt__p_wxMemoryFSHandler,
42782_swigt__p_wxEvtHandler,
42783_swigt__p_wxCURHandler,
42784_swigt__p_wxICOHandler,
42785_swigt__p_wxBMPHandler,
42786_swigt__p_wxImageHandler,
42787_swigt__p_wxFileSystemHandler,
42788_swigt__p_wxPyFileSystemHandler,
42789_swigt__p_wxInternetFSHandler,
4d5c3d91 42790_swigt__p_wxZipFSHandler,
d14a1e28
RD
42791_swigt__p_wxRect,
42792_swigt__p_wxGBSpan,
42793_swigt__p_wxPropagateOnce,
42794_swigt__p_wxAcceleratorTable,
994141e6 42795_swigt__p_char,
d14a1e28
RD
42796_swigt__p_wxGBPosition,
42797_swigt__p_wxImage,
42798_swigt__p_wxFrame,
42799_swigt__p_wxScrollWinEvent,
42800_swigt__p_wxImageHistogram,
42801_swigt__p_byte,
42802_swigt__p_wxPoint,
42803_swigt__p_wxCursor,
42804_swigt__p_wxObject,
42805_swigt__p_wxPyInputStream,
42806_swigt__p_wxOutputStream,
42807_swigt__p_wxInputStream,
42808_swigt__p_wxDateTime,
42809_swigt__p_wxKeyEvent,
42810_swigt__p_wxNavigationKeyEvent,
42811_swigt__p_wxWindowDestroyEvent,
42812_swigt__p_wxWindow,
42813_swigt__p_wxMenuBar,
d14a1e28
RD
42814_swigt__p_wxFileSystem,
42815_swigt__p_wxBitmap,
42816_swigt__p_wxMenuEvent,
42817_swigt__p_wxContextMenuEvent,
42818_swigt__p_unsigned_char,
42819_swigt__p_wxCloseEvent,
42820_swigt__p_wxEraseEvent,
42821_swigt__p_wxMouseEvent,
42822_swigt__p_wxPyApp,
42823_swigt__p_wxCommandEvent,
42824_swigt__p_wxPyCommandEvent,
7722248d 42825_swigt__p_wxPyDropTarget,
c0de73ae 42826_swigt__p_wxQuantize,
d14a1e28
RD
42827_swigt__p_wxChildFocusEvent,
42828_swigt__p_wxFocusEvent,
42829_swigt__p_wxDropFilesEvent,
42830_swigt__p_wxControlWithItems,
42831_swigt__p_wxColour,
42832_swigt__p_wxValidator,
42833_swigt__p_wxPyValidator,
428340
42835};
42836
42837
42838/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42839
42840static swig_const_info swig_const_table[] = {
c32bde28 42841{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
42842
42843#ifdef __cplusplus
42844}
42845#endif
42846
42847#ifdef __cplusplus
42848extern "C"
42849#endif
42850SWIGEXPORT(void) SWIG_init(void) {
42851 static PyObject *SWIG_globals = 0;
42852 static int typeinit = 0;
42853 PyObject *m, *d;
42854 int i;
42855 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42856 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42857 d = PyModule_GetDict(m);
42858
42859 if (!typeinit) {
42860 for (i = 0; swig_types_initial[i]; i++) {
42861 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42862 }
42863 typeinit = 1;
42864 }
42865 SWIG_InstallConstants(d,swig_const_table);
42866
42867
42868#ifndef wxPyUSE_EXPORT
42869 // Make our API structure a CObject so other modules can import it
42870 // from this module.
42871 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42872 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42873 Py_XDECREF(cobj);
42874#endif
42875
c32bde28
RD
42876 PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND));
42877 PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)wxVSCROLL));
42878 PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)wxHSCROLL));
42879 PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)wxCAPTION));
42880 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER));
42881 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER));
42882 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER));
42883 PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)wxBORDER));
42884 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER));
42885 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER));
42886 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW));
42887 PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER));
42888 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL));
42889 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS));
42890 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW));
42891 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME));
42892 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN));
42893 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN));
42894 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN));
42895 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM));
42896 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT));
42897 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE));
42898 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE));
42899 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN));
42900 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS));
42901 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB));
42902 PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)wxRETAINED));
42903 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE));
42904 PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)wxCOLOURED));
42905 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH));
42906 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB));
42907 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB));
42908 PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)wxLB_SORT));
42909 PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE));
42910 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE));
42911 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED));
42912 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW));
42913 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL));
42914 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER));
42915 PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)wxPASSWORD));
42916 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE));
42917 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN));
42918 PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)wxCB_SORT));
42919 PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY));
42920 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL));
42921 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL));
42922 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS));
42923 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS));
42924 PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP));
42925 PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE));
42926 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL));
42927 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL));
42928 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS));
42929 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS));
42930 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT));
42931 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)wxSL_TOP));
42932 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT));
42933 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM));
42934 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH));
42935 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE));
42936 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL));
42937 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL));
42938 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP));
42939 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE));
42940 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE));
42941 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER));
42942 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE));
42943 PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE));
42944 PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP));
42945 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM));
42946 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT));
42947 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT));
42948 PyDict_SetItemString(d,"OK", SWIG_From_int((int)wxOK));
42949 PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)wxYES_NO));
42950 PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)wxCANCEL));
42951 PyDict_SetItemString(d,"YES", SWIG_From_int((int)wxYES));
42952 PyDict_SetItemString(d,"NO", SWIG_From_int((int)wxNO));
42953 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT));
42954 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT));
42955 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION));
42956 PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)wxICON_HAND));
42957 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION));
42958 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION));
42959 PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)wxICON_STOP));
42960 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK));
42961 PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)wxICON_MASK));
42962 PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING));
42963 PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR));
42964 PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)wxFORWARD));
42965 PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)wxBACKWARD));
42966 PyDict_SetItemString(d,"RESET", SWIG_From_int((int)wxRESET));
42967 PyDict_SetItemString(d,"HELP", SWIG_From_int((int)wxHELP));
42968 PyDict_SetItemString(d,"MORE", SWIG_From_int((int)wxMORE));
42969 PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)wxSETUP));
42970 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH));
42971 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT));
42972 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO));
42973 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING));
42974 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE));
42975 PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT));
42976 PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE));
42977 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH));
42978 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM));
42979 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW));
42980 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT));
42981 PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)wxID_ANY));
42982 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR));
42983 PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST));
42984 PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)wxID_OPEN));
42985 PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE));
42986 PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)wxID_NEW));
42987 PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)wxID_SAVE));
42988 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS));
42989 PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)wxID_REVERT));
42990 PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)wxID_EXIT));
42991 PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)wxID_UNDO));
42992 PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)wxID_REDO));
42993 PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)wxID_HELP));
42994 PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)wxID_PRINT));
42995 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP));
42996 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW));
42997 PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT));
42998 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS));
42999 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS));
43000 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES));
43001 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT));
43002 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL));
43003 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES));
43004 PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)wxID_CUT));
43005 PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)wxID_COPY));
43006 PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)wxID_PASTE));
43007 PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR));
43008 PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)wxID_FIND));
43009 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE));
43010 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL));
43011 PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)wxID_DELETE));
43012 PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE));
43013 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL));
43014 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES));
43015 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS));
43016 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS));
43017 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS));
43018 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST));
43019 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE));
43020 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME));
43021 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE));
43022 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE));
43023 PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)wxID_FILE1));
43024 PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)wxID_FILE2));
43025 PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)wxID_FILE3));
43026 PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)wxID_FILE4));
43027 PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)wxID_FILE5));
43028 PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)wxID_FILE6));
43029 PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)wxID_FILE7));
43030 PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)wxID_FILE8));
43031 PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)wxID_FILE9));
43032 PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)wxID_OK));
43033 PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL));
43034 PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)wxID_APPLY));
43035 PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)wxID_YES));
43036 PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)wxID_NO));
43037 PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)wxID_STATIC));
43038 PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD));
43039 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD));
43040 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT));
43041 PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)wxID_MORE));
43042 PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)wxID_SETUP));
43043 PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)wxID_RESET));
43044 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP));
43045 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL));
43046 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL));
43047 PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)wxID_ABORT));
43048 PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)wxID_RETRY));
43049 PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE));
43050 PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)wxID_ADD));
43051 PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE));
43052 PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)wxID_UP));
43053 PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)wxID_DOWN));
43054 PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)wxID_HOME));
43055 PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH));
43056 PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)wxID_STOP));
43057 PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)wxID_INDEX));
43058 PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)wxID_BOLD));
43059 PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC));
43060 PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER));
43061 PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL));
43062 PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT));
43063 PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT));
43064 PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE));
43065 PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)wxID_INDENT));
43066 PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT));
43067 PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100));
43068 PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT));
43069 PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN));
43070 PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT));
43071 PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE));
43072 PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED));
43073 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST));
43074 PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)wxOPEN));
43075 PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)wxSAVE));
43076 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY));
43077 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT));
43078 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST));
43079 PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE));
43080 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR));
43081 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT));
43082 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL));
43083 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT));
43084 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL));
43085 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE));
43086 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL));
43087 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT));
43088 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME));
43089 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME));
43090 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME));
43091 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON));
43092 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE));
43093 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF));
43094 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE));
43095 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE));
43096 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE));
43097 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL));
43098 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL));
43099 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY));
43100 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS));
43101 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT));
43102 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND));
43103 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE));
43104 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES));
43105 PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT));
43106 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC));
43107 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC));
43108 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH));
43109 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH));
43110 PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS));
43111 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC));
43112 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC));
43113 PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS));
43114 PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC));
43115 PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)wxCENTRE));
43116 PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)wxCENTER));
43117 PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL));
43118 PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)wxVERTICAL));
43119 PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)wxBOTH));
43120 PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)wxLEFT));
43121 PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)wxRIGHT));
43122 PyDict_SetItemString(d,"UP", SWIG_From_int((int)wxUP));
43123 PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)wxDOWN));
43124 PyDict_SetItemString(d,"TOP", SWIG_From_int((int)wxTOP));
43125 PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)wxBOTTOM));
43126 PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)wxNORTH));
43127 PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)wxSOUTH));
43128 PyDict_SetItemString(d,"WEST", SWIG_From_int((int)wxWEST));
43129 PyDict_SetItemString(d,"EAST", SWIG_From_int((int)wxEAST));
43130 PyDict_SetItemString(d,"ALL", SWIG_From_int((int)wxALL));
43131 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT));
43132 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL));
43133 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL));
43134 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT));
43135 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP));
43136 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT));
43137 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM));
43138 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL));
43139 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL));
43140 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER));
43141 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE));
43142 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK));
43143 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT));
43144 PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)wxSHRINK));
43145 PyDict_SetItemString(d,"GROW", SWIG_From_int((int)wxGROW));
43146 PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)wxEXPAND));
43147 PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)wxSHAPED));
43148 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE));
43149 PyDict_SetItemString(d,"TILE", SWIG_From_int((int)wxTILE));
43150 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE));
43151 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT));
43152 PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE));
43153 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC));
43154 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE));
43155 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED));
43156 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN));
43157 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE));
43158 PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK));
43159 PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM));
43160 PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR));
43161 PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM));
43162 PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)wxDEFAULT));
43163 PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE));
43164 PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)wxROMAN));
43165 PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)wxSCRIPT));
43166 PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)wxSWISS));
43167 PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)wxMODERN));
43168 PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)wxTELETYPE));
43169 PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)wxVARIABLE));
43170 PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)wxFIXED));
43171 PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)wxNORMAL));
43172 PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)wxLIGHT));
43173 PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)wxBOLD));
43174 PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)wxITALIC));
43175 PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)wxSLANT));
43176 PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)wxSOLID));
43177 PyDict_SetItemString(d,"DOT", SWIG_From_int((int)wxDOT));
43178 PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH));
43179 PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH));
43180 PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH));
43181 PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)wxUSER_DASH));
43182 PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT));
43183 PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)wxSTIPPLE));
43184 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH));
43185 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH));
43186 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH));
43187 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH));
43188 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH));
43189 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH));
43190 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL));
43191 PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER));
43192 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND));
43193 PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND));
43194 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING));
43195 PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT));
43196 PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)wxCLEAR));
43197 PyDict_SetItemString(d,"XOR", SWIG_From_int((int)wxXOR));
43198 PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)wxINVERT));
43199 PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE));
43200 PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE));
43201 PyDict_SetItemString(d,"COPY", SWIG_From_int((int)wxCOPY));
43202 PyDict_SetItemString(d,"AND", SWIG_From_int((int)wxAND));
43203 PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT));
43204 PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)wxNO_OP));
43205 PyDict_SetItemString(d,"NOR", SWIG_From_int((int)wxNOR));
43206 PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)wxEQUIV));
43207 PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT));
43208 PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT));
43209 PyDict_SetItemString(d,"NAND", SWIG_From_int((int)wxNAND));
43210 PyDict_SetItemString(d,"OR", SWIG_From_int((int)wxOR));
43211 PyDict_SetItemString(d,"SET", SWIG_From_int((int)wxSET));
43212 PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)WXK_BACK));
43213 PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)WXK_TAB));
43214 PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN));
43215 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE));
43216 PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE));
43217 PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE));
43218 PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)WXK_START));
43219 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON));
43220 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON));
43221 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL));
43222 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON));
43223 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR));
43224 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT));
43225 PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)WXK_ALT));
43226 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL));
43227 PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)WXK_MENU));
43228 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE));
43229 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL));
43230 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR));
43231 PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT));
43232 PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)WXK_END));
43233 PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)WXK_HOME));
43234 PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT));
43235 PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)WXK_UP));
43236 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT));
43237 PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN));
43238 PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT));
43239 PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT));
43240 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE));
43241 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT));
43242 PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT));
43243 PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)WXK_HELP));
43244 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0));
43245 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1));
43246 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2));
43247 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3));
43248 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4));
43249 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5));
43250 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6));
43251 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7));
43252 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8));
43253 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9));
43254 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY));
43255 PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)WXK_ADD));
43256 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR));
43257 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT));
43258 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL));
43259 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE));
43260 PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)WXK_F1));
43261 PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)WXK_F2));
43262 PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)WXK_F3));
43263 PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)WXK_F4));
43264 PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)WXK_F5));
43265 PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)WXK_F6));
43266 PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)WXK_F7));
43267 PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)WXK_F8));
43268 PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)WXK_F9));
43269 PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)WXK_F10));
43270 PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)WXK_F11));
43271 PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)WXK_F12));
43272 PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)WXK_F13));
43273 PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)WXK_F14));
43274 PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)WXK_F15));
43275 PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)WXK_F16));
43276 PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)WXK_F17));
43277 PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)WXK_F18));
43278 PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)WXK_F19));
43279 PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)WXK_F20));
43280 PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)WXK_F21));
43281 PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)WXK_F22));
43282 PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)WXK_F23));
43283 PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)WXK_F24));
43284 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK));
43285 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL));
43286 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP));
43287 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN));
43288 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE));
43289 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB));
43290 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER));
43291 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1));
43292 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2));
43293 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3));
43294 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4));
43295 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME));
43296 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT));
43297 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP));
43298 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT));
43299 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN));
43300 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR));
43301 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP));
43302 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT));
43303 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN));
43304 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END));
43305 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN));
43306 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT));
43307 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE));
43308 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL));
43309 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY));
43310 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD));
43311 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR));
43312 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT));
43313 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL));
43314 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE));
43315 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT));
43316 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT));
43317 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU));
43318 PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE));
43319 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER));
43320 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL));
43321 PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4));
43322 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET));
43323 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET));
43324 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET));
43325 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL));
43326 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID));
43327 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER));
43328 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT));
43329 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE));
43330 PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3));
43331 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL));
43332 PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5));
43333 PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4));
43334 PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5));
43335 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO));
43336 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO));
43337 PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14));
43338 PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17));
43339 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE));
43340 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9));
43341 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10));
43342 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11));
43343 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12));
43344 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14));
43345 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL));
43346 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5));
43347 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3));
43348 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4));
43349 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6));
43350 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65));
43351 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4));
43352 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5));
43353 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6));
43354 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY));
43355 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH));
43356 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL));
43357 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US));
43358 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN));
43359 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN));
43360 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4));
43361 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD));
43362 PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11));
43363 PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11));
43364 PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11));
43365 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE));
43366 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA));
43367 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA));
43368 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA));
43369 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA));
43370 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE));
43371 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE));
43372 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
43373 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS));
43374 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS));
43375 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS));
43376 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS));
43377 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE));
43378 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE));
43379 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA));
43380 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA));
43381 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA));
43382 PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2));
43383 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE));
43384 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE));
43385 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX));
43386 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL));
43387 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL));
43388 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR));
43389 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL));
43390 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK));
43391 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO));
43392 PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX));
43393 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE));
43394 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST));
43395 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1));
43396 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2));
43397 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
43398 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
43399 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB));
43400 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1));
43401 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2));
43402 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST));
43403 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE));
43404 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE));
43405 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR));
43406 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR));
43407 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER));
43408 PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)wxHT_MAX));
43409 PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE));
43410 PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT));
43411 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL));
43412 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT));
43413 PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN));
43414 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE));
43415 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE));
43416 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 43417 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 43418 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
c32bde28
RD
43419 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID));
43420 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP));
43421 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO));
43422 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR));
43423 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM));
43424 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA));
43425 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM));
43426 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA));
43427 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF));
43428 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF));
43429 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG));
43430 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG));
43431 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM));
43432 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX));
43433 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT));
43434 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON));
43435 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI));
43436 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF));
43437 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR));
43438 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY));
43439 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE));
43440 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW));
43441 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW));
43442 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE));
43443 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR));
43444 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS));
43445 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND));
43446 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM));
43447 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON));
43448 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER));
43449 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON));
43450 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY));
43451 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH));
43452 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL));
43453 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT));
43454 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT));
43455 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW));
43456 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON));
43457 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW));
43458 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS));
43459 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE));
43460 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE));
43461 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING));
43462 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN));
43463 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT));
43464 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH));
43465 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK));
43466 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT));
43467 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW));
43468 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT));
43469 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX));
d14a1e28
RD
43470 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
43471 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
c32bde28
RD
43472 PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)wxFromStart));
43473 PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)wxFromCurrent));
43474 PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)wxFromEnd));
d14a1e28
RD
43475
43476 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43477
43478
43479 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43480
43481 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
43482 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
43483 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
43484 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
43485 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
43486 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
c32bde28
RD
43487 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES));
43488 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM));
43489 PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP));
43490 PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP));
43491 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY));
43492 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY));
43493 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED));
43494 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE));
43495 PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP));
43496 PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP));
43497 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW));
43498 PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS));
43499 PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE));
43500 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE));
43501 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
43502 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
43503 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
43504 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
43505 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
43506 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
43507 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
43508 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
43509 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
43510 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
43511 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
43512 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
43513 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
43514 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
43515 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
43516 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
43517 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
43518 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
43519 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
43520 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
43521 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
43522 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
43523 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
43524 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
43525 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
43526 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
43527 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
43528 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
43529 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
43530 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
43531 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
43532 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
43533 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
43534 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
43535 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
43536 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
43537 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
43538 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
43539 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
43540 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
43541 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
43542 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
43543 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
43544 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
43545 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
43546 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
43547 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
43548 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
43549 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
43550 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
43551 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
43552 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
43553 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
43554 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
43555 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
43556 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
43557 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
43558 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
43559 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
43560 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
43561 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
43562 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
43563 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
43564 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
43565 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
43566 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
43567 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
43568 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
43569 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
43570 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
43571 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
43572 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
43573 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
43574 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
43575 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
43576 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
43577 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
43578 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
43579 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
43580 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
43581 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
43582 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
43583 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
43584 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
43585 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
43586 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
43587 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
43588 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
43589 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
43590 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
43591 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
43592 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
43593 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
43594 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
43595 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
43596 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
43597 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
43598 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
43599 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
43600 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
43601 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
43602 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
43603 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
43604 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
43605 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
43606 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
43607 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
43608 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
43609 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
43610 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
43611 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
43612 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
43613 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
43614 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
43615 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
c32bde28
RD
43616 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY));
43617 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE));
43618 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT));
43619 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE));
43620 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT));
43621 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL));
43622 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED));
43623 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward));
43624 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward));
43625 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange));
43626 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL));
43627 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED));
43628 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS));
43629 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION));
43630 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG));
43631 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG));
43632 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS));
43633 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT));
1e0c8722 43634 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 43635 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
c32bde28
RD
43636 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL));
43637 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL));
43638 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI));
43639 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE));
43640 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX));
d14a1e28 43641 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 43642 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
c32bde28
RD
43643 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE));
43644 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED));
43645 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL));
d14a1e28 43646 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
c32bde28
RD
43647 PyDict_SetItemString(d,"Left", SWIG_From_int((int)wxLeft));
43648 PyDict_SetItemString(d,"Top", SWIG_From_int((int)wxTop));
43649 PyDict_SetItemString(d,"Right", SWIG_From_int((int)wxRight));
43650 PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)wxBottom));
43651 PyDict_SetItemString(d,"Width", SWIG_From_int((int)wxWidth));
43652 PyDict_SetItemString(d,"Height", SWIG_From_int((int)wxHeight));
43653 PyDict_SetItemString(d,"Centre", SWIG_From_int((int)wxCentre));
43654 PyDict_SetItemString(d,"Center", SWIG_From_int((int)wxCenter));
43655 PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)wxCentreX));
43656 PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)wxCentreY));
43657 PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)wxUnconstrained));
43658 PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)wxAsIs));
43659 PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)wxPercentOf));
43660 PyDict_SetItemString(d,"Above", SWIG_From_int((int)wxAbove));
43661 PyDict_SetItemString(d,"Below", SWIG_From_int((int)wxBelow));
43662 PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)wxLeftOf));
43663 PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)wxRightOf));
43664 PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)wxSameAs));
43665 PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)wxAbsolute));
d14a1e28
RD
43666
43667 // Initialize threading, some globals and such
43668 __wxPyPreStart(d);
43669
43670
43671 // Although these are defined in __version__ they need to be here too so
43672 // that an assert can be done to ensure that the wxPython and the wxWindows
43673 // versions match.
43674 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
43675 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
43676 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
43677
43678}
43679